Abstract:
A video encoding method includes receiving a source video frame, dividing the source video frame into a coding tree unit, determining a coding unit from the coding tree unit, enabling or disabling a coding mode of the coding unit, determining, if the coding mode is enabled, whether to evaluate a size of a transform unit for the enabled coding mode, and determining a transform unit of the coding unit for the enabled coding mode, wherein the size of the coding unit is defined by a number (N) of samples.
Abstract:
In an embodiment, an encoding method includes generating a histogram corresponding to all pixels in a coding unit. The encoding method further includes seeking a first color value according to the histogram, wherein a first number of pixels of the first color value in the histogram is greater than or equals to a first threshold. The encoding method further includes seeking a second color value in a first range of the first color value according to the histogram. The encoding method further includes removing one or more pixels of the first color value from the histogram when a second number of pixels of the second color value is greater than or equals to a second threshold. The encoding method further includes adding the first color value into an initial color table when the second number of pixels is less than the second threshold. An encoder is also provided in the disclosure.
Abstract:
An encoding, a decoding method, a system for encoding and decoding, an encoder, and a decoder are provided. The encoding method includes the following. In a palette mode, if colors of pixels of a coding unit block are all represented by one or more major colors of the coding unit block, a flag is set as a first state value, and if the color of at least one pixel of the coding unit block is not represented by the one or more major colors of the coding unit block, the flag is set as a second state value. The encoding method further includes establishing a palette table corresponding to the coding unit block according to a state value of the flag and the one or more major colors.
Abstract:
An encoding, a decoding method, a system for encoding and decoding, an encoder, and a decoder are provided. The encoding method includes the following. In a palette mode, if colors of pixels of a coding unit block are all represented by one or more major colors of the coding unit block, a flag is set as a first state value, and if the color of at least one pixel of the coding unit block is not represented by the one or more major colors of the coding unit block, the flag is set as a second state value. The encoding method further includes establishing a palette table corresponding to the coding unit block according to a state value of the flag and the one or more major colors.
Abstract:
An electronic device and a method of intra prediction. The method includes: a first reference area adjacent to a first target image block is obtained from a reference image block, and the first reference area includes multiple first reference samples corresponding to a first direction; an intra mode of the first target image block is determined according to the first reference samples; and the intra mode is outputted.
Abstract:
An encoding, a decoding method, a system for encoding and decoding, an encoder, and a decoder are provided. The encoding method includes the following. In a palette mode, if colors of pixels of a coding unit block are all represented by one or more major colors of the coding unit block, a flag is set as a first state value, and if the color of at least one pixel of the coding unit block is not represented by the one or more major colors of the coding unit block, the flag is set as a second state value. The encoding method further includes establishing a palette table corresponding to the coding unit block according to a state value of the flag and the one or more major colors.
Abstract:
An encoding, a decoding method, a system for encoding and decoding, an encoder, and a decoder are provided. The encoding method includes the following. In a palette mode, if colors of pixels of a coding unit block are all represented by one or more major colors of the coding unit block, a flag is set as a first state value, and if the color of at least one pixel of the coding unit block is not represented by the one or more major colors of the coding unit block, the flag is set as a second state value. The encoding method further includes establishing a palette table corresponding to the coding unit block according to a state value of the flag and the one or more major colors.
Abstract:
An encoding method and an electronic device for point cloud compression are provided. A two-dimensional image and an occupancy map of a point cloud are obtained. An occupancy status of point cloud data of each pixel sample in the two-dimensional image is determined according to the occupancy map. A weight parameter of each pixel sample in an encoding block of the two-dimensional image is determined according to the occupancy statuses of point cloud data of multiple pixel samples. Multiple rate-distortion costs respectively corresponding to multiple encoding operation options are calculated according to the weight parameter of each pixel sample in the encoding block. One of the encoding operation options is determined to be used to perform an encoding operation on the encoding block according to a minimum rate-distortion cost among the rate-distortion costs.
Abstract:
A method of adaptive filtering for multiple reference line of intra prediction in video coding, a video encoding apparatus and video decoding apparatus therewith are provided in the disclosure. In the method of intra prediction in video coding, a method of adaptive filtering is used to dynamically determine operation of filtering is applied to input samples in the intra prediction or not, which can reduce the complexity of the intra prediction in video coding if multiple reference lines are used for the operation of the intra prediction, and also increase the efficiency of compressing performance of ultra-high resolution video.
Abstract:
A method of encoding or decoding coding units of a video content in a palette coding mode using an adaptive palette predictor is provided. The method includes adaptively determining a maximum size of the adaptive palette predictor based on at least one of a complexity of the video content and coding quality of the video content; and encoding or decoding the coding units of the video content in the palette coding mode using the adaptive palette predictor while limiting the adaptive palette predictor that is derived from all palette(s) of previously encoded or decoded coding unit(s) of the video content within the maximum size determined in the adaptively determining step. An apparatus of encoding or decoding coding units of a video content in a palette coding mode using an adaptive palette predictor is also provided.