Abstract:
Provided are methods and apparatus for encoding and decoding motion information. The method of encoding motion information includes: obtaining a motion information candidate by using motion information of prediction units that are temporally or spatially related to a current prediction unit; adding, when the number of motion information included in the motion information candidate is smaller than a predetermined number n, alternative motion information to the motion information candidate so that the number of motion information included in the motion information candidate reaches the predetermined number n; determining motion information with respect to the current prediction unit from among the n motion information candidates; and encoding index information indicating the determined motion information as motion information of the current prediction unit.
Abstract:
A method and apparatus for intra predicting a video. The method includes: determining availability of a predetermined number of adjacent pixels used for intra prediction of a current block; if a first adjacent pixel is unavailable, searching for a second adjacent pixel that is available by searching the predetermined number of adjacent pixels in a predetermined direction based on the first adjacent pixel; and replacing a pixel value of the first adjacent pixel with a pixel value of a found second adjacent pixel. At least one third adjacent pixel in another location, which is not available and excludes the first adjacent pixel at a predetermined location, is to sequentially replaced by using a directly adjacent pixel in a predetermined direction.
Abstract:
An image processing apparatus is provided. The image processing apparatus includes a processor configured to, in response to an image including a plurality of frames being input, change a predetermined parameter to a parameter corresponding to a compression rate of each of the plurality of frames for each frame, and process the input image by using the parameter changed for each frame, and an output interface configured to output the processed image.
Abstract:
Provided are a video encoding method and a video decoding method according to spatial subdivisions based on splitting a picture into a first tile and a second tile, and splitting a current tile among the first tile and the second tile into at least one slice segment, encoding the first tile and the second tile, independently from each other, and encoding maximum coding units of a current slice segment among the at least one slice segment included in the current tile, with respect to the at least one slice segment included in the current tile.
Abstract:
An encoding method and apparatus and a decoding method and apparatus for determining a motion vector of a current block based on a motion vector of at least one previously-encoded or previously-decoded block are provided. The decoding method includes: decoding information regarding a prediction direction from among a first direction, a second direction, and bi-directions, and information regarding pixel values of the current block; determining the prediction direction in which the current block is to be predicted, based on the decoded information regarding the prediction direction, and determining a motion vector for predicting the current block in the determined prediction direction; and restoring the current block, based on the determined motion vector and the decoded information regarding the pixel values, wherein the first direction is a direction from a current picture to a previous picture, and the second direction is a direction from the current picture to a subsequent picture.
Abstract:
A method of decoding video, the method including receiving and parsing a bitstream which includes encoded video; extracting encoded image data relating to a current picture, which image data is assigned to at least one maximum coding unit, information relating to a coded depth and an encoding mode for each of the at least one maximum coding unit, and filter coefficient information for performing loop filtering on the current picture, from the bitstream; decoding the encoded image data in units of the at least one maximum coding unit, based on the information relating to the coded depth and the encoding mode for each of the at least one maximum coding unit; and performing deblocking on the decoded image data relating to the current picture, and performing loop filtering on the deblocked data, based on continuous one-dimensional (1D) filtering.
Abstract:
Entropy encoding and entropy decoding of image data are respectively performed whereby context modeling is performed on a context unit of blocks of the image data based on a context model of a previously encoded or decoded block.
Abstract:
A method and apparatus for encoding video by using deblocking filtering, and a method and apparatus for decoding video by using deblocking filtering are provided. The method of encoding video includes: splitting a picture into a maximum coding unit; determining coding units of coded depths and encoding modes for the coding units of the maximum coding unit by prediction encoding the coding units of the maximum coding unit based on at least one prediction unit and transforming the coding units based on at least one transformation unit, wherein the maximum coding unit is hierarchically split into the coding units as a depth deepens, and the coded depths are depths where the maximum coding unit is encoded in the coding units; and performing deblocking filtering on video data being inversely transformed into a spatial domain in the coding units, in consideration of the encoding modes.
Abstract:
A method and apparatus for encoding and decoding motion information. The encoding method includes determining whether motion information of spatial prediction units that are spatially collocated to a current prediction unit and motion information of temporal prediction units that are temporally collocated to the current prediction are available; when the number of the motion information of the spatial prediction units and the motion information of the temporal prediction units is less than a predetermined number, generating additional candidate motion information by using the available motion information of the spatial prediction units and the motion information of the temporal prediction units such that the total number of pieces of candidate motion information is the predetermined number; and decoding motion information of the current prediction unit by using the ‘n’ pieces of motion information.
Abstract:
A method of determining a reference image for inter-prediction includes: determining a slice type of a block; if the determining of the slice type indicates that the slice type is a B-slice type configured for uni-directional prediction or bi-directional prediction, determining an inter-prediction direction of the block to be one of a first direction, a second direction, and a bi-direction; if the determining of the inter-prediction direction indicates that the inter-prediction direction is not the second direction, determining a first direction reference index from a first direction reference picture list as a reference index for the block; and if the determining of the inter-prediction direction indicates that the inter-prediction direction is not the first direction, determining a second direction reference index from a second direction reference picture list as a reference index for the block.