mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 03:00:40 +01:00
[mpp_frame]: Add format check macro
Change-Id: I0b84cd55951dd5c085b1dd8b9926c4308ac24371 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
parent
9835a6d37e
commit
9ce259355a
1 changed files with 3 additions and 0 deletions
|
|
@ -152,6 +152,9 @@ typedef enum {
|
|||
#define MPP_FRAME_FMT_RGB 0x00010000
|
||||
#define MPP_FRAME_FMT_COMPLEX 0x00020000
|
||||
|
||||
#define MPP_FRAME_FMT_IS_YUV(fmt) ((fmt >= MPP_FRAME_FMT_YUV && fmt < MPP_FMT_YUV_BUTT))
|
||||
#define MPP_FRAME_FMT_IS_RGB(fmt) ((fmt >= MPP_FRAME_FMT_RGB && fmt < MPP_FMT_RGB_BUTT))
|
||||
|
||||
/*
|
||||
*mpp color format define
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue