CN109660794A - Decision-making technique, decision making device and the computer readable storage medium of intra prediction mode - Google Patents
Decision-making technique, decision making device and the computer readable storage medium of intra prediction mode Download PDFInfo
- Publication number
- CN109660794A CN109660794A CN201811321042.XA CN201811321042A CN109660794A CN 109660794 A CN109660794 A CN 109660794A CN 201811321042 A CN201811321042 A CN 201811321042A CN 109660794 A CN109660794 A CN 109660794A
- Authority
- CN
- China
- Prior art keywords
- prediction mode
- pixel
- decision
- lower right
- right corner
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/176—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Abstract
The application is the decision-making technique about a kind of intra prediction mode, decision making device and computer storage medium.The decision-making technique includes: to obtain present encoding block;To every kind of intra prediction mode, calculate in present encoding block the absolute residuals of lower right corner part pixel and, obtain multiple absolute residuals and, wherein absolute residuals and corresponded with intra prediction mode;By intra prediction mode corresponding to minimum value of multiple absolute residuals in, it is determined as current prediction mode.In the decision-making technique, decision is carried out using the absolute residuals of lower right corner part pixel and to intra prediction mode, alleviates the slow technical problem of traditional decision method of intra prediction mode.
Description
Technical field
The application belongs to the decision-making technique and decision making device of technical field of image processing, especially intra prediction mode.
Background technique
In video encoding-decoding process, intra prediction is generally used to the spatial redundancy in removal frame, specifically, using
The reconstruction value of encoding block predicts present encoding block to obtain a lesser residual error, to be conducive to the compression of video.
Advanced video coding (Advanced Video Coding, abbreviation AVC) is used as a kind of video coding and decoding technology, frame
Inner estimation mode shares 9 kinds.Efficient video coding (High Efficiency Video Coding, abbreviation HEVC) is used as video
The new compression standard of one kind that encoding and decoding use, the direction of intra prediction are extended to 35 kinds, this is conducive to the essence of intra prediction
Fineness and accuracy.Currently, choosing current intra prediction mode from a variety of intra prediction modes, need to every kind of intra prediction
Mode all does a rate distortion costs calculating, that is, does primary prediction, transformation, quantization, entropy volume to each intra prediction mode
Code, inverse transformation, asks distortion at inverse quantization, this increases the computation complexity of encoder at geometric multiple.Especially for HEVC
35 intra prediction modes, the speed of decision of intra prediction mode can be slower.Decision-making technique progress is run in mobile terminal
Encoding and decoding are difficult to meet the requirement of real time codec.
For the slow technical problem of traditional decision method of intra prediction mode, lack in the prior art effective
Solution.
Summary of the invention
To alleviate problem present in the relevant technologies, the application discloses the decision-making technique and decision of a kind of intra prediction mode
Device.
In a first aspect, the embodiment of the invention provides a kind of decision-making techniques of intra prediction mode, comprising:
Obtain present encoding block;
To every kind of intra prediction mode, calculate in the present encoding block absolute residuals of lower right corner part pixel and,
Obtain multiple absolute residuals and, wherein the absolute residuals and with the intra prediction mode correspond;
By intra prediction mode corresponding to minimum value of multiple absolute residuals in, it is determined as current predictive mould
Formula.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein meter
Calculate in the present encoding block absolute residuals of lower right corner part pixel and, comprising:
Since the lower right corner pixel of the present encoding block, the mesh that will be scanned according to backward ZigZag scanning sequency
Mark numerical value pixel is determined as lower right corner part pixel;
Calculate lower right corner part pixel absolute residuals and, wherein
The target value is one not less than in 1 and no more than in the integer of N, and N is the pixel of the present encoding block
Total points.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect
Possible embodiment, wherein the target value is a preconfigured numerical value.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides the third of first aspect
Possible embodiment, wherein calculate lower right corner part pixel absolute residuals and, comprising:
The original value for obtaining lower right corner part pixel obtains multiple original values;
The predicted value for predicting lower right corner part pixel obtains multiple predicted values;
For each pixel in the pixel of the lower right corner part, it is poor between the predicted value and the original value to calculate
Absolute value, obtain multiple absolute values;
By the sum of multiple described absolute values be determined as the absolute residuals and.
Second aspect, the embodiment of the invention provides a kind of decision making devices of intra prediction mode, comprising:
Module is obtained, for obtaining present encoding block;
Computing module, for calculating lower right corner part pixel in the present encoding block to every kind of intra prediction mode
Absolute residuals and, obtain multiple absolute residuals and, wherein the absolute residuals and a pair of with the intra prediction mode one
It answers;
Determining module, for by multiple absolute residuals and in minimum value corresponding to intra prediction mode, determine
For current prediction mode.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute
Stating computing module includes:
Scanning element, for that will be scanned according to backward ZigZag since the lower right corner pixel of the present encoding block
Sequential scan to target value pixel be determined as lower right corner part pixel;
Computing unit, for calculate lower right corner part pixel absolute residuals and, wherein
The target value is one not less than in 1 and no more than in the integer of N, and N is the pixel of the present encoding block
Total points.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect
Possible embodiment, wherein the target value is a preconfigured numerical value.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides the third of first aspect
Possible embodiment, wherein the computing unit is used for:
The original value for obtaining lower right corner part pixel obtains multiple original values;
The predicted value for predicting lower right corner part pixel obtains multiple predicted values;
For each pixel in the pixel of the lower right corner part, it is poor between the predicted value and the original value to calculate
Absolute value, obtain multiple absolute values;
By the sum of multiple described absolute values be determined as the absolute residuals and.
The third aspect, the embodiment of the invention provides a kind of decision making devices of intra prediction mode, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing decision-making technique described in first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer instruction, and the computer instruction, which is performed, realizes decision-making technique described in first aspect.
The technical solution that embodiments herein provides can include the following benefits:
The decision-making technique includes: to obtain present encoding block;To every kind of intra prediction mode, bottom right in present encoding block is calculated
The absolute residuals of angle part pixel and, obtain multiple absolute residuals and, wherein absolute residuals and with intra prediction mode one by one
It is corresponding;By intra prediction mode corresponding to minimum value of multiple absolute residuals in, it is determined as current prediction mode.
In the decision-making technique, calculate present encoding block in lower right corner part pixel absolute residuals and;It then will be multiple
Intra prediction mode corresponding to minimum value of the absolute residuals in, is determined as current prediction mode, that is, pass through lower right corner part
The absolute residuals of pixel and to intra prediction mode carry out decision.Due to entire present encoding block prediction in, the lower right corner
Pixel point prediction is the most inaccurate, carries out decision using the absolute residuals of lower right corner part pixel and to intra prediction mode,
The number of involved pixel in calculating is not only reduced, and absolute residuals sum show that step is less, to alleviate frame
The slow technical problem of traditional decision method of inner estimation mode.
Detailed description of the invention
Fig. 1 show 35 kinds of intra prediction modes in HEVC;
Fig. 2 show a present encoding block example;
Fig. 3 show the predicted rear obtained image of present encoding block shown in Fig. 2;
Fig. 4 show a kind of decision-making technique flow chart of intra prediction mode of the offer of the embodiment of the present invention one;
Fig. 5 show a kind of schematic diagram of backward ZigZag scanning sequency;
Fig. 6 show the schematic diagram of another backward ZigZag scanning sequency;
Fig. 7 show a kind of decision making device structural block diagram of intra prediction mode provided by Embodiment 2 of the present invention;
Fig. 8 show a kind of decision making device structural block diagram of intra prediction mode of the offer of the embodiment of the present invention three;
Fig. 9 show the decision making device structural block diagram of another intra prediction mode of the offer of the embodiment of the present invention three.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
For convenient for understanding the present embodiment, with reference to the accompanying drawings and examples, to a specific embodiment of the invention
It is described in further detail.
Currently, choosing current prediction mode from a variety of prediction modes, needs all to do every kind of prediction mode primary rate and lose
True cost calculates, and for HEVC, intra prediction mode reaches 35 kinds, as shown in Figure 1, including 33 prediction directions
Corresponding prediction mode and a DC mode, a Planar mode calculate then needing to carry out 35 rate distortion costs.
For example, to (16 to be predicted piece constitutes present encoding block) to be predicted piece represented by black block each in Fig. 2
It is predicted, obtains image shown in Fig. 3.If in this process, using the traditional decision method of intra prediction mode, for
Every kind of prediction mode (being 9 kinds of prediction modes for AVC, be 35 kinds of prediction modes for HEVC), will implement it is following a whole set of
Process:
S1, present encoding block is set as Fec, be Pre by the prediction block that current prediction mode obtains;
S2, present encoding block is calculated in the residual block Res=Fec-Pre of current prediction mode;
S3, present encoding block is converted, residual block time-domain signal is made to be transformed into frequency-region signal, residual error after being converted
Block;
S4, present encoding value is modified by quantization step to residual block after transformation, the block after being quantified:
FQ=round (y/QP)
Wherein, y is the present encoding value of residual block after transformation, and QP is quantization step, and FQ is the quantized value of y, round () letter
Number is bracket function;
S5, the bit number R of present encoding block occupancy is obtained to the block progress entropy coding after quantization;
S6, the sample point of the block after quantization is encoded, makees inverse quantization, the solution code value after obtaining inverse quantization:
Y '=FQ*QP,
And decoding block;
S7, the decoding block after inverse quantization is done into inverse transformation, so that residual block frequency-region signal is transformed to time-domain signal, is solved
Code residual block R ';
S8, current reconstruct decoding block Rec is calculated, wherein: Rec=R '+Pre;
S9, the distortion D=Fec-Rec for calculating present encoding block;
S10, the rate distortion costs J=D+ λ R for calculating current prediction mode, wherein λ is Lagrange coefficient.
After to every kind of intra prediction mode, all implementing step S1-S10 as described above, lost eventually by minimum rate
The principle of true cost chooses current prediction mode.
It can be seen that: primary prediction is done to each intra prediction mode, transformation, quantization, entropy coding, inverse quantization, inverse transformation, is asked
Distortion.In the decision-making technique of this intra prediction mode, the computation complexity of encoder increases at geometric multiple, and there are decisions
Slow technical problem.This kind of decision-making technique is run in mobile terminal to carry out encoding and decoding, is difficult to meet real time codec
Requirement.Based on this, the embodiment of the invention provides a kind of decision-making technique of intra prediction mode and decision making devices, to alleviate frame
The slow technical problem of traditional decision method of inner estimation mode.
Embodiment one
The embodiment of the invention provides a kind of decision-making techniques of intra prediction mode, as shown in Figure 4, comprising:
Step S102 obtains present encoding block;
Step S104, to every kind of intra prediction mode, lower right corner part pixel is absolute residual in calculating present encoding block
Difference and, obtain multiple absolute residuals and, wherein absolute residuals and with intra prediction mode correspond;
Intra prediction mode corresponding to minimum value of multiple absolute residuals in is determined as current pre- by step S106
Survey mode.
In the embodiment of the present invention, calculate present encoding block in lower right corner part pixel absolute residuals and;It then will be more
Intra prediction mode corresponding to minimum value of a absolute residuals in, is determined as current prediction mode, that is, pass through lower right corner
Divide the absolute residuals of pixel and decision is carried out to intra prediction mode.Due to entire present encoding block prediction in, the lower right corner
Pixel point prediction it is the most inaccurate, using lower right corner part pixel absolute residuals and determine to intra prediction mode
Plan not only reduces the number of involved pixel in calculating, and absolute residuals sum show that step is less, to alleviate
The slow technical problem of traditional decision method of intra prediction mode.
In an optional embodiment of the invention, in step S104, lower right corner partial pixel in present encoding block is calculated
Point absolute residuals and, comprising:
Since the lower right corner pixel of present encoding block, the number of targets that will be scanned according to backward ZigZag scanning sequency
Value pixel is determined as lower right corner part pixel;
Calculate lower right corner part pixel absolute residuals and, wherein
Target value is one not less than in 1 and no more than in the integer of N, and N is that the pixel of present encoding block is always counted.
It should be noted that ZigZag scanning sequency, belongs to a kind of curved scanning method.It is carried out in other side's block matrix
When ZigZag is scanned, progress is recycled in this way according to first direction, inclined direction, second direction, anti-obliquity direction, but in edge
Need to interrupt circulation without departing from square matrix, wherein first direction and second direction are orthogonal both direction, inclination
Direction and anti-obliquity direction are mutually opposite both direction.In backward ZigZag scanning sequency, first direction, second direction are
To the left, upwards.Specifically, middle route shown by arrows understands two kinds of backward ZigZag scanning sequencies referring to figure 5 and figure 6,
It all respectively include 16 pixels in Fig. 5 and Fig. 6.
It is further described by taking Fig. 5 as an example below, each pixel is using the number on pixel as mark:
Firstly, N value is 16;
Secondly, lower right corner part pixel chooses { 1 } in Fig. 5 if target value is 1;If target value is
7, then lower right corner part pixel chooses { 1,2,3,4,5,6,7 } in Fig. 5.
In the embodiment of the present invention, a kind of method of determining lower right corner part pixel is provided, is guaranteed according to backward
The target value pixel that ZigZag scanning sequency scans is lower right corner part pixel, and order is stronger.
In another optional embodiment of the invention, target value is a preconfigured numerical value.
It should be noted that target value is smaller, the decision-making technique fortune of intra prediction mode provided in an embodiment of the present invention
The row time is shorter.It is pre-configured with target value, can be and specified by encoder in advance, is also possible to according to present encoding content
Adaptive configuration can also be configured according to end-of-encode condition.
In the embodiment of the present invention, target value is a preconfigured numerical value, is conducive to the adjustment by target value
To meet the different demands in cataloged procedure.
In another optional embodiment of the invention, calculate lower right corner part pixel absolute residuals and, comprising:
The original value for obtaining lower right corner part pixel, obtains multiple original values;
The predicted value for predicting lower right corner part pixel, obtains multiple predicted values;
For each pixel in the pixel of lower right corner part, absolute value of the difference between predicted value and original value is calculated, is obtained
To multiple absolute values;
By the sum of multiple absolute values be determined as absolute residuals and.
Specifically, it is assumed that the original value of target value n, lower right corner part pixel are denoted as: F={ f1,f2,...,fn,
The predicted value of lower right corner part pixel is denoted as: P={ p1,p2,...,pn, then the absolute residuals of i-th kind of prediction mode and are as follows:
The embodiment of the invention provides a kind of calculation method of the absolute residuals sum of lower right corner part pixel, absolute residuals
The calculating of sum only needs to do lower right corner part pixel primary prediction, without in traditional decision method transformation, quantization,
Entropy coding, inverse quantization, inverse transformation and etc., reduce calculating process, to alleviate the traditional decision side of intra prediction mode
The slow technical problem of method.
Above provide intra prediction mode decision-making technique so that mobile terminal has been encoded up real-time effect.
Compared to the traditional decision method of intra prediction mode, the decision-making technique of intra prediction mode provided in an embodiment of the present invention makes
The speed of decision for obtaining intra prediction mode promotes 50% or more.
Embodiment two
The embodiment of the present invention provides a kind of decision making device of intra prediction mode, as shown in fig. 7, comprises:
Module 100 is obtained, for obtaining present encoding block;
Computing module 200, for calculating lower right corner part pixel in present encoding block to every kind of intra prediction mode
Absolute residuals and, obtain multiple absolute residuals and, wherein absolute residuals and with intra prediction mode correspond;
Determining module 300, for by multiple absolute residuals and in minimum value corresponding to intra prediction mode, be determined as
Current prediction mode.
The decision making device of intra prediction mode provided in an embodiment of the present invention calculates lower right corner part picture in present encoding block
The absolute residuals of vegetarian refreshments and;Then intra prediction mode corresponding to the minimum value by multiple absolute residuals in, is determined as working as
Preceding prediction mode, that is, carry out decision by the absolute residuals of lower right corner part pixel and to intra prediction mode.Due to whole
In a present encoding block prediction, the pixel point prediction in the lower right corner is the most inaccurate, using the absolute residual of lower right corner part pixel
Difference and to intra prediction mode carry out decision, not only reduce calculate in involved pixel number, and absolute residuals and
Show that step is less, to alleviate the slow technical problem of traditional decision method of intra prediction mode.
In one optional embodiment of the embodiment of the present invention, computing module includes:
Scanning element will be according to backward ZigZag scanning sequency for since the lower right corner pixel of present encoding block
The target value pixel scanned is determined as lower right corner part pixel;
Computing unit, for calculate lower right corner part pixel absolute residuals and, wherein
Target value is one not less than in 1 and no more than in the integer of N, and N is that the pixel of present encoding block is always counted.
In another optional embodiment of the embodiment of the present invention, target value is a preconfigured numerical value.
In another optional embodiment of the embodiment of the present invention, computing unit is used for:
The original value for obtaining lower right corner part pixel, obtains multiple original values;
The predicted value for predicting lower right corner part pixel, obtains multiple predicted values;
For each pixel in the pixel of lower right corner part, absolute value of the difference between predicted value and original value is calculated, is obtained
To multiple absolute values;
By the sum of multiple absolute values be determined as absolute residuals and.
Embodiment three
The embodiment of the invention provides a kind of decision making devices of intra prediction mode, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, processor is configured as executing the decision-making technique of embodiment one.
In the embodiment of the present invention, processor is configured as executing the decision-making technique of embodiment one, that is, obtains present encoding
Block;To every kind of intra prediction mode, calculate in present encoding block the absolute residuals of lower right corner part pixel and, obtain it is multiple absolutely
To residual sum, wherein absolute residuals and with intra prediction mode correspond;Minimum value institute of multiple absolute residuals in is right
The intra prediction mode answered, is determined as current prediction mode.In the decision-making technique, lower right corner part in present encoding block is calculated
The absolute residuals of pixel and;Then intra prediction mode corresponding to the minimum value by multiple absolute residuals in, is determined as
Current prediction mode, that is, carry out decision by the absolute residuals of lower right corner part pixel and to intra prediction mode.Due to
In entire present encoding block prediction, the pixel point prediction in the lower right corner is the most inaccurate, using the absolute of lower right corner part pixel
Residual sum carries out decision to intra prediction mode, not only reduces the number of involved pixel in calculating, and absolute residuals
Sum show that step is less, to alleviate the slow technical problem of traditional decision method of intra prediction mode.
Fig. 8 show a kind of structural block diagram of decision making device 800.Referring to Fig. 8, decision making device 800 may include with next
A or multiple components: processing component 802, memory 804, electric power assembly 805, multimedia component 808, audio component 810 are defeated
Enter/export (I/O) interface 812, sensor module 814 and communication component 815.
The integrated operation of the usual control decision device 800 of processing component 802 is such as grasped with display, data communication, and record
Make associated operation.Processing component 802 may include one or more processors 820 to execute instruction, above-mentioned to complete
The all or part of the steps of method.In addition, processing component 802 may include one or more modules, it is convenient for 802 He of processing component
Interaction between other assemblies.For example, processing component 802 may include multi-media module, to facilitate multimedia component 808 and place
Manage the interaction between component 802.
Memory 804 is configured as storing various types of data to support the operation in decision making device 800.These data
Example include any application or method for being operated on device 800 instruction, contact data, telephone directory number
According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they
Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable
Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing
Memory, disk or CD.
Power supply module 805 provides electric power for the various assemblies of device 800.Power supply module 805 may include power management system
System, one or more power supplys and other with for decision making device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between device 800 and user.In some realities
It applies in example, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can
To be implemented as touch screen, to receive input signal from the user.Touch panel include one or more touch sensors with
Sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and
And also detect duration and pressure relevant to touch or slide.In some embodiments, multimedia component 808 includes
One front camera and/or rear camera.It is such as in a shooting mode or a video mode, preceding when equipment 800 is in operation mode
It sets camera and/or rear camera can receive external multi-medium data.Each front camera and rear camera can
Be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when decision making device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone
It is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via logical
Believe that component 815 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, the relative positioning of component, such as component
For the display and keypad of decision making device 800, sensor module 814 can also detect decision making device 800 or decision making device 800
The position change of one component, the existence or non-existence that user contacts with decision making device 800,800 orientation of decision making device or acceleration/
The temperature change slowed down with decision making device 800.Sensor module 814 may include proximity sensor, be configured to do not having
It is detected the presence of nearby objects when any physical contact.Sensor module 814 can also include optical sensor, such as CMOS or
Ccd image sensor, for being used in imaging applications.In some embodiments, which can also include adding
Velocity sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 815 is configured to facilitate the communication of wired or wireless way between decision making device 800 and other equipment.
Decision making device 800 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G),
Or their combination.In one exemplary embodiment, communication component 815 receives via broadcast channel and comes from external broadcasting management
The broadcast singal or broadcast related information of system.In one exemplary embodiment, communication component 815 further includes near-field communication
(NFC) module, to promote short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association can be based in NFC module
(IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, decision making device 800 can be by one or more application specific integrated circuit (ASIC), number
Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
Fig. 9 show the structural block diagram of another decision making device 900.For example, decision making device 900 may be provided as a clothes
Business device.Referring to Fig. 9, it further comprises one or more processors, and by depositing that decision making device 900, which includes processing component 922,
Memory resource representated by reservoir 932, can be by the instruction of the execution of processing component 922, such as application program for storing.It deposits
The application program stored in reservoir 932 may include it is one or more each correspond to one group of instruction module.This
Outside, processing component 922 is configured as executing instruction, to execute above- mentioned information list display method.
Decision making device 900 can also include that a power supply module 925 is configured as executing the power supply pipe of decision making device 900
Reason, a wired or wireless network interface 950 are configured as decision making device 900 being connected to network and an input and output (I/
O) interface 958.Decision making device 900 can be operated based on the operating system for being stored in memory 932, such as Windows
ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Example IV
The embodiment of the invention provides a kind of computer readable storage medium, computer-readable recording medium storage has calculating
Machine instruction, computer instruction are performed the decision-making technique for realizing embodiment one.
Specifically, computer readable storage medium, the memory 804 for example including instruction, above-metioned instruction can be filled by decision
Set 800 processor 820 execute to complete the above method.For example, non-transitorycomputer readable storage medium can be ROM,
Random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
In the embodiment of the present invention, computer instruction is performed the decision-making technique for realizing embodiment one, that is, obtains current compile
Code block;To every kind of intra prediction mode, calculate in present encoding block the absolute residuals of lower right corner part pixel and, obtain multiple
Absolute residuals and, wherein absolute residuals and with intra prediction mode correspond;By minimum value institute of multiple absolute residuals in
Corresponding intra prediction mode, is determined as current prediction mode.In the decision-making technique, lower right corner in present encoding block is calculated
The absolute residuals of point pixel and;Then intra prediction mode corresponding to the minimum value by multiple absolute residuals in, determines
For current prediction mode, that is, carry out decision by the absolute residuals of lower right corner part pixel and to intra prediction mode.Due to
In the prediction of entire present encoding block, the pixel point prediction in the lower right corner is the most inaccurate, using the exhausted of lower right corner part pixel
Decision is carried out to intra prediction mode to residual sum, not only reduces the number of involved pixel in calculating, and absolutely residual
Poor sum show that step is less, to alleviate the slow technical problem of traditional decision method of intra prediction mode.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following
Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
Claims (10)
1. a kind of decision-making technique of intra prediction mode characterized by comprising
Obtain present encoding block;
To every kind of intra prediction mode, calculate in the present encoding block absolute residuals of lower right corner part pixel and, obtain
Multiple absolute residuals and, wherein the absolute residuals and with the intra prediction mode correspond;
By intra prediction mode corresponding to minimum value of multiple absolute residuals in, it is determined as current prediction mode.
2. decision-making technique according to claim 1, which is characterized in that calculate lower right corner part picture in the present encoding block
The absolute residuals of vegetarian refreshments and, comprising:
Since the lower right corner pixel of the present encoding block, the target that will be scanned according to backward Z i gZag scanning sequency
Numerical value pixel is determined as lower right corner part pixel;
Calculate lower right corner part pixel absolute residuals and, wherein
The target value is one not less than in 1 and no more than in the integer of N, and N is the total point of pixel of the present encoding block
Number.
3. decision-making technique according to claim 2, which is characterized in that the target value is a preconfigured number
Value.
4. decision-making technique according to claim 2, which is characterized in that calculate the absolute residual of lower right corner part pixel
Difference and, comprising:
The original value for obtaining lower right corner part pixel obtains multiple original values;
The predicted value for predicting lower right corner part pixel obtains multiple predicted values;
For each pixel in the pixel of the lower right corner part, calculate poor exhausted between the predicted value and the original value
To value, multiple absolute values are obtained;
By the sum of multiple described absolute values be determined as the absolute residuals and.
5. a kind of decision making device of intra prediction mode characterized by comprising
Module is obtained, for obtaining present encoding block;
Computing module calculates the exhausted of lower right corner part pixel in the present encoding block for every kind of intra prediction mode
To residual sum, obtain multiple absolute residuals and, wherein the absolute residuals and corresponded with the intra prediction mode;
Determining module, for by multiple absolute residuals and in minimum value corresponding to intra prediction mode, be determined as working as
Preceding prediction mode.
6. decision making device according to claim 5, which is characterized in that the computing module includes:
Scanning element will be according to backward Z igZag scanning sequency for since the lower right corner pixel of the present encoding block
The target value pixel scanned is determined as lower right corner part pixel;
Computing unit, for calculate lower right corner part pixel absolute residuals and, wherein
The target value is one not less than in 1 and no more than in the integer of N, and N is the total point of pixel of the present encoding block
Number.
7. decision making device according to claim 6, which is characterized in that the target value is a preconfigured number
Value.
8. decision making device according to claim 6, which is characterized in that the computing unit is used for:
The original value for obtaining lower right corner part pixel obtains multiple original values;
The predicted value for predicting lower right corner part pixel obtains multiple predicted values;
For each pixel in the pixel of the lower right corner part, calculate poor exhausted between the predicted value and the original value
To value, multiple absolute values are obtained;
By the sum of multiple described absolute values be determined as the absolute residuals and.
9. a kind of decision making device of intra prediction mode characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing decision-making technique described in the claims 1-4 any one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to
It enables, the computer instruction is performed realization such as the described in any item decision-making techniques of Claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811321042.XA CN109660794B (en) | 2018-11-07 | 2018-11-07 | Decision method, decision device and computer readable storage medium for intra prediction mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811321042.XA CN109660794B (en) | 2018-11-07 | 2018-11-07 | Decision method, decision device and computer readable storage medium for intra prediction mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109660794A true CN109660794A (en) | 2019-04-19 |
CN109660794B CN109660794B (en) | 2020-07-07 |
Family
ID=66110754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811321042.XA Active CN109660794B (en) | 2018-11-07 | 2018-11-07 | Decision method, decision device and computer readable storage medium for intra prediction mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109660794B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918058A (en) * | 2020-07-02 | 2020-11-10 | 北京大学深圳研究生院 | Hardware-friendly intra prediction mode fast determination method, device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101069429A (en) * | 2004-12-03 | 2007-11-07 | 三星电子株式会社 | Method and apparatus for multi-layered video encoding and decoding |
CN102647593A (en) * | 2012-04-18 | 2012-08-22 | 北京大学 | AVS (Audio Video Standard) intra mode decision method and AVS intra mode decision device |
CN103959790A (en) * | 2011-11-18 | 2014-07-30 | 华为技术有限公司 | Scanning of prediction residuals in high efficiency video coding |
CN104380734A (en) * | 2012-06-07 | 2015-02-25 | 联发科技(新加坡)私人有限公司 | Method and apparatus for intra transform skip mode |
CN106162176A (en) * | 2016-10-09 | 2016-11-23 | 北京数码视讯科技股份有限公司 | Method for choosing frame inner forecast mode and device |
CN107864380A (en) * | 2017-12-14 | 2018-03-30 | 杭州电子科技大学 | 3D HEVC fast intra-mode prediction decision-making techniques based on DCT |
CN108401157A (en) * | 2012-10-01 | 2018-08-14 | Ge视频压缩有限责任公司 | Scalable video decoder, encoder and telescopic video decoding, coding method |
-
2018
- 2018-11-07 CN CN201811321042.XA patent/CN109660794B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101069429A (en) * | 2004-12-03 | 2007-11-07 | 三星电子株式会社 | Method and apparatus for multi-layered video encoding and decoding |
CN103959790A (en) * | 2011-11-18 | 2014-07-30 | 华为技术有限公司 | Scanning of prediction residuals in high efficiency video coding |
CN102647593A (en) * | 2012-04-18 | 2012-08-22 | 北京大学 | AVS (Audio Video Standard) intra mode decision method and AVS intra mode decision device |
CN104380734A (en) * | 2012-06-07 | 2015-02-25 | 联发科技(新加坡)私人有限公司 | Method and apparatus for intra transform skip mode |
CN108401157A (en) * | 2012-10-01 | 2018-08-14 | Ge视频压缩有限责任公司 | Scalable video decoder, encoder and telescopic video decoding, coding method |
CN106162176A (en) * | 2016-10-09 | 2016-11-23 | 北京数码视讯科技股份有限公司 | Method for choosing frame inner forecast mode and device |
CN107864380A (en) * | 2017-12-14 | 2018-03-30 | 杭州电子科技大学 | 3D HEVC fast intra-mode prediction decision-making techniques based on DCT |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918058A (en) * | 2020-07-02 | 2020-11-10 | 北京大学深圳研究生院 | Hardware-friendly intra prediction mode fast determination method, device and storage medium |
CN111918058B (en) * | 2020-07-02 | 2022-10-28 | 北京大学深圳研究生院 | Hardware-friendly intra prediction mode fast determination method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109660794B (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109089119B (en) | Method and equipment for predicting motion vector | |
US10986332B2 (en) | Prediction mode selection method, video encoding device, and storage medium | |
JP7026260B2 (en) | Video coding methods, video coding equipment and computer programs | |
CN102316317B (en) | Method and device for generating predicted value of picture | |
CN111161316A (en) | Target object tracking method and device and terminal equipment | |
CN109660797A (en) | Adaptive filter method, device, electronic equipment and computer-readable medium | |
US11758175B2 (en) | Image encoding/decoding method and apparatus | |
Pfaff et al. | Video compression using generalized binary partitioning, trellis coded quantization, perceptually optimized encoding, and advanced prediction and transform coding | |
CN112532975B (en) | Video encoding method, video encoding device, computer equipment and storage medium | |
WO2023045666A1 (en) | Method and apparatus for selecting reference frame, device, and medium | |
WO2024012054A1 (en) | Image processing method, intelligent terminal and storage medium | |
CN113647102A (en) | Method and apparatus for signaling merge mode in video coding | |
CN109660794A (en) | Decision-making technique, decision making device and the computer readable storage medium of intra prediction mode | |
WO2022133320A1 (en) | Network based image filtering for video coding | |
CN109120929A (en) | A kind of Video coding, coding/decoding method, device, electronic equipment and system | |
CN109660812A (en) | The determination method, apparatus and computer readable storage medium of complexity and code rate | |
CN114128263A (en) | Method and apparatus for adaptive motion vector resolution in video coding and decoding | |
CN114302137B (en) | Time domain filtering method and device for video, storage medium and electronic equipment | |
CN113891074B (en) | Video encoding method and apparatus, electronic apparatus, and computer-readable storage medium | |
EP3970376A1 (en) | Methods and apparatuses for decoder-side motion vector refinement in video coding | |
CN114009019A (en) | Method and apparatus for signaling merge mode in video coding | |
CN114422782B (en) | Video encoding method, video encoding device, storage medium and electronic equipment | |
CN114268797B (en) | Method, device, storage medium and electronic equipment for time domain filtering of video | |
CN115086679A (en) | Intra-frame prediction method and device, electronic equipment and storage medium | |
CN113079372A (en) | Method, device and equipment for coding inter-frame prediction and readable storage medium |
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 |