Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4990d5a3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[Media Quality] Add definition of display processing token in...

Merge "[Media Quality] Add definition of display processing token in C2Config.h" into main am: a8161ecf

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/3461663



Change-Id: Ie74000dec3aa53b99808f83ebc9f2de8e973b267
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 135bbd62 a8161ecf
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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
};

}
@@ -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
 */