CN105763877A - Video frame pixel block compression method and device - Google Patents

Video frame pixel block compression method and device Download PDF

Info

Publication number
CN105763877A
CN105763877A CN201610096364.3A CN201610096364A CN105763877A CN 105763877 A CN105763877 A CN 105763877A CN 201610096364 A CN201610096364 A CN 201610096364A CN 105763877 A CN105763877 A CN 105763877A
Authority
CN
China
Prior art keywords
pixel
packet
residual values
priority
value
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.)
Granted
Application number
CN201610096364.3A
Other languages
Chinese (zh)
Other versions
CN105763877B (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610096364.3A priority Critical patent/CN105763877B/en
Publication of CN105763877A publication Critical patent/CN105763877A/en
Application granted granted Critical
Publication of CN105763877B publication Critical patent/CN105763877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/59Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution

Abstract

An embodiment of the invention provides a video frame pixel block compression method comprising the following steps: acquiring a video frame pixel block; grouping the pixels in the video frame pixel block to get groups of different priority levels; intercepting the digit number of a high-digit preset value in the original pixel values of the pixels as the residual value of the pixels in the current group, or, calculating the residual value of the pixels in the current group by use of the reconstruction value of the pixels in a previously-generated prior group prior to the current group in priority level, and setting a quantification coefficient for the current group according to the priority order of the groups, wherein, the higher the priority level of a group is, the smaller the set quantization coefficient is, and the lower the priority level of a group is, the larger the set quantization coefficient is; and adopting the corresponding quantification coefficient to quantify the residual value of the pixels in the current group to generate a quantified residual value. According to the embodiment of the invention, the quantification coefficient of each group is adjusted appropriately in order to adjust the compression effect of the video frame pixel block.

Description

The compression method of a kind of video frame pixel block and device
Present patent application is the applying date, and to be on January 7th, 2016, application number be 2016100084326, name is called the divisional application of Chinese invention patent application of " a kind of video data handling procedure and device ".
Technical field
The application relates to technical field of video processing, particularly relates to the compression method of a kind of video frame pixel block and the compressor of a kind of video frame pixel block.
Background technology
In recent years, the subjective demand of high-quality visual enjoyment and the objective condition of semiconductor technology fast development have been collectively promoted the flourish of ultra high-definition television industries by people.But, due to the restriction of current transmission system bandwidth, ultra high-definition TV programme can only with relatively low frame per second transmission.Meanwhile, the refresh rate of large-screen display equipment has again bigger lifting, and video frame rate is lower than screen refresh rate, and this mismatch directly results in image and smear, pause, the phenomenon such as fuzzy occurs, and display effect is not good.Video frame rate upconversion technology is as important Video post-processing means, it is possible to the effective frame per second promoting display video, the display screen at high refresh rate lifts up the subjective quality of hi-vision.
Ultra high-definition video frame rate upconversion processes the image sequence that the input of system is one group of fixing frame per second, and after range of motion estimation, vector post processing and interpolating operations, its output is the image sequence of one group of higher frame per second.This causes that the reading and writing data throughput that ultra high-definition video frame rate upconversion processes kernel and off-chip buffer memory increases greatly.Wherein estimation, vector post processing and interpolating operations, it is necessary to read the pel data of a large amount of forward reference frame and backward reference frame from off-chip buffer memory;The interpolated image sequence that frame rate up-conversion produces, it is necessary to write off-chip buffer memory;Display output port needs that original sequence and frame rate up-conversion are produced image sequence and reads display on screen from off-chip buffer memory.
But, under current technological level, there is the limit in the speed of CMOS integrated circuit, and the lifting of memory access speed all the time lags behind logic circuit, and the bandwidth therefore storing access is the bottleneck of system for restricting performance;Meanwhile, the write of large-scale data reads the energy consumption also greatly improving system.
In order to solve bandwidth and energy consumption bottleneck, it is a kind of effective and feasible way by writing again after data cached for off-chip compression.At present, the compression method that off-chip is data cached be may include that, and the pixel to off-chip data cached (such as, including the block of pixels of multiple pixels) is grouped, and is predicted and residual noise reduction, quantification treatment the pixel of each packet.
In prediction with residual noise reduction, generate the predictive value of pixel, the original pixel value of pixel is deducted predictive value and obtains residual values.In the quantization process, residual values is carried out quantification treatment, to reduce the figure place needing transmission.The concrete operations of quantification treatment are divided by quantization parameter by residual values.Such as, residual values is 1111111111, if quantization parameter is 2, quantification treatment, after the quantization obtained, residual values is 111111111.1, is equivalent to moving to right residual values 2 and giving up decimal place.If quantization parameter is 4, after quantization, residual values is 11111111.11, is equivalent to residual values moves to right 2 and gives up decimal place.
When quantifying, if quantization parameter is too little, not having the purpose of compression, namely after compression, compressed bit stream is still very big;If quantization parameter is too big, namely drop too many position, caused that between pixel value and the original pixel value after decompression, error increases when decompression.
Summary of the invention
In view of the above problems, it is proposed that the embodiment of the present application is to provide a kind of and overcome the problems referred to above or solve the compression method of a kind of video frame pixel block of the problems referred to above and the compressor of corresponding a kind of video frame pixel block at least in part.
In order to solve the problems referred to above, the embodiment of the present application discloses the compression method of a kind of video frame pixel block, including:
Obtain video frame pixel block;
Pixel in described video frame pixel block is carried out packet transaction, it is thus achieved that the packet of different priorities;
By intercepting the figure place residual values as the pixel of current group of default value high-order in the original pixel value of pixel, or, the reconstructed value of the pixel being formerly grouped before the priority of the current group that employing is previously generated calculates the residual values of the pixel of current group;Wherein, the reconstructed value of the pixel that part is formerly grouped is generated by the quantization residual values of pixel;
According to the priority orders of each packet, arranging quantization parameter for current group, the priority of packet is more high, and the quantization parameter of setting is more little;The priority of packet is more low, and the quantization parameter of setting is more big;
Adopt corresponding quantization parameter that the residual values of the pixel of current group is carried out quantification treatment, generating quantification residual values.
Preferably, the figure place of high-order in the described original pixel value by intercepting pixel default value includes as the step of the residual values of the pixel of current group:
Pixel to the highest packet of priority, intercepts the figure place residual values as pixel of default value high-order in the original pixel value of pixel.
Preferably, the step of the residual values that the reconstructed value of the pixel being formerly grouped before the priority of the current group that described employing is previously generated calculates the pixel of current group includes:
The pixel of packet packet outside the highest to priority, the quantization residual values of the pixel being formerly grouped before adopting the priority of the current group being previously generated generates the reconstructed value of the pixel being formerly grouped;
The reconstructed value of the pixel being formerly grouped described in employing, generates the predictive value of the pixel of current group;
The original pixel value of the pixel of current group is deducted the residual values that the predictive value of the pixel of described current group obtains the pixel of current group.
Preferably, the quantization parameter of the packet that described priority is the highest is set to zero, the quantization difference that residual values is pixel of the pixel of the packet that described priority is the highest.
Preferably, the pixel of the packet outside the described packet that priority is the highest, the step of the reconstructed value that the quantization residual values of the pixel being formerly grouped before adopting the priority of the current group being previously generated generates the pixel being formerly grouped includes:
The quantization residual values low level zero padding of the described pixel being formerly grouped the highest packet of medium priority is obtained reconstructed value, and the figure place of the reconstructed value of the pixel of the packet that priority is the highest is identical with the figure place of the original pixel value of pixel;
The quantization residual values of the pixel of the packet of non-limit priority in described formerly packet is carried out inverse quantization process, obtains inverse quantization residual values;Described inverse quantization residual values is added with the predictive value of pixel, obtains reconstructed value.
Meanwhile, disclosed herein as well is the compressor of a kind of video frame pixel block, including:
Acquisition module, is used for obtaining video frame pixel block;
Grouping module, for carrying out packet transaction to the pixel in described video frame pixel block, it is thus achieved that the packet of different priorities;
Residual values computing module, for passing through the figure place intercepting default value high-order in the original pixel value of the pixel residual values as the pixel of current group, or, the reconstructed value of the pixel being formerly grouped before the priority of the current group that employing is previously generated calculates the residual values of the pixel of current group;Wherein, the reconstructed value of the pixel that part is formerly grouped is generated by the quantization residual values of pixel;
Quantization parameter arranges module, for the priority orders according to each packet, arranges quantization parameter for current group, and the priority of packet is more high, and the quantization parameter of setting is more little;The priority of packet is more low, and the quantization parameter of setting is more big;
Quantization modules, for adopting the quantization parameter of correspondence that the residual values of the pixel of current group is carried out quantification treatment, generating quantification residual values.
Preferably, described residual values computing module farther includes:
Intercept submodule, for the pixel of the packet that priority is the highest, intercept the figure place residual values as pixel of default value high-order in the original pixel value of pixel.
Preferably, described residual values computing module may further comprise:
Reconstructed value generates submodule, and for the pixel of the packet outside the packet that priority is the highest, the quantization residual values of the pixel being formerly grouped before adopting the priority of the current group being previously generated generates the reconstructed value of the pixel being formerly grouped;
Predictive value generates submodule, is used for the reconstructed value of the pixel being formerly grouped described in adopting, generates the predictive value of the pixel of current group;
Residual values generates submodule, and the predictive value for the original pixel value of the pixel of current group deducts the pixel of described current group obtains the residual values of the pixel of current group.
Preferably, the quantization parameter of the packet that described priority is the highest is set to zero, the quantization difference that residual values is pixel of the pixel of the packet that described priority is the highest.
Preferably, described reconstructed value generation submodule farther includes:
Zero padding submodule, the quantization residual values low level zero padding for the pixel of the packet that described formerly packet medium priority is the highest obtains reconstructed value, and the figure place of the reconstructed value of the pixel of the packet that priority is the highest is identical with the figure place of the original pixel value of pixel;
Inverse quantization rebuilds submodule, for the quantization residual values of the pixel of the packet of non-limit priority in described formerly packet is carried out inverse quantization process, obtains inverse quantization residual values;Described inverse quantization residual values is added with the predictive value of pixel, obtains reconstructed value.
The embodiment of the present application includes advantages below:
The embodiment of the present application is by carrying out packet transaction to video frame pixel block, it is thus achieved that dividing of different priorities;Calculate the residual values of each packet pixel according to the priority of packet, then according to the priority of packet, the residual values of each packet pixel is carried out quantification treatment.By suitably adjusting the quantization parameter of each packet to adjust the compression effectiveness of video frame pixel block.
In the embodiment of the present application, the residual values of the pixel of the packet that priority is relatively low needs the reconstructed value according to the preceding pixel being formerly grouped of priority to generate, and the reconstructed value error of the pixel being formerly grouped is transferred into the pixel of the posterior packet of priority.After the quantization that the reconstructed value of pixel is obtained by the quantified process of the residual values of pixel, residual values generates, and the quantization parameter of pixel is big, and the reconstructed value error of generation is more big.Therefore, in the embodiment of the present application, the priority of packet is more high, and the quantization parameter of setting is more little, to reduce the transmission of error;The priority of packet is more low, and the quantization parameter of setting is more big, to ensure certain compression effectiveness.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the compression method embodiment of a kind of video frame pixel block of the application;
Fig. 2 is the structured flowchart of the compressor embodiment of a kind of video frame pixel block of the application.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
One of core idea of the embodiment of the present application is in that, by video frame pixel block is carried out packet transaction, it is thus achieved that dividing of different priorities;Calculating the residual values of each packet pixel according to the priority of packet, then according to the priority of packet, the residual values of each packet pixel is carried out quantification treatment, the priority of packet is more high, and the quantization parameter of setting is more little;The priority of packet is more low, and the quantization parameter of setting is more big.
With reference to Fig. 1, it is shown that the flow chart of steps of the compression method embodiment of a kind of video frame pixel block of the application, specifically may include steps of:
Step 101, obtains video frame pixel block;
In ultra high-definition video frame rate upconversion process system, carry out processing (such as owing to the ultra high-definition video frame rate upconversion process kernel of ultra high-definition video frame rate upconversion process system is required for block of pixels in fixed form, the block of pixels of 64 × 2 forms), therefore video requency frame data needs to be split as multiple block of pixels.
Video frame pixel block is before write buffer memory, it is necessary to be first compressed processing, to reduce the readwrite bandwidth of buffer memory.Compression processes and may include that prediction and residual noise reduction, quantification treatment.
Step 102, carries out packet transaction to the pixel in described video frame pixel block, it is thus achieved that the packet of different priorities;
Pixel in one video frame pixel block is carried out packet transaction, it is thus achieved that the packet of different priorities.
Step 103, by intercepting the figure place residual values as the pixel of current group of default value high-order in the original pixel value of pixel, or, the reconstructed value of the pixel being formerly grouped before the priority of the current group that employing is previously generated calculates the residual values of the pixel of current group;Wherein, the reconstructed value of the pixel that part is formerly grouped is generated by the quantization residual values of pixel;
According to the priority orders of each packet, start to calculate the residual values of the pixel of each packet from the packet that priority is high.After having calculated the residual values of pixel of a packet, calculate the residual values of the pixel of next one packet.
The residual values of pixel can be generated by the figure place of default value high-order in the original pixel value of intercepting pixel, for instance, the original pixel value of pixel is 11,1101,0100, high 6 that intercept original pixel value (obtain 11,1101), as residual values.
The residual values of pixel can also be generated by the reconstruction difference of the pixel of formerly each packet;Wherein, the reconstructed value of the pixel that part is formerly grouped is generated by the quantization residual values of pixel;Quantify residual values to be generated by quantified process of residual values;If the quantization parameter of the pixel of packet is more big, the figure place that quantization residual values is removed is more many, and the reconstructed value of generation and the error of original pixel value will be more big.
Step 104, according to the priority orders of each packet, arranges quantization parameter for current group, and the priority of packet is more high, and the quantization parameter of setting is more little;The priority of packet is more low, and the quantization parameter of setting is more big;
Generate owing to the residual values of current group requires over the reconstruction difference of the pixel being formerly grouped, therefore, the error being formerly grouped is passed in the residual values of current group, in order to reduce the error amount of transmission between packet, the priority of packet is more high, the quantization parameter arranged is more little, and the reconstructed value error of pixel is more little;The priority of packet is more low, and the quantization parameter of setting is more big, it is ensured that the compression effectiveness of video frame pixel block.
In a kind of preferred exemplary of the embodiment of the present application, the quantization parameter of packet the highest for priority can be set to zero, the pixel being equivalent to that priority is the not highest packet carries out quantification treatment, and the residual values of the pixel of the packet that priority is the highest is the quantization residual values of pixel.
It addition, the quantization parameter of the packet of different priorities could be arranged to identical quantization parameter.
Step 105, adopts corresponding quantization parameter that the residual values of the pixel of current group is carried out quantification treatment, generating quantification residual values.
Residual values to the pixel of each packet, the quantization parameter adopting packet corresponding carries out quantification treatment.
The embodiment of the present application is by carrying out packet transaction to video frame pixel block, it is thus achieved that dividing of different priorities;Calculate the residual values of each packet pixel according to the priority of packet, then according to the priority of packet, the residual values of each packet pixel is carried out quantification treatment.The compression effectiveness of video frame pixel block can be adjusted by suitably adjusting the quantization parameter of each packet.
In the embodiment of the present application, the residual values of the pixel of the packet that priority is relatively low needs the reconstructed value according to the preceding pixel being formerly grouped of priority to generate, and the reconstructed value error of the pixel being formerly grouped is transferred into the pixel of the posterior packet of priority.After the quantization that the reconstructed value of pixel is obtained by the quantified process of the residual values of pixel, residual values generates, and the quantization parameter of pixel is big, and the reconstructed value error of generation is more big.Therefore, in the embodiment of the present application, the priority of packet is more high, and the quantization parameter of setting is more little, to reduce the transmission of error;The priority of packet is more low, and the quantization parameter of setting is more big, to ensure certain compression effectiveness.
As a kind of preferred exemplary of the embodiment of the present application, described step 102 specifically can include following sub-step:
Sub-step S11, it is determined that the pixel region to be split in be compressed piece;
First to be compressed piece is divided into multiple pixel region to be split;Choosing of pixel region to be split can be chosen according to luminance component therein, chromatic component;
Sub-step S12, is two sub regions by described pixel region even partition to be split;
Each pixel region even partition to be split is two sub regions, and when in pixel region to be split, the pixel number of each row is even number number, the pixel of two sub regions is equal;When in pixel region to be split, the pixel number of each row is odd number number, the pixel of one of them subregion each row is than the pixel one more or less of another subregion each row;
Sub-step S13, for each sub regions iteration even partition, until when the interval of undivided pixel and the pixel split is less than or equal to 1, stopping splitting;
Iteration even partition subregion, until undivided pixel with the interval of pixel split less than or equal to 1 time, stop splitting;
Sub-step S14, generates the priority of each pixel according to the result split successively;Wherein, the prioritization of undivided pixel is after the priority of the pixel split.
The to be compressed piece of pixel being divided into pixel region to be split will be made, as first packet with limit priority;
The to be split pixel that pixel region segmentation is two sub regions being made up of the pixel of the first packet will be made, as second packet with the second priority;
Formed subregion by making be divided into the pixel of two sub regions by the pixel of the second packet, as the 3rd packet with third priority;
……
Until the pixel split has distributed priority, then to undivided pixel allocation priority.
After packet completes, according to the priority orders of packet, calculate the pixel residual values of each packet;
As a kind of preferred exemplary of the embodiment of the present application, described step 103 specifically can include following sub-step:
Sub-step S21, the pixel to the highest packet of priority, intercept the figure place residual values as pixel of default value high-order in the original pixel value of pixel.
For the packet that priority is the highest, it is not necessary to generate residual values by other pixels of reference, but by intercepting the figure place residual values as pixel of default value high-order in original pixel value.
As a kind of preferred exemplary of the embodiment of the present application, described step 103 specifically can also include following sub-step:
Sub-step S22, the pixel of packet packet outside the highest to priority, the quantization residual values of the pixel being formerly grouped before adopting the priority of the current group being previously generated generates the reconstructed value of the pixel being formerly grouped;
By the quantization residual values of the pixel being formerly grouped, generate the reconstructed value of the pixel being formerly grouped.As a kind of preferred exemplary of the embodiment of the present application, described sub-step S22 may further include:
Sub-step S2001, obtains reconstructed value to the quantization residual values low level zero padding of the described pixel being formerly grouped the highest packet of medium priority, and the figure place of the reconstructed value of the pixel of the packet that priority is the highest is identical with the figure place of the original pixel value of pixel;
For the pixel of the packet of non-limit priority, it is formerly grouped the packet that may include that priority is the highest, and, the packet of non-limit priority formerly.
In the embodiment of the present application, when the quantization parameter of the highest packet of priority is set to zero, namely the pixel being equivalent to that priority is the not highest packet carries out quantification treatment, and therefore the residual values of the pixel of the packet that priority is the highest is the quantization residual values of pixel.
Due to, the residual values of the pixel of the packet that priority is the highest is by intercepting the generation of the figure place of default value high-order in original pixel value, and therefore, its reconstructed value can by obtaining quantization residual values low level zero padding.
Sub-step S2002, carries out inverse quantization process to the quantization residual values of the pixel of the packet of non-limit priority in described formerly packet, obtains inverse quantization residual values;Described inverse quantization residual values is added with the predictive value of pixel, obtains reconstructed value.
Formerly in packet, the quantization residual values of pixel of the packet of non-limit priority is to obtain by residual values is carried out quantification treatment, and therefore, its reconstructed value can be passed through to carry out inverse quantization process and obtain quantifying residual values.
Sub-step S23, the reconstructed value of the pixel being formerly grouped described in employing, generate the predictive value of the pixel of current group;
Adopt the reconstructed value of the pixel of formerly each packet, generate the predictive value of the pixel of current group.
Sub-step S24, deducts the residual values that the predictive value of the pixel of described current group obtains the pixel of current group by the original pixel value of the pixel of current group.
The original pixel value of the pixel of current group is deducted the residual values that namely predictive value of the pixel of current group obtains the pixel of current group.
It should be noted that, for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present application is not by the restriction of described sequence of movement, because according to the embodiment of the present application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action not necessarily the embodiment of the present application.
With reference to Fig. 2, it is shown that the structured flowchart of the compressor embodiment of a kind of video frame pixel block of the application, specifically can include such as lower module:
Acquisition module 21, is used for obtaining video frame pixel block;
Grouping module 22, for carrying out packet transaction to the pixel in described video frame pixel block, it is thus achieved that the packet of different priorities;
Residual values computing module 23, for passing through the figure place intercepting default value high-order in the original pixel value of the pixel residual values as the pixel of current group, or, the reconstructed value of the pixel being formerly grouped before the priority of the current group that employing is previously generated calculates the residual values of the pixel of current group;Wherein, the reconstructed value of the pixel that part is formerly grouped is generated by the quantization residual values of pixel;
Quantization parameter arranges module 24, for the priority orders according to each packet, arranges quantization parameter for current group, and the priority of packet is more high, and the quantization parameter of setting is more little;The priority of packet is more low, and the quantization parameter of setting is more big;
Quantization modules 25, for adopting the quantization parameter of correspondence that the residual values of the pixel of current group is carried out quantification treatment, generating quantification residual values.
As a kind of preferred exemplary of the embodiment of the present application, described residual values computing module 23 may further include:
Intercept submodule, for the pixel of the packet that priority is the highest, intercept the figure place residual values as pixel of default value high-order in the original pixel value of pixel.
As a kind of preferred exemplary of the embodiment of the present application, described residual values computing module 23 can further include:
Reconstructed value generates submodule, and for the pixel of the packet outside the packet that priority is the highest, the quantization residual values of the pixel being formerly grouped before adopting the priority of the current group being previously generated generates the reconstructed value of the pixel being formerly grouped;
Predictive value generates submodule, is used for the reconstructed value of the pixel being formerly grouped described in adopting, generates the predictive value of the pixel of current group;
Residual values generates submodule, and the predictive value for the original pixel value of the pixel of current group deducts the pixel of described current group obtains the residual values of the pixel of current group.
As a kind of preferred exemplary of the embodiment of the present application, the quantization parameter of the packet that described priority is the highest could be arranged to zero, the quantization difference that residual values is pixel of the pixel of the packet that described priority is the highest.
As a kind of preferred exemplary of the embodiment of the present application, described reconstructed value generates submodule and may further include:
Zero padding submodule, the quantization residual values low level zero padding for the pixel of the packet that described formerly packet medium priority is the highest obtains reconstructed value, and the figure place of the reconstructed value of the pixel of the packet that priority is the highest is identical with the figure place of the original pixel value of pixel;
Inverse quantization rebuilds submodule, for the quantization residual values of the pixel of the packet of non-limit priority in described formerly packet is carried out inverse quantization process, obtains inverse quantization residual values;Described inverse quantization residual values is added with the predictive value of pixel, obtains reconstructed value.
For device embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, device or computer program.Therefore, the embodiment of the present application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the embodiment of the present application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The embodiment of the present application is to describe with reference to flow chart and/or the block diagram according to the method for the embodiment of the present application, terminal unit (system) and computer program.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment so that the instruction performed by the processor of computer or other programmable data processing terminal equipment is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing terminal equipment work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make on computer or other programmable terminal equipment, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable terminal equipment provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the embodiment of the present application, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the embodiment of the present application scope.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or terminal unit not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or terminal unit.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or terminal unit.
Compressor to the compression method of a kind of video frame pixel block provided herein and a kind of video frame pixel block above, it is described in detail, principle and the embodiment of the application are set forth by specific case used herein, and the explanation of above example is only intended to help and understands the present processes and core concept thereof;Simultaneously for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this specification content should not be construed as the restriction to the application.

Claims (10)

1. the compression method of a video frame pixel block, it is characterised in that including:
Obtain video frame pixel block;
Pixel in described video frame pixel block is carried out packet transaction, it is thus achieved that the packet of different priorities;
By intercepting the figure place residual values as the pixel of current group of default value high-order in the original pixel value of pixel, or, the reconstructed value of the pixel being formerly grouped before the priority of the current group that employing is previously generated calculates the residual values of the pixel of current group;Wherein, the reconstructed value of the pixel that part is formerly grouped is generated by the quantization residual values of pixel;
According to the priority orders of each packet, arranging quantization parameter for current group, the priority of packet is more high, and the quantization parameter of setting is more little;The priority of packet is more low, and the quantization parameter of setting is more big;
Adopt corresponding quantization parameter that the residual values of the pixel of current group is carried out quantification treatment, generating quantification residual values.
2. method according to claim 1, it is characterised in that the figure place of default value high-order in the described original pixel value by intercepting pixel includes as the step of the residual values of the pixel of current group:
Pixel to the highest packet of priority, intercepts the figure place residual values as pixel of default value high-order in the original pixel value of pixel.
3. method according to claim 2, it is characterised in that the step of the residual values that the reconstructed value of the pixel being formerly grouped before the priority of the current group that described employing is previously generated calculates the pixel of current group includes:
The pixel of packet packet outside the highest to priority, the quantization residual values of the pixel being formerly grouped before adopting the priority of the current group being previously generated generates the reconstructed value of the pixel being formerly grouped;
The reconstructed value of the pixel being formerly grouped described in employing, generates the predictive value of the pixel of current group;
The original pixel value of the pixel of current group is deducted the residual values that the predictive value of the pixel of described current group obtains the pixel of current group.
4. method according to claim 3, it is characterised in that the quantization parameter of the packet that described priority is the highest is set to zero, the quantization difference that residual values is pixel of the pixel of the packet that described priority is the highest.
5. method according to claim 4, it is characterized in that, the pixel of the packet outside the described packet that priority is the highest, the step of the reconstructed value that the quantization residual values of the pixel being formerly grouped before adopting the priority of the current group being previously generated generates the pixel being formerly grouped includes:
The quantization residual values low level zero padding of the described pixel being formerly grouped the highest packet of medium priority is obtained reconstructed value, and the figure place of the reconstructed value of the pixel of the packet that priority is the highest is identical with the figure place of the original pixel value of pixel;
The quantization residual values of the pixel of the packet of non-limit priority in described formerly packet is carried out inverse quantization process, obtains inverse quantization residual values;Described inverse quantization residual values is added with the predictive value of pixel, obtains reconstructed value.
6. the compressor of a video frame pixel block, it is characterised in that including:
Acquisition module, is used for obtaining video frame pixel block;
Grouping module, for carrying out packet transaction to the pixel in described video frame pixel block, it is thus achieved that the packet of different priorities;
Residual values computing module, for passing through the figure place intercepting default value high-order in the original pixel value of the pixel residual values as the pixel of current group, or, the reconstructed value of the pixel being formerly grouped before the priority of the current group that employing is previously generated calculates the residual values of the pixel of current group;Wherein, the reconstructed value of the pixel that part is formerly grouped is generated by the quantization residual values of pixel;
Quantization parameter arranges module, for the priority orders according to each packet, arranges quantization parameter for current group, and the priority of packet is more high, and the quantization parameter of setting is more little;The priority of packet is more low, and the quantization parameter of setting is more big;
Quantization modules, for adopting the quantization parameter of correspondence that the residual values of the pixel of current group is carried out quantification treatment, generating quantification residual values.
7. device according to claim 6, it is characterised in that described residual values computing module farther includes:
Intercept submodule, for the pixel of the packet that priority is the highest, intercept the figure place residual values as pixel of default value high-order in the original pixel value of pixel.
8. device according to claim 7, it is characterised in that described residual values computing module may further comprise:
Reconstructed value generates submodule, and for the pixel of the packet outside the packet that priority is the highest, the quantization residual values of the pixel being formerly grouped before adopting the priority of the current group being previously generated generates the reconstructed value of the pixel being formerly grouped;
Predictive value generates submodule, is used for the reconstructed value of the pixel being formerly grouped described in adopting, generates the predictive value of the pixel of current group;
Residual values generates submodule, and the predictive value for the original pixel value of the pixel of current group deducts the pixel of described current group obtains the residual values of the pixel of current group.
9. device according to claim 8, it is characterised in that the quantization parameter of the packet that described priority is the highest is set to zero, the quantization difference that residual values is pixel of the pixel of the packet that described priority is the highest.
10. device according to claim 9, it is characterised in that described reconstructed value generates submodule and farther includes:
Zero padding submodule, the quantization residual values low level zero padding for the pixel of the packet that described formerly packet medium priority is the highest obtains reconstructed value, and the figure place of the reconstructed value of the pixel of the packet that priority is the highest is identical with the figure place of the original pixel value of pixel;
Inverse quantization rebuilds submodule, for the quantization residual values of the pixel of the packet of non-limit priority in described formerly packet is carried out inverse quantization process, obtains inverse quantization residual values;Described inverse quantization residual values is added with the predictive value of pixel, obtains reconstructed value.
CN201610096364.3A 2016-02-22 2016-02-22 A kind of compression method and device of video frame pixel block Active CN105763877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610096364.3A CN105763877B (en) 2016-02-22 2016-02-22 A kind of compression method and device of video frame pixel block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610096364.3A CN105763877B (en) 2016-02-22 2016-02-22 A kind of compression method and device of video frame pixel block

Publications (2)

Publication Number Publication Date
CN105763877A true CN105763877A (en) 2016-07-13
CN105763877B CN105763877B (en) 2019-01-01

Family

ID=56330997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610096364.3A Active CN105763877B (en) 2016-02-22 2016-02-22 A kind of compression method and device of video frame pixel block

Country Status (1)

Country Link
CN (1) CN105763877B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135414A (en) * 2016-08-04 2017-09-05 成都小娱网络科技有限公司 The method for processing video frequency and processing system for video of a kind of browser
CN110933443A (en) * 2018-09-20 2020-03-27 北京君正集成电路股份有限公司 Video reconstruction frame storage method and device
CN110933413A (en) * 2018-09-20 2020-03-27 北京君正集成电路股份有限公司 Video frame processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030072364A1 (en) * 2001-09-05 2003-04-17 Intel Corporation Signal to noise ratio optimization for video compression bit-rate control
KR20040062733A (en) * 2003-01-03 2004-07-09 엘지전자 주식회사 Bit rate control system based on object
CN101534373A (en) * 2009-04-24 2009-09-16 北京空间机电研究所 Remote sensing image near-lossless compression hardware realization method based on improved JPEG-LS algorithm
CN101795415A (en) * 2010-04-22 2010-08-04 杭州华三通信技术有限公司 Method and device for controlling code rate in video coding
CN105472389A (en) * 2015-12-01 2016-04-06 上海交通大学 Out-chip buffer compression method for superhigh-definition processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030072364A1 (en) * 2001-09-05 2003-04-17 Intel Corporation Signal to noise ratio optimization for video compression bit-rate control
KR20040062733A (en) * 2003-01-03 2004-07-09 엘지전자 주식회사 Bit rate control system based on object
CN101534373A (en) * 2009-04-24 2009-09-16 北京空间机电研究所 Remote sensing image near-lossless compression hardware realization method based on improved JPEG-LS algorithm
CN101795415A (en) * 2010-04-22 2010-08-04 杭州华三通信技术有限公司 Method and device for controlling code rate in video coding
CN105472389A (en) * 2015-12-01 2016-04-06 上海交通大学 Out-chip buffer compression method for superhigh-definition processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135414A (en) * 2016-08-04 2017-09-05 成都小娱网络科技有限公司 The method for processing video frequency and processing system for video of a kind of browser
CN110933443A (en) * 2018-09-20 2020-03-27 北京君正集成电路股份有限公司 Video reconstruction frame storage method and device
CN110933413A (en) * 2018-09-20 2020-03-27 北京君正集成电路股份有限公司 Video frame processing method and device

Also Published As

Publication number Publication date
CN105763877B (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN109803175B (en) Video processing method and device, video processing equipment and storage medium
KR101137753B1 (en) Methods for fast and memory efficient implementation of transforms
US10681367B2 (en) Intra-prediction video coding method and device
CN105744275A (en) Video data input method, video data output method, video data input device and video data output device
US9800874B2 (en) Image decoding apparatus executing successive tile decoding and filtering around tile boundary
CN105763877A (en) Video frame pixel block compression method and device
CN109816763A (en) A kind of method for rendering graph
CN101459842B (en) Decoding method and apparatus for space desampling
CN113411581B (en) Motion compensation method, system, storage medium and terminal for video sequence
CN110913230A (en) Video frame prediction method and device and terminal equipment
CN111696034B (en) Image processing method and device and electronic equipment
CN1265645C (en) Method of running algorithm and scalable programmable processing device
US11924435B2 (en) High quality advanced neighbor management encoder architecture
WO2023142715A1 (en) Video coding method and apparatus, real-time communication method and apparatus, device, and storage medium
CN108668166B (en) Coding method, device and terminal equipment
US10706501B2 (en) Method and apparatus for stretching image
US9275468B2 (en) Fallback detection in motion estimation
JP2011509455A (en) End-oriented image processing
TWI417810B (en) Image enhancement method, image enhancement apparaus and image processing circuit
CN106954074B (en) Video data processing method and device
CN109788289B (en) Inverse quantization method, system, equipment and computer readable medium
CN109831670B (en) Inverse quantization method, system, equipment and computer readable medium
CN113596450A (en) Video image compression method, decompression method, processing method, device and equipment
Dong et al. Real-time UHD video super-resolution and transcoding on heterogeneous hardware
TW202111663A (en) Methods and apparatus for efficient motion estimation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Video Technology Co.,Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: HISENSE ELECTRIC Co.,Ltd.