 order count as specified in clause 8.2.1. Thevalue ofnum_ref_frames_in_pic_order_cnt_cycleshall be in the range of 0 to 255, inclusive. offset_for_ref_frame[ i ] is an element of a list of num_ref_frames_in_pic_order_cnt_cycle values used in the decoding process for picture order count as specified in clause 8.2.1. The value of offset_for_ref_frame[ shall be in the range of -231 + 1 to 231 - 1, inclusive. When pic_order_cnt_type is equal to 1, the variable ExpectedDeltaPerPicOrderCntCycle is derived by ExpectedDeltaPerPicOrderCntCycle= = 0 for( i=0;i<num_ref_frames_in_pic_order_cnt_cycle;i++) ExpectedDeltaPerPicOrderCntCycle+=offset_for_ref_frame[i (7-11) max_num_ref_frames specifies the maximum number of short-term and long-term reference frames, complementary reference field pairs, and non-paired reference fields that may be used by the decoding process for inter prediction of any picture in the coded video sequence. max_num_ref_frames also determines the size of the sliding window operation as specified in clause 8.2.5.3. The value of max num ref frames shall be in the range of 0 to MaxDpbFrames (as specified in clause A.3.1 or A.3.2), inclusive. gaps_in_frame_num_value_allowed_flag specifies the allowed values of frame num as specified in clause 7.4.3 and the decoding process in case of an inferred gap between values of frame_num as specified in clause 8.2.5.2. pic_width_in_mbs_minus1 plus 1 specifies the width of each decoded picture in units of macroblocks. The variable for the picture width in units of macroblocks is derived as PicWidthInMbs = pic_width_in_mbs_minus1+ 1 (7-12) The variable for picture width for the luma component is derived as PicWidthInSamples, = PicWidthInMbs * 16 (7-13) The variable for picture width for the chroma components is derived as PicWidthInSamplesc = PicWidthInMbs * MbWidthC (7-14) pic_height_in_map_units_minus1 plus 1 specifies the height in slice group map units of a decoded frame or field. The variables PicHeightInMapUnits and PicSizeInMapUnits are derived as PicHeightInMa