Function rsmpeg::ffi::avcodec_enum_to_chroma_pos [−][src]
pub unsafe extern "C" fn avcodec_enum_to_chroma_pos(
xpos: *mut i32,
ypos: *mut i32,
pos: u32
) -> i32
Expand description
Converts AVChromaLocation to swscale x/y chroma position.
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