mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 09:06:50 +08:00
[mpp_frame]: Add color format print
1. Add color format print for all supported format. 2. Add RGB color fill function. Change-Id: I79fb3f40402b6fb6e36883c99945e709723aee7d Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -59,12 +59,12 @@ void calc_frm_crc(MppFrame frame, FrmCrc *crc);
|
||||
void write_frm_crc(FILE *fp, FrmCrc *crc);
|
||||
void read_frm_crc(FILE *fp, FrmCrc *crc);
|
||||
|
||||
MPP_RET read_yuv_image(RK_U8 *buf, FILE *fp, RK_U32 width, RK_U32 height,
|
||||
RK_U32 hor_stride, RK_U32 ver_stride,
|
||||
MppFrameFormat fmt);
|
||||
MPP_RET fill_yuv_image(RK_U8 *buf, RK_U32 width, RK_U32 height,
|
||||
RK_U32 hor_stride, RK_U32 ver_stride, MppFrameFormat fmt,
|
||||
RK_U32 frame_count);
|
||||
MPP_RET read_image(RK_U8 *buf, FILE *fp, RK_U32 width, RK_U32 height,
|
||||
RK_U32 hor_stride, RK_U32 ver_stride,
|
||||
MppFrameFormat fmt);
|
||||
MPP_RET fill_image(RK_U8 *buf, RK_U32 width, RK_U32 height,
|
||||
RK_U32 hor_stride, RK_U32 ver_stride, MppFrameFormat fmt,
|
||||
RK_U32 frame_count);
|
||||
|
||||
typedef struct OpsLine_t {
|
||||
RK_U32 index;
|
||||
|
Reference in New Issue
Block a user