InBoxOutOrder[ equal to 1 indicates that the j-th slice group map unit in counter-clockwise box-out order in the i-th spare picture is not a spare unit. When spare_area_idc[0 is equal to 2, spareUnitFlagInBoxOutOrder| is derived as specified by the following pseudo-code: for( = loop = 0; < PicSizeInMapUnits; loop++) { r(k=0;k zero_run_length[ loop k++) spareUnitFlagInBoxOutOrder[ (D-4) spareUnitFlagInBoxOutOrder[ Rec. ITU-T H.264 (01/2012) When spare_area_idc[ i ] is equal to 2 and the value of i is greater than 0, spareUnitFlagInBoxOutOrder[ is derived as specified by the following pseudo-code: loop = 0; j < PicSizeInMapUnits; loop++ ) { (k=0;k < zero_run_length[ i ][ loop ]; k++) spareUnitFlagInBoxOutOrder[ i = spareUnitFlagInBoxOutOrder[ (D-5) spareUnitFlagInBoxOutOrder[ [[j ]=!spareUnitFlagInBoxOutOrder| ][j++] D.2.10 Scene information SEI message semantics A scene and a scene transition are herein defined as a set of consecutive pictures in output order. NOTE 1 - Decoded pictures within one scene generally have similar content. The scene information SEI message is used to label pictures with scene identifiers and to indicate scene changes. The message specifies how the source pictures for the labelled pictures were created. The decoder may use the information to select an appropriate algorithm to conceal transmission errors. For example, a specific algorithm may be used to conceal transmission errors that occurred in pictures belonging to a gradual scene transition. Furthermore, the scene information SEI message may be used in a manner determined by the application, such as for indexing the scenes of a coded sequence. A scene information SEI message labels all pictures, in decoding order, from the primary coded picture to which the SEI message is associated (inclusive), as specified in clause 7.4.1.2.3, to the primary coded picture to which the next scene information SEI message (if present) in decoding order is associated (exclusive) or (otherwise) to the last access unit in the bitstream (inclusive). These