摘要:
There is disclosed apparatuses, methods and computer programs for video coding. The filtering process to be applied to intra predicted sample values is selected and adapted based on the characteristics of the sample prediction process. According to some embodiments an angularity information and pixel values for filtering by a filter are received. The angularity information is used to adapt the filter. The adapting may comprise selecting a filter algorithm and/or filter coefficients. The selected pixels are then filtered by the adapted filter.
摘要:
Two-stage interpolation can be provided for frame prediction samples with quarter-pixel and finer accuracy. All samples of quarter-pixel and finer accuracy can use either half or full/integer-pixels in a bi-linear interpolation to allow for the use of higher accuracy motion vectors, such as one-eighth-pixel accuracy motion vectors. The motion vectors can be restricted in a manner such that they are not allowed to point to every possible sub-pixel sample on a sub-pixel grid, but rather a subset of those sub-pixel samples. In addition, the same full/integer and half-pixel samples that can be used to obtain a quarter-pixel sample can also be used to obtain a one-eighth-pixel sample that the quarter-pixel sample is connected to. Hence, for every quarter-pixel sample, a motion vector could point to two additional positions/locations with one-eighth-pixel accuracy, where the two additional positions/locations can be calculated using the same half or integer-pixel samples which were used to obtain the quarter-pixel sample. Therefore, an arbitrary motion vector accuracy can be achieved without the need to perform additional interpolation stages or increase the complexity of a decoder configured to decode motion vector data.
摘要:
A method comprising receiving a syntax element to be encoded as a code word of a set of code words, determining a mapping between the syntax element and the code word on the basis of a hierarchy level in a tree structure, using the mapping to obtain the code word, and updating the mapping is disclosed.
摘要:
There is disclosed apparatuses, methods and computer program products for coding and decoding and specifically but not only for coding and decoding of image and video signals. It is determined whether two adjacent blocks of pixels of an image have a flat nature. The result of the determining is used to select a filter among at least a first filter and a second filter for filtering a block boundary between two adjacent blocks of pixels. The second filter is selected when said determining indicates that there are two adjacent blocks of pixels having a flat nature. At least a first reference value and a second reference value are selected for the second filter and used in filtering the block boundary.
摘要:
In accordance with an embodiment of the present invention, a method comprising: representing coefficients of an adaptive image filter in binary words wherein the coefficients are restricted and the binary words have a maximum number of bits defined at least in part by a precision index; computing at least one of a convolution sum and multiple partial convolution sums of the adaptive image filter wherein the at least one of a convolution sum and multiple partial convolution sums having a constrained value range and having a binary representation with a fixed maximum number of bits; and generating the output of the adaptive image filter based at least in part on the at least one of a convolution sum and multiple partial convolution sums, is disclosed.
摘要:
In encoding or decoding a video sequence having a sequence of video frames, interpolation filter coefficients for each frame or macroblock are adapted so that the non-stationary properties of the video signal are captured more accurately. A filter-type selection block in the encoder is used to determine the filter-type for use in the adaptive interpolation filter (AIF) scheme by analyzing the input video signal. Filter-type information is transmitted along with filter coefficients to the decoder. This information specifies, from a pre-defined set of filter types, what kind of interpolation filter is used. The number of filter coefficients that is sent depends on the filter-type. This number is pre-defined for each filter-type. Based on the filter-type and the filter coefficients, a filter constructing block in the decoder constructs the interpolation filter
摘要:
In general, a methodology of rate control for a video encoding is provided, which is implementable by the means of a method, a device, a computer program and/or a video encoder. A frame encoding process is performed for each frame in that an initial quantization parameter is calculated for being used as a quantization parameter for encoding a current frame. Each group of macroblocks within the current frame is encoded group by group; i.e. group-wise. A score value is determined after macroblock encoding of a current group of macroblocks. In case the score value exceeds a pre-defined threshold, the quantization parameter for encoding the next group of macroblocks is adjusted; otherwise, the macroblock encoding is continued with the quantization parameter which is currently used for encoding the current group of macroblocks.
摘要:
There is disclosed an apparatus, a method and a computer program for video coding. The apparatus comprises a selector configured for selecting a pixel for prediction; a projection definer configured for determining a projection of said pixel to a set of reference pixels; and a prediction definer configured for selecting one or more reference pixels from said set of reference pixels on the basis of said projection, and using said selected one or more reference pixels to obtain a prediction value for said pixel to be predicted.
摘要:
An apparatus, a method and a computer program product for video coding are provided including selecting an encoding method from a set of encoding methods comprising at least a first encoding method and a second encoding method for encoding a block of pixels of an image; selecting at least one control point among the pixels of the block of pixels, wherein the control pixel is selected from any pixel of the block of pixels; and selecting a first reference point different from the control point; determining values of the other pixels of the selected block of pixels on the basis of the value of the control point and the value of the at least one reference point.
摘要:
A method comprising receiving a syntax element to be encoded as a code word of a set of code words, determining a mapping between the syntax element and the code word on the basis of a hierarchy level in a tree structure, using the mapping to obtain the code word, and updating the mapping is disclosed.