Patent ID: 8265164
Filing Date: 2012-09-11
Classification: H04N

Abstract:
1. A method for determining whether two adjacent macroblocks are located in the same slice, the method being applicable to a specific process based on macroblocks for a block-based encoded image represented as an encoded bit-stream, each macroblock in the image being assigned a sequence characteristic number, the method comprising the steps of: providing a memory space to store and trace a slice changing point; initializing said slice changing point to a predetermined initial value; decoding a current macroblock; setting said slice changing point to a derived sequence characteristic number of a current macroblock when a current slice is determined to change by examining the encoded bit-stream, said derived sequence characteristic number being derived from said sequence characteristic number of the current macroblock; and determining whether the current macroblock and an adjacent macroblock of the current macroblock are located in the same slice according to a comparison result between said sequence characteristic number of the adjacent macroblock and said slice changing point; wherein said predetermined initial value is −1, and said derived sequence characteristic number is said sequence characteristic number of the current macroblock minus 1, and said determining step determines that the current macroblock and the adjacent macroblock are located in the same slice when said slice changing point is less than said sequence characteristic number of the adjacent macroblock.