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:
Johnson Ding
2023-07-10 16:04:53 +08:00
committed by Herman Chen
parent 13015dceac
commit 2b2f3669e4
3 changed files with 34 additions and 1 deletions

View File

@@ -562,13 +562,19 @@ typedef struct MppEncPrepCfg_t {
RK_S32 ver_stride;
/*
* Mpp encoder input data format config
* Mpp encoder input/output color config
*/
MppFrameFormat format;
MppFrameColorSpace color;
MppFrameColorPrimaries colorprim;
MppFrameColorTransferCharacteristic colortrc;
MppFrameColorRange range;
MppFrameChromaFormat format_out;
MppFrameChromaDownSampleMode chroma_ds_mode;
MppFrameColorRange range_out;
RK_S32 fix_chroma_en;
RK_S32 fix_chroma_u;
RK_S32 fix_chroma_v;
/* suffix ext means the user set config externally */
MppEncRotationCfg rotation;