CN101365137B - Motion compensation reference data loading method and apparatus, decoder, encoding and decoding system - Google Patents

Motion compensation reference data loading method and apparatus, decoder, encoding and decoding system Download PDF

Info

Publication number
CN101365137B
CN101365137B CN 200810216099 CN200810216099A CN101365137B CN 101365137 B CN101365137 B CN 101365137B CN 200810216099 CN200810216099 CN 200810216099 CN 200810216099 A CN200810216099 A CN 200810216099A CN 101365137 B CN101365137 B CN 101365137B
Authority
CN
China
Prior art keywords
written
search window
data
reference block
module
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.)
Expired - Fee Related
Application number
CN 200810216099
Other languages
Chinese (zh)
Other versions
CN101365137A (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 CN 200810216099 priority Critical patent/CN101365137B/en
Publication of CN101365137A publication Critical patent/CN101365137A/en
Application granted granted Critical
Publication of CN101365137B publication Critical patent/CN101365137B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method for loading motion compensation reference data, which comprises the following steps of loading reference block data according to the size of a preset searching window; judging whether the searching window hits a reference block of a current image or not, if the searching window hits the reference block, obtaining the reference block data hit by the searching window, otherwise, obtaining the reference block data which is not hit by the searching window from an external memorizer. By using the searching window, the embodiment of the invention pre-loads the motion compensation reference data; when the motion compensation is conducted, if the motion compensation is hit by the searching window, the hit reference data can be directly obtained from the reference data pre-loaded by using the searching window, so as to avoid obtaining the reference data to the external memorizer through a bus line for a plurality of times, and reducing the influence on loading caused by bus line delay, thereby improving the efficiency of the reference data loading and the decoding efficiency. The embodiment of the invention further provides the conference data loading of the motion compensation, a decoder, and a coding and decoding system.

Description

Motion compensation reference data loading method and device and decoder and coding/decoding system
Technical field
The present invention relates to multimedia technology field, relate in particular to motion compensation reference data loading method and device and decoder and coding/decoding system.
Background technology
In coding and decoding video,, usually use estimation and motion compensation technique for interframe encode.Inter prediction process during coding generally includes: at first carry out the process of estimation, promptly according to certain algorithm search and current block process of the piece of " similar " in the former frame of present frame or former frame.In case find in the frame in front to present frame in the most similar piece of piece, just use the reference block of this piece, and note the distance between current block and the reference block, be i.e. the motion vector of current block (MV) as current block.This reference block is used for current block is predicted that being used for therein, the frame of searching for reference piece is called reference frame.Arrive optimical block at motion estimation search and passed through interpolation algorithm later on, calculate non-integer picture element (1/2,1/4,1/8 etc. pixel accuracy), obtain predicting piece, then the current block and the difference (residual error data) of prediction piece are carried out DCT (discrete cosine transform) conversion, quantification, scanning, at last residual error coefficient and motion vector after the scanning are carried out variable-length encoding, form code stream.
During decoding, decode motion vector and residual error data earlier, through counter-scanning, inverse transformation, inverse quantization obtains the data of motion vector reality, gets the reference block data according to motion vector then, reference block is carried out filtering interpolation obtain predicting blocks of data, to predict that then blocks of data carries out motion compensation with residual error data, reconstruct the reconstructed blocks data of current block.Therefore in order to carry out motion compensation, need before filtering interpolation, be written into the reference data of current image block.
Prior art generally is according to estimation vector ordering grouping the motion compensation reference blocks of data to be united the method that is written into, at first decode the vector of estimation, carry out the grouping arranging order of motion vector then, carry out being written into uniting of reference block moving compensating data according to group result.
The inventor is in realizing process of the present invention, find that there is following shortcoming at least in prior art: unite when being written into, in order once to plant data into a plurality of, usually the data that are written into comprise other non-reference block data, promptly being written into data volume can increase, can cause the waste of bus bandwidth, and being written into time-delay, influenced by bus time-delay bigger, influences decoder capabilities.
Summary of the invention
The invention provides a kind of motion compensation reference data loading method, device and decoder and coding/decoding system, can improve the efficient that reference data is written into, reduced the influence of bus time-delay, improved decoding performance being written into.
A kind of motion compensation reference data loading method comprises:
Be written into the reference block data according to default search window size;
Judge whether described search window hits the reference block of current image block;
If obtain the reference block data that search window is hit;
Otherwise, obtain the miss reference block data of search window from external memory storage.
A kind of motion compensation reference data device for loading comprises:
Be preloaded into module, be used for being written into the reference block data according to default search window size;
The search window judge module is used to judge whether described search window hits the reference block of current image block;
The hiting data acquisition module, be used for described search window judge module be judged as be after, obtain the reference block data of hitting from described being preloaded into the reference block data that module is written into;
The external data acquisition module is used for obtaining the miss reference block data of search window from external memory storage after described search window judge module is judged as not.
A kind of decoder comprises:
Be preloaded into module, be used for being written into the reference block data according to default search window size;
The search window memory module is used to store the described reference block data that module is written into that are preloaded into;
The search window judge module is used to judge whether described search window hits the reference block of current image block;
The hiting data acquisition module, be used for described search window judge module be judged as be after, from the search window data of described search window memory module, obtain the reference block data of hitting;
The external data acquisition module is used for obtaining the miss reference block data of search window from external memory storage after described search window judge module is judged as not;
Motion compensating module is used for reference block data that reference block data that described hiting data acquisition module is obtained or described external data acquisition module obtain and carries out filtering interpolation and handle, and obtains the decoded data of current image block.
A kind of coding/decoding system comprises:
Be preloaded into module, be used for when coding, utilizing search window to be written into the required reference data of estimation, or be used for when decoding, being written into the required reference block data of motion compensation according to default search window size;
The search window memory module is used for being preloaded into the estimation reference data that module is written in that when coding storage is described, or is used for when decoding that storage is described to be preloaded into the motion compensation reference data that module is written into;
The search window judge module is used for judging whether described default search window hits the reference block of current image block when decoding;
The hiting data acquisition module, be used for described search window judge module be judged as be after, from the search window data of described search window memory module, obtain the reference block data of hitting;
The external data acquisition module is used for obtaining the miss reference block data of search window from external memory storage after described search window judge module is judged as not.
The embodiment of the invention is by using search window, be written into motion compensation reference data in advance, when motion compensation, if search window is hit, then can directly from the search window data, obtain reference data, can avoid repeatedly obtaining reference data to external memory storage, reduce the influence of bus time-delay being written into by bus, thereby improve the efficient that reference data is written into, improved the efficient of decoding.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of motion compensation reference data loading method embodiment one provided by the invention;
Fig. 2 is the schematic flow sheet of motion compensation reference data loading method embodiment two provided by the invention;
Fig. 3 is written into schematic diagram for the search window data increment;
Fig. 4 is the explanation schematic diagram that is written into the unit;
Fig. 5 is written into schematic diagram for uniting;
Fig. 6 is the structural representation of motion compensation reference data device for loading embodiment one provided by the invention;
Fig. 7 is the structural representation of motion compensation reference data device for loading embodiment two provided by the invention;
The decoder architecture schematic diagram that Fig. 8 provides for the embodiment of the invention;
Figure 9 shows that the structural representation of the coding/decoding system that the embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the schematic flow sheet of motion compensation reference data loading method embodiment one provided by the invention, and as shown in Figure 1, this method comprises the steps:
S10, the default search window size of basis are written into the reference block data;
The present invention has introduced the search window notion of coding side when decode video data, be used for being written in advance reference data.Particularly, configure the search window size, according to the search window size of setting, be written into the search window data (reference block data) of corresponding size in advance, the search window data have here comprised the reference data that is used for motion compensation, a plurality of reference block data are arranged, and these reference block data correspondences are used for the reference block data of estimation when coding.
S11, judge whether described search window hits the reference block of current image block, if, execution in step S12, otherwise execution in step S13;
During decoding, before carrying out motion compensation, then need to find the reference block of current image block, reference block is carried out filtering interpolation, obtain the prediction piece, and utilize prediction blocks of data and residual error data to reconstruct the reconstructed blocks data of current image block.In the present embodiment, some search window data have been written in advance, therefore judge at first whether the reference block of current image block falls in the search window, it is the reference block whether search window hits current image block, if hit, directly from the search window data, obtain reference block, otherwise obtain from external memory storage again.
S12, from described search window data, obtain the reference block data that search window is hit;
As previously mentioned, if search window is hit, illustrate that the reference block of current image block can directly obtain from the search window data.
S13, obtain the miss reference block data of search window from external memory storage.
If search window is not hit, then can obtain the reference block data according to the mode of prior art, because the reference block data are stored in the external memory storage, therefore need obtain reference data from external memory storage.Particularly, can adopt and unite the method that is written into, also can adopt the method that is written into separately, promptly be written into miss reference block data singly, because about 99% reference block can fall in the search window, therefore miss probability is very low, even all use the method that is written into separately, also can not have influence on whole efficiency.
The embodiment of the invention is by using search window, be written into motion compensation reference data in advance, when motion compensation, if search window is hit, then can directly from the search window data, obtain reference data, experiment shows, reference block about 99% can fall within the search window of setting, so motion compensation reference data loading method that uses the embodiment of the invention to provide, can avoid repeatedly obtaining reference data to external memory storage by bus, reduced the influence of bus time-delay, improved the efficient of decoding being written into.
Fig. 2 is the schematic flow sheet of motion compensation reference data loading method embodiment two provided by the invention, in the present embodiment, still the method that adopts the search window preload of data to go under most of situation realizes being written into of reference data, for the miss situation of search window, then adopt to unite and be written into and be written into separately the method that combines, judging earlier promptly whether miss reference block can unite is written into, if can just use and unite the method that is written into, if could would adopt the method that is written into separately, further improved the efficient that is written into.Particularly, as shown in Figure 2, method comprises:
S20, search window preload of data are gone into;
Be written into search window data (being the reference block data) at first, in advance.Particularly, the mode that is written into of search window data has many, does not limit.But be written into efficient in order to improve in the embodiment of the invention, the method that has adopted increment to be written into, fixing because the size of search window is the frame level, the search window of adjacent macroblocks has most of overlapping, therefore this to be written into can be that increment is written into, increment is written into a columns certificate as required at every turn.As shown in Figure 3, for the N+1 macro block, in being written into process, because the continuity of the macro block computing that is linked in sequence, do not need all to be written into the data of search window size at every turn, can on loaded basis, do increment and be written into, only be written into the boundary member that the current search window increases with respect to a last macro block search window, i.e. a row macro block at every turn.
The search window size can be arranged to configurable, level has ± 64, ± 32, ± selector switch of 16 pixels, vertically have ± 32, ± selector switch of 16 pixels, can determine the search window size by by-pass cock, further save the amount of being written into, also promptly saved the bus holding time.
S21, resolve code stream, obtain the motion vector of current image block; Promptly code stream is resolved, decode the motion vector in the current macro information.
S22, judge according to motion vector whether reference block falls in the search window, judges promptly whether search window hits,, change step S23, otherwise change step S24 if hit;
Concrete grammar can be: go out each starting point that is written into the unit and end point coordinate according to motion vector computation, judge according to coordinate whether be written into the unit falls in the search window then, if fall into, then obtain to be written into the unit from the search window data, under statistical form express contract 99% situation, be written in the search window scope that can drop on setting in the unit.Here be written into the unit, referred to each macro block before carrying out motion compensation, in order to satisfy the reference block size that requires needs to be written into that filtering interpolation calculates.H.264 being example, before filtering interpolation, the picture element that each 4X4 piece need the be prepared white as shown in Figure 4 and the point of Dark grey, because it is not very regular that the point of white and Dark grey distributes, be written into for the ease of concentrating, added the square block of peripheral grayish some 9X9, needed each 4X4 piece corresponding reference piece of being written into exactly, above-mentioned one is written into the square that the unit refers to the 9X9 here.
S23, obtain the reference data of current image block from the search window data;
In step 22, hit if judge search window, promptly the reference data of current image block falls within the search window scope, then directly obtains reference data from the search window data, uses so that follow-up filtering interpolation is handled.
S24, judge whether miss reference data can unite and be written into, if change step S25, otherwise change step S26;
For the unit that is written into that does not fall in the search window scope, two kinds of schemes can be arranged, a kind of is to do to unite the scheme that is written into judgement, if can, be written into uniting, if cannot be written into doing separately.This scheme relatively is fit to the situation of multi-reference frame.Another kind of scheme is not do to unite to be written into, and directly is written into regard to single, because miss probability is original just very little, so the single probability that is written into is very low, does can also save to unite being written into buffer memory like this.Promptly for miss data, the mode that is written into of uniting can be adopted, also the mode that is written into separately can be all adopted, in order further to raise the efficiency, present embodiment at first judges whether to unite and is written into, and unites according to result's decision of judging to be written into or to be written into separately again.
Uniting the related algorithm that is written into can take all factors into consideration hardware and realize comfort level, computation complexity and situations such as the control of the amount of being written into, bus delay are determined, for example do bus delay and be written into the respective value of pixel, the coordinate that is written into the unit according to respective value and two to judge that with simple addition two are written into the unit and whether can unite and be written into.For example, as shown in Figure 5, can do one group to 0,1,2,3 four sub-piece branch, judge whether in twos to unite to be written into, determine this mode that is written into of four according to judged result, the rest may be inferred.
S25, employing are united the method that is written into and are written into miss reference data from external memory storage;
Be written into if step S24 judges to unite, then adopt and unite the method that is written into and be written into reference data, promptly once be written into the sub-blocks of data of a plurality of references.
The method that S26, employing are written into separately is written into miss reference data from external memory storage;
Be written into if step S24 judges to unite, then adopt the single method that is written into to be written into reference data, promptly be written into miss reference data a sub-piece of a sub-piece.
The embodiment of the invention is utilized search window to be written in advance with the method that is written into combination temporarily and is written into motion compensation reference data, for single reference frame, search window can be hit the reference block data under the situation about 99%, therefore by the disposable reference data that is written into of search window, avoid repeatedly to the bus request data, can improve and be written into efficient, reduce bus delay being written into the influence of time-delay, especially for be written into data loaded down with trivial details, be written under the irregular situation of data volume, effect is more obvious.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Fig. 6 is the structural representation of motion compensation reference data device for loading embodiment one provided by the invention, and this device comprises:
Be preloaded into module 61, be used for being written into the reference block data according to default search window size;
The present invention has introduced the search window notion of coding side when decode video data, be used for being written in advance reference data.Particularly, configure the search window size, according to the search window size of setting, be written into the reference block data of corresponding size in advance, these reference block data are corresponding to the reference block that is used for estimation when encoding.
Search window judge module 62 is used to judge whether described search window hits the reference block of current image block;
Before carrying out motion compensation, then need to find the reference block of current image block, so that reference block is carried out filtering interpolation, obtain the prediction piece, and utilize prediction blocks of data and residual error data to reconstruct the reconstructed blocks data of current image block.In the present embodiment, be preloaded into module 61 and be written into some search window data in advance, therefore judge at first whether the reference block of current image block falls in the search window, it is the reference block whether search window hits current image block, if hit, directly from the search window data, obtain reference block, otherwise obtain from other place again.
Hiting data acquisition module 63, be used for described search window judge module 62 be judged as be after, obtain the reference block data of hitting from described being preloaded into the search window data that module is written into;
External data acquisition module 64 is used for obtaining the miss reference block data of search window from external memory storage after described search window judge module 62 is judged as not.
If search window is not hit, then can obtain the reference block data according to the mode of prior art, because the reference block data are stored in the external memory storage, therefore need obtain reference data from external memory storage.Particularly, can adopt and unite the method that is written into, also can adopt the method that is written into separately, promptly be written into miss reference block data singly, because about 99% reference block can fall in the search window, therefore miss probability is very low, even all use the method that is written into separately, also can not have influence on whole efficiency.
If adopt the method that is written into separately, then described external data acquisition module 64 specifically is used for adopting the method that is written into separately to be written into the miss reference block data of search window one by one from external memory storage after described search window judge module 62 is judged as not.
Fig. 7 is the structural representation of motion compensation reference data device for loading embodiment two provided by the invention, and this embodiment is to outside data acquisition module 64 further refinements, and external data acquisition module 64 comprises:
Be written into judging unit 641, be used to judge whether the miss reference block of search window can unite is written into;
Unite and be written into unit 642, be used for described be written into judging unit 641 be judged as be after, adopt and unite the method that is written into and be written into the miss reference block data of search window from external memory storage;
Be written into unit 643 separately, be used for adopting the method that is written into separately to be written into the miss reference block data of search window one by one after judging unit 641 is judged as not from external memory storage described being written into.
The motion compensation reference data device for loading that the embodiment of the invention provides, can adopt search window to be preloaded into and be written into the method that combines temporarily, and when being written into, according to circumstances unite temporarily and be written into or be written into separately, can avoid repeatedly obtaining reference data to external memory storage by bus, reduced the influence of bus time-delay, improved the efficient of decoding being written into.
The decoder architecture schematic diagram that Fig. 8 provides for the embodiment of the invention, decoder comprises:
Be preloaded into module 80, be used for being written into the reference block data according to default search window size;
Search window memory module 81 is used to store the described reference block data that module 80 is written into that are preloaded into;
Search window judge module 82 is used to judge whether described search window hits the reference block of current image block;
Hiting data acquisition module 83, be used for described search window judge module 82 be judged as be after, from the search window data of described search window memory module 81, obtain the reference block data of hitting;
External data acquisition module 84 is used for obtaining the miss reference block data of search window from external memory storage after described search window judge module 82 is judged as not;
Motion compensating module 86 is used for reference block data that reference block data that described hiting data acquisition module 83 is obtained or described external data acquisition module 84 obtain and carries out filtering interpolation and handle, and obtains the prediction blocks of data of current image block.
In one embodiment, described external data acquisition module 84 specifically is used for adopting the method that is written into separately to be written into the miss reference block data of search window one by one from external memory storage after described search window judge module is judged as not.
In another embodiment, described external data acquisition module 84 may further include:
Be written into judging unit 841, be used to judge whether the miss reference block of search window can unite is written into;
Unite and be written into unit 842, be used for described be written into judging unit 841 be judged as be after, adopt and unite the method that is written into and be written into the miss reference block data of search window from external memory storage;
Buffer unit 843 is used for described associating of buffer memory being written into the reference block data that unit 842 is written into;
Be written into unit 844 separately, be used for adopting the method that is written into separately to be written into the miss reference block data of search window one by one after judging unit 841 is judged as not from external memory storage described being written into.
In actual applications, the brightness data of video data and chroma data be separate processes normally, and therefore described search window memory module 81 can comprise:
Brightness data memory cell 811 is used for storing the described brightness search window data that are preloaded into the search window data that module 80 obtains;
Chroma data memory cell 812 is used for storing the described colourity search window data that are preloaded into the search window data that module 80 obtains;
Described motion compensating module 86 can comprise:
Luminance compensation unit 861 is used for that the brightness reference block data of the reference block data that are used for reference data integrate module 85 is integrated are carried out filtering interpolation and handles, and obtains the luma prediction blocks of data of current image block;
Colourity compensating unit 862 is used for chroma reference blocks of data to the reference block data that are used for reference data integrate module 85 is integrated and carries out filtering interpolation and handle, and obtains the colorimetric prediction blocks of data of current image block.
Should be noted that, the decoder of the embodiment of the invention, search window memory module wherein is used to store the reference data that is preloaded into, in actual applications, because coding side also needs to use the reference data that the storage of search window memory module is used for estimation, therefore encoder can be done and form a system together, what make that decoder can the multiplexing and encoding device is written into mechanism and search window memory module, has saved memory space.
Figure 9 shows that the structural representation of the coding/decoding system that the embodiment of the invention provides, this system comprises:
Be preloaded into module 90, be used for when coding, utilizing search window to be written into the required reference data of estimation, or be used for when decoding, being written into the required reference block data of motion compensation according to default search window size;
Search window memory module 91 is used for storing the described module that is preloaded into when coding and is written into 90 estimation reference data, or is used for storing when decoding the described motion compensation reference data that module 90 is written into that is preloaded into;
Search window judge module 92 is used for judging whether described default search window hits the reference block of current image block when decoding;
Hiting data acquisition module 93, be used for described search window judge module 92 be judged as be after, from the search window data of described search window memory module 91, obtain the reference block data of hitting;
External data acquisition module 94 is used for obtaining the miss reference block data of search window from external memory storage after described search window judge module 92 is judged as not.
This coding/decoding system also comprises:
Motion estimation module 95 is used for utilizing when coding the required reference data of estimation of described search window memory module 91 storages to carry out estimation;
Motion compensating module 97 is used for reference block data that reference block data that described hiting data acquisition module 93 is obtained or described external data acquisition module 94 obtain and carries out filtering interpolation and handle, and obtains the prediction blocks of data of current image block.
The coding/decoding system that the embodiment of the invention provides, encoder can and be preloaded into module by time division multiplexing search window memory module, the method that one side adopts search window to be written into can improve motion compensation reference data and be written into efficient, improve decoding performance, simultaneously the search window memory module of multiplexing and encoding device and be preloaded into module has further been saved memory space.
The above only is several embodiments of the present invention, and those skilled in the art can carry out various changes or modification to the present invention and do not break away from the spirit and scope of the present invention according to application documents are disclosed.

Claims (13)

1. a motion compensation reference data loading method is used for decode procedure, it is characterized in that, comprising:
Be written into the reference block data according to default search window size;
Judge whether described search window hits the reference block of current image block;
If, from the described reference block data that are written into, obtain the reference block data of hitting, be used for the prediction blocks of data that filtering interpolation obtains current image block;
Otherwise, obtain the miss reference block data of search window from external memory storage, be used for the prediction blocks of data that filtering interpolation obtains current image block.
2. the method for claim 1 is characterized in that, describedly judges whether described search window is hit the reference block of current image block and comprised:
The parsing code stream obtains the motion vector of the macro block under the described current image block;
Starting point and end point coordinate according to the reference block of motion vector computation current image block;
Judge according to starting point and end point coordinate whether the reference block of current image block falls in the described search window.
3. the method for claim 1 is characterized in that, describedly obtains the miss reference block data of search window from external memory storage and comprises:
Adopt the method that is written into separately to be written into the miss reference block data of search window from external memory storage.
4. the method for claim 1 is characterized in that, describedly obtains the miss reference block data of search window from external memory storage and comprises:
Judging whether the miss reference block of search window can unite is written into;
If employing is united the method that is written into and is written into the miss reference block data of search window from external memory storage, otherwise adopt the method that is written into separately to be written into the miss reference block data of search window one by one from external memory storage.
5. the method for claim 1 is characterized in that, the default search window size of described basis is written into the reference block data and comprises:
The method that is written into according to default search window size, employing increment is written into the reference block data.
6. a motion compensation reference data device for loading is used for decoding, it is characterized in that, comprising:
Be preloaded into module, be used for being written into the reference block data according to default search window size;
The search window judge module is used to judge whether described search window hits the reference block of current image block;
The hiting data acquisition module, be used for described search window judge module be judged as be after, obtain the reference block data of hitting from described being preloaded into the reference block data that module is written into, be used for the prediction blocks of data that filtering interpolation obtains current image block;
The external data acquisition module is used for obtaining the miss reference block data of search window from external memory storage after described search window judge module is judged as not, is used for the prediction blocks of data that filtering interpolation obtains current image block.
7. device as claimed in claim 6 is characterized in that, described external data acquisition module specifically is used for adopting the method that is written into separately to be written into the miss reference block data of search window one by one from external memory storage after described search window judge module is judged as not.
8. device as claimed in claim 6 is characterized in that, described external data acquisition module comprises:
Be written into judging unit, be used to judge whether the miss reference block of search window can unite is written into;
Unite and be written into the unit, be used in the described judgment unit judges that is written into, adopt and unite the method that is written into and be written into the miss reference block data of search window from external memory storage for after being;
Be written into the unit separately, be used for after, not adopting the method that is written into separately to be written into the miss reference block data of search window one by one from external memory storage in the described judgment unit judges that is written into.
9. a decoder is characterized in that, comprising:
Be preloaded into module, be used for being written into the reference block data according to default search window size;
The search window memory module is used to store the described reference block data that module is written into that are preloaded into;
The search window judge module is used to judge whether described search window hits the reference block of current image block;
The hiting data acquisition module, be used for described search window judge module be judged as be after, from the described reference block data that are written into, obtain the reference block data of hitting;
The external data acquisition module is used for obtaining the miss reference block data of search window from external memory storage after described search window judge module is judged as not;
Motion compensating module is used for reference block data that reference block data that described hiting data acquisition module is obtained or described external data acquisition module obtain and carries out filtering interpolation and handle, and obtains the prediction blocks of data of current image block.
10. decoder as claimed in claim 9, it is characterized in that, described external data acquisition module specifically is used for adopting the method that is written into separately to be written into the miss reference block data of search window one by one from external memory storage after described search window judge module is judged as not.
11. decoder as claimed in claim 9 is characterized in that, described external data acquisition module comprises:
Be written into judging unit, be used to judge whether the miss reference block of search window can unite is written into;
Unite and be written into the unit, be used in the described judgment unit judges that is written into, adopt and unite the method that is written into and be written into the miss reference block data of search window from external memory storage for after being;
Be written into the unit separately, be used for after, not adopting the method that is written into separately to be written into the miss reference block data of search window one by one from external memory storage in the described judgment unit judges that is written into.
12. a coding/decoding system is characterized in that, comprising:
Be preloaded into module, be used for when coding, utilizing search window to be written into the required reference data of estimation, or be used for when decoding, being written into the required reference block data of motion compensation according to default search window size;
The search window memory module is used for being preloaded into the estimation reference data that module is written in that when coding storage is described, or is used for when decoding that storage is described to be preloaded into the required reference block data of motion compensation that module is written into;
The search window judge module is used for judging whether described default search window hits the reference block of current image block when decoding;
The hiting data acquisition module, be used for described search window judge module be judged as be after, from the described reference block data that are written into, obtain the reference block data of hitting, be used for the prediction blocks of data that filtering interpolation obtains current image block;
The external data acquisition module is used for obtaining the miss reference block data of search window from external memory storage after described search window judge module is judged as not, is used for the prediction blocks of data that filtering interpolation obtains current image block.
13. system as claimed in claim 12 is characterized in that, also comprises:
Motion estimation module is used for utilizing when coding the required reference data of estimation of described search window memory module storage to carry out estimation;
Motion compensating module is used for reference block data that reference block data that described hiting data acquisition module is obtained or described external data acquisition module obtain and carries out filtering interpolation and handle, and obtains the prediction blocks of data of current image block.
CN 200810216099 2008-09-12 2008-09-12 Motion compensation reference data loading method and apparatus, decoder, encoding and decoding system Expired - Fee Related CN101365137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810216099 CN101365137B (en) 2008-09-12 2008-09-12 Motion compensation reference data loading method and apparatus, decoder, encoding and decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810216099 CN101365137B (en) 2008-09-12 2008-09-12 Motion compensation reference data loading method and apparatus, decoder, encoding and decoding system

Publications (2)

Publication Number Publication Date
CN101365137A CN101365137A (en) 2009-02-11
CN101365137B true CN101365137B (en) 2010-08-25

Family

ID=40391227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810216099 Expired - Fee Related CN101365137B (en) 2008-09-12 2008-09-12 Motion compensation reference data loading method and apparatus, decoder, encoding and decoding system

Country Status (1)

Country Link
CN (1) CN101365137B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2740783C1 (en) * 2011-03-09 2021-01-21 Кэнон Кабусики Кайся Encoding and decoding video

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557518B (en) * 2009-05-11 2011-12-14 华亚微电子(上海)有限公司 Method and device for compensating motion, method and device for replacing cache
JP5670226B2 (en) * 2011-03-04 2015-02-18 Kddi株式会社 Moving picture coding apparatus, moving picture coding method, and program
CN102970539B (en) * 2012-11-22 2015-09-09 华为技术有限公司 data loading method and device
CN112154666A (en) * 2019-09-24 2020-12-29 深圳市大疆创新科技有限公司 Video coding and decoding method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2740783C1 (en) * 2011-03-09 2021-01-21 Кэнон Кабусики Кайся Encoding and decoding video

Also Published As

Publication number Publication date
CN101365137A (en) 2009-02-11

Similar Documents

Publication Publication Date Title
US9609322B2 (en) Image encoding apparatus, image encoding method, image decoding apparatus, and image decoding method
US10469868B2 (en) Motion estimation and in-loop filtering method and device thereof
EP2391132B1 (en) Video processing system, computer program product and method for managing a transfer of information between a memory unit and a decoder
US20060133504A1 (en) Deblocking filters for performing horizontal and vertical filtering of video data simultaneously and methods of operating the same
US20060078052A1 (en) Method and apparatus for parallel processing of in-loop deblocking filter for H.264 video compression standard
US20170188033A1 (en) Method and Apparatus of Bandwidth Estimation and Reduction for Video Coding
CN101107861A (en) Piecewise processing of overlap smoothing and in-loop deblocking
CN101365137B (en) Motion compensation reference data loading method and apparatus, decoder, encoding and decoding system
US20090010326A1 (en) Method and apparatus for parallel video decoding
US20100027665A1 (en) Video encoder with an integrated temporal filter
US20110317762A1 (en) Video encoder and packetizer with improved bandwidth utilization
CN102196253B (en) Video coding method and device based on frame type self-adaption selection
CN102801982B (en) Estimation method applied on video compression and based on quick movement of block integration
EP2398240A1 (en) A method and device for encoding and decoding a video signal
CN101790096B (en) Encoding and decoding method and device based on double prediction
CN1792097A (en) Video processing device with low memory bandwidth requirements
KR101519653B1 (en) Image compressing apparatus of lossless and lossy type
EP1919213A1 (en) Method for interpolating chrominance signal in video encoder and decoder
CN100438630C (en) Multi-pipeline phase information sharing method based on data buffer storage
US20110051815A1 (en) Method and apparatus for encoding data and method and apparatus for decoding data
US20060227874A1 (en) System, method, and apparatus for DC coefficient transformation
US20090147852A1 (en) Spatial Filtering of Differential Motion Vectors
CN101217667B (en) 1/4 pixel interpolation method and device
EP1056295B1 (en) Filter arithmetic device
JP2007259247A (en) Encoding device, decoding device, and data processing system

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100825

Termination date: 20180912

CF01 Termination of patent right due to non-payment of annual fee