Skip to content

Commit

Permalink
add mpp format for MPP to decode
Browse files Browse the repository at this point in the history
Signed-off-by: jimmy <jimmy.yang@moprobo.com>
  • Loading branch information
jimmy committed Nov 7, 2023
1 parent 54d3a95 commit bb247c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mpp/encode/mpp_frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ typedef enum {
MPP_FMT_BGRA8888 = (MPP_FRAME_FMT_RGB + 12), /* 32-bit RGB */
MPP_FMT_RGBA8888 = (MPP_FRAME_FMT_RGB + 13), /* 32-bit RGB */
MPP_FMT_RGB_BUTT,

MPP_FMT_FBC = MPP_FMT_YUV420SP | MPP_FRAME_FBC_AFBC_V1,
MPP_FMT_BUTT,
} MppFrameFormat;

Expand Down
2 changes: 1 addition & 1 deletion mpp/encode/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ Ext2FrmFmt map_ext_to_frm_fmt[] = {
{ "rgb888", MPP_FMT_RGB888, },
{ "rgba8888", MPP_FMT_RGBA8888, },

{ "fbc", MPP_FMT_YUV420SP | MPP_FRAME_FBC_AFBC_V1, },
{ "fbc", MPP_FMT_BUTT, },
};

MPP_RET name_to_frame_format(const char *name, MppFrameFormat *fmt)
Expand Down

0 comments on commit bb247c6

Please sign in to comment.