CN103227921B - Efficient video coding intra-frame prediction method and device - Google Patents

Efficient video coding intra-frame prediction method and device Download PDF

Info

Publication number
CN103227921B
CN103227921B CN201310115622.4A CN201310115622A CN103227921B CN 103227921 B CN103227921 B CN 103227921B CN 201310115622 A CN201310115622 A CN 201310115622A CN 103227921 B CN103227921 B CN 103227921B
Authority
CN
China
Prior art keywords
predictive mode
predictive
pattern
mode
field picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310115622.4A
Other languages
Chinese (zh)
Other versions
CN103227921A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310115622.4A priority Critical patent/CN103227921B/en
Publication of CN103227921A publication Critical patent/CN103227921A/en
Application granted granted Critical
Publication of CN103227921B publication Critical patent/CN103227921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention is applicable to technical field of video coding, it is provided that a kind of efficient video coding intra-frame prediction method and device, and described method includes: gathers the code stream of video image, obtains primitive frame image;According to the angle-dependence of HEVC intra prediction mode, whole described intra prediction modes is classified, obtain at least two predictive mode type;Call the hardware module corresponding with described predictive mode type according to the described predictive mode type belonging to predictive mode each described, obtain the predictive value of described two field picture block under predictive mode each described;Obtain the Coding cost that each described predictive mode is corresponding;According to the predictive mode that Coding cost in whole described predictive modes is minimum, described two field picture block is encoded.The present invention classifies, maps by being carried out by predictive mode, only needs the hardware module of fractional prediction pattern just can realize 35 kinds of predictive modes predictions, has reached the upper limit of HEVC infra-frame prediction accuracy.

Description

Efficient video coding intra-frame prediction method and device
Technical field
The invention belongs to technical field of video coding, particularly relate to a kind of efficient video coding intra-frame prediction method And device.
Background technology
Video signal comprises huge quantity of information, and the CIF format video signal with resolution as 352x288 is Example, if without any compression, if being transmitted with the speed of 30 frames per second, the code check of transmission reaches 70Mbps, same, if above-mentioned video signal does not compresses, the normal optical disk of a 700M can only store The video of 80 seconds.Therefore, efficient technology of video compressing encoding is extremely urgent.
Although video signal contains huge quantity of information, but these information are often height correlation, deposit In substantial amounts of redundancy, such as: in image sequence two adjacent images usually contain identical background and Mobile object, simply the locus of object is slightly different, so the data of a later frame and the data of former frame There are many identical places (time redundancy);In any piece image, all have by many gray scales or color The region of the most same or like neighborhood pixels composition, therefore these pixel Existential Space continuities.But base Represent that the mode of object color does not utilize this spatial coherence (spatial redundancy) in discrete pixels sampling; Additionally, there may be coding redundancy, visual redundancy etc..Principle and the starting point of video compression coding are that Limits ground eliminates various redundancies.
For different redundancies, video compression coding standard uses different strategies to eliminate, and presently, there are Technical scheme have: eliminate time redundancy with inter prediction;Spatial redundancy is eliminated with infra-frame prediction;With conversion, Quantify to eliminate visual redundancy;Coding redundancy is eliminated with entropy code.Infra-frame prediction is as the master of video compression coding Want one of means, it was predicted that accuracy directly influence the effect of video compression coding.The principle of infra-frame prediction As it is shown in figure 1, give infra-frame prediction schematic diagram, as a example by the infra-frame prediction of 4x4 block, a to p is for treating 16 pixels of prediction, A to P is the reference pixel on top and the left side, and infra-frame prediction passes through reference pixel, According to certain predictive mode, pixel a~p is predicted, then picks out immediate with actual value Predictive mode, during transmission, only transmits predictive mode, and the difference (i.e. residual error) of actual value and predictive value.Solve Code end, according to predictive mode, calculates predictive value, then plus residual error, i.e. obtains decoded image.As Shown in Fig. 2, H.264 the video image of form has 9 predictive modes, including pattern 0(i.e. Planar mould Formula), pattern 1(i.e. DC pattern) and pattern 2~these 7 directional prediction modes of pattern 8;Such as Fig. 3 Shown in, efficient video coding (English: High Efficiency Video Coding, abbreviation: HEVC) lattice Formula video image has 35 predictive modes, including pattern 0(i.e. Planar pattern), pattern 1(i.e. DC Pattern) and pattern 2~these 33 directional prediction modes of pattern 34.
H.264 the video compression coding standard of main flow is at present, in order to improve the accuracy of infra-frame prediction, H The pattern of infra-frame prediction is increased to 35 kinds by 9 kinds H.264 by the draft of EVC, it was predicted that block is by H.264 4x4,8x8 and 16,x16 tri-kinds increase to 4x4,8x8,16x16,32x32 and 64,x64 five kinds.With Time improve the complexity to non-existent reference pixel filling algorithm, add the filtering to reference pixel behaviour Make, add the calculating process of reference pixel.
In order to pick out the predictive mode of optimum from all predictive modes of HEVC infra-frame prediction, it is right to need All of predictive mode travels through, and i.e. every kind predictive mode all calculates one time, and then contrast predicts the outcome, Choose the predictive mode (prediction immediate with actual value) of optimum.Owing to HEVC intra prediction mode has 35 Kind, therefore for logic realization, need 35 kinds of corresponding hardware modules to realize prediction, this will consume big The hardware resource of amount.
Summary of the invention
In view of the above problems, it is an object of the invention to provide a kind of efficient video coding intra-frame prediction method and Device, it is intended to solve existing by judging that choosing several most probable predictive mode travels through, and needs equally in advance Consume the technical problem of substantial amounts of logical resource.
First aspect, described efficient video coding intra-frame prediction method comprises the steps:
Gathering the code stream of video image, obtain primitive frame image, described primitive frame image includes at least two Two field picture block;
According to the angle-dependence of efficient video coding HEVC intra prediction mode, in whole described frames Predictive mode is classified, and obtains at least two predictive mode type;
Call and described predictive mode class according to the described predictive mode type belonging to predictive mode each described The hardware module that type is corresponding, obtains the predictive value of described two field picture block under predictive mode each described;
Each institute is obtained according to the predictive value of two field picture block each described and the actual value of described two field picture block State the Coding cost that predictive mode is corresponding;
According to the predictive mode that Coding cost in whole described predictive modes is minimum, described two field picture block is carried out Coding.
In the first possible implementation of first aspect, described intra prediction mode type includes non-reflecting Emission mode class, basic model class and mapped mode class, described according to the institute belonging to predictive mode each described State predictive mode type and call the hardware module corresponding with described predictive mode type, obtain described in each The predictive value of the described two field picture block under predictive mode specifically includes:
If described predictive mode belongs to non-mapping pattern class or basic model class, directly invoke described prediction mould The hardware module that formula is corresponding, obtains the predictive value of described two field picture block under described predictive mode;
If described predictive mode belongs to mapped mode class, described predictive mode is mapped to basic model apoplexy due to endogenous wind Predictive mode on, and call the hardware module corresponding to the predictive mode after mapping, the prediction knot that will obtain Fruit carries out reflection and penetrates, and obtains the predictive value of two field picture block under described predictive mode.
In conjunction with the first possible implementation of first aspect, in the possible implementation of the second, described Described predictive mode is mapped on the predictive mode of basic model apoplexy due to endogenous wind, and calls the predictive mode after mapping Corresponding hardware module, carries out reflection by predicting the outcome of obtaining and penetrates, obtain under described predictive mode The predictive value of two field picture block includes:
According to the angle-dependence of described predictive mode Yu basic model apoplexy due to endogenous wind predictive mode, determine described prediction The mapping relations of pattern;
According to described mapping relations, described predictive mode is mapped on the predictive mode of basic model apoplexy due to endogenous wind, with Time the reference pixel of two field picture block is carried out mapping transformation according to described mapping relations;
Call the hardware module corresponding to the predictive mode after mapping, predicted the outcome;
Described predicting the outcome according to described mapping relations, is carried out reflection and penetrate, obtains under described predictive mode The predictive value of two field picture block.
Can in conjunction with the first possible implementation of first aspect or first aspect or the second of first aspect The implementation of energy, in the third possible implementation, the angle-dependence bag of described intra prediction mode Include: overlap after vertical/horizontal symmetry, 90-degree rotation after vertical/horizontal symmetry, 90-degree rotation;
When described angle-dependence is vertical/horizontal symmetry, by described predictive mode accordingly according to vertical axis/ Trunnion axis Mirroring Mapping is on the predictive mode of basic model apoplexy due to endogenous wind, simultaneously by the top reference image of two field picture block Element is according to the vertical axis/trunnion axis Mirroring Mapping conversion of two field picture block, and described reflection is penetrated specially pre-by obtain Survey result and carry out row inversion accordingly;
When horizontal or vertical symmetry after described angle-dependence is 90-degree rotation, predictive mode will be stated and rotate Accordingly according in vertical axis/trunnion axis Mirroring Mapping to the predictive mode of basic model apoplexy due to endogenous wind after 90 degree, described instead Map to be specially and the procession that predicts the outcome obtained is inverted;
When overlapping after described angle-dependence is 90-degree rotation, described predictive mode 90-degree rotation is carried out Map, simultaneously by the left side reference pixel of two field picture block according to the vertical axis/trunnion axis Mirroring Mapping of two field picture block Conversion, is specially during described reaction and predicting the outcome of obtaining goes inversion.
Can in conjunction with the first possible implementation of first aspect or first aspect or the second of first aspect Can implementation or the 4th kind of the third possible implementation of first aspect or first aspect possible Implementation, in the 5th kind of possible implementation, described according in efficient video coding HEVC frame The angle-dependence of predictive mode, before whole described intra prediction modes is classified, described method Also include:
Judge to select one or more predictive mode most probable by pre-, as to be traveled through pre- Survey pattern.
Second aspect, described efficient video coding infra-frame prediction device, including:
Image acquisition unit, for gathering the code stream of video image, obtains primitive frame image, described primitive frame Image includes the two field picture block of at least two;
Pattern classification unit, according to the angle-dependence of HEVC intra prediction mode, to whole described frames Inner estimation mode is classified, and obtains at least two predictive mode type;
Predicting unit, for according to the described predictive mode type belonging to predictive mode each described call with The hardware module that described predictive mode type is corresponding, obtains the described frame figure under predictive mode each described As the predictive value of block, and the described predictive value obtained is sent to Coding cost acquiring unit;
Coding cost acquiring unit, the predictive value of each the described two field picture block for receiving from predicting unit The Coding cost that each described predictive mode is corresponding is obtained with the actual value of described two field picture block, and by institute State Coding cost to send to coding unit;
Coding unit, for receiving the coding unit price coming from Coding cost acquiring unit, and according to all Described two field picture block is encoded by the predictive mode that in described predictive mode, Coding cost is minimum.
In the first possible implementation of second aspect, described intra prediction mode type includes non-reflecting Emission mode class, basic model class and mapped mode class, wherein said predicting unit includes:
Directly prediction module.For when described predictive mode belongs to non-mapping pattern class or basic model class, Directly invoke the hardware module that described predictive mode is corresponding, obtain the described two field picture under described predictive mode The predictive value of block;
Map prediction module, for when described predictive mode belongs to mapped mode class, by described predictive mode It is mapped on the predictive mode of basic model apoplexy due to endogenous wind, and calls the hardware mould corresponding to the predictive mode after mapping Block, carries out reflection by predicting the outcome of obtaining and penetrates, and obtains the prediction of two field picture block under described predictive mode Value.
In conjunction with in the first possible implementation of second aspect, in implementation possible in second, Described mapping prediction module includes:
Mapping relations determine assembly, for the angle according to described predictive mode Yu basic model apoplexy due to endogenous wind predictive mode Degree dependency, determines the mapping relations of described predictive mode;
Mapping transformation assembly, for being mapped to basic model class according to described mapping relations by described predictive mode In predictive mode on, the reference pixel of two field picture block is carried out mapping transformation according to described mapping relations simultaneously;
Module invocation component, the hardware module corresponding to predictive mode after calling mapping, predicted Result;
Anti-map component, for described predicting the outcome is carried out reflection according to described mapping relations and penetrated, obtains The predictive value of the two field picture block under described predictive mode.
The second in conjunction with second aspect or a kind of possible implementation of second aspect or second aspect may Implementation, in the third possible implementation of second aspect, the angle of described intra prediction mode Degree dependency includes: overlap after vertical/horizontal symmetry, 90-degree rotation after vertical/horizontal symmetry, 90-degree rotation;
When described angle-dependence is vertical/horizontal symmetry, mapping transformation assembly is by corresponding for described predictive mode According in vertical axis/trunnion axis Mirroring Mapping to the predictive mode of basic model apoplexy due to endogenous wind, simultaneously by two field picture block Top reference pixel is according to the vertical axis/trunnion axis Mirroring Mapping conversion of two field picture block, and anti-map component will obtain Predict the outcome carry out accordingly row be inverted;
When horizontal or vertical symmetry after described angle-dependence is 90-degree rotation, mapping transformation assembly will be stated pre- Accordingly according to the prediction mould of vertical axis/trunnion axis Mirroring Mapping to basic model apoplexy due to endogenous wind after survey pattern 90-degree rotation In formula, the procession that predicts the outcome obtained is inverted by anti-map component;
When overlapping after described angle-dependence is 90-degree rotation, described predictive mode is revolved by mapping transformation assembly It turn 90 degrees and map, simultaneously by the left side reference pixel of two field picture block according to the vertical axis/water of two field picture block Flat axle Mirroring Mapping converts, and predicting the outcome of obtaining is gone inversion by anti-map component.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, institute State intra prediction mode and include 35 kinds, be pattern 0~pattern 34 respectively, wherein said non-mapping pattern class bag Including pattern 0 and pattern 1, described basic model class at least includes in pattern 18, pattern 34 and pattern 2 Individual, and described basic model class the most at least includes in pattern 10 and pattern 26.
The second in conjunction with second aspect or a kind of possible implementation of second aspect or second aspect may Implementation or the third possible implementation of second aspect or the 4th kind of possible reality of second aspect Existing mode, in the 5th kind of possible implementation, described device also includes: pattern pre-selection unit, is used for Judge to select one or more predictive mode most probable, as prediction mould to be traveled through by pre- Formula.
By technique scheme, first 35 kinds of predictive modes in HEVC are entered according to angle-dependence Row classification, can be mapped to the predictive mode wherein with angle-dependence in corresponding predictive mode, then adjust The hardware module corresponding with the predictive mode after mapping is predicted, thus so that have dependency Predictive mode common hardware resource, just can realize 35 kinds of prediction moulds of HEVC by fractional hardware module The prediction of formula, it was predicted that accuracy reached the upper limit of standard, be greatly saved hardware resource, meanwhile, by Predictive mode quantity in time reducing logic realization, reduces the complexity that intraframe prediction algorithm realizes, fall The difficulty of low logic realization and workload.
Accompanying drawing explanation
Fig. 1 is infra-frame prediction schematic diagram;
Fig. 2 is the schematic diagram of H.264 intra prediction direction;
Fig. 3 is the schematic diagram of HEVC intra prediction direction;
Fig. 4 is the flow chart of coding and decoding video;
Fig. 5 is the coder structure figure of Video coding;
Fig. 6 is the flow chart of the HEVC intra-frame prediction method that first embodiment of the invention provides;
Fig. 7 is predictive mode relation schematic diagram;
Fig. 8 is the flow chart of the HEVC intra-frame prediction method that second embodiment of the invention provides;
Fig. 9 is a kind of splitting scheme schematic diagram of predictive mode in the second embodiment;
Figure 10 is the mapping schematic diagram that the predictive mode of V minus zone is mapped to the positive district of V;
Figure 11 is the mapping schematic diagram that the reference pixel of V minus zone predictive mode two field picture block is mapped to the positive district of V;
Figure 12 is the mapping schematic diagram that the predictive mode in the positive district of H is mapped to the positive district of V;
Figure 13 is the mapping schematic diagram that the predictive mode of H minus zone is mapped to the positive district of V;
Figure 14 is the mapping schematic diagram that the reference pixel of H minus zone predictive mode two field picture block is mapped to the positive district of V;
Figure 15 is the flow chart of the HEVC intra-frame prediction method that third embodiment of the invention provides;
Figure 16 is the block diagram of the HEVC infra-frame prediction device that fourth embodiment of the invention provides;
Figure 17 is the block diagram of the HEVC infra-frame prediction device that fifth embodiment of the invention provides;
Figure 18 is the block diagram of the HEVC infra-frame prediction device that sixth embodiment of the invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein Only in order to explain the present invention, it is not intended to limit the present invention.
The purpose of coding and decoding video is to save the code stream of transmission video or the space of storage video, and it realized As shown in Figure 4, first: the collection of video, the collection of video is obtained journey by image acquisition equipments such as video cameras; Secondly, video sequence is carried out compression coding, obtains corresponding code stream;Again, to the code after compression coding Stream is transmitted (wireless, wired), or stores;Then, user is decoded obtaining code stream, Obtain decoded video;Finally, user utilizes display device to play out video.Wherein to video counts According to the coder structure carrying out encoding as it is shown in figure 5, include prediction, change quantization and coding, wherein predict Being divided into again two kinds: inter prediction and infra-frame prediction, inter prediction utilizes the information of other frame to be predicted, frame Interior prediction utilizes the information of present frame to be predicted.
Wherein for infra-prediction techniques scheme, in order to realize 35 kinds of predictive modes, prior art is mainly time Go through 35 kinds of predictive modes of HEVC, or by the image information of the most to be predicted piece is carried out pre-judgement, Choose several most probable predictive mode to travel through, according to reference pixel and the prediction of needs traversal of periphery Model prediction goes out the predictive value of current image block, is further calculated Coding cost (calculation code cost Time, the picture quality after encoding and decoding and code stream size will be considered simultaneously), finally from traversed predictive mode In select the predictive mode that Coding cost is minimum, i.e. optimal prediction modes, obtain optimum prediction result, bag Include the division methods of image block and the optimal prediction modes of correspondence, but it is clear that pre-in existing HEVC frame Survey method needs 35 kinds of hardware modules to carry out corresponding prediction, compares logical resource consumption, and the embodiment of the present invention is just It is to solve this problem, just can be realized 35 kinds of predictions by the hardware module of a few prediction module Pattern.In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Embodiment one:
Fig. 6 shows the flow process of the HEVC intra-frame prediction method that first embodiment of the invention provides, in order to just The part relevant to the embodiment of the present invention is illustrate only in explanation.
The HEVC intra-frame prediction method that this example provides includes:
Step S601, the code stream of collection video image, obtain primitive frame image, and described primitive frame image includes The two field picture block of at least two.
Need to get primitive frame image before prediction in conducting frame, primitive frame image is carried out two field picture block and draws Point, primitive frame image division such as can be become the two field picture block of 4*4 pixel or 32*32 pixel, choosing Select different predictive modes with reference to the reference pixel of two field picture block periphery, the pixel in two field picture block to be clicked on Row prediction, to enable normally predict, at least includes two two field picture blocks in a width primitive frame image.
Step S602, angle-dependence according to HEVC intra prediction mode, to pre-in whole described frames Survey pattern is classified, and obtains at least two predictive mode type.
HEVC has 35 kinds of predictive modes, except pattern 0(i.e. Planar pattern) and pattern 1(i.e. DC Pattern), other patterns (pattern 2~pattern 34) have respective prediction direction, i.e. angle information, wherein Its angle information of some predictive modes there is certain dependency, than as it is shown in fig. 7, pattern 25 and pattern 27 vertical symmetry, pattern 11 dextrorotation overlaps with pattern 27 after turning 90 degrees, and pattern 9 turns clockwise With pattern 27 vertical symmetry etc. after 90 degree, by these angle-dependence, to HEVC infra-frame prediction mould Formula is classified, and obtains at least two predictive mode type, can be mapped by the predictive mode of wherein certain apoplexy due to endogenous wind Go to other apoplexy due to endogenous wind, therefore without the hardware module that whole 35 kinds of predictive modes are corresponding, 35 kinds can be realized Prediction, has reached the highest prediction standard.
Step S603, call with described according to the described predictive mode type belonging to predictive mode each described The hardware module that predictive mode type is corresponding, obtains the described two field picture block under predictive mode each described Predictive value.
General in intra-prediction process, need to carry out pre-with predictive mode to be traveled through to two field picture block one by one Survey, obtain predictive value, this step are called and institute according to the predictive mode type belonging to each predictive mode State the hardware module that predictive mode type is corresponding, this hardware module complete prediction work.In the present embodiment in advance Survey mode type at least two, wherein have a basic model class, when predictive mode belongs to basic model class Time, call the corresponding hardware module of basic model class, when belonging to other types, by described predictive mode It is mapped to basic model apoplexy due to endogenous wind, recalls the hardware module that basic model class is corresponding, thus can only lead to Several hardware modules crossing basic model apoplexy due to endogenous wind realize 35 kinds of predictive mode predictions.
Step S604, obtain according to the predictive value of two field picture block each described and the actual value of described two field picture block To the Coding cost that predictive mode each described is corresponding.
After predictive mode to be traveled through is traveled through one by one, it is possible to obtain multiple predictive values of two field picture block, Then the predictive value of each two field picture block and the actual value of described two field picture block are subtracted each other.Quantify, obtain every The Coding cost of the two field picture block under individual predictive mode, i.e. residual error.
Step S605, the basis predictive mode that Coding cost is minimum in whole described predictive modes are to described frame Image block encodes.
Predictive mode (the i.e. optimum prediction that Coding cost is minimum is chosen from the Coding cost that all calculating obtain Pattern) described two field picture block is encoded.When transmitting data, only with transmission optimal prediction modes and residual Difference, decoding end, according to predictive mode, calculates predictive value, then plus residual error, i.e. obtains decoded former Beginning image.
The present embodiment, by being classified by predictive mode, just only needs the hardware module of a few prediction module 35 kinds of prediction module predictions can be realized, reached the upper limit of HEVC forecasting accuracy.Further, since Have shared hardware module, reduce the logical resource consumed, reduce and realize difficulty.
Embodiment two:
Fig. 8 shows the flow process of the HEVC intra-frame prediction method that second embodiment of the invention provides, in order to just The part relevant to the embodiment of the present invention is illustrate only in explanation.
The HEVC intra-frame prediction method that this example provides includes:
Step S801, the code stream of collection video image, obtain primitive frame image, and described primitive frame image includes The two field picture block of at least two;
Step S802, angle-dependence according to HEVC intra prediction mode, to pre-in whole described frames Survey pattern is classified, and obtains at least two predictive mode type.
In the present embodiment, described intra prediction mode type includes non-mapping pattern class, basic model class and reflects Emission mode class, described HEVC intra prediction mode includes 35 kinds, is pattern 0~pattern 34 respectively, wherein Described pattern 0(Planar pattern) and pattern 1(DC pattern) belong to non-mapping pattern class, need design The hardware module that the two predictive mode is corresponding, also to design the predictive mode pair of described basic model class simultaneously The hardware module answered, the predictive mode of described mapped mode apoplexy due to endogenous wind can be mapped to according to angle-dependence substantially Pattern apoplexy due to endogenous wind.Described angle-dependence may include that vertical/horizontal after vertical/horizontal symmetry, 90-degree rotation Overlapping after symmetry, 90-degree rotation, such as pattern 25 and pattern 27 vertical symmetry in Fig. 7, pattern 9 is clockwise With pattern 27 vertical symmetry after 90-degree rotation, pattern 11 dextrorotation overlaps with pattern 27 after turning 90 degrees, That is pattern 25, pattern 11, pattern 9, after certain mapping, it is possible to Land use models 27 Hardware realize, in pattern 2~34, all there is similar dependency.
Therefore as a kind of concrete preferably mode classification, can pattern 0 and pattern 1 be divided into non-mapping Pattern class, is divided into basic model class by pattern 26-pattern 34, and pattern 2-pattern 25 is divided into mapping Pattern class, so only need to design the hardware mould that non-mapping pattern class is corresponding with the predictive mode of basic model apoplexy due to endogenous wind Block, the most only need to design 11 hardware modules, and the predictive mode of mapped mode apoplexy due to endogenous wind can reflect It is mapped to basic model apoplexy due to endogenous wind, realizes prediction by the hardware module that basic mapping class is corresponding.Retouch for convenience State concrete mapping relations, here basic model class be referred to as the positive district of V, mapped mode class be divided into V minus zone, The mapped mode vertical symmetry in the positive district of H, H minus zone, the mapped mode in wherein said V minus zone and the positive district of V, After mapped mode 90-degree rotation in the positive district of H, the mapped mode in district positive with V overlaps, the prediction in H minus zone The mapped mode vertical symmetry in district positive with V after pattern 90-degree rotation is concrete as it is shown in figure 9, by pattern 26-34 Being divided into the positive district of V, pattern 18-25 is divided into V minus zone, and pattern 2-10 is divided into the positive district of H, pattern 11-17 It is divided into H minus zone, it should be noted that owing to pattern 18 is V minus zone and the border of H minus zone, permissible Pattern 18 is divided into V minus zone and H minus zone any region.Further, since the positive district of V, V minus zone, H Positive district, these four regions of H minus zone have angle-dependence, can using any region as basic model class, Other three regions are as mapped mode class, and the predictive mode in these three region may map to described for base This pattern apoplexy due to endogenous wind, these division methods are all within the protection domain of the present embodiment.
Concrete basic model class and the dividing mode of mapped mode class is not the most limited with sample embodiment, as Another embodiment, can be divided into basic model class by pattern 18-34, and pattern 2-17 is divided into mapping Pattern class, the predictive mode dextrorotation of mapped mode apoplexy due to endogenous wind turn 90 degrees the rear and prediction mould of basic model apoplexy due to endogenous wind Formula overlaps, and therefore the predictive mode of mapped mode apoplexy due to endogenous wind can be mapped to basic model apoplexy due to endogenous wind, thus need Want 19 kinds of hardware modules, realize the prediction of predictive mode in 35, saving logic money can also be arrived equally The purpose in source.
In any case but divide, owing to pattern 18, pattern 10 and pattern 26 are the borders in these four regions, Described basic model class at least includes in pattern 18, pattern 34 and pattern 2, described basic model Class the most at least includes in pattern 10 and pattern 26.
If the described predictive mode of step S803 belongs to non-mapping pattern class or basic model class, directly invoke The hardware module that described predictive mode is corresponding, obtains the prediction of described two field picture block under described predictive mode Value.
Current embodiment require that the predictive mode designing non-mapping pattern class and basic model apoplexy due to endogenous wind for hardware mould Block, as a example by predictive mode division methods the most as described in Figure 9, needs exist for design pattern 0, pattern 1 And pattern 26-34 hardware module in 11 altogether, it is assumed that for hardware module 0,1,26-34, if currently selecting The predictive mode selected belongs to non-mapping pattern class, i.e. pattern 0(or pattern 1), then directly invoke hardware module 0(or hardware module 1) complete prediction, obtain the predictive value of two field picture block under current prediction mode, if working as When the predictive mode of front selection belongs to basic model class, i.e. pattern 26-34, now directly correspondence calls hardware Module 26-34 completes V and just predicts, obtains the predictive value of two field picture block under current prediction mode.
If the described predictive mode of step S804 belongs to mapped mode class, described predictive mode is mapped to base On the predictive mode of this pattern apoplexy due to endogenous wind, and call the hardware module corresponding to the predictive mode after mapping, will To predict the outcome and carry out reflection and penetrate, obtain the predictive value of two field picture block under described predictive mode.
If the described predictive mode selected belongs to mapped mode class, need according to predictive mode and basic model The angle-dependence of class, is mapped to predictive mode on the predictive mode of basic model apoplexy due to endogenous wind, and calls mapping After hardware module (one in module 26-34) corresponding to predictive mode be predicted, pre-by obtain Survey result to carry out reflection and penetrate, obtain the predictive value of two field picture block under described predictive mode.Have as one The preferred implementation of body, described step S804 includes:
Step S8041, angle-dependence according to described predictive mode Yu basic model apoplexy due to endogenous wind predictive mode, Determine the mapping relations of described predictive mode.
In the present embodiment, angle-dependence includes that vertical/horizontal is symmetrical, after 90-degree rotation vertical/horizontal symmetrical, Overlap after 90-degree rotation, first this step determines the predictive mode of described predictive mode and basic model apoplexy due to endogenous wind Angle-dependence, and determine concrete mapping relations.
Step S8042, according to described mapping relations, described predictive mode is mapped to the pre-of basic model apoplexy due to endogenous wind In survey pattern, the reference pixel of two field picture block is carried out mapping transformation according to described mapping relations simultaneously.
When described angle-dependence (the most described mapping relations) is vertical/horizontal symmetry, by described prediction mould Formula is accordingly according in vertical axis/trunnion axis Mirroring Mapping to the predictive mode of basic model apoplexy due to endogenous wind, simultaneously by frame figure As the top reference pixel of block converts according to the vertical axis/trunnion axis Mirroring Mapping of two field picture block;
When horizontal or vertical symmetry after described angle-dependence (the most described mapping relations) is 90-degree rotation, To state after predictive mode 90-degree rotation corresponding according to vertical axis/trunnion axis Mirroring Mapping to basic model apoplexy due to endogenous wind On predictive mode;
When overlapping after described angle-dependence (the most described mapping relations) is 90-degree rotation, by described prediction Pattern 90-degree rotation maps, simultaneously by vertical according to two field picture block of the left side reference pixel of two field picture block Axle/trunnion axis Mirroring Mapping conversion.
Step S8043, call the hardware module corresponding to predictive mode after mapping, predicted the outcome;
Step S8044, described predicting the outcome according to described mapping relations, is carried out reflection and penetrate, obtain described The predictive value of the two field picture block under predictive mode.
Owing to mapping process is carried out according to symmetrical relations, it was predicted that result and the result of directly prediction also deposit Certain symmetrical relations, it is therefore desirable to will predict the outcome carries out reflection and penetrate, when described angle-dependence (i.e. Described mapping relations) when being vertical/horizontal symmetry, when reflection is penetrated, predicting the outcome of obtaining is carried out row accordingly and fall Put;When horizontal or vertical symmetry after described angle-dependence (the most described mapping relations) is 90-degree rotation, When reflection is penetrated, the corresponding procession that predicts the outcome obtained is inverted;When described angle-dependence (is reflected described in i.e. Penetrate relation) when being to overlap after 90-degree rotation, when reflection is penetrated, predicting the outcome of obtaining is carried out row accordingly and be inverted.
For the ease of understanding above-mentioned steps S804, with predictive mode division methods as shown in Figure 9 it is the most still Example describes concrete mapping mode, need exist for according to the concrete affiliated area of described predictive mode and Corresponding mapping relations, find hardware module 26-34 that the prediction module in the positive district of V is corresponding, specific as follows:
If described predictive mode belongs to V minus zone, then need to be mapped to this prediction module the positive district of V, pattern Mapping as shown in Figure 10, pattern 18 is mapped to pattern 34, and pattern 19 is mapped to pattern 33 etc., due to V minus zone and the positive district of V are vertical symmetry, therefore also need to carry out reference pixel correspondence mappings, with reference to figure 11, as a example by the prediction block of 32x32, with reference pixel [16] as axis of symmetry, by V minus zone predictive mode Reference pixel is mapped in the positive district of V, further according to the reference pixel after mapping and predictive mode, is predicted meter Calculate predicting the outcome after being mapped.
If current prediction mode belongs to H positive district, then need to be mapped to this prediction module the positive district of V, mould Formula maps as shown in figure 12, and pattern 2 is mapped to pattern 34, and pattern 3 is mapped to pattern 33 etc., here Can directly use former reference pixel, so according to the predictive mode after reference pixel and mapping, carry out pre- Survey predicting the outcome after being calculated mapping.
If current prediction mode belongs to H minus zone, then need to be mapped to this prediction module the positive district of V, mould Formula maps as shown in figure 13, and pattern 17 is mapped to pattern 33, and pattern 16 is mapped to pattern 32 etc., with Sample needs exist for carrying out reference pixel correspondence mappings, with reference to Figure 14, as a example by the prediction block of 32x32, with Reference pixel [16] is axis of symmetry, is mapped in the positive district of V by the reference pixel of H minus zone predictive mode, then root According to the reference pixel after mapping and predictive mode, it is predicted predicting the outcome after being calculated mapping.
After the positive district of V minus zone, H, the predictive mode of H minus zone are mapped to the positive district of V, reference pixel the most and then reflects Penetrate.Mapping process is carried out according to symmetrical relations, it was predicted that result and the result of directly prediction also deposit one Fixed symmetrical relations, it is therefore desirable to will predict the outcome carries out reflection and penetrate, concrete, if as described in Figure 9 pre- Survey mode division method, then in requisition for three kinds of anti-mapping modes, specific as follows:
V minus zone predictive mode and V positive district predictive mode vertical symmetry, it was predicted that after result and directly predict The same vertical symmetry of result, i.e. row are inverted, and need to carry out row and be inverted before output result;
District positive with V predictive mode vertical symmetry after H positive district predictive mode 90-degree rotation, ranks are all inverted, Procession is needed to be inverted before output result.
After H minus zone predictive mode 90-degree rotation, district positive with V predictive mode overlaps, and row is inverted, output knot Need into inversion before Guo.
Step S805, obtain according to the predictive value of two field picture block each described and the actual value of described two field picture block To the Coding cost that predictive mode each described is corresponding;
Step S806, the basis predictive mode that Coding cost is minimum in whole described predictive modes are to described frame Image block encodes.
After predictive mode to be traveled through is traveled through one by one, it is possible to obtain the predictive value of multiple two field picture block, Calculate Coding cost again and select the predictive mode that Coding cost is minimum, i.e. optimal prediction modes.In transmission During data, only by transmission optimal prediction modes and residual error, decoding end, according to predictive mode, calculates predictive value, Then plus residual error, decoded image is i.e. obtained.
The present embodiment and the concrete preferred steps giving step S603 on the basis of embodiment one, the most also Give the concrete method dividing predictive mode, it is apparent that the present embodiment includes but not limited to this, as long as energy Enough according to angular relationship, the predictive mode of a portion is mapped on other mapped modes, thus reaches Reduce the dividing mode of purpose of hardware module all within the protection domain of the present embodiment.
Embodiment three:
Figure 15 shows the flow process of the HEVC intra-frame prediction method that third embodiment of the invention provides, in order to It is easy to illustrate to illustrate only the part relevant to the embodiment of the present invention.
The HEVC intra-frame prediction method that this example provides includes:
Step S151, judge to select one or more predictive mode most probable by pre-, as Predictive mode to be traveled through;
Step S152, the code stream of collection video image, obtain primitive frame image, and described primitive frame image includes The two field picture block of at least two;
Step S153, angle-dependence according to HEVC intra prediction mode, to pre-in whole described frames Survey pattern is classified, and obtains at least two predictive mode type;
If the described predictive mode of step S154 belongs to non-mapping pattern class or basic model class, directly invoke The hardware module that described predictive mode is corresponding, obtains the prediction of described two field picture block under described predictive mode Value;
If the described predictive mode of step S155 belongs to mapped mode class, described predictive mode is mapped to base On the predictive mode of this pattern apoplexy due to endogenous wind, and call the hardware module corresponding to the predictive mode after mapping, will To predict the outcome and carry out reflection and penetrate, obtain the predictive value of two field picture block under described predictive mode;
Step S156, obtain according to the predictive value of two field picture block each described and the actual value of described two field picture block To the Coding cost that predictive mode each described is corresponding;
Step S157, the basis predictive mode that Coding cost is minimum in whole described predictive modes are to described frame Image block encodes.
Originally add step S151 on the basis of being implemented in embodiment two, the present embodiment by embodiment two scheme with The pre-judgement of intra prediction mode is used in combination.First pass through pre-judgement, pick out 35 kinds of predictive modes and may be used Several predictions of energy, then use the scheme in embodiment two to travel through select predictive mode, Finally give optimal prediction modes.
Anticipation described here is open close crosses the information realization analyzing image, and analysis method can include but not limited to: Rim detection, texture analysis, analysis close on the optimal prediction modes predicting block, are judged by prediction, select Go out N kind predictive mode (0 < N < 35) of most likely optimal prediction modes in 35 kinds of predictive modes, this N Kind predictive mode can be one of all combinations of 35 kinds of predictive modes.So just might be used before step S156 To obtain N number of predictive value, then calculate this corresponding residual error of N number of prediction, it was predicted that the bit that pattern needs, After rebuilding in combination with analysis, image and the difference degree of original image, select the predictive mode of optimum, for Video coding provides optimized integration.
Judged by pre-, it is not necessary to each image code block is carried out 35 predictions and calculates, only need to calculate most probable It is several predictive modes of optimal prediction modes, decreases amount of calculation, improve coding rate.
Embodiment four:
Figure 16 shows the structure of the HEVC infra-frame prediction device that fourth embodiment of the invention provides, in order to It is easy to illustrate to illustrate only the part relevant to the embodiment of the present invention.
The HEVC infra-frame prediction device that this example provides includes:
Image acquisition unit 161, for gathering the code stream of video image, obtains primitive frame image, described former Beginning two field picture includes the two field picture block of at least two;
Pattern classification unit 162, according to the angle-dependence of HEVC intra prediction mode, to whole institutes State intra prediction mode to classify, obtain at least two predictive mode type;
Predicting unit 163, for adjusting according to the described predictive mode type belonging to predictive mode each described By the hardware module corresponding with described predictive mode type, obtain described under predictive mode each described The predictive value of two field picture block, and the described predictive value obtained is sent to Coding cost acquiring unit;
Coding cost acquiring unit 164, pre-for each described two field picture block of receiving from predicting unit Measured value obtains, with the actual value of described two field picture block, the Coding cost that each described predictive mode is corresponding, and Described Coding cost is sent to coding unit;
Coding unit 165, comes from the coding unit price of Coding cost acquiring unit for receiving, and according to Described two field picture block is encoded by the predictive mode that in whole described predictive modes, Coding cost is minimum.
Each functional unit 161-165 correspondence that the present embodiment provides achieves the step in embodiment one S 601-S605, wherein said pattern classification unit 162 needs the angle according to HEVC intra prediction mode Dependency, classifies to whole described intra prediction modes, obtains at least two predictive mode type, The predictive mode in some type therein is made to may map to, in another predictive mode type, so use Hardware module corresponding to fractional prediction pattern just can realize the prediction of 35 kinds of predictive modes, it was predicted that accuracy Arrive peak, decrease logical resource simultaneously, reduce development difficulty.
Embodiment five:
Figure 17 shows the structure of the HEVC infra-frame prediction device that fifth embodiment of the invention provides, in order to It is easy to illustrate to illustrate only the part relevant to the embodiment of the present invention.
The HEVC infra-frame prediction device that this example provides includes:
Image acquisition unit 171, for gathering the code stream of video image, obtains primitive frame image, described former Beginning two field picture includes the two field picture block of at least two;
Pattern classification unit 172, according to the angle-dependence of HEVC intra prediction mode, to whole institutes State intra prediction mode to classify, obtain at least two predictive mode type;
Predicting unit 173, for adjusting according to the described predictive mode type belonging to predictive mode each described By the hardware module corresponding with described predictive mode type, obtain described under predictive mode each described The predictive value of two field picture block, and the described predictive value obtained is sent to Coding cost acquiring unit;
Coding cost acquiring unit 174, pre-for each described two field picture block of receiving from predicting unit Measured value obtains, with the actual value of described two field picture block, the Coding cost that each described predictive mode is corresponding, and Described Coding cost is sent to coding unit;
Coding unit 175, comes from the coding unit price of Coding cost acquiring unit for receiving, and according to Described two field picture block is encoded by the predictive mode that in whole described predictive modes, Coding cost is minimum.
In the present embodiment, described HEVC intra prediction mode include non-mapping pattern class, basic model class and Mapped mode class, described predicting unit 173 includes:
Directly prediction module 1731.For belonging to non-mapping pattern class or basic model class when described predictive mode Time, directly invoke the hardware module that described predictive mode is corresponding, obtain the described frame under described predictive mode The predictive value of image block;
Map prediction module 1732, for when described predictive mode belongs to mapped mode class, by described prediction Mode map on the predictive mode of basic model apoplexy due to endogenous wind, and call corresponding to the predictive mode after mapping hard Part module, carries out reflection by predicting the outcome of obtaining and penetrates, and obtains two field picture block under described predictive mode Predictive value.
Being further used as preferred embodiment, described mapping prediction module 1732 includes:
Mapping relations determine assembly, for the angle according to described predictive mode Yu basic model apoplexy due to endogenous wind predictive mode Degree dependency, determines the mapping relations of described predictive mode;
Mapping transformation assembly, for being mapped to basic model class according to described mapping relations by described predictive mode In predictive mode on, the reference pixel of two field picture block is carried out mapping transformation according to described mapping relations simultaneously;
Module invocation component, the hardware module corresponding to predictive mode after calling mapping, predicted Result;
Anti-map component, for described predicting the outcome is carried out reflection according to described mapping relations and penetrated, obtains The predictive value of the two field picture block under described predictive mode.
Each functional unit each step of achieving in embodiment two corresponding with functional module that the present embodiment provides Suddenly, on the other hand the present embodiment to provide the one of predicting unit 173 on the basis of embodiment two the most excellent The structure of choosing, present embodiments provides a kind of predictive mode splitting scheme, 35 kinds of predictive modes is divided into three Class, including non-mapping pattern class, basic model class and mapped mode class, when realizing, only need to design non-reflecting The hardware module that emission mode class is corresponding with the mapped mode of basic model apoplexy due to endogenous wind, and the prediction of mapped mode apoplexy due to endogenous wind Module may map to basic model apoplexy due to endogenous wind, thus omits the predictive mode pair of design map pattern apoplexy due to endogenous wind The hardware module answered, saves logical resource.The present embodiment the most specifically limits basic model class and mapped mode The predictive mode that class is comprised, if the predictive mode of mapped mode apoplexy due to endogenous wind and the prediction mould of basic model apoplexy due to endogenous wind Formula has angle-dependence, simultaneously by the symmetry according to angle-dependence that predicts the outcome, coincidence relation, Reflect the predictive value penetrating the two field picture block that i.e. can get under current prediction mode accordingly.
Embodiment six:
Figure 18 shows the structure of the HEVC infra-frame prediction device that sixth embodiment of the invention provides, in order to It is easy to illustrate to illustrate only the part relevant to the embodiment of the present invention.
The HEVC infra-frame prediction device that this example provides includes:
Pattern pre-selection unit 181, for judging to select one or more pre-most probable by pre- Survey pattern, as predictive mode to be traveled through.
Image acquisition unit 182, for gathering the code stream of video image, obtains primitive frame image, described former Beginning two field picture includes the two field picture block of at least two;
Pattern classification unit 183, according to the angle-dependence of HEVC intra prediction mode, to whole institutes State intra prediction mode to classify, obtain at least two predictive mode type;
Predicting unit 184, for adjusting according to the described predictive mode type belonging to predictive mode each described By the hardware module corresponding with described predictive mode type, obtain described under predictive mode each described The predictive value of two field picture block, and the described predictive value obtained is sent to Coding cost acquiring unit;
Coding cost acquiring unit 185, pre-for each described two field picture block of receiving from predicting unit Measured value obtains, with the actual value of described two field picture block, the Coding cost that each described predictive mode is corresponding, and Described Coding cost is sent to coding unit;
Coding unit 186, comes from the coding unit price of Coding cost acquiring unit for receiving, and according to Described two field picture block is encoded by the predictive mode that in whole described predictive modes, Coding cost is minimum.
In the present embodiment, described HEVC intra prediction mode include non-mapping pattern class, basic model class and Mapped mode class, described predicting unit 184 includes:
Directly prediction module 1841.For belonging to non-mapping pattern class or basic model class when described predictive mode Time, directly invoke the hardware module that described predictive mode is corresponding, obtain the described frame under described predictive mode The predictive value of image block;
Map prediction module 1842, for when described predictive mode belongs to mapped mode class, by described prediction Mode map on the predictive mode of basic model apoplexy due to endogenous wind, and call corresponding to the predictive mode after mapping hard Part module, carries out reflection by predicting the outcome of obtaining and penetrates, and obtains two field picture block under described predictive mode Predictive value.
Each functional unit each step of achieving in embodiment three corresponding with functional module that the present embodiment provides Suddenly, on the other hand, the present embodiment adds pattern pre-selection unit 181 on the basis of embodiment five, real Execute example five case to be used in combination with the pre-judgement of intra prediction mode.First pass through pre-judgement, pick out 35 kinds in advance The most probable several predictions of survey pattern, then use the scheme in embodiment two to select predictive mode Traveling through, finally give optimal prediction modes, inner described anticipation is open close crosses the information realization analyzing image, Analysis method can include but not limited to: rim detection, texture analysis, analysis close on the optimum pre-of prediction block Survey pattern, the present embodiment calculates without each image code block carries out 35 predictions, only need to calculate most likely Several predictive modes of optimal prediction modes, decrease amount of calculation, improve coding rate.
It will appreciated by the skilled person that all or part of step realizing in above-described embodiment method The program that can be by completes to instruct relevant hardware, and described program can be stored in a computer In read/write memory medium, described storage medium, such as ROM/RAM, disk, CD etc..
The above, the only present invention preferably detailed description of the invention, but protection scope of the present invention not office Being limited to this, any those familiar with the art, can be easily in the technical scope that the invention discloses The change expected or replacement, all should contain within protection scope of the present invention.Therefore, the protection of the present invention Scope should be as the criterion with scope of the claims.

Claims (10)

1. an efficient video coding intra-frame prediction method, it is characterised in that described method includes:
Gathering the code stream of video image, obtain primitive frame image, described primitive frame image includes the two field picture block of at least two;
According to the angle-dependence of efficient video coding HEVC intra prediction mode, whole described intra prediction modes is classified, obtain at least two predictive mode type;
Call the hardware module corresponding with described predictive mode type according to the described predictive mode type belonging to predictive mode each described, obtain the predictive value of described two field picture block under predictive mode each described;
Actual value according to the predictive value of two field picture block each described with described two field picture block obtains the Coding cost that each described predictive mode is corresponding;
According to the predictive mode that Coding cost in whole described predictive modes is minimum, described two field picture block is encoded.
2. method as claimed in claim 1, it is characterized in that, described intra prediction mode type includes non-mapping pattern class, basic model class and mapped mode class, described calling the hardware module corresponding with described predictive mode type according to the described predictive mode type belonging to predictive mode each described, the predictive value obtaining the described two field picture block under predictive mode each described specifically includes:
If described predictive mode belongs to non-mapping pattern class or basic model class, directly invoke the hardware module that described predictive mode is corresponding, obtain the predictive value of described two field picture block under described predictive mode;
If described predictive mode belongs to mapped mode class, described predictive mode is mapped on the predictive mode of basic model apoplexy due to endogenous wind, and call the hardware module corresponding to the predictive mode after mapping, predicting the outcome of obtaining is carried out reflection penetrate, obtain the predictive value of two field picture block under described predictive mode.
3. method as claimed in claim 2, it is characterized in that, described described predictive mode is mapped on the predictive mode of basic model apoplexy due to endogenous wind, and call the hardware module corresponding to the predictive mode after mapping, predicting the outcome of obtaining being carried out reflection penetrate, the predictive value obtaining the two field picture block under described predictive mode includes:
According to the angle-dependence of described predictive mode Yu basic model apoplexy due to endogenous wind predictive mode, determine the mapping relations of described predictive mode;
According to described mapping relations, described predictive mode is mapped on the predictive mode of basic model apoplexy due to endogenous wind, the reference pixel of two field picture block is carried out mapping transformation according to described mapping relations simultaneously;
Call the hardware module corresponding to the predictive mode after mapping, predicted the outcome;
Described predicting the outcome according to described mapping relations, is carried out reflection and penetrate, obtains the predictive value of two field picture block under described predictive mode.
4. method as described in any one of claim 1-3, it is characterised in that the angle-dependence of described intra prediction mode includes: overlap after vertical/horizontal symmetry, 90-degree rotation after vertical/horizontal symmetry, 90-degree rotation;
When described angle-dependence is vertical/horizontal symmetry, by described predictive mode accordingly according in vertical axis/trunnion axis Mirroring Mapping to the predictive mode of basic model apoplexy due to endogenous wind, simultaneously by the top reference pixel of two field picture block according to the vertical axis/trunnion axis Mirroring Mapping conversion of two field picture block, when reflection is penetrated, predicting the outcome of obtaining is carried out row accordingly and be inverted;
When horizontal or vertical symmetry after described angle-dependence is 90-degree rotation, corresponding according in vertical axis/trunnion axis Mirroring Mapping to the predictive mode of basic model apoplexy due to endogenous wind after stating predictive mode 90-degree rotation, the procession that predicts the outcome that will obtain when reflection is penetrated is inverted;
When overlapping after described angle-dependence is 90-degree rotation, described predictive mode 90-degree rotation is mapped, simultaneously by the left side reference pixel of two field picture block according to the vertical axis/trunnion axis Mirroring Mapping conversion of two field picture block, when reflection is penetrated, predicting the outcome of obtaining is gone inversion.
5. method as claimed in claim 4, it is characterized in that, described intra prediction mode includes 35 kinds, it is pattern 0~pattern 34 respectively, wherein said non-mapping pattern class includes pattern 0 and pattern 1, described basic model class at least includes in pattern 18, pattern 34 and pattern 2, and described basic model class the most at least includes in pattern 10 and pattern 26.
6. an efficient video coding infra-frame prediction device, it is characterised in that described device includes:
Image acquisition unit, for gathering the code stream of video image, obtains primitive frame image, and described primitive frame image includes the two field picture block of at least two;
Pattern classification unit, according to the angle-dependence of HEVC intra prediction mode, classifies to whole described intra prediction modes, obtains at least two predictive mode type;
Predicting unit, for calling the hardware module corresponding with described predictive mode type according to the described predictive mode type belonging to predictive mode each described, obtain the predictive value of described two field picture block under predictive mode each described, and the described predictive value obtained is sent to Coding cost acquiring unit;
Coding cost acquiring unit, the predictive value of each described two field picture block for receiving from predicting unit obtains the Coding cost that each described predictive mode is corresponding, and sends described Coding cost to coding unit with the actual value of described two field picture block;
Coding unit, for receiving the Coding cost coming from Coding cost acquiring unit, and encodes described two field picture block according to the predictive mode that Coding cost in whole described predictive modes is minimum.
7. device as claimed in claim 6, it is characterised in that described intra prediction mode type includes non-mapping pattern class, basic model class and mapped mode class, and wherein said predicting unit includes:
Directly prediction module, for when described predictive mode belongs to non-mapping pattern class or basic model class, directly invokes the hardware module that described predictive mode is corresponding, obtains the predictive value of described two field picture block under described predictive mode;
Map prediction module, for when described predictive mode belongs to mapped mode class, described predictive mode is mapped on the predictive mode of basic model apoplexy due to endogenous wind, and call the hardware module corresponding to the predictive mode after mapping, predicting the outcome of obtaining is carried out reflection penetrate, obtain the predictive value of two field picture block under described predictive mode.
8. device as claimed in claim 7, it is characterised in that described mapping prediction module includes:
Mapping relations determine assembly, for the angle-dependence according to described predictive mode Yu basic model apoplexy due to endogenous wind predictive mode, determine the mapping relations of described predictive mode;
Mapping transformation assembly, for described predictive mode is mapped to the predictive mode of basic model apoplexy due to endogenous wind according to described mapping relations, carries out mapping transformation by the reference pixel of two field picture block according to described mapping relations simultaneously;
Module invocation component, the hardware module corresponding to predictive mode after calling mapping, predicted the outcome;
Anti-map component, for described predicting the outcome is carried out reflection according to described mapping relations and penetrated, obtains the predictive value of two field picture block under described predictive mode.
9. device as described in any one of claim 6-8, it is characterised in that the angle-dependence of described intra prediction mode includes: overlap after vertical/horizontal symmetry, 90-degree rotation after vertical/horizontal symmetry, 90-degree rotation;
When described angle-dependence is vertical/horizontal symmetry, mapping transformation assembly by described predictive mode accordingly according in vertical axis/trunnion axis Mirroring Mapping to the predictive mode of basic model apoplexy due to endogenous wind, being converted according to vertical axis/trunnion axis Mirroring Mapping of two field picture block by the top reference pixel of two field picture block, predicting the outcome of obtaining is carried out row inversion by anti-map component accordingly simultaneously;
When horizontal or vertical symmetry after described angle-dependence is 90-degree rotation, mapping transformation assembly will be stated after predictive mode 90-degree rotation accordingly according in vertical axis/trunnion axis Mirroring Mapping to the predictive mode of basic model apoplexy due to endogenous wind, and what anti-map component will obtain predict the outcome, and procession is inverted;
When overlapping after described angle-dependence is 90-degree rotation, described predictive mode 90-degree rotation is mapped by mapping transformation assembly, simultaneously by the left side reference pixel of two field picture block according to the vertical axis/trunnion axis Mirroring Mapping conversion of two field picture block, predicting the outcome of obtaining is gone inversion by anti-map component.
10. device as claimed in claim 9, it is characterized in that, described intra prediction mode includes 35 kinds, it is pattern 0~pattern 34 respectively, wherein said non-mapping pattern class includes pattern 0 and pattern 1, described basic model class at least includes in pattern 18, pattern 34 and pattern 2, and described basic model class the most at least includes in pattern 10 and pattern 26.
CN201310115622.4A 2013-04-03 2013-04-03 Efficient video coding intra-frame prediction method and device Active CN103227921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310115622.4A CN103227921B (en) 2013-04-03 2013-04-03 Efficient video coding intra-frame prediction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310115622.4A CN103227921B (en) 2013-04-03 2013-04-03 Efficient video coding intra-frame prediction method and device

Publications (2)

Publication Number Publication Date
CN103227921A CN103227921A (en) 2013-07-31
CN103227921B true CN103227921B (en) 2016-08-10

Family

ID=48838159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310115622.4A Active CN103227921B (en) 2013-04-03 2013-04-03 Efficient video coding intra-frame prediction method and device

Country Status (1)

Country Link
CN (1) CN103227921B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016061743A1 (en) * 2014-10-21 2016-04-28 Mediatek Singapore Pte. Ltd. Segmental prediction for video coding
CN106993192B (en) * 2017-04-14 2019-07-19 合肥工业大学 The angle prediction circuit and its prediction technique of intra prediction in coding and decoding video
AU2020358175A1 (en) * 2019-10-03 2022-04-14 Huawei Technologies Co., Ltd. Coding process for geometric partition mode
CN111586420B (en) * 2020-04-30 2022-09-20 中山大学 Mirror image template matching intra-frame prediction method and device and video decoding method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905680A (en) * 2005-07-27 2007-01-31 松下电器产业株式会社 Moving picture coding apparatus, method and program
CN1921630A (en) * 2005-08-27 2007-02-28 三星电子株式会社 Apparatus and method for video encoding/decoding and recording medium
CN101321284A (en) * 2007-06-10 2008-12-10 华为技术有限公司 Encoding/decoding method, equipment and system
CN101330617A (en) * 2008-07-31 2008-12-24 上海交通大学 Hardware implementing method and apparatus for anticipater within multi-standard frame based on mode mapping
WO2012033373A2 (en) * 2010-09-08 2012-03-15 Samsung Electronics Co., Ltd. Low complexity transform coding using adaptive dct/dst for intra-prediction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905680A (en) * 2005-07-27 2007-01-31 松下电器产业株式会社 Moving picture coding apparatus, method and program
CN1921630A (en) * 2005-08-27 2007-02-28 三星电子株式会社 Apparatus and method for video encoding/decoding and recording medium
CN101321284A (en) * 2007-06-10 2008-12-10 华为技术有限公司 Encoding/decoding method, equipment and system
CN101330617A (en) * 2008-07-31 2008-12-24 上海交通大学 Hardware implementing method and apparatus for anticipater within multi-standard frame based on mode mapping
WO2012033373A2 (en) * 2010-09-08 2012-03-15 Samsung Electronics Co., Ltd. Low complexity transform coding using adaptive dct/dst for intra-prediction

Also Published As

Publication number Publication date
CN103227921A (en) 2013-07-31

Similar Documents

Publication Publication Date Title
CN113272866A (en) Point cloud compression using space-filling curves for detail level generation
CN102577383B (en) Hierarchy based on coding unit is for the method and apparatus encoding video and for the method and apparatus being decoded video
CN109196559A (en) The motion compensation of dynamic voxelization point cloud is compressed
CN100531396C (en) Image encoding device and method, image decoding device and method
KR102609776B1 (en) Point cloud data processing method and device
CN113994383A (en) Point cloud coding and decoding method and device
CN103227921B (en) Efficient video coding intra-frame prediction method and device
CN101710993B (en) Block-based self-adaptive super-resolution video processing method and system
CN104919798B (en) The method and apparatus of quantization matrix coding
CN109313820A (en) Three-dimensional data coding method, coding/decoding method, code device, decoding apparatus
CN106851293A (en) For the device of the decoding image of infra-frame prediction
CN101404766B (en) Multi-view point video signal encoding method
CN105959706A (en) Image encoding device, image decoding device, image encoding method, and image decoding method
CN103402097B (en) A kind of free viewpoint video depth map encoding method and distortion prediction method thereof
CN104618724B (en) Video coding or the method and device of decoding
CN106464890A (en) Scalable video encoding/decoding method and apparatus
CN103596003B (en) Interframe predication quick mode selecting method for high-performance video coding
CN108924551A (en) The prediction technique and relevant device of video image coding pattern
CN105519108A (en) Quantization matrix (qm) coding based on weighted prediction
CN105308970B (en) The method and apparatus that video is coded and decoded for the position of integer pixel
CN101262607B (en) Two-folded prediction video coding and decoding method and device
Rüfenacht et al. Hierarchical anchoring of motion fields for fully scalable video coding
CN103997635A (en) Synthesis viewpoint distortion prediction method and coding method of free viewpoint video
CN110062228A (en) 360 degree of video quick intraframe prediction algorithms based on WMSE
US20240137502A1 (en) Systems and methods for encoding and decoding video with memory-efficient prediction mode selection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant