Method and apparatus for encoding video using data frequency
AssigneeGoogle Inc.
InventorWei Jia
Life of this patent
Estimating the term…
Abstract
A system, apparatus, and method for encoding and decoding a video image having a plurality of frames is disclosed. The method includes identifying in at least one frame a base layer portion primarily composed of low frequency data and an enhancement layer portion primarily composed of high frequency data. The method also includes encoding the base layer portion using a first encoding technique that encodes at a higher quality than a second encoding technique and encoding the enhancement layer portion using the second encoding technique.
Claims22
A method for encoding a video signal that includes a plurality of frames, the method comprising:
- identifying in at least one frame a base layer portion primarily composed of low frequency data and an enhancement layer portion primarily composed of high frequency data;
- encoding the base layer portion using a first encoding technique that encodes at a higher quality than a second encoding technique, wherein encoding the base layer portion includes:
- creating a modified frame from the at least one frame by:
- including all pixels in the base layer portion in the modified frame;
- and
- setting values of pixels in the modified frame that are spatially-correspondent with pixels in the enhancement layer portion to a special value, and
- encoding the modified frame;
- and
- encoding the enhancement layer portion using the second encoding technique, wherein the at least one frame has lines of pixels and encoding the enhancement layer portion includes:
- creating a temporary frame by using, for each line, the steps of:
- identifying a line in the at least one frame;
- and
- copying each pixel that is in the enhancement layer portion from the line to a new line in the temporary frame, a left-most pixel in the line's enhancement layer portion being copied to a first position in the new line, and any remaining pixels in the line's enhancement layer portion being copied to sequential positions in the new line, and
- encoding the temporary frame.
A method for encoding a video signal, the method comprising:
- identifying a frame from a plurality of frames of a video signal, wherein the frame includes a plurality of pixels,
- identifying, by a processor in response to instructions stored on a non-transitory memory, a base portion for the frame, such that the base portion includes a plurality of spatially contiguous substantially identical pixels from the plurality of pixels of the frame, the plurality of spatially contiguous substantially identical pixels having a count of pixels that exceeds a threshold;
- identifying an enhancement portion for the frame, such that the enhancement portion includes a plurality of variant pixels from the plurality of pixels of the frame;
- generating an encoded base portion by encoding the base portion using high-quality encoding;
- generating an encoded enhancement portion by independently encoding the enhancement portion;
- identifying a static portion of the frame including a plurality of static pixels from the plurality of pixels of the frame;
- generating an encoded static portion by encoding the static portion;
- identifying a spatially-offset portion of the frame including a plurality of spatially contiguous pixels from the plurality of pixels of the frame;
- generating an encoded spatially-offset portion by encoding the spatially-offset portion;
- including the encoded base portion, and the encoded enhancement portion, the encoded static portion, and the encoded spatially-offset portion in an output, wherein a combination of the static portion and the spatially-offset portion is disjoint with a combination of the base portion and the enhancement portion;
- and
- transmitting or storing the output.
A method for encoding a video signal, the method comprising:
- identifying a first frame from a plurality of frames of a video signal, wherein the first frame includes a first plurality of pixels;
- encoding the first frame, wherein encoding the first frame includes:
- identifying, by a processor in response to instructions stored on a non-transitory memory, a first base portion for the first frame, such that the first base portion includes a first plurality of spatially contiguous substantially identical pixels from the first plurality of pixels of the first frame, the first plurality of spatially contiguous substantially identical pixels having a count of pixels that exceeds a threshold,
- identifying a first enhancement portion for the first frame, such that the first enhancement portion includes a first plurality of variant pixels from the first plurality of pixels of the first frame,
- generating a first encoded base portion by encoding the first base portion using high-quality encoding,
- generating a first encoded enhancement portion by independently encoding the first enhancement portion, and
- including the first encoded base portion and the first encoded enhancement portion in an output;
- identifying a second frame from a plurality of frames of a video signal, wherein the second frame includes a second plurality of pixels;
- encoding the second frame, wherein encoding the second frame includes:
- identifying a static portion of the second frame including a plurality of static pixels from the second plurality of pixels of the second frame,
- generating an encoded static portion by encoding the static portion,
- identifying a spatially-offset portion of the second frame including a plurality of spatially contiguous pixels from the second plurality of pixels of the second frame,
- generating an encoded spatially-offset portion by encoding the spatially-offset portion,
- identifying a second base portion for the second frame, such that the second base portion includes a second plurality of spatially contiguous substantially identical pixels from the second plurality of pixels of the second frame, the second plurality of spatially contiguous substantially identical pixels having a count of pixels that exceeds the threshold,
- identifying a second enhancement portion for the second frame, such that the second enhancement portion includes a second plurality of variant pixels from the second plurality of pixels of the second frame,
- generating a second encoded base portion by encoding the second base portion using high-quality encoding,
- generating a second encoded enhancement portion by independently encoding the second enhancement portion, and
- including the encoded static portion, the encoded spatially-offset portion, the second encoded base portion, and the second encoded enhancement portion in the output, wherein a combination of the encoded static portion and the encoded spatially-offset portion is disjoint with a combination of the second encoded base portion and the second encoded enhancement portion;
- and
- transmitting or storing the output.
Dependencies are inferred from the claim text.