Function ffmpeg_sys_next::avcodec_chroma_pos_to_enum [−][src]
pub unsafe extern "C" fn avcodec_chroma_pos_to_enum(
xpos: c_int,
ypos: c_int
) -> AVChromaLocation
Expand description
Converts swscale x/y chroma position to AVChromaLocation.
The positions represent the chroma (0,0) position in a coordinates system with luma (0,0) representing the origin and luma(1,1) representing 256,256
@param xpos horizontal chroma sample position @param ypos vertical chroma sample position