cc [ flag... ] file... –lmlib [ library... ] #include <mlib.h> mlib_status mlib_VideoDownSample420_S16(mlib_s16 *dst, const mlib_s16 *src0, const mlib_s16 *src1, mlib_s32 n);
The mlib_VideoDownSample420_S16() function performs down sampling rate conversion used in JPEG File Interchange Format (JFIF).
The function takes the following arguments:
Pointer to destination row. dst must be 8-byte aligned.
Pointer to upper source row. src0 must be 8-byte aligned.
Pointer to middle source row. src1 must be 8-byte aligned.
Length of source rows. n must be greater than 1.
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|
mlib_VideoDownSample420(3MLIB), mlib_VideoDownSample422(3MLIB), mlib_VideoDownSample422_S16(3MLIB), mlib_VideoUpSample420(3MLIB), mlib_VideoUpSample420_Nearest(3MLIB), mlib_VideoUpSample420_Nearest_S16(3MLIB), mlib_VideoUpSample420_S16(3MLIB), mlib_VideoUpSample422(3MLIB), mlib_VideoUpSample422_S16(3MLIB), mlib_VideoUpSample422_Nearest(3MLIB), mlib_VideoUpSample422_Nearest_S16(3MLIB), attributes(5)