mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
feat[enc]: Add config entry for output chroma format
Change-Id: I29f4f764adc401a635e9fda2e2b41b2002078637 Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
This commit is contained in:

committed by
Herman Chen

parent
13015dceac
commit
2b2f3669e4
@@ -45,6 +45,12 @@ typedef enum {
|
||||
MPP_FRAME_RANGE_NB, ///< Not part of ABI
|
||||
} MppFrameColorRange;
|
||||
|
||||
typedef enum {
|
||||
MPP_FRAME_CHROMA_DOWN_SAMPLE_MODE_NONE,
|
||||
MPP_FRAME_CHORMA_DOWN_SAMPLE_MODE_AVERAGE,
|
||||
MPP_FRAME_CHORMA_DOWN_SAMPLE_MODE_DISCARD,
|
||||
} MppFrameChromaDownSampleMode;
|
||||
|
||||
typedef enum {
|
||||
MPP_FRAME_VIDEO_FMT_COMPONEMT = 0,
|
||||
MPP_FRAME_VIDEO_FMT_PAL = 1,
|
||||
@@ -152,6 +158,17 @@ typedef enum {
|
||||
MPP_CHROMA_LOC_NB, ///< Not part of ABI
|
||||
} MppFrameChromaLocation;
|
||||
|
||||
typedef enum {
|
||||
MPP_CHROMA_UNSPECIFIED,
|
||||
MPP_CHROMA_400,
|
||||
MPP_CHROMA_410,
|
||||
MPP_CHROMA_411,
|
||||
MPP_CHROMA_420,
|
||||
MPP_CHROMA_422,
|
||||
MPP_CHROMA_440,
|
||||
MPP_CHROMA_444,
|
||||
} MppFrameChromaFormat;
|
||||
|
||||
/*
|
||||
* MppFrameFormat bit flag:
|
||||
*
|
||||
|
Reference in New Issue
Block a user