Summary of the invention
The method and apparatus that the purpose of this invention is to provide a kind of 1/4 pixel precision interpolation, can utilize the correlation interpolation between the known pixels to go out half-pix and 1/4 pixel value, make that motion vector can be as accurate as 1/4 Pixel-level in the motion compensation, thereby improve precision of prediction, improve code efficiency.
In order to achieve the above object, the technical solution used in the present invention is as follows:
1, a kind of method of 1/4 pixel precision interpolation
1) put residing diverse location substep interpolation according to sub-pix and finish, 5 class sub-pix point positions are as follows:
Class half-pix point: with whole pixel at half-pix point with delegation or same row;
2 class half-pix points: other half-pix points except a class half-pix point;
One class, 1/4 pixel: with whole pixel at 1/4 pixel with delegation or same row;
Two classes, 1/4 pixel: simultaneously with a class half-pix point and 2 class half-pix points with delegation or while and a class half-pix point and 2 class half-pix points 1/4 pixel at same row;
Three classes, 1/4 pixel: 1/4 pixel except a class 1/4 pixel and two classes, 1/4 pixel;
2) put the filter interpolation of residing diverse location according to sub-pix with different tap number and different tap coefficients.
2, a class half-pix is used done 4 nearest in reference image vegetarian refreshments or the same row whole pixels with 4 nearest in the delegation whole pixels and do the reference image vegetarian refreshments and obtain by four tap balanced-filter interpolation with it with it.
3, a class 1/4 pixel is used being done 4 nearest with it in reference image vegetarian refreshments or the same row whole pixels with 4 nearest with it in the delegation whole pixels and do the reference image vegetarian refreshments and obtained by four tap dissymetrical filter interpolation, is mirror filter to the filter of a class 1/4 pixel interpolation that is positioned at adjacent class half-pix point left side or top with to the filter of a class 1/4 pixel interpolation that is positioned at an adjacent class half-pix point right side or below wherein.
4, two class half-pixs are used to select with 4 one nearest with it in delegation class half-pixs do 4 one nearest in reference image vegetarian refreshments or same row class half-pixs and select and do the reference image vegetarian refreshments and obtain by four tap balanced-filter interpolation with it; Wherein a class half-pix is used and is done 4 nearest with it in reference image vegetarian refreshments or the same row whole pixels with 4 nearest with it in the delegation whole pixels and do the reference image vegetarian refreshments and obtained by four tap balanced-filter interpolation.
5, two classes, 1/4 pixel is used to select with its 4 one nearest class half-pixs in the delegation doing 4 one nearest with it in reference image vegetarian refreshments or same row class half-pixs and select and do the reference image vegetarian refreshments and obtained by four tap dissymetrical filter interpolation, is mirror filter to the filter of two classes, the 1/4 pixel interpolation that is positioned at adjacent 2 class half-pix points left side or top with to the filter of two classes, the 1/4 pixel interpolation that is positioned at adjacent two class half-pix point right sides or below wherein; A class half-pix of doing reference is selected to use and is done 4 nearest with it in reference image vegetarian refreshments or the same row whole pixels with 4 nearest with it in the delegation whole pixels and do the reference image vegetarian refreshments and obtained by four tap balanced-filter interpolation.
6, three classes, 1/4 pixel o'clock is obtained by the symmetrical linear filter interpolation of two taps with being positioned at the adjacent whole pixel of its 45 degree and two class half-pixs; Wherein a class half-pix is used and is done 4 nearest with it in reference image vegetarian refreshments or the same row whole pixels with 4 nearest with it in the delegation whole pixels and do the reference image vegetarian refreshments and obtained by four tap balanced-filter interpolation; Two class half-pixs are used to select with 4 one nearest with it in delegation class half-pixs and are done 4 one nearest with it in reference image vegetarian refreshments or same row class half-pixs and select and do the reference image vegetarian refreshments and obtained by four tap balanced-filter interpolation.
7, three classes, 1/4 pixel o'clock is obtained by the symmetrical linear filter interpolation of two taps with being positioned at the adjacent whole pixel of its 45 degree and two class half-pixs; Wherein a class half-pix is used and is done 4 nearest with it in reference image vegetarian refreshments or the same row whole pixels with 4 nearest with it in the delegation whole pixels and do the reference image vegetarian refreshments and obtained by four tap balanced-filter interpolation; Two class half-pixs are used to select with 4 one nearest with it in delegation class half-pixs and are done 4 one nearest with it in reference image vegetarian refreshments or same row class half-pixs and select and do the reference image vegetarian refreshments and obtained by four tap balanced-filter interpolation.
8, three classes, 1/4 pixel is obtained by two taps symmetry linear filter interpolation with being positioned at its two one adjacent class 1/4 pixels; Or use with it and obtain by four tap dissymetrical filter interpolation with delegation's middle distance nearest four one class 1/4 pixels or nearest four one class 1/4 pixels of row middle distance same with it; Or with using four one class 1/4 pixels nearest to obtain with four tap balanced-filter interpolation with it; Wherein a class 1/4 pixel and whole pixel are at 1/4 pixel with delegation or same row, one class, 1/4 pixel is used and is done 4 nearest with it in reference image vegetarian refreshments or the same row whole pixels with 4 nearest with it in the delegation whole pixels and do the reference image vegetarian refreshments and obtained by four tap dissymetrical filter interpolation, is mirror filter to the filter of a class 1/4 pixel interpolation that is positioned at adjacent class half-pix point left side or top with to the filter of a class 1/4 pixel interpolation that is positioned at an adjacent class half-pix point right side or below wherein.
9, said filter is four tap balanced-filters, and filter form is: { Co
1, Co
2, Co
2, Co
1}/[2 * (Co
1+ Co
2)], Co
iBe filter tap coefficients, i=1...4 wherein, concrete tap coefficient be 3,19,19, and-3}/32 with 1,3,3,1}/8, the filtering formula is: x=(Co
1* X
1+ Co
2* X
2+ Co
2* X
3+ Co
1* X
4)/[(Co
1+ Co
2) * 2], X wherein
iBe the reference image vegetarian refreshments, i=1...4, wherein { 3,19,19 ,-3}/32 filters are used for a class half-pix and two class half-pix interpolation; { 1,3,3,1}/8 filters are used for three classes, 1/4 picture element interpolation.
10, said filter is four tap dissymetrical filters, and filter form is: { Co
1, Co
2, Co
3, Co
4}/(Co
1+ Co
2+ Co
3+ Co
4), Co
iBe filter tap coefficients, i=1...4 wherein, concrete tap coefficient be 5,59,13 ,-3}/64 or 3,29,7,1}/32, the filtering formula is: x=(Co
1* X
1+ Co
2* X
2+ Co
2* X
3+ Co
1* X
4)/[(Co
1+ Co
2) * 2], X wherein
iBe reference image vegetarian refreshments, i=1...4; This filter is used for the interpolation of a class 1/4 pixel, the interpolation of two classes, 1/4 pixel and the interpolation of three classes, 1/4 pixel.
Two, a kind of device of 1/4 pixel precision interpolation it comprise:
Be used for reading the input unit of whole pixel pixel value from primitive frame;
Be used for a class half-pix point interpolation processing unit to a class half-pix point interpolation
The apparatus for temporary storage that is used for a temporary class half-pix point interpolation result;
Be used for a class 1/4 pixel interpolation processor to a class 1/4 pixel interpolation;
The apparatus for temporary storage that is used for a temporary class 1/4 pixel interpolation result
Be used for two class half-pix point interpolation processing unit to two class half-pix point interpolations;
The apparatus for temporary storage that is used for temporary two class half-pix point interpolation results;
Be used for two classes, 1/4 pixel interpolation processor to two classes, 1/4 pixel interpolation;
Be used for three classes, 1/4 pixel interpolation processor to three classes, 1/4 pixel interpolation;
Be used to export the output device of whole sub-pix point pixel values;
Described:
Class half-pix point refers to and puts in order pixel at the half-pix point with delegation or same row;
2 class half-pix points refer to other half-pix points except a class half-pix point;
One class, 1/4 pixel refers to and puts in order pixel at 1/4 pixel with delegation or same row;
Two classes, 1/4 pixel refer to simultaneously with a class half-pix point and 2 class half-pix points with delegation or while and a class half-pix point and 2 class half-pix points 1/4 pixel at same row;
Three classes, 1/4 pixel refers to 1/4 pixel except a class 1/4 pixel and two classes, 1/4 pixel;
All the sub-pix point refers to above 5 class sub-pix points;
Whole pixel refers to each the whole pixel around the sub-pix;
Connect with data/address bus between an input unit and the class half-pix interpolation processor, transmit the pixel value of each whole location of pixels; Connect with data/address bus between input unit and three classes, the 1/4 pixel interpolation processor, transmit the pixel value of each whole location of pixels; Connect with data/address bus between input unit and a class 1/4 pixel interpolation processing device, transmit the pixel value of each whole location of pixels; Connect with data/address bus between one class half-pix interpolation processor and the data apparatus for temporary storage, transmit the pixel value of a class half-pix point position; Connect with data/address bus between one class, 1/4 pixel interpolation processing device and the data apparatus for temporary storage, transmit the pixel value of a class 1/4 pixel position; Connect the pixel value of the sub-pixel location that the transmission interpolation obtains between one class half-pix interpolation processor and the output device with data/address bus; Connect the pixel value of the sub-pixel location that the transmission interpolation obtains between one class, 1/4 pixel interpolation processing device and the output device with data/address bus; Connect the pixel value of each class half-pix point position of transmission between data apparatus for temporary storage and the two class half-pix point interpolation processing unit with data/address bus; Connect the pixel value of each class half-pix point position of transmission between data apparatus for temporary storage and two classes, the 1/4 pixel interpolation processor with data/address bus; Connect the pixel value of each class 1/4 pixel position of transmission between data apparatus for temporary storage and three classes, the 1/4 pixel interpolation processor with data/address bus; Connect with data/address bus between two class half-pix point interpolation processing unit and the data apparatus for temporary storage, transmit the pixel value of two class half-pix point positions; Connect the pixel value of the sub-pixel location that the transmission interpolation obtains between two class half-pix point interpolation processing unit and the output device with data/address bus; Connect the pixel value of the sub-pixel location that the transmission interpolation obtains between two classes, 1/4 pixel interpolation processor and the output device with data/address bus; Be connected with data/address bus between data apparatus for temporary storage and three classes, the 1/4 pixel interpolation processor, transmission is used for two class half-pix point pixel values of interpolation; Connect the sub-pixel location pixel value that the transmission interpolation obtains between three classes, 1/4 pixel interpolation processor and the output device with data/address bus.
The present invention compares with background technology, and the useful effect that has is:
The present invention partly provides sub-pixel interpolation method preferably at the motion compensated prediction of coding and decoding video ring.The first, with the filter of less tap coefficient sub-pixel location is realized the interpolation processing, reduced the number of the whole location of pixels pixel that at every turn is taken into, higher degree has slowed down the transmission quantity of each data/address bus, reduce the transmission data pressure of data/address bus, and reduced the capacity of data apparatus for temporary storage.The second, the method interpolation result of the present invention's use promotes to some extent than original background technology on performance.More excellent interpolation result has reduced the size of motion compensated residual, has reduced code check, has improved video compression coding efficient.The sub-pixel interpolation device is realized the interpolation method among the present invention fully in the coding and decoding video among the present invention.
Embodiment
Earlier the location of pixels in the original image is called whole pixel in the method, for example the point that marks with capitalization A among Fig. 1.The location of pixels that needs interpolation to obtain is called the sub-pix point, for example all the other points that mark with lowercase among Fig. 1.The sub-pix point is divided into two classes, i.e. half-pix point and 1/4 pixel.Half-pix point is divided into two classes again, is called a class half-pix point and 2 class half-pix points.1/4 pixel is divided three classes, and is called a class 1/4 pixel, two classes, 1/4 pixel and three classes, 1/4 pixel.All kinds of sub-pix points are defined as follows respectively:
Class half-pix point: with whole pixel with the half-pix point of delegation or with the half-pix point of whole pixel at same row.The b among Fig. 1 for example
1And b
2
2 class half-pix points: other half-pix points except a class half-pix point, for example among Fig. 1.The c among the figure one for example.
One class, 1/4 pixel: with whole pixel with 1/4 pixel of delegation or with 1/4 pixel of whole pixel at same row.The d among Fig. 1 for example
1, d
2, d
3, d
4
Two classes, 1/4 pixel: simultaneously with a class half-pix point and 2 class half-pix points with 1/4 pixel of delegation or with while and a class half-pix point and 2 class half-pix points 1/4 pixel at same row.The e among Fig. 1 for example
1, e
2, e
3, e
4
Three classes, 1/4 pixel: other 1/4 pixels except a class and two classes, 1/4 pixel.The f among Fig. 1 for example
1, f
2, f
3, f
4
The present invention is different according to the position classification of half-pix point and 1/4 pixel, uses different filter interpolations to go out the pixel value of this position at different time.Interpolating method is as follows:
1, is labeled as b
1The pixel value of a class half-pix point obtain by following method:
Four integer pixel points that horizontal direction is nearest utilize 4 tap filter F
1Carry out filtering, as shown in Figure 2, obtain interpolation result b
1Wherein filter tap coefficients be 3,19,19 ,-3}.
b
1=((-3)×A
1+19×A
2+19×A
3+(-3)×A
4)/32
2, be labeled as b
2The pixel value of a class half-pix point obtain by following method:
Four integer pixel points that vertical direction is nearest utilize 4 tap filter F
1Carry out filtering, as shown in Figure 2, obtain interpolation result b
2Wherein filter tap coefficients be 3,19,19 ,-3}.
b
2=((-3)×A
5+19×A
2+19×A
6+(-3)×A
7)/32
3, be labeled as d
1The pixel value of a class 1/4 pixel obtain by following method:
Four integer pixel points that horizontal direction is nearest utilize 4 tap filter F
2Carry out filtering, as shown in Figure 4, obtain interpolation result d
1Wherein filter tap coefficients be 3,29,7 ,-1}.
d
1=((-3)×A
1+29×A
2+7×A
3+(-1)×A
4)/32
4, be labeled as d
2The pixel value of a class 1/4 pixel obtain by following method:
Four integer pixel points that horizontal direction is nearest utilize 4 tap filter F
3Carry out filtering, as shown in Figure 4, obtain interpolation result d
2Wherein filter tap coefficients be 1,7,29 ,-3}.
d
2=((-1)×A
1+7×A
2+29×A
3+(-3)×A
4)/32
5, be labeled as d
3The pixel value of a class 1/4 pixel obtain by following method:
Four integer pixel points that vertical direction is nearest utilize 4 tap filter F
2Carry out filtering, as shown in Figure 4, obtain interpolation result d
3Wherein filter tap coefficients be 3,29,7 ,-1}.
d
3=((-3)×A
5+29×A
2+7×A
6+(-1)×A
7)/32
6, be labeled as d
4The pixel value of a class 1/4 pixel obtain by following method:
Four integer pixel points that vertical direction is nearest utilize 4 tap filter F
3Carry out filtering, as shown in Figure 4, obtain interpolation result d
4Wherein filter tap coefficients be 1,7,29 ,-3}.
d
4=((-1)×A
5+7×A
2+29×A
6+(-3)×A
7)/32
7, the pixel value that is labeled as the 2 class half-pix points of c is obtained by following method:
Level or four one nearest class half-pix points of vertical direction are utilized 4 tap filter F
1Carry out filtering, as shown in Figure 3, obtain interpolation result c.Wherein filter tap coefficients be 3,19,19 ,-3}.
Perhaps
8, be labeled as e
1The pixel value of two classes, 1/4 pixel obtain by following method:
Four the one class half-pix points that horizontal direction is nearest utilize 4 tap filter F
2Carry out filtering, as shown in Figure 5, obtain interpolation result e
1Wherein filter tap coefficients be 3,29,7 ,-1}.
9, be labeled as e
2The pixel value of two classes, 1/4 pixel obtain by following method:
Four the one class half-pix points that horizontal direction is nearest utilize 4 tap filter F
3Carry out filtering, as shown in Figure 4, obtain interpolation result e
2Wherein filter tap coefficients be 1,7,29 ,-3}.
10, be labeled as e
3The pixel value of two classes, 1/4 pixel obtain by following method:
Four the one class half-pix points that vertical direction is nearest utilize 4 tap filter F
2Carry out filtering, as shown in Figure 4, obtain interpolation result e
3Wherein filter tap coefficients be 3,29,7 ,-1}.
11, be labeled as e
4The pixel value of two classes, 1/4 pixel obtain by following method:
Four the one class half-pix points that vertical direction is nearest utilize 4 tap filter F
3Carry out filtering, as shown in Figure 4, obtain interpolation result e
4Wherein filter tap coefficients be 1,7,29 ,-3}.
12, be labeled as f
1, f
2, f
3Or f
4The pixel value interpolation method one of three classes, 1/4 pixel: on average obtain by whole pixel and the two class half-pix point linearities adjacent with its 45 degree, as Fig. 6:
f
1=(A
1+c)/2
f
2=(A
2+c)/2
f
3=(A
3+c)/2
f
4=(A
4+c)/2
Be labeled as f
1, f
2, f
3Or f
4The pixel value interpolation method two of three classes, 1/4 pixel: obtain by two taps symmetry linear filter interpolation with being positioned at its two one adjacent class 1/4 pixels, as Fig. 7:
f
1=(d
1+d
3)/2
f
2=(d
2+d
8)/2
f
3=(d
4+d
5)/2
f
4=(d
6+d
7)/2
Be labeled as f
1, f
2, f
3Or f
4The pixel value interpolation method three of three classes, 1/4 pixel: use with it to obtain by four tap dissymetrical filter interpolation with delegation's middle distance nearest four one class 1/4 pixels or nearest four one class 1/4 pixels of row middle distance same with it, wherein filter tap coefficients is { 1,7,29,-3}, as Fig. 8:
Or
Be labeled as f
1, f
2, f
3Or f
4The pixel value interpolation method four of three classes, 1/4 pixel: use four one class 1/4 pixels nearest to obtain with four tap balanced-filter interpolation with it, as Fig. 7:
f
1=(d
4+3×d
1+3×d
3+d
2)/8
f
2=(d
1+3×d
2+3×d
8+d
7)/8
f
3=(d
3+3×d
4+3×d
5+d
6)/8
f
4=(d
5+ 3 * d
6+ 3 * d
7+ d
8The interpolation of all sub-pixel location is so far finished step by step in)/8.
Use the digital filter F of 4 kinds of different coefficients and tap number in the interpolation process
x: Co1, and Co2, Co3, Co4}/(Co1+Co2+Co3+Co4).Its tap coefficient and tap number are specific as follows:
F
1Be four tap filters of tap coefficient symmetry, follow according to its tap coefficient of different purposes to be: 3,19,19 ,-3}/32 or 1,3,3,1}/8.
f
2Be asymmetric four tap filters of tap coefficient, its tap coefficient is: { m
1, m
2, m
3, m
4}/(m
1+ m
2+ m
3,+m
4), concrete coefficient can select 5,59,13 ,-3}/64 or 3,29,7, wherein one group of-1}/32.
F
3Be asymmetric four tap filters of tap coefficient, its tap coefficient is F
2Mirror image is: { m
4, m
3, m
2, m
1}/(m
1+ m
2+ m
3,+m
4), concrete coefficient is by F
2The coefficient mirror image after obtain.
F
4Be two tap linear interpolation filters of tap coefficient symmetry, its tap coefficient is: and 1,3,3,1}/8.
A kind of device that is used for the coding and decoding video sub-pixel interpolation comprises: input unit 210, a class half-pix point interpolation processing unit 220, data apparatus for temporary storage 230,250,270, a class 1/4 pixel interpolation processor 240, two class half-pix point interpolation processing unit 260, two classes, 1/4 pixel interpolation processor 280, three classes, 1/4 pixel interpolation processor 290 and output device 270, as shown in Figure 9:
Input unit 210 is used for taking out the piece of a size for (M+3) * (N+3) from primitive frame, and wherein M is for wanting the number of whole pixel in the every row of interpolation block, and N is for wanting the number of whole pixel in the every row of interpolation block;
One class half-pix point interpolation processing unit 220 utilizes whole pixel to a class half-pix point interpolation.Use filter F1, promptly 3,19,19 ,-3}/32.ALU is wherein realized interpolation process with multiplier, adder and shift unit;
One class, 1/4 pixel interpolation processor 240 utilizes whole pixel to a class 1/4 pixel interpolation.Use filter F2, F3.ALU is wherein realized interpolation process with multiplier, adder and shift unit;
Two class half-pix point interpolation processing unit 260 utilize a class half-pix o'clock to two class half-pix point interpolations.Use filter F1, promptly 3,19,19 ,-3}/32.ALU is wherein realized interpolation process with multiplier, adder and shift unit;
Two classes, 1/4 pixel interpolation processor 280 utilizes a class half-pix o'clock to two classes, 1/4 pixel interpolation.Use filter F2, F3.ALU is wherein realized interpolation process with multiplier, adder and shift unit;
Three classes, 1/4 pixel interpolation processor 290 utilizes whole pixel and 2 class half-pix points or utilizes a class 1/4 pixel to three classes, 1/4 pixel interpolation.Use two tap balanced-filters when utilizing whole phase vegetarian refreshments and two class half-pix point interpolations, use four tap balanced-filter F1 ({ 1 according to the difference of used reference point locations when utilizing a class 1/4 pixel interpolation, 3,3,1}/8), four tap dissymetrical filter F2, F3 or two tap balanced-filters.ALU is wherein realized interpolation process with multiplier, adder and shift unit;
The structure of four tap balanced-filter F1 as shown in figure 10 in the ALU.Co
1' and Co
2' be the filter coefficient after the normalization, promptly
Co
1′=Co
1/[(Co
1+Co
2)×2]
Co
2′=Co
2/[(Co
1+Co
2)×2]
The structure of four tap dissymetrical filter F2, F3 as shown in figure 11 in the ALU.Co
1', Co
2', Co
3' and Co
4' be the filter coefficient after the normalization, promptly
Co
1′=Co
1/(Co
1+Co
2+Co
3+Co
4)
Co
2′=Co
2/(Co
1+Co
2+Co
3+Co
4)
Co
3′=Co
3/(Co
1+Co
2+Co
3+Co
4)
Co
4′=Co
4/(Co
1+Co
2+Co
3+Co
4)
Data apparatus for temporary storage 230 between one class half-pix point interpolation processing unit 220 and the two class half-pix interpolation processors 260 is used to store the class half-pix point pixel value that interpolation produces, and these values are used for two class half-pix interpolation process;
Data apparatus for temporary storage 230 between one class half-pix point interpolation processing unit 220 and the two class half-pix interpolation processors 280 is used to store the class half-pix point pixel value that interpolation produces, and these values are used for two classes, 1/4 picture element interpolation process;
Data apparatus for temporary storage 250 between one class, 1/4 pixel interpolation processor 240 and three classes, the 1/4 pixel interpolation processing device 290 is used to store a class 1/4 pixel pixel value that interpolation produces, and these values are used for three classes, 1/4 picture element interpolation process;
Data apparatus for temporary storage 270 between two class half-pix point interpolation processing unit 260 and three classes, the 1/4 pixel interpolation processing device 290 is used to store the two class half-pix point pixel values that interpolation produces, and these values are used for three classes, 1/4 picture element interpolation process;
Output device 300 is used to export the pixel value of all sub-pixel location that arrive of interpolation.
Connect with data/address bus between an input unit 210 and the class half-pix interpolation processor 220, be used to transmit the pixel value of each whole location of pixels; Connect with data/address bus between input unit 210 and three classes, the 1/4 pixel interpolation processor 290, be used to transmit the pixel value of each whole location of pixels; Connect with data/address bus between input unit 210 and a class 1/4 pixel interpolation processing device 240, be used to transmit the pixel value of each whole location of pixels; Connect with data/address bus between one class half-pix interpolation processor 220 and the data apparatus for temporary storage 230, be used to transmit the pixel value of a class half-pix point position; Connect with data/address bus between one class, 1/4 pixel interpolation processing device 240 and the data apparatus for temporary storage 250, be used to transmit the pixel value of a class 1/4 pixel position; Connect with data/address bus between one class half-pix interpolation processor 220 and the output device 300, be used to transmit the pixel value of the sub-pixel location that interpolation obtains; Connect with data/address bus between one class, 1/4 pixel interpolation processing device 240 and the output device 300, be used to transmit the pixel value of the sub-pixel location that interpolation obtains; Connect with data/address bus between data apparatus for temporary storage 230 and the two class half-pix point interpolation processing unit 260, be used to transmit the pixel value of each class half-pix point position; Connect with data/address bus between data apparatus for temporary storage 230 and two classes, the 1/4 pixel interpolation processor 280, be used to transmit the pixel value of each class half-pix point position; Connect with data/address bus between data apparatus for temporary storage 250 and three classes, the 1/4 pixel interpolation processor 290, be used to transmit the pixel value of each class 1/4 pixel position; Connect with data/address bus between two class half-pix point interpolation processing unit 260 and the data apparatus for temporary storage 270, be used to transmit the pixel value of two class half-pix point positions; Connect with data/address bus between two class half-pix point interpolation processing unit 260 and the output device 300, be used to transmit the pixel value of the sub-pixel location that interpolation obtains; Connect with data/address bus between two classes, 1/4 pixel interpolation processor 280 and the output device 300, be used to transmit the pixel value of the sub-pixel location that interpolation obtains; Be connected with data/address bus between data apparatus for temporary storage 270 and three classes, the 1/4 pixel interpolation processor 290, transmission is used for two class half-pix point pixel values of interpolation; Connect with data/address bus between three classes, 1/4 pixel interpolation processor 290 and the output device 300, be used to transmit the sub-pixel location pixel value that interpolation obtains.
The sub-pixel interpolation device can be used processor system in the above-mentioned coding and decoding video, microcontroller, and programmable logic device or microprocessor are realized part or all of operation.Above-mentioned certain operations can realize that other operations simultaneously can realize with hardware with software.
For convenience's sake, these operations are described to the functional unit of different interconnection or different software modules.But this is dispensable.In some applications, these functional units or module can be integrated in single logical device, program or the operation, and do not have obvious limit.In any situation, the feature of functional unit and software module or description can independently realize, or reinstate hardware or software realization with other operations one.