Method and system for transcoding video data
AssigneeViXS Systems, Inc.
InventorPatrick Rault
Life of this patent
Estimating the term…
Abstract
A first method of transcoding video data is disclosed that generates a motion vector for a macroblock encoded as a dual prime macro block that has a direct motion vector, and differential motion vector for its two fields respectively. Another method of transcoding includes replacing a skipped P-macroblock that has been used to backward predict a B-Frame with a P-macroblock having a motion vector of zero. Another method of transcoding includes replacing a skipped B-macroblock with a macroblock having a motion vector from a macroblock of the same frame of the skipped B-macroblock that is not co-located.
Claims28
A method comprising:
- receiving a first data stream comprising encoded image data;
- and
- transcoding the first data stream to generate a second data stream, the transcoding comprising:
- determining whether the first data stream is characterized by one of:
- a skipped P macroblock and a first B-macroblock that is forward predicted from image data associated with an image location of the skipped P-macroblock;
- and
- a skipped B-macroblock;
- responsive to the first data stream including the skipped P-macroblock and the first B-macroblock:
- encoding a first P-macroblock based on the image data at the image location of the skipped P-macroblock;
- and
- implementing the first P-macroblock in the second data stream in place of the skipped P-macroblock;
- and
- responsive to the first data stream including the skipped B-macroblock:
- encoding a second B-macroblock based on a prediction error data set to zero;
- and
- implementing the second B-macroblock in the second data stream in place of the skipped B-macroblock.
An electronic device comprising:
- a transcoder configured to transcode a first data stream comprising encoded image data to generate a second data stream by:
- determining whether the first data stream is characterized by one of:
- a skipped P macroblock and a first B-macroblock that is forward predicted from image data associated with an image location of the skipped P-macroblock;
- and
- a skipped B-macroblock;
- responsive to the first data stream including the skipped P-macroblock and the first B-macroblock:
- encoding a first P-macroblock based on the image data at the image location of the skipped P-macroblock;
- and
- implementing the first P-macroblock in the second data stream in place of the skipped P-macroblock;
- and
- responsive to the first data stream including the skipped B-macroblock:
- encoding a second B-macroblock based on a prediction error data set to zero;
- and
- implementing the second B-macroblock in the second data stream in place of the skipped B-macroblock.
Dependencies are inferred from the claim text.