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

Commit 1ea0c17e authored by Amy Zhang's avatar Amy Zhang
Browse files

Extend DemuxScIndex in Tuner 1.1

Test: make
Bug: 158816517
Change-Id: I0fffd428e18b36b5c4d421d89743de330c854425
parent 1d46ae46
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package android.hardware.tv.tuner@1.1;
import @1.0::Constant;
import @1.0::DemuxFilterMmtpRecordEvent;
import @1.0::DemuxFilterTsRecordEvent;
import @1.0::DemuxScIndex;
import @1.0::FrontendAtsc3Bandwidth;
import @1.0::FrontendAtsc3Modulation;
import @1.0::FrontendAtsc3TimeInterleaveMode;
@@ -695,3 +696,30 @@ safe_union AvStreamType {

    AudioStreamType audio;
};

/**
 * Indexes can be tagged by start point of slice groups according to ISO/IEC 14496-10.
 */
@export
enum DemuxScIndex : @1.0::DemuxScIndex {
    /**
     * All blocks are coded as I blocks.
     */
    I_SLICE = 1 << 4,
    /**
     * Blocks are coded as I or P blocks.
     */
    P_SLICE = 1 << 5,
    /**
     * Blocks are coded as I, P or B blocks.
     */
    B_SLICE = 1 << 6,
    /**
     * A so-called switching I slice that is coded.
     */
    SI_SLICE = 1 << 7,
    /**
     * A so-called switching P slice that is coded.
     */
    SP_SLICE = 1 << 8,
};