h264中B_Skip、P_Skip 、B_Direct宏块是什么含义

在H.264/AVC视频编码标准中,B_Skip、P_Skip 和 B_Direct 宏块是用于控制帧间预测过程中的跳过(Skip)和直接(Direct)模式的参数。这些参数主要用于提高编码效率,减少不必要的计算和编码开销。

1. B_Skip:表示B帧(Bidirectional Predicted frame)的宏块是否应该被跳过。如果一个B帧的宏块与它的参考帧之间的运动矢量变化不大,或者该宏块的残差较小,那么可以跳过这个宏块的编码,直接复制参考帧的相应宏块。

2. P_Skip:表示P帧(Predicted frame)的宏块是否应该被跳过。与B_Skip类似,P_Skip用于指示P帧中的宏块是否可以跳过编码。

3. B_Direct:用于B帧的宏块,指示在帧间预测时是否应该直接使用一个或两个参考帧的运动矢量,而不是进行独立的运动估计。这可以减少编码时的计算量。

以下是这些参数的具体使用方式和代码示例:


// 假设有一个宏块结构体
struct Macroblock {
    int mb_type; // 宏块类型
    int skip_flag; // 跳过标志
    // ... 其他属性 ...
};

// 设置宏块的跳过标志
void setMacroblockSkipFlags(Macroblock *mb, int b_skip, int p_skip) {
    mb->skip_flag = (b_skip << 1) | p_skip; // 将B_Skip和P_Skip编码到skip_flag中
}

// 在编码过程中检查宏块是否应该被跳过

  • 5
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Contents Page 0 Introduction.............................................................................................................................................................. xiv 0.1 Prologue............................................................................................................................................................. xiv 0.2 Purpose .............................................................................................................................................................. xiv 0.3 Applications ....................................................................................................................................................... xiv 0.4 Publication and versions of this International Standard..................................................................................... xiv 0.5 Profiles and levels............................................................................................................................................... xv 0.6 Overview of the design characteristics ............................................................................................................... xv 0.6.1 Predictive coding ........................................................................................................................................ xv 0.6.2 Coding of progressive and interlaced video............................................................................................... xvi 0.6.3 Picture partitioning into macroblocks and smaller partitions..................................................................... xvi 0.6.4 Spatial redundancy reduction..................................................................................................................... xvi 0.7 How to read this specification............................................................................................................................ xvi 1 Scope ............................................................................................................................................................................ 1 2 Normative references.................................................................................................................................................. 1 3 Definitions.................................................................................................................................................................... 1 4 Abbreviations .............................................................................................................................................................. 9 5 Conventions ............................................................................................................................................................... 10 5.1 Arithmetic operators ........................................................................................................................................... 10 5.2 Logical operators ................................................................................................................................................ 10 5.3 Relational operators ............................................................................................................................................ 11 5.4 Bit-wise operators ............................................................................................................................................... 11 5.5 Assignment operators.......................................................................................................................................... 11 5.6 Range notation .................................................................................................................................................... 11 5.7 Mathematical functions....................................................................................................................................... 11 5.8 Variables, syntax elements, and tables................................................................................................................ 12 5.9 Text description of logical operations................................................................................................................. 13 5.10 Processes............................................................................................................................................................. 14 6 Source, coded, decoded and output data formats, scanning processes, and neighbouring relationships.......... 14 6.1 Bitstream formats................................................................................................................................................ 14 6.2 Source, decoded, and output picture formats ...................................................................................................... 15 6.3 Spatial subdivision of pictures and slices............................................................................................................ 20 6.4 Inverse scanning processes and derivation processes for neighbours ................................................................. 20 6.4.1 Inverse macroblock scanning process......................................................................................................... 21 6.4.2 Inverse macroblock partition and sub-macroblock partition scanning process........................................... 21 6.4.2.1 Inverse macroblock partition scanning process....................................................................................... 22 6.4.2.2 Inverse sub-macroblock partition scanning process................................................................................ 22 6.4.3 Inverse 4x4 luma block scanning process ................................................................................................... 23 6.4.4 Inverse 8x8 luma block scanning process ................................................................................................... 23 6.4.5 Derivation process of the availability for macroblock addresses................................................................ 23 6.4.6 Derivation process for neighbouring macroblock addresses and their availability..................................... 24 6.4.7 Derivation process for neighbouring macroblock addresses and their availability in MBAFF frames....... 24 6.4.8 Derivation processes for neighbouring macroblocks, blocks, and partitions .............................................. 25 6.4.8.1 Derivation process for neighbouring macroblocks ................................................................................. 26 6.4.8.2 Derivation process for neighbouring 8x8 luma block ............................................................................. 26 6.4.8.3 Derivation process for neighbouring 4x4 luma blocks............................................................................ 27 6.4.8.4 Derivation process for neighbouring 4x4 chroma blocks........................................................................ 28 6.4.8.5 Derivation process for neighbouring partitions....................................................................................... 28 6.4.9 Derivation process for neighbouring locations ........................................................................................... 30 6.4.9.1 Specification for neighbouring locations in fields and non-MBAFF frames .......................................... 30 6.4.9.2 Specification for neighbouring locations in MBAFF frames .................................................................. 31 NEN-ISO/IEC 14496-10:2006-09 Dit document is door NEN onder licentie verstrekt aan: / This document has been supplied under license by NEN to: Irdeto Access . 2006/10/30 ISO/IEC 14496-10:2005(E) iv © ISO/IEC 2005 – All rights reserved 7 Syntax and semantics................................................................................................................................................33 7.1 Method of describing syntax in tabular form ......................................................................................................33 7.2 Specification of syntax functions, categories, and descriptors............................................................................34 7.3 Syntax in tabular form.........................................................................................................................................36 7.3.1 NAL unit syntax..........................................................................................................................................36 7.3.2 Raw byte sequence payloads and RBSP trailing bits syntax.......................................................................37 7.3.2.1 Sequence parameter set RBSP syntax .....................................................................................................37 7.3.2.1.1 Scaling list syntax.............................................................................................................................38 7.3.2.1.2 Sequence parameter set extension RBSP syntax ..............................................................................39 7.3.2.2 Picture parameter set RBSP syntax .........................................................................................................39 7.3.2.3 Supplemental enhancement information RBSP syntax ...........................................................................40 7.3.2.3.1 Supplemental enhancement information message syntax.................................................................41 7.3.2.4 Access unit delimiter RBSP syntax.........................................................................................................41 7.3.2.5 End of sequence RBSP syntax ................................................................................................................41 7.3.2.6 End of stream RBSP syntax ....................................................................................................................41 7.3.2.7 Filler data RBSP syntax ..........................................................................................................................42 7.3.2.8 Slice layer without partitioning RBSP syntax .........................................................................................42 7.3.2.9 Slice data partition RBSP syntax.............................................................................................................42 7.3.2.9.1 Slice data partition A RBSP syntax..................................................................................................42 7.3.2.9.2 Slice data partition B RBSP syntax ..................................................................................................42 7.3.2.9.3 Slice data partition C RBSP syntax ..................................................................................................43 7.3.2.10 RBSP slice trailing bits syntax ..............................................................................................................43 7.3.2.11 RBSP trailing bits syntax.......................................................................................................................43 7.3.3 Slice header syntax......................................................................................................................................44 7.3.3.1 Reference picture list reordering syntax..................................................................................................45 7.3.3.2 Prediction weight table syntax ................................................................................................................46 7.3.3.3 Decoded reference picture marking syntax .............................................................................................47 7.3.4 Slice data syntax..........................................................................................................................................48 7.3.5 Macroblock layer syntax .............................................................................................................................49 7.3.5.1 Macroblock prediction syntax .................................................................................................................50 7.3.5.2 Sub-macroblock prediction syntax..........................................................................................................51 7.3.5.3 Residual data syntax................................................................................................................................52 7.3.5.3.1 Residual block CAVLC syntax ........................................................................................................53 7.3.5.3.2 Residual block CABAC syntax ........................................................................................................55 7.4 Semantics ............................................................................................................................................................56 7.4.1 NAL unit semantics.....................................................................................................................................56 7.4.1.1 Encapsulation of an SODB within an RBSP (informative).....................................................................58 7.4.1.2 Order of NAL units and association to coded pictures, access units, and video sequences ....................59 7.4.1.2.1 Order of sequence and picture parameter set RBSPs and their activation........................................59 7.4.1.2.2 Order of access units and association to coded video sequences......................................................60 7.4.1.2.3 Order of NAL units and coded pictures and association to access units ..........................................61 7.4.1.2.4 Detection of the first VCL NAL unit of a primary coded picture.....................................................62 7.4.1.2.5 Order of VCL NAL units and association to coded pictures ............................................................63 7.4.2 Raw byte sequence payloads and RBSP trailing bits semantics..................................................................63 7.4.2.1 Sequence parameter set RBSP semantics................................................................................................63 7.4.2.1.1 Scaling list semantics .......................................................................................................................68 7.4.2.1.2 Sequence parameter set extension RBSP semantics.........................................................................69 7.4.2.2 Picture parameter set RBSP semantics....................................................................................................70 7.4.2.3 Supplemental enhancement information RBSP semantics......................................................................73 7.4.2.3.1 Supplemental enhancement information message semantics ...........................................................73 7.4.2.4 Access unit delimiter RBSP semantics....................................................................................................73 7.4.2.5 End of sequence RBSP semantics ...........................................................................................................73 7.4.2.6 End of stream RBSP semantics ...............................................................................................................74 7.4.2.7 Filler data RBSP semantics .....................................................................................................................74 7.4.2.8 Slice layer without partitioning RBSP semantics....................................................................................74 7.4.2.9 Slice data partition RBSP semantics .......................................................................................................74 7.4.2.9.1 Slice data partition A RBSP semantics.............................................................................................74 7.4.2.9.2 Slice data partition B RBSP semantics.............................................................................................74 7.4.2.9.3 Slice data partition C RBSP semantics.............................................................................................74 NEN-ISO/IEC 14496-10:2006-09 Dit document is door NEN onder licentie verstrekt aan: / This document has been supplied under license by NEN to: Irdeto Access . 2006/10/30 ISO/IEC 14496-10:2005(E) © ISO/IEC 2005 – All rights reserved v 7.4.2.10 RBSP slice trailing bits semantics......................................................................................................... 75 7.4.2.11 RBSP trailing bits semantics ................................................................................................................. 75 7.4.3 Slice header semantics ................................................................................................................................ 75 7.4.3.1 Reference picture list reordering semantics ............................................................................................ 81 7.4.3.2 Prediction weight table semantics........................................................................................................... 82 7.4.3.3 Decoded reference picture marking semantics........................................................................................ 82 7.4.4 Slice data semantics .................................................................................................................................... 85 7.4.5 Macroblock layer semantics........................................................................................................................ 86 7.4.5.1 Macroblock prediction semantics ........................................................................................................... 93 7.4.5.2 Sub-macroblock prediction semantics .................................................................................................... 94 7.4.5.3 Residual data semantics .......................................................................................................................... 96 7.4.5.3.1 Residual block CAVLC semantics................................................................................................... 97 7.4.5.3.2 Residual block CABAC semantics................................................................................................... 97 8 Decoding process....................................................................................................................................................... 98 8.1 NAL unit decoding process................................................................................................................................. 99 8.2 Slice decoding process........................................................................................................................................ 99 8.2.1 Decoding process for picture order count ................................................................................................... 99 8.2.1.1 Decoding process for picture order count type 0 .................................................................................. 101 8.2.1.2 Decoding process for picture order count type 1 .................................................................................. 102 8.2.1.3 Decoding process for picture order count type 2 .................................................................................. 103 8.2.2 Decoding process for macroblock to slice group map .............................................................................. 104 8.2.2.1 Specification for interleaved slice group map type ............................................................................... 105 8.2.2.2 Specification for dispersed slice group map type.................................................................................. 105 8.2.2.3 Specification for foreground with left-over slice group map type ........................................................ 105 8.2.2.4 Specification for box-out slice group map types................................................................................... 106 8.2.2.5 Specification for raster scan slice group map types .............................................................................. 106 8.2.2.6 Specification for wipe slice group map types ....................................................................................... 106 8.2.2.7 Specification for explicit slice group map type..................................................................................... 107 8.2.2.8 Specification for conversion of map unit to slice group map to macroblock to slice group map ......... 107 8.2.3 Decoding process for slice data partitioning ............................................................................................. 107 8.2.4 Decoding process for reference picture lists construction......................................................................... 108 8.2.4.1 Decoding process for picture numbers.................................................................................................. 108 8.2.4.2 Initialisation process for reference picture lists..................................................................................... 109 8.2.4.2.1 Initialisation process for the reference picture list for P and SP slices in frames........................... 109 8.2.4.2.2 Initialisation process for the reference picture list for P and SP slices in fields............................. 110 8.2.4.2.3 Initialisation process for reference picture lists for B slices in frames........................................... 110 8.2.4.2.4 Initialisation process for reference picture lists for B slices in fields............................................. 111 8.2.4.2.5 Initialisation process for reference picture lists in fields ................................................................ 112 8.2.4.3 Reordering process for reference picture lists....................................................................................... 113 8.2.4.3.1 Reordering process of reference picture lists for short-term reference pictures............................. 113 8.2.4.3.2 Reordering process of reference picture lists for long-term reference pictures.............................. 114 8.2.5 Decoded reference picture marking process ............................................................................................. 114 8.2.5.1 Sequence of operations for decoded reference picture marking process............................................... 115 8.2.5.2 Decoding process for gaps in frame_num............................................................................................. 115 8.2.5.3 Sliding window decoded reference picture marking process ................................................................ 116 8.2.5.4 Adaptive memory control decoded reference picture marking process ................................................ 116 8.2.5.4.1 Marking process of a short-term reference picture as “unused for reference” ............................... 116 8.2.5.4.2 Marking process of a long-term reference picture as “unused for reference” ................................ 117 8.2.5.4.3 Assignment process of a LongTermFrameIdx to a short-term reference picture ........................... 117 8.2.5.4.4 Decoding process for MaxLongTermFrameIdx ............................................................................. 117 8.2.5.4.5 Marking process of all reference pictures as “unused for reference” and setting MaxLongTermFrameIdx to “no long-term frame indices”............................................................................... 118 8.2.5.4.6 Process for assigning a long-term frame index to the current picture ............................................ 118 8.3 Intra prediction process..................................................................................................................................... 118 8.3.1 Intra_4x4 prediction process for luma samples......................................................................................... 119 8.3.1.1 Derivation process for the Intra4x4PredMode ...................................................................................... 119 8.3.1.2 Intra_4x4 sample prediction.................................................................................................................. 121 8.3.1.2.1 Specification of Intra_4x4_Vertical prediction mode .................................................................... 122 8.3.1.2.2 Specification of Intra_4x4_Horizontal prediction mode ................................................................ 122 8.3.1.2.3 Specification of Intra_4x4_DC prediction mode............................................................................ 122 NEN-ISO/IEC 14496-10:2006-09 Dit document is door NEN onder licentie verstrekt aan: / This document has been supplied under license by NEN to: Irdeto Access . 2006/10/30 ISO/IEC 14496-10:2005(E) vi © ISO/IEC 2005 – All rights reserved 8.3.1.2.4 Specification of Intra_4x4_Diagonal_Down_Left prediction mode ..............................................123 8.3.1.2.5 Specification of Intra_4x4_Diagonal_Down_Right prediction mode ............................................123 8.3.1.2.6 Specification of Intra_4x4_Vertical_Right prediction mode..........................................................123 8.3.1.2.7 Specification of Intra_4x4_Horizontal_Down prediction mode.....................................................124 8.3.1.2.8 Specification of Intra_4x4_Vertical_Left prediction mode............................................................124 8.3.1.2.9 Specification of Intra_4x4_Horizontal_Up prediction mode..........................................................124 8.3.2 Intra_8x8 prediction process for luma samples.........................................................................................125 8.3.2.1 Derivation process for Intra8x8PredMode ............................................................................................125 8.3.2.2 Intra_8x8 sample prediction..................................................................................................................127 8.3.2.2.1 Reference sample filtering process for Intra_8x8 sample prediction .............................................128 8.3.2.2.2 Specification of Intra_8x8_Vertical prediction mode.....................................................................129 8.3.2.2.3 Specification of Intra_8x8_Horizontal prediction mode ................................................................129 8.3.2.2.4 Specification of Intra_8x8_DC prediction mode............................................................................129 8.3.2.2.5 Specification of Intra_8x8_Diagonal_Down_Left prediction mode ..............................................130 8.3.2.2.6 Specification of Intra_8x8_Diagonal_Down_Right prediction mode ............................................130 8.3.2.2.7 Specification of Intra_8x8_Vertical_Right prediction mode..........................................................130 8.3.2.2.8 Specification of Intra_8x8_Horizontal_Down prediction mode.....................................................131 8.3.2.2.9 Specification of Intra_8x8_Vertical_Left prediction mode............................................................131 8.3.2.2.10 Specification of Intra_8x8_Horizontal_Up prediction mode........................................................131 8.3.3 Intra_16x16 prediction process for luma samples.....................................................................................132 8.3.3.1 Specification of Intra_16x16_Vertical prediction mode .......................................................................133 8.3.3.2 Specification of Intra_16x16_Horizontal prediction mode ...................................................................133 8.3.3.3 Specification of Intra_16x16_DC prediction mode...............................................................................133 8.3.3.4 Specification of Intra_16x16_Plane prediction mode ...........................................................................133 8.3.4 Intra prediction process for chroma samples.............................................................................................134 8.3.4.1 Specification of Intra_Chroma_DC prediction mode............................................................................134 8.3.4.2 Specification of Intra_Chroma_Horizontal prediction mode ................................................................136 8.3.4.3 Specification of Intra_Chroma_Vertical prediction mode ....................................................................136 8.3.4.4 Specification of Intra_Chroma_Plane prediction mode ........................................................................136 8.3.5 Sample construction process for I_PCM macroblocks..............................................................................137 8.4 Inter prediction process .....................................................................................................................................137 8.4.1 Derivation process for motion vector components and reference indices .................................................139 8.4.1.1 Derivation process for luma motion vectors for skipped macroblocks in P and SP slices ....................140 8.4.1.2 Derivation process for luma motion vectors for B_Skip, B_Direct_16x16, and B_Direct_8x8 ...........141 8.4.1.2.1 Derivation process for the co-located 4x4 sub-macroblock partitions............................................141 8.4.1.2.2 Derivation process for spatial direct luma motion vector and reference index prediction mode....144 8.4.1.2.3 Derivation process for temporal direct luma motion vector and reference index prediction mode 146 8.4.1.3 Derivation process for luma motion vector prediction..........................................................................148 8.4.1.3.1 Derivation process for median luma motion vector prediction.......................................................149 8.4.1.3.2 Derivation process for motion data of neighbouring partitions ......................................................150 8.4.1.4 Derivation process for chroma motion vectors......................................................................................151 8.4.2 Decoding process for Inter prediction samples .........................................................................................151 8.4.2.1 Reference picture selection process.......................................................................................................152 8.4.2.2 Fractional sample interpolation process ................................................................................................153 8.4.2.2.1 Luma sample interpolation process ................................................................................................154 8.4.2.2.2 Chroma sample interpolation process.............................................................................................157 8.4.2.3 Weighted sample prediction process.....................................................................................................158 8.4.2.3.1 Default weighted sample prediction process ..................................................................................158 8.4.2.3.2 Weighted sample prediction process ..............................................................................................159 8.5 Transform coefficient decoding process and picture construction process prior to deblocking filter process ..161 8.5.1 Specification of transform decoding process for 4x4 luma residual blocks ..............................................162 8.5.2 Specification of transform decoding process for luma samples of Intra_16x16 macroblock prediction mode 162 8.5.3 Specification of transform decoding process for 8x8 luma residual blocks ..............................................163 8.5.4 Specification of transform decoding process for chroma samples ............................................................164 8.5.5 Inverse scanning process for transform coefficients .................................................................................166 8.5.6 Inverse scanning process for 8x8 luma transform coefficients .................................................................167 8.5.7 Derivation process for the chroma quantisation parameters and scaling function ....................................169 NEN-ISO/IEC 14496-10:2006-09 Dit document is door NEN onder licentie verstrekt aan: / This document has been supplied under license by NEN to: Irdeto Access . 2006/10/30 ISO/IEC 14496-10:2005(E) © ISO/IEC 2005 – All rights reserved vii 8.5.8 Scaling and transformation process for luma DC transform coefficients for Intra_16x16 macroblock type ........................................................................................................................................................... 171 8.5.9 Scaling and transformation process for chroma DC transform coefficients.............................................. 171 8.5.10 Scaling and transformation process for residual 4x4 blocks ..................................................................... 173 8.5.11 Scaling and transformation process for residual 8x8 luma blocks ............................................................ 175 8.5.12 Picture construction process prior to deblocking filter process................................................................. 178 8.5.13 Residual colour transform process ............................................................................................................ 179 8.6 Decoding process for P macroblocks in SP slices or SI macroblocks............................................................... 179 8.6.1 SP decoding process for non-switching pictures....................................................................................... 180 8.6.1.1 Luma transform coefficient decoding process ...................................................................................... 180 8.6.1.2 Chroma transform coefficient decoding process................................................................................... 181 8.6.2 SP and SI slice decoding process for switching pictures .......................................................................... 182 8.6.2.1 Luma transform coefficient decoding process ...................................................................................... 183 8.6.2.2 Chroma transform coefficient decoding process................................................................................... 183 8.7 Deblocking filter process .................................................................................................................................. 184 8.7.1 Filtering process for block edges .............................................................................................................. 188 8.7.2 Filtering process for a set of samples across a horizontal or vertical block edge...................................... 189 8.7.2.1 Derivation process for the luma content dependent boundary filtering strength................................... 190 8.7.2.2 Derivation process for the thresholds for each block edge.................................................................... 191 8.7.2.3 Filtering process for edges with bS less than 4 ..................................................................................... 193 8.7.2.4 Filtering process for edges for bS equal to 4......................................................................................... 194 9 Parsing process........................................................................................................................................................ 195 9.1 Parsing process for Exp-Golomb codes ............................................................................................................ 195 9.1.1 Mapping process for signed Exp-Golomb codes ...................................................................................... 197 9.1.2 Mapping process for coded block pattern ................................................................................................. 197 9.2 CAVLC parsing process for transform coefficient levels ................................................................................. 200 9.2.1 Parsing process for total number of transform coefficient levels and trailing ones .................................. 201 9.2.2 Parsing process for level information ....................................................................................................... 205 9.2.2.1 Parsing process for level_prefix............................................................................................................ 206 9.2.3 Parsing process for run information.......................................................................................................... 206 9.2.4 Combining level and run information ....................................................................................................... 209 9.3 CABAC parsing process for slice data.............................................................................................................. 209 9.3.1 Initialisation process ................................................................................................................................. 210 9.3.1.1 Initialisation process for context variables............................................................................................ 211 9.3.1.2 Initialisation process for the arithmetic decoding engine...................................................................... 222 9.3.2 Binarization process.................................................................................................................................. 222 9.3.2.1 Unary (U) binarization process ............................................................................................................. 224 9.3.2.2 Truncated unary (TU) binarization process........................................................................................... 224 9.3.2.3 Concatenated unary/ k-th order Exp-Golomb (UEGk) binarization process......................................... 225 9.3.2.4 Fixed-length (FL) binarization process................................................................................................. 225 9.3.2.5 Binarization process for macroblock type and sub-macroblock type.................................................... 226 9.3.2.6 Binarization process for coded block pattern........................................................................................ 229 9.3.2.7 Binarization process for mb_qp_delta................................................................................................... 229 9.3.3 Decoding process flow.............................................................................................................................. 230 9.3.3.1 Derivation process for ctxIdx................................................................................................................ 230 9.3.3.1.1 Assignment process of ctxIdxInc using neighbouring syntax elements ......................................... 232 9.3.3.1.1.1 Derivation process of ctxIdxInc for the syntax element mb_skip_flag ................................... 232 9.3.3.1.1.2 Derivation process of ctxIdxInc for the syntax element mb_field_decoding_flag.................. 232 9.3.3.1.1.3 Derivation process of ctxIdxInc for the syntax element mb_type ........................................... 233 9.3.3.1.1.4 Derivation process of ctxIdxInc for the syntax element coded_block_pattern........................ 233 9.3.3.1.1.5 Derivation process of ctxIdxInc for the syntax element mb_qp_delta .................................... 234 9.3.3.1.1.6 Derivation process of ctxIdxInc for the syntax elements ref_idx_l0 and ref_idx_l1............... 234 9.3.3.1.1.7 Derivation process of ctxIdxInc for the syntax elements mvd_l0 and mvd_l1 ....................... 235 9.3.3.1.1.8 Derivation process of ctxIdxInc for the syntax element intra_chroma_pred_mode................ 237 9.3.3.1.1.9 Derivation process of ctxIdxInc for the syntax element coded_block_flag ............................ 237 9.3.3.1.1.10 Derivation process of ctxIdxInc for the syntax element transform_size_8x8_flag ............... 238 9.3.3.1.2 Assignment process of ctxIdxInc using prior decoded bin values.................................................. 239 9.3.3.1.3 Assignment process of ctxIdxInc for syntax elements significant_coeff_flag, last_significant_coeff_flag, and coeff_abs_level_minus1 ................................................................................ 239 9.3.3.2 Arithmetic decoding process................................................................................................................. 242 NEN-ISO/IEC 14496-10:2006-09 Dit document is door NEN onder licentie verstrekt aan: / This document has been supplied under license by NEN to: Irdeto Access . 2006/10/30 ISO/IEC 14496-10:2005(E) viii © ISO/IEC 2005 – All rights reserved 9.3.3.2.1 Arithmetic decoding process for a binary decision ........................................................................243 9.3.3.2.1.1 State transition process ............................................................................................................243 9.3.3.2.2 Renormalization process in the arithmetic decoding engine ..........................................................246 9.3.3.2.3 Bypass decoding process for binary decisions ...............................................................................247 9.3.3.2.4 Decoding process for binary decisions before termination.............................................................247 9.3.4 Arithmetic encoding process (informative)...............................................................................................248 9.3.4.1 Initialisation process for the arithmetic encoding engine (informative)................................................248 9.3.4.2 Encoding process for a binary decision (informative)...........................................................................248 9.3.4.3 Renormalization process in the arithmetic encoding engine (informative)...........................................249 9.3.4.4 Bypass encoding process for binary decisions (informative) ................................................................251 9.3.4.5 Encoding process for a binary decision before termination (informative) ............................................252 9.3.4.6 Byte stuffing process (informative).......................................................................................................254 Annex A Profiles and levels............................................................................................................................................255 A.1 Requirements on video decoder capability........................................................................................................255 A.2 Profiles ..............................................................................................................................................................255 A.2.1 Baseline profile .........................................................................................................................................255 A.2.2 Main profile...............................................................................................................................................256 A.2.3 Extended profile ........................................................................................................................................256 A.2.4 High profile ...............................................................................................................................................256 A.2.5 High 10 profile ..........................................................................................................................................257 A.2.6 High 4:2:2 profile......................................................................................................................................257 A.2.7 High 4:4:4 profile......................................................................................................................................258 A.3 Levels................................................................................................................................................................258 A.3.1 Level limits common to the Baseline, Main, and Extended profiles.........................................................258 A.3.2 Level limits common to the High, High 10, High 4:2:2, and High 4:4:4 profiles.....................................260 A.3.3 Profile-specific level limits .......................................................................................................................261 A.3.3.1 Baseline profile limits...........................................................................................................................262 A.3.3.2 Main, High, High 10, High 4:2:2, or High 4:4:4 profile limits.............................................................263 A.3.3.3 Extended Profile Limits........................................................................................................................264 A.3.4 Effect of level limits on frame rate (informative)......................................................................................266 Annex B Byte stream format..........................................................................................................................................269 B.1 Byte stream NAL unit syntax and semantics ....................................................................................................269 B.1.1 Byte stream NAL unit syntax....................................................................................................................269 B.1.2 Byte stream NAL unit semantics...............................................................................................................269 B.2 Byte stream NAL unit decoding process...........................................................................................................270 B.3 Decoder byte-alignment recovery (informative) ...............................................................................................270 Annex C Hypothetical reference decoder .....................................................................................................................272 C.1 Operation of coded picture buffer (CPB) ..........................................................................................................274 C.1.1 Timing of bitstream arrival .......................................................................................................................274 C.1.2 Timing of coded picture removal ..............................................................................................................275 C.2 Operation of the decoded picture buffer (DPB) ................................................................................................276 C.2.1 Decoding of gaps in frame_num and storage of "non-existing" frames....................................................276 C.2.2 Picture decoding and output......................................................................................................................276 C.2.3 Removal of pictures from the DPB before possible insertion of the current picture.................................277 C.2.4 Current decoded picture marking and storage...........................................................................................277 C.2.4.1 Marking and storage of a reference decoded picture into the DPB.......................................................277 C.2.4.2 Storage of a non-reference picture into the DPB ..................................................................................277

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值