Adaptive tile data size coding for video and image compression
AssigneeGoogle Inc.
InventorsYunqing Wang, Jingning Han
Life of this patent
Estimating the term…
Abstract
A method for encoding a video signal includes estimating a space requirement for encoding a tile of a video frame, writing a first value in a first value space of the bitstream, wherein the first value describes a size of a second value space, and defining the second value space in the bitstream, wherein the size of the second value space is based on an estimated space requirement. The method also includes writing encoded content in a content space of the bitstream, determining a size of the content space subsequent to writing encoded content in the content space, and writing a second value in the second value space of the bitstream, wherein the second value describes the size of the content space.
Claims20
A method for encoding a video signal comprising video frames into a bitstream, the method comprising:
- estimating a space requirement for encoding a tile of a video frame of the video frames;
- writing a first value in a first value space of the bitstream, wherein the first value describes a size of a second value space;
- defining the second value space in the bitstream, wherein the size of the second value space is based on the space requirement;
- writing encoded content in a content space of the bitstream, the encoded content associated with the tile of the video frame;
- determining a size of the content space subsequent to writing the encoded content in the content space;
- and
- writing a second value in the second value space of the bitstream, wherein the second value describes the size of the content space.
An apparatus for encoding a video signal comprising video frames into a bitstream, the apparatus comprising:
- a memory;
- and
- a processor configured to execute instructions stored in the memory to:
- estimate a space requirement for encoding a tile of a video frame of the video frames;
- write a first value in a first value space of the bitstream, wherein the first value describes a size of a second value space;
- define the second value space in the bitstream, wherein the size of the second value space is based on the space requirement;
- write encoded content in a content space of the bitstream, the encoded content associated with the tile of the video frame;
- determine a size of the content space subsequent to writing the encoded content in the content space;
- and
- write a second value in the second value space of the bitstream, wherein the second value describes the size of the content space.
A method for encoding an image to a bitstream, the method comprising:
- writing a first size value in a first value space of the bitstream describing an estimated space requirement for encoding at least a portion of the image;
- reserving a second value space of the bitstream, the second value space having a size corresponding to the first size value;
- writing encoded content associated with at least the portion of the image to the bitstream;
- and
- writing a second size value in the second value space of the bitstream, the second size value describing a size of the encoded content in the second value space.
Dependencies are inferred from the claim text.