//! YUV 4:2:2 planar 12‑bit (`AV_PIX_FMT_YUV422P12LE`). See
//! [`super::Yuv422p10`] for the 4:2:2 family structure.

use crate::frame::Yuv422pFrame16;

walker! {
  planar3_be {
    /// Zero‑sized marker for the YUV 4:2:2 **12‑bit** source format.
    #[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
    marker: Yuv422p12,
    frame: Yuv422pFrame16<'_, 12, BE>,
    frame_le: Yuv422pFrame16<'_, 12, false>,
    row: Yuv422p12Row,
    sink: Yuv422p12Sink,
    walker: yuv422p12_to,
    walker_endian: yuv422p12_to_endian,
    elem_type: u16,
    chroma_h: half,
    chroma_v: full,
    row_doc: "One output row of a [`Yuv422p12`] source.",
    walker_doc: "Walks a [`Yuv422p12Frame`](crate::frame::Yuv422p12Frame) row by row into the sink.",
  }
}
