mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 09:06:50 +08:00
[mpp_enc]: Add color range support
1. Change interface for adding color range to MppPrepCfg. 2. Add option in MppEncCfg. 3. Add H.264 / H.265 sps support on full / limit range. IMPORTANT: the binary backward compatibility is broken since this commit. Change-Id: Ib68f29bab5c6d364fe8b612bd4dff2ecd5bc59cd Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -56,6 +56,17 @@ typedef enum {
|
||||
MPP_FRAME_RANGE_NB, ///< Not part of ABI
|
||||
} MppFrameColorRange;
|
||||
|
||||
typedef enum {
|
||||
MPP_FRAME_VIDEO_FMT_COMPONEMT = 0,
|
||||
MPP_FRAME_VIDEO_FMT_PAL = 1,
|
||||
MPP_FRAME_VIDEO_FMT_NTSC = 2,
|
||||
MPP_FRAME_VIDEO_FMT_SECAM = 3,
|
||||
MPP_FRAME_VIDEO_FMT_MAC = 4,
|
||||
MPP_FRAME_VIDEO_FMT_UNSPECIFIED = 5,
|
||||
MPP_FRAME_VIDEO_FMT_RESERVED0 = 6,
|
||||
MPP_FRAME_VIDEO_FMT_RESERVED1 = 7,
|
||||
} MppFrameVideoFormat;
|
||||
|
||||
/*
|
||||
* Chromaticity coordinates of the source primaries.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user