摘要:
A motion detection portion of a video encoding apparatus conducts motion detection on each of frame macroblocks and field macroblocks to calculate motion vectors and respective detection cost. A motion vector evaluation value calculation portion calculates an evaluation value of the size of motion vectors. A motion vector threshold determination portion compares the evaluation value of the size of motion vectors to a predetermined threshold to determine whether the target area is a moving area or a still area. If the target area is a moving area, it is determined whether frame or field macroblock mode is to be used by comparing the detection costs. If the target area is a still area, it is determined whether frame or field macroblock mode is to be used in accordance with the size of the sum of absolute values of differences between neighboring pixels in a vertical direction regarding the frame macroblock and field macroblock.
摘要:
A motion detection portion of a video encoding apparatus conducts motion detection on each of frame macroblocks and field macroblocks to calculate motion vectors and respective detection cost. A motion vector evaluation value calculation portion calculates an evaluation value of the size of motion vectors. A motion vector threshold determination portion compares the evaluation value of the size of motion vectors to a predetermined threshold to determine whether the target area is a moving area or a still area. If the target area is a moving area, it is determined whether frame or field macroblock mode is to be used by comparing the detection costs. If the target area is a still area, it is determined whether frame or field macroblock mode is to be used in accordance with the size of the sum of absolute values of differences between neighboring pixels in a vertical direction regarding the frame macroblock and field macroblock.
摘要:
In motion search using a PE array, a technique is provided for enabling high-speed calculation while avoiding bank conflict without increasing a memory for storing pixels outside the screen. When pieces of pixel data of a plurality of lines to be read from the memory 3 (reference image memory 30) exist in a same bank, the conflict bank anticipatory read control unit 10 reads pixel data of a line in advance, and a read data holding circuit 20 holds the data until timing for inputting to a PE array unit 4. Accordingly, bank conflict can be avoided when reading pixel data from the memory 3, so that smooth pipeline processing by the PE array unit 4 can be realized.
摘要:
In motion search using a PE array, a technique is provided for enabling high-speed calculation while avoiding bank conflict without increasing a memory for storing pixels outside the screen. When pieces of pixel data of a plurality of lines to be read from the memory 3 (reference image memory 30) exist in a same bank, the conflict bank anticipatory read control unit 10 reads pixel data of a line in advance, and a read data holding circuit 20 holds the data until timing for inputting to a PE array unit 4. Accordingly, bank conflict can be avoided when reading pixel data from the memory 3, so that smooth pipeline processing by the PE array unit 4 can be realized.