mediaframe/source/
yuv420p16.rs1use crate::frame::Yuv420pFrame16;
15
16walker! {
17 planar3_bits_be {
18 #[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
21 marker: Yuv420p16,
22 frame: Yuv420pFrame16<'_, 16, BE>,
23 frame_le: Yuv420pFrame16<'_, 16, false>,
24 generic_frame: Yuv420pFrame16<'_, BITS, BE>,
25 bits: 16,
26 row: Yuv420p16Row,
27 sink: Yuv420p16Sink,
28 walker: yuv420p16_to,
29 walker_endian: yuv420p16_to_endian,
30 walker_inner: yuv420p16_walker,
31 elem_type: u16,
32 chroma_h: half,
33 chroma_v: half,
34 row_doc: "One output row of a 16‑bit YUV 4:2:0 source handed to a\n\
35 [`Yuv420p16Sink`]. Structurally identical to [`super::Yuv420p10Row`],\n\
36 just with values covering the full `u16` range.",
37 walker_doc: "Converts a 16‑bit YUV 4:2:0 frame by walking its rows and feeding\n\
38 each one to the [`Yuv420p16Sink`]. Pure row walker — all color\n\
39 arithmetic happens inside the Sink via the i64 16‑bit kernel\n\
40 family.",
41 }
42}