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

Commit 65e60e2b authored by hkuang's avatar hkuang Committed by Hangyu Kuang
Browse files

transcoding: Add operating rate in aidl interface to boost speed.

Boost the decoder and encoder to maximum operating rate.

Bug: 167735283
Test: None as just AIDL interface.

Change-Id: If4989fdc39086a7f741548d99f561f445d894862
parent 10a7efe0
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -67,4 +67,18 @@ parcelable TranscodingVideoTrackFormat {
     * -1 means unavailable.
     */
    int level = -1;

    /**
     * Decoder operating rate. This is used to work around the fact that vendor does not boost the
     * hardware to maximum speed in transcoding usage case. This operating rate will be applied
     * to decoder inside MediaTranscoder. -1 means unavailable.
     */
    int decoderOperatingRate = -1;

    /**
     * Encoder operating rate. This is used to work around the fact that vendor does not boost the
     * hardware to maximum speed in transcoding usage case. This operating rate will be applied
     * to encoder inside MediaTranscoder. -1 means unavailable.
     */
    int encoderOperatingRate = -1;
}