Methods and systems for adaptive cropping
A decoder includes circuitry configured to receive a bit stream, identify, as a function of the bitstream, a current frame, and a cropped sub-frame of the current frame, determine, as a function of the bitstream, a scaling constant associated with the cropped sub-frame, and reconstruct pixel data of the cropped sub-frame using the scaling constant.
1. A decoder, the decoder comprising circuitry configured to: receive a bitstream;
identify, as a function of the bitstream, a current frame, and a cropped sub-frame of the current frame;
determine, as a function of the bitstream, a scaling constant associated with the cropped sub-frame, wherein the scaling constant is signaled within the bit stream, and wherein the scaling constant is signaled as a function of a pps pic width in luma samples parameter, a pps scaling win right offset parameter, and a pps scaling win left offset parameter; and reconstruct pixel data of the cropped sub-frame using the scaling constant.
2. The decoder of claim 1 , wherein the cropped sub-frame is signaled in a sequence parameter set (SPS).
3. The decoder of claim 1 , wherein the scaling constant includes a vertical scaling component and a horizontal scaling component.
4. The decoder of claim 1 , wherein the scaling constant is signaled in a picture parameter set (PPS).
5. The decoder of claim 1 , wherein the decoder is configured to scale the cropped sub-frame by interpolating pixel values.
6. A method, the method comprising: receiving, by a decoder, a bitstream; identifying, by the decoder and as a function of the bitstream, a current frame, and a cropped sub-frame of the current frame;
determining, by the decoder and as a function of the bitstream, a scaling constant associated with the cropped sub-frame, wherein the scaling constant is signaled within the bit stream, wherein the scaling constant is signaled as a function of a pps pic width in luma samples parameter, a pps scaling win right offset parameter, and a pps scaling win left offset parameter; and reconstructing, by the decoder, pixel data of the cropped sub-frame using the scaling constant.
7. The method of claim 6 , wherein the cropped sub-frame is signaled in a sequence parameter set (SPS).
8. The method of claim 6 , wherein the scaling constant includes a vertical scaling component and a horizontal scaling component.
9. The method of claim 6 , wherein the scaling constant is signaled in a picture parameter set (PPS).
10. The method of claim 6 , wherein the decoder is configured to scale the cropped sub-frame by interpolating pixel values.