Downsample to 4XX MCU
FwStatus | fwiSampleDown444LS_MCU_8u16s_C3P3R | ( | const Fw8u * pSrc, int srcStep, Fw16s * pDstMCU[3] ); | |
FwStatus | fwiSampleDown422LS_MCU_8u16s_C3P3R | ( | const Fw8u * pSrc, int srcStep, Fw16s * pDstMCU[3] ); | |
FwStatus | fwiSampleDown411LS_MCU_8u16s_C3P3R | ( | const Fw8u * pSrc, int srcStep, Fw16s * pDstMCU[3] ); |
pDstMCU[3] | Array of pointers to destination MCU image blocks. | |
pSrc | Pointer to a location in a source buffer. | |
srcStep | Source buffer step size (width of the buffer in bytes). |
These functions step through a block of pixel data in a source buffer, perform chrominance downsampling, level-shift the source data to 16-bit signed values, create a minimum coded unit, and write the output data to a destination buffer.
There are functions for 4:4:4, 4:2:2, and 4:1:1 MCUs.