CN106817583B - HEVC SAO calculation method and device - Google Patents

HEVC SAO calculation method and device Download PDF

Info

Publication number
CN106817583B
CN106817583B CN201510873861.5A CN201510873861A CN106817583B CN 106817583 B CN106817583 B CN 106817583B CN 201510873861 A CN201510873861 A CN 201510873861A CN 106817583 B CN106817583 B CN 106817583B
Authority
CN
China
Prior art keywords
module
pixel
value
original pixel
sao
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510873861.5A
Other languages
Chinese (zh)
Other versions
CN106817583A (en
Inventor
张明懿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201510873861.5A priority Critical patent/CN106817583B/en
Publication of CN106817583A publication Critical patent/CN106817583A/en
Application granted granted Critical
Publication of CN106817583B publication Critical patent/CN106817583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses an HEVC SAO calculation method and device, wherein the device comprises an acquisition module, a serial number calculation module, an offset value determination module, a judgment module, an addition module and an output module, wherein the offset value is calculated according to an original pixel acquired by the acquisition module and a reference pixel corresponding to the original pixel value, and then the judgment module judges and finally outputs a pixel value or an offset pixel value adopting an original pixel point according to the value of an acquired code stream control command parameter, so that SAO decoding is completed in two stages, the SAO decoding calculation speed is accelerated, the SAO decoding calculation process steps are greatly simplified, the hardware area of an SAO calculation device is reduced on the aspect of hardware circuit design, the hardware cost is reduced, and the device has wide market prospect in the field of computer chips.

Description

HEVC SAO calculation method and device
Technical Field
The invention relates to the field of computer chips, in particular to a HEVC SAO calculation method and device.
Background
Hevc (high Efficiency Video coding) is the next generation Video codec standard proposed by the organization JCTVC, in which international telecommunication organization (ITU) and Moving Picture Experts Group (MPEG) are jointly established. The aim is to double the compression ratio compared with the previous generation standard H.264/AVC on the premise of the same visual effect.
The SAO (sample Adaptive offset) module is a self-Adaptive sampling point compensation module, and mainly obtains the value of the offset through the comparison of the original pixel value and the pixel value after filtering processing, and then adds the value of the offset to the pixel value after filtering processing, thereby reducing the distortion of the image and leading the reconstructed image to have better quality and PSNR value (peak signal to noise ratio).
The HEVC decoding SAO processing architecture provided by the official, direct conversion into hardware circuits requires consumption of a large amount of hardware resources, and cannot provide efficient hardware decoding performance.
Disclosure of Invention
Therefore, a method and a device for calculating HEVC SAO are needed to solve the problems of complex hardware circuit, large hardware area, high cost, large power consumption, and the like of the existing SAO calculation device.
In order to achieve the above object, the inventor provides an HEVC SAO computing device, which includes an obtaining module, a sequence number computing module, an offset value determining module, a judging module, an adding module, and an output module; the acquisition module comprises an original pixel acquisition module, a reference pixel acquisition module and a code stream control command parameter acquisition module; the original pixel acquisition module is connected with the serial number calculation module, the reference pixel acquisition module is connected with the serial number calculation module, the serial number calculation module is connected with the deviant value confirmation module, the deviant value confirmation module is connected with the judgment module, the judgment module is connected with the addition module, and the code stream control command parameter acquisition module is connected with the judgment module; the judging module is connected with the output module, and the adding module is connected with the output module;
the original pixel acquisition module is used for acquiring original pixel points;
the reference pixel acquisition module is used for acquiring a reference pixel point corresponding to the original pixel point according to the SAO type of the pixel block where the original pixel point is located;
the sequence number calculation module is used for calculating pixel values of the original pixel point and the reference pixel point to obtain a sequence number value;
the deviant determining module is used for obtaining the deviant corresponding to the serial number value calculated by the serial number calculating module according to the mapping relation between the serial number value of the SAO type of the pixel block where the original pixel point is located and the deviant;
the code stream control command parameter acquisition module is used for acquiring code stream control command parameters;
the judging module is used for judging whether the pixel value of the original pixel point is adopted according to the value of the acquired code stream control command parameter, if so, the pixel value of the original pixel point is transmitted to the output module, and the output module is used for outputting the pixel value of the original pixel point; and otherwise, the addition module is used for adding the pixel value of the original pixel point and the offset value to obtain an offset pixel value, and transmitting the offset pixel value to the output module, and the output module is used for outputting the offset pixel value.
Further, the device further comprises a storage unit, and the storage unit is used for storing the original pixel points and the reference pixel points.
Further, the memory unit is a register array.
Further, the SAO type of the pixel block where the original pixel point is located comprises a BO type, an EO-0 type, an EO-1 type, an EO-2 type and an EO-3 type.
Further, the value of the code stream control command parameter is 0 or 1.
The inventor also provides an HEVC SAO calculation method, which is applied to an HEVC SAO calculation device and comprises an acquisition module, a sequence number calculation module, an offset value determination module, a judgment module, an addition module and an output module; the acquisition module comprises an original pixel acquisition module, a reference pixel acquisition module and a code stream control command parameter acquisition module; the original pixel acquisition module is connected with the serial number calculation module, the reference pixel acquisition module is connected with the serial number calculation module, the serial number calculation module is connected with the deviant value confirmation module, the deviant value confirmation module is connected with the judgment module, the judgment module is connected with the addition module, and the code stream control command parameter acquisition module is connected with the judgment module; the judging module is connected with the output module, and the adding module is connected with the output module; the method comprises the following steps:
an original pixel acquisition module acquires an original pixel point;
the reference pixel obtaining module obtains a reference pixel point corresponding to the original pixel point according to the SAO type of the pixel block where the original pixel point is located;
the sequence number calculation module calculates pixel values of the original pixel point and the reference pixel point to obtain a sequence number value;
the deviant determining module obtains a deviant corresponding to the serial number value calculated by the serial number calculating module according to the mapping relation between the serial number value of the SAO type of the pixel block where the original pixel point is located and the deviant;
the code stream control command parameter acquisition module is used for acquiring code stream control command parameters;
the judging module judges whether the pixel value of the original pixel point is adopted or not according to the value of the acquired code stream control command parameter, if so, the pixel value of the original pixel point is transmitted to the output module, and the output module outputs the pixel value of the original pixel point; otherwise, the addition module adds the pixel value of the original pixel point and the offset value to obtain an offset pixel value, transmits the offset pixel value to the output module, and the output module outputs the offset pixel value.
Further, the apparatus further comprises a storage unit, and the method further comprises: the storage unit stores original pixel points and reference pixel points.
Further, the memory unit is a register array.
Further, the SAO type of the pixel block where the original pixel point is located comprises a BO type, an EO-0 type, an EO-1 type, an EO-2 type and an EO-3 type.
Further, the value of the code stream control command parameter is 0 or 1.
The device comprises an acquisition module, a sequence number calculation module, an offset value determination module, a judgment module, an addition module and an output module. The method specifically comprises the following steps: the code stream control command parameter acquiring module is used for acquiring a code stream control command parameter. Then the judging module judges whether the pixel value of the original pixel point is adopted according to the value of the acquired code stream control command parameter, if so, the pixel value of the original pixel point is transmitted to the output module, and the output module outputs the pixel value of the original pixel point; otherwise, the addition module adds the pixel value of the original pixel point and the offset value to obtain an offset pixel value, transmits the offset pixel value to the output module, and the output module outputs the offset pixel value. The SAO decoding is completed in two stages, the first stage is to calculate the deviant, the second stage is to select to output the value of the original pixel point and add the deviant or directly output the value of the original pixel point, the steps are greatly simplified to the SAO decoding calculation flow, correspondingly, the hardware area of the SAO calculating device is reduced on the aspect of hardware circuit design, so that the hardware cost is reduced, meanwhile, the device with the two-stage structure can be operated in a flow mode, the SAO decoding calculation speed is increased, so that the design requirement of reducing the power consumption is met, and the SAO decoding device has wide market prospect in the field of computer chips.
Drawings
Fig. 1 is a schematic diagram of an HEVC SAO computing device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an HEVC SAO calculation method according to an embodiment of the present invention;
FIG. 3 is a diagram of a register array according to an embodiment of the present invention.
Description of reference numerals:
101. an acquisition module; 111. an original pixel acquisition module; 121. a reference pixel acquisition module;
131. a code stream control command parameter acquisition module;
102. a sequence number calculation module;
103. an offset value determination module;
104. a judgment module;
105. an addition module;
106. and an output module.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Fig. 1 is a schematic diagram of an HEVC SAO computing device according to an embodiment of the present invention. The device comprises an acquisition module 101, a sequence number calculation module 102, an offset value determination module 103, a judgment module 104, an addition module 105 and an output module 106; the acquiring module 101 comprises an original pixel acquiring module 111, a reference pixel acquiring module 121 and a code stream control command parameter acquiring module 131; the original pixel acquisition module 111 is connected to the serial number calculation module 102, the reference pixel acquisition module 131 is connected to the serial number calculation module 102, the serial number calculation module 102 is connected to the offset value confirmation module 103, the offset value confirmation module 103 is connected to the judgment module 104, the judgment module 104 is connected to the addition module 105, and the code stream control command parameter acquisition module 131 is connected to the judgment module 104; the judging module 104 is connected with the output module 106, and the adding module 105 is connected with the output module 106;
the original pixel obtaining module 111 is configured to obtain an original pixel point;
the reference pixel obtaining module 121 is configured to obtain a reference pixel corresponding to an original pixel according to an SAO type of a pixel block where the original pixel is located;
the sequence number calculation module 102 is configured to calculate pixel values of an original pixel point and a reference pixel point to obtain a sequence number value;
the offset value determining module 103 is configured to obtain an offset value corresponding to the sequence number value calculated by the sequence number calculating module according to a mapping relationship between the sequence number value of the SAO type of the pixel block where the original pixel point is located and the offset value;
the code stream control command parameter obtaining module 131 is configured to obtain a code stream control command parameter;
the judging module 104 is configured to judge whether to adopt the pixel value of the original pixel point according to the value of the acquired code stream control command parameter, and if so, transmit the pixel value of the original pixel point to an output module, where the output module is configured to output the pixel value of the original pixel point; and otherwise, the addition module is used for adding the pixel value of the original pixel point and the offset value to obtain an offset pixel value, and transmitting the offset pixel value to the output module, and the output module is used for outputting the offset pixel value.
When the HEVC SAO computing device is used to perform SAO decoding computation, first, the original pixel acquisition module acquires an original pixel. In this embodiment, the original pixel is a filtered pixel. And then the reference pixel acquisition module acquires the reference pixel point corresponding to the original pixel point according to the SAO type of the pixel block where the original pixel point is located. The SAO type of the pixel block where the original pixel point is located comprises a BO type, an EO-0 type, an EO-1 type, an EO-2 type and an EO-3 type. In this embodiment, the apparatus further includes a storage unit, and the storage unit is configured to store the original pixel point and the reference pixel point. Preferably, the storage unit is a register array. The register array is a group of regularly arranged registers. Fig. 3 is a schematic diagram of a register array according to an embodiment of the present invention. For convenience of description, taking a register in the register array to store one pixel point as an example, further description will be made on obtaining a reference pixel point according to the SAO type of the pixel block. Assume that the pixels stored in the registers 1-9 in fig. 3 are a-I, that is, the register 1 stores the pixel a, the register 2 stores the pixel B, and the register 9 stores the pixel I. The pixels 1 to 9 belong to a pixel block, and taking the pixel E (the pixel stored in the register 5) as an original pixel as an example, when the SAO type comprises a BO type, a reference pixel does not need to be selected; when the SAO type is an EO-0 type, reference pixels corresponding to the pixel E are a pixel D and a pixel F, namely two pixels on the left side and the right side which are closest to the pixel E; when the SAO type is an EO-1 type, reference pixels corresponding to the pixel E are a pixel B and a pixel H, namely an upper pixel and a lower pixel which are closest to the pixel E; when the SAO type is an EO-1 type, reference pixels corresponding to the pixel E are a pixel A and a pixel I, namely pixels at the upper left and lower right closest to the pixel E; when the SAO type is the EO-1 type, the reference pixels corresponding to the pixel E are the pixel C and the pixel G, i.e., the pixels at the upper right and the lower left closest to the pixel E.
And then the serial number calculation module calculates the pixel values of the original pixel point and the reference pixel point to obtain a serial number value. The sequence number calculation module performs operations such as comparison and shift on pixel values of the original pixel points and the reference pixel points to obtain sequence number values, and the specific calculation method conforms to the HEVC protocol. Then, the offset value determining module 103 obtains an offset value corresponding to the sequence number value calculated by the sequence number calculating module according to the mapping relationship between the sequence number value of the SAO type of the pixel block where the original pixel point is located and the offset value. The SAO types of the pixel blocks where the original pixel points are located are different, and the mapping relation between the serial number values and the deviation values is different. And finishing the offset value calculation and finishing the first-stage decoding of the SAO decoding calculation.
And then the code stream control command parameter acquisition module acquires the code stream control command parameters. Then judging whether the pixel value of the original pixel point is adopted or not by the judging module according to the value of the acquired code stream control command parameter, if so, transmitting the pixel value of the original pixel point to the output module, and outputting the pixel value of the original pixel point by the output module; otherwise, the addition module adds the pixel value of the original pixel point and the offset value to obtain an offset pixel value, and transmits the offset pixel value to the output module, and the output module outputs the offset pixel value. In the present embodiment, the value of the codestream control command parameter is 0 or 1. When the code stream control command parameter can be obtained by analyzing the code stream control command. When the value of the code stream control command parameter is 0, the output module outputs an original pixel value, and when the value of the code stream control command parameter is 1, the output module outputs an offset pixel value, wherein the offset pixel value is a value obtained by adding the pixel value of the original pixel point and an offset value. So far, the SAO decoding calculation is completely finished, and the secondary decoding of the SAO decoding calculation is finished.
Please refer to fig. 2, which is a flowchart illustrating an HEVC SAO calculation method according to an embodiment of the present invention.
The invention also provides an HEVC SAO calculation method, which is applied to an HEVC SAO calculation device and comprises an acquisition module, a sequence number calculation module, an offset value determination module, a judgment module, an addition module and an output module; the acquisition module comprises an original pixel acquisition module, a reference pixel acquisition module and a code stream control command parameter acquisition module; the original pixel acquisition module is connected with the serial number calculation module, the reference pixel acquisition module is connected with the serial number calculation module, the serial number calculation module is connected with the deviant value confirmation module, the deviant value confirmation module is connected with the judgment module, the judgment module is connected with the addition module, and the code stream control command parameter acquisition module is connected with the judgment module; the judging module is connected with the output module, and the adding module is connected with the output module; the method comprises the following steps:
step S201 is first entered to an original pixel obtaining module to obtain an original pixel point. In this embodiment, the original pixel is a filtered pixel. And then step S202 is carried out, wherein the reference pixel acquisition module acquires the reference pixel point corresponding to the original pixel point according to the SAO type of the pixel block where the original pixel point is located. The SAO type of the pixel block where the original pixel point is located comprises a BO type, an EO-0 type, an EO-1 type, an EO-2 type and an EO-3 type. In this embodiment, the apparatus further includes a storage unit, and the storage unit is configured to store the original pixel point and the reference pixel point. Preferably, the storage unit is a register array. The register array is a group of regularly arranged registers. Fig. 3 is a schematic diagram of a register array according to an embodiment of the present invention. For convenience of description, taking a register in the register array to store one pixel point as an example, further description will be made on obtaining a reference pixel point according to the SAO type of the pixel block. Assume that the pixels stored in the registers 1-9 in fig. 3 are a-I, that is, the register 1 stores the pixel a, the register 2 stores the pixel B, and the register 9 stores the pixel I. The pixels 1 to 9 belong to a pixel block, and taking the pixel E (the pixel stored in the register 5) as an original pixel as an example, when the SAO type comprises a BO type, a reference pixel does not need to be selected; when the SAO type is an EO-0 type, reference pixels corresponding to the pixel E are a pixel D and a pixel F, namely two pixels on the left side and the right side which are closest to the pixel E; when the SAO type is an EO-1 type, reference pixels corresponding to the pixel E are a pixel B and a pixel H, namely an upper pixel and a lower pixel which are closest to the pixel E; when the SAO type is an EO-1 type, reference pixels corresponding to the pixel E are a pixel A and a pixel I, namely pixels at the upper left and lower right closest to the pixel E; when the SAO type is the EO-1 type, the reference pixels corresponding to the pixel E are the pixel C and the pixel G, i.e., the pixels at the upper right and the lower left closest to the pixel E.
And then, the step S203 is entered, and the serial number calculation module calculates the pixel values of the original pixel point and the reference pixel point to obtain a serial number value. The sequence number calculation module performs operations such as comparison and shift on pixel values of the original pixel points and the reference pixel points to obtain sequence number values, and the specific calculation method conforms to the HEVC protocol. Then, the offset value determining module 103 obtains an offset value corresponding to the sequence number value calculated by the sequence number calculating module according to the mapping relationship between the sequence number value of the SAO type of the pixel block where the original pixel point is located and the offset value. The SAO types of the pixel blocks where the original pixel points are located are different, and the mapping relation between the serial number values and the deviation values is different. And finishing the offset value calculation and finishing the first-stage decoding of the SAO decoding calculation.
And then step S204 is carried out to obtain the code stream control command parameter by the code stream control command parameter obtaining module. Then step S205 is entered, the judging module judges whether the pixel value of the original pixel point is adopted according to the value of the acquired code stream control command parameter, if so, step S206 is entered to transmit the pixel value of the original pixel point to an output module, and the output module outputs the pixel value of the original pixel point; otherwise, step S207 is performed, in which the adding module adds the pixel value of the original pixel point to the offset value to obtain an offset pixel value, and the offset pixel value is transmitted to the output module, and the output module outputs the offset pixel value. In the present embodiment, the value of the codestream control command parameter is 0 or 1. When the code stream control command parameter can be obtained by analyzing the code stream control command. When the value of the code stream control command parameter is 0, the output module outputs an original pixel value, and when the value of the code stream control command parameter is 1, the output module outputs an offset pixel value, wherein the offset pixel value is a value obtained by adding the pixel value of the original pixel point and an offset value. So far, the SAO decoding calculation is completely finished, and the secondary decoding of the SAO decoding calculation is finished.
The device comprises an acquisition module, a sequence number calculation module, an offset value determination module, a judgment module, an addition module and an output module. The method specifically comprises the following steps: the code stream control command parameter acquiring module is used for acquiring a code stream control command parameter. Then the judging module judges whether the pixel value of the original pixel point is adopted according to the value of the acquired code stream control command parameter, if so, the pixel value of the original pixel point is transmitted to the output module, and the output module outputs the pixel value of the original pixel point; otherwise, the addition module adds the pixel value of the original pixel point and the offset value to obtain an offset pixel value, transmits the offset pixel value to the output module, and the output module outputs the offset pixel value. The SAO decoding is completed in two stages, the first stage is to calculate the deviant, the second stage is to select to output the value of the original pixel point and add the deviant or directly output the value of the original pixel point, the steps are greatly simplified to the SAO decoding calculation flow, correspondingly, the hardware area of the SAO calculating device is reduced on the aspect of hardware circuit design, so that the hardware cost is reduced, meanwhile, the device with the two-stage structure can be operated in a flow mode, the SAO decoding calculation speed is increased, so that the design requirement of reducing the power consumption is met, and the SAO decoding device has wide market prospect in the field of computer chips.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrases "comprising … …" or "comprising … …" does not exclude the presence of additional elements in a process, method, article, or terminal that comprises the element. Further, herein, "greater than," "less than," "more than," and the like are understood to exclude the present numbers; the terms "above", "below", "within" and the like are to be understood as including the number.
Although the embodiments have been described, once the basic inventive concept is obtained, other variations and modifications of these embodiments can be made by those skilled in the art, so that the above embodiments are only examples of the present invention, and not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes using the contents of the present specification and drawings, or any other related technical fields, which are directly or indirectly applied thereto, are included in the scope of the present invention.

Claims (10)

1. An HEVC SAO calculation device is characterized by comprising an acquisition module, a sequence number calculation module, an offset value determination module, a judgment module, an addition module and an output module; the acquisition module comprises an original pixel acquisition module, a reference pixel acquisition module and a code stream control command parameter acquisition module; the original pixel acquisition module is connected with the serial number calculation module, the reference pixel acquisition module is connected with the serial number calculation module, the serial number calculation module is connected with the deviant value confirmation module, the deviant value confirmation module is connected with the judgment module, the judgment module is connected with the addition module, and the code stream control command parameter acquisition module is connected with the judgment module; the judging module is connected with the output module, and the adding module is connected with the output module;
the original pixel acquisition module is used for acquiring original pixel points;
the reference pixel acquisition module is used for acquiring a reference pixel point corresponding to the original pixel point according to the SAO type of the pixel block where the original pixel point is located;
the sequence number calculation module is used for calculating pixel values of the original pixel point and the reference pixel point to obtain a sequence number value;
the deviant determining module is used for obtaining the deviant corresponding to the serial number value calculated by the serial number calculating module according to the mapping relation between the serial number value of the SAO type of the pixel block where the original pixel point is located and the deviant;
the code stream control command parameter acquisition module is used for acquiring code stream control command parameters;
the judging module is used for judging whether the pixel value of the original pixel point is adopted according to the value of the acquired code stream control command parameter, if so, the pixel value of the original pixel point is transmitted to the output module, and the output module is used for outputting the pixel value of the original pixel point; and otherwise, the addition module is used for adding the pixel value of the original pixel point and the offset value to obtain an offset pixel value, and transmitting the offset pixel value to the output module, and the output module is used for outputting the offset pixel value.
2. The HEVC SAO computing device of claim 1, wherein said device further comprises a storage unit for storing original pixels and reference pixels.
3. The HEVC SAO computing device of claim 2, wherein said storage unit is a register array.
4. The HEVC SAO computing device of claim 1, wherein SAO types of the pixel block in which said original pixel points are located comprise a BO type, an EO-0 type, an EO-1 type, an EO-2 type, and an EO-3 type.
5. The HEVC SAO computing device of claim 1, wherein a codestream control command parameter has a value of 0 or 1.
6. The HEVC SAO calculation method is applied to an HEVC SAO calculation device and is characterized by comprising an acquisition module, a sequence number calculation module, an offset value determination module, a judgment module, an addition module and an output module; the acquisition module comprises an original pixel acquisition module, a reference pixel acquisition module and a code stream control command parameter acquisition module; the original pixel acquisition module is connected with the serial number calculation module, the reference pixel acquisition module is connected with the serial number calculation module, the serial number calculation module is connected with the deviant value confirmation module, the deviant value confirmation module is connected with the judgment module, the judgment module is connected with the addition module, and the code stream control command parameter acquisition module is connected with the judgment module; the judging module is connected with the output module, and the adding module is connected with the output module; the method comprises the following steps:
an original pixel acquisition module acquires an original pixel point;
the reference pixel obtaining module obtains a reference pixel point corresponding to the original pixel point according to the SAO type of the pixel block where the original pixel point is located;
the sequence number calculation module calculates pixel values of the original pixel point and the reference pixel point to obtain a sequence number value;
the deviant determining module obtains a deviant corresponding to the serial number value calculated by the serial number calculating module according to the mapping relation between the serial number value of the SAO type of the pixel block where the original pixel point is located and the deviant;
the code stream control command parameter acquisition module is used for acquiring code stream control command parameters;
the judging module judges whether the pixel value of the original pixel point is adopted or not according to the value of the acquired code stream control command parameter, if so, the pixel value of the original pixel point is transmitted to the output module, and the output module outputs the pixel value of the original pixel point; otherwise, the addition module adds the pixel value of the original pixel point and the offset value to obtain an offset pixel value, transmits the offset pixel value to the output module, and the output module outputs the offset pixel value.
7. The method of claim 6, wherein the apparatus further comprises a storage unit, the method further comprising: the storage unit stores original pixel points and reference pixel points.
8. The method of claim 7, wherein said storage unit is a register array.
9. The HEVC SAO calculation method of claim 6, wherein the SAO types of the pixel block where the original pixel point is located include BO type, EO-0 type, EO-1 type, EO-2 type and EO-3 type.
10. The HEVC SAO calculation method of claim 6, wherein the value of a codestream control command parameter is 0 or 1.
CN201510873861.5A 2015-12-02 2015-12-02 HEVC SAO calculation method and device Active CN106817583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510873861.5A CN106817583B (en) 2015-12-02 2015-12-02 HEVC SAO calculation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510873861.5A CN106817583B (en) 2015-12-02 2015-12-02 HEVC SAO calculation method and device

Publications (2)

Publication Number Publication Date
CN106817583A CN106817583A (en) 2017-06-09
CN106817583B true CN106817583B (en) 2020-01-10

Family

ID=59105804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510873861.5A Active CN106817583B (en) 2015-12-02 2015-12-02 HEVC SAO calculation method and device

Country Status (1)

Country Link
CN (1) CN106817583B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019135294A1 (en) * 2018-01-05 2019-07-11 株式会社ソシオネクスト Encoding method, decoding method, encoding device, decoding device, encoding program, and decoding program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103283234A (en) * 2011-01-09 2013-09-04 联发科技股份有限公司 Apparatus and method of sample adaptive offset for video coding
CN103442238A (en) * 2013-08-29 2013-12-11 复旦大学 Encoder SAO hardware processing method applicable to HEVC standard
CN103442229A (en) * 2013-08-27 2013-12-11 复旦大学 Bit rate estimation method of SAO mode decision applied to encoder of HEVC standard
CN103636210A (en) * 2011-06-23 2014-03-12 夏普株式会社 Offset decoding device, offset encoding device, image filter device, and data structure
CN103959777A (en) * 2011-10-13 2014-07-30 高通股份有限公司 Sample adaptive offset merged with adaptive loop filter in video coding

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012092787A1 (en) * 2011-01-09 2012-07-12 Mediatek Inc. Apparatus and method of efficient sample adaptive offset
US10038903B2 (en) * 2011-06-22 2018-07-31 Texas Instruments Incorporated Method and apparatus for sample adaptive offset parameter estimation in video coding
US9031137B2 (en) * 2012-05-03 2015-05-12 Texas Instruments Incorporated Signaling signed band offset values for sample adaptive offset (SAO) filtering in video coding
TWI595776B (en) * 2012-06-27 2017-08-11 Sony Corp Image processing device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103283234A (en) * 2011-01-09 2013-09-04 联发科技股份有限公司 Apparatus and method of sample adaptive offset for video coding
CN103636210A (en) * 2011-06-23 2014-03-12 夏普株式会社 Offset decoding device, offset encoding device, image filter device, and data structure
CN103959777A (en) * 2011-10-13 2014-07-30 高通股份有限公司 Sample adaptive offset merged with adaptive loop filter in video coding
CN103442229A (en) * 2013-08-27 2013-12-11 复旦大学 Bit rate estimation method of SAO mode decision applied to encoder of HEVC standard
CN103442238A (en) * 2013-08-29 2013-12-11 复旦大学 Encoder SAO hardware processing method applicable to HEVC standard

Also Published As

Publication number Publication date
CN106817583A (en) 2017-06-09

Similar Documents

Publication Publication Date Title
US8571106B2 (en) Digital video compression acceleration based on motion vectors produced by cameras
CN112235577B (en) Prediction method and device of chrominance block
CN111405287B (en) Prediction method and device of chrominance block
CN106170093B (en) Intra-frame prediction performance improving coding method
CN104125466A (en) GPU (Graphics Processing Unit)-based HEVC (High Efficiency Video Coding) parallel decoding method
KR20060046205A (en) Non-integer pixel sharing for video encoding
WO2020103800A1 (en) Video decoding method and video decoder
US20060176960A1 (en) Method and system for decoding variable length code (VLC) in a microprocessor
WO2020038378A1 (en) Method and device for predicting chroma block
CN105554502A (en) Distributed compressed sensing video encoding and decoding method based on foreground-background separation
US20060008013A1 (en) Method and system for performing deblocking filtering
CN101179724B (en) Frame storage method and apparatus for interframe compressed encoding
CN106817583B (en) HEVC SAO calculation method and device
JP7247349B2 (en) Inter-component linear modeling method, apparatus, decoder, encoder, and program for intra prediction
JP2022503990A (en) Video image component prediction methods and devices, computer storage media
CN105376586A (en) Three-level flow line hardware architecture suitable for integer motion estimation in HEVC standard
CA3103654A1 (en) Method and apparatus for intra prediction
CN115442617A (en) Video processing method and device based on video coding
CN107172425B (en) Thumbnail generation method and device and terminal equipment
WO2022061563A1 (en) Video coding method and device, and computer readable storage medium
WO2021263251A1 (en) State transition for dependent quantization in video coding
CN109587502B (en) Method, device, equipment and computer readable storage medium for intra-frame compression
WO2020135371A1 (en) Flag bit context modeling method and device
KR20170030302A (en) Image Processing Device Having Computational Complexity Scalable Interpolation Filter, Image Interpolation Method and Image Encoding Method
US7706440B2 (en) Method for reducing bit rate requirements for encoding multimedia data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 350003 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee after: Ruixin Microelectronics Co., Ltd

Address before: 350003 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.