摘要 |
A video encoding apparatus and method to distribute one or more macroblocks, classified into the same slice group, over an entire frame, according to the H.264 standard. The video encoding apparatus includes: a macroblock group setting module, which sets the number of macroblocks in a macroblock group; a bit count extraction module, which extracts a bit count from each of the macroblocks; a bit count arrangement module, which arranges the macroblocks according to the extracted bit counts; a slice group determination module, which respectively allocates a plurality of slice group identifiers to the macroblocks, with reference to the result of the arrangement performed by the bit count arrangement module, so that a plurality of pieces of address information of the macroblocks can correspond one-to-one with the slice group identifiers; a rearrangement module, which classifies the macroblocks into a plurality of slice groups, according to the slice group identifiers of the macroblocks, and rearranges the macroblocks in slices of the slice groups; and an encoding module which encodes the rearranged macroblocks.
|