Loading media/codec2/core/include/C2Config.h +13 −0 Original line number Diff line number Diff line Loading @@ -303,6 +303,9 @@ enum C2ParamIndexKind : C2Param::type_index_t { // input surface kParamIndexCaptureFrameRate, // input-surface, float kParamIndexStopTimeOffset, // input-surface, int64_t // display processing token kParamIndexDisplayProcessingToken, // int64_t }; } Loading Loading @@ -2855,6 +2858,16 @@ C2ENUM(C2PlatformConfig::encoding_quality_level_t, uint32_t, S_HANDHELD = 1 // corresponds to VMAF=70 ); /** * Display processing token. * * An int64 token specifying the display processing configuration for the frame. * This value is passed to IGraphicBufferProducer via QueueBufferInput::setPictureProfileHandle(). */ typedef C2StreamParam<C2Info, C2Int64Value, kParamIndexDisplayProcessingToken> C2StreamDisplayProcessingToken; constexpr char C2_PARAMKEY_DISPLAY_PROCESSING_TOKEN[] = "display-processing-token"; /** * Video Encoding Statistics Export */ Loading Loading
media/codec2/core/include/C2Config.h +13 −0 Original line number Diff line number Diff line Loading @@ -303,6 +303,9 @@ enum C2ParamIndexKind : C2Param::type_index_t { // input surface kParamIndexCaptureFrameRate, // input-surface, float kParamIndexStopTimeOffset, // input-surface, int64_t // display processing token kParamIndexDisplayProcessingToken, // int64_t }; } Loading Loading @@ -2855,6 +2858,16 @@ C2ENUM(C2PlatformConfig::encoding_quality_level_t, uint32_t, S_HANDHELD = 1 // corresponds to VMAF=70 ); /** * Display processing token. * * An int64 token specifying the display processing configuration for the frame. * This value is passed to IGraphicBufferProducer via QueueBufferInput::setPictureProfileHandle(). */ typedef C2StreamParam<C2Info, C2Int64Value, kParamIndexDisplayProcessingToken> C2StreamDisplayProcessingToken; constexpr char C2_PARAMKEY_DISPLAY_PROCESSING_TOKEN[] = "display-processing-token"; /** * Video Encoding Statistics Export */ Loading