Transform and quantization architecture for video coding and decoding
First Claim
Patent Images
1. A method of encoding a video stream, comprising:
- providing a transform matrix having a size M×
M;
providing a residual block having a size P×
P;
computing an offset into the transform matrix based on the size of the residual block when P is less than M;
transforming the residual block to generate a DCT coefficient block using elements of the transform matrix selected by the offset;
providing a quantization step size for the DCT coefficient block; and
quantizing each non-zero coefficient in the DCT coefficient block using the quantization step size.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of encoding a video stream in a video encoder is provided that includes computing an offset into a transform matrix based on a transform block size, wherein a size of the transform matrix is larger than the transform block size, and wherein the transform matrix is one selected from a group consisting of a DCT transform matrix and an IDCT transform matrix, and transforming a residual block to generate a DCT coefficient block, wherein the offset is used to select elements of rows and columns of a DCT submatrix of the transform block size from the transform matrix.
8 Citations
18 Claims
-
1. A method of encoding a video stream, comprising:
-
providing a transform matrix having a size M×
M;
providing a residual block having a size P×
P;
computing an offset into the transform matrix based on the size of the residual block when P is less than M;
transforming the residual block to generate a DCT coefficient block using elements of the transform matrix selected by the offset;providing a quantization step size for the DCT coefficient block; and
quantizing each non-zero coefficient in the DCT coefficient block using the quantization step size. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of encoding data comprising:
-
capturing an image; partially encoding the image to yield an 8×
8 residual block;providing a 32×
32 transform matrix;transforming the residual block using a matrix comprising values M[l,j] from the transform matrix where i and j are 0, 4, 8, 12, 16, 20, 24, and 28, to yield a DCT coefficient block; providing a quantization step size for the DCT coefficient block; quantizing each non-zero coefficient in the DCT coefficient block using the quantization step size; entropy coding the quantized DCT coefficient block; and transmitting the entropy encoded quantized DCT coefficient block.
-
-
11. A method of decoding a video stream, comprising:
-
providing an inverse transform matrix having a size M×
M;providing an encoded quantized DCT coefficient block having a size P×
P;inverse quantizing at least one non-zero coefficient in the quantized DCT coefficient block to provide a DCT coefficient block; computing an offset into the inverse transform matrix based on the size of the DCT coefficient block when P is less than M; and transforming the DCT coefficient block to generate a residual block using elements of the inverse transform matrix selected by the offset. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
Specification