[cvs] / xvidcore / src / utils / mbfunctions.h Repository:
ViewVC logotype

Annotation of /xvidcore/src/utils/mbfunctions.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (view) (download)

1 : Isibaar 1.1 /**************************************************************************
2 :     *
3 :     * Modifications:
4 :     *
5 :     * 02.12.2001 motion estimation/compensation split
6 :     * 16.11.2001 const/uint32_t changes to MBMotionEstComp()
7 :     * 26.08.2001 added inter4v_mode parameter to MBMotionEstComp()
8 :     *
9 :     * Michael Militzer <isibaar@videocoding.de>
10 :     *
11 :     **************************************************************************/
12 :    
13 :     #ifndef _ENCORE_BLOCK_H
14 :     #define _ENCORE_BLOCK_H
15 :    
16 :     #include "../encoder.h"
17 :     #include "../bitstream/bitstream.h"
18 :    
19 :    
20 :    
21 :     /** MotionEstimation **/
22 :    
23 :     bool MotionEstimation(
24 :     MACROBLOCK * const pMBs,
25 :     MBParam * const pParam,
26 :     const IMAGE * const pRef,
27 :     const IMAGE * const pRefH,
28 :     const IMAGE * const pRefV,
29 :     const IMAGE * const pRefHV,
30 :     IMAGE * const pCurrent,
31 :     const uint32_t iLimit);
32 :    
33 :    
34 :     /** MBMotionCompensation **/
35 :     void MBMotionCompensation(
36 :     MACROBLOCK * const pMB,
37 :     const uint32_t j,
38 :     const uint32_t i,
39 :     const IMAGE * const pRef,
40 :     const IMAGE * const pRefH,
41 :     const IMAGE * const pRefV,
42 :     const IMAGE * const pRefHV,
43 :     IMAGE * const pCurrent,
44 :     int16_t dct_codes[][64],
45 :     const uint32_t width,
46 :     const uint32_t height,
47 :     const uint32_t edged_width,
48 :     const uint32_t rounding);
49 :    
50 :    
51 :     /** MBTransQuant.c **/
52 :    
53 :    
54 :     void MBTransQuantIntra(const MBParam *pParam,
55 :     const uint32_t x_pos, /* <-- The x position of the MB to be searched */
56 :     const uint32_t y_pos, /* <-- The y position of the MB to be searched */
57 :     int16_t data[][64], /* <-> the data of the MB to be coded */
58 :     int16_t qcoeff[][64], /* <-> the quantized DCT coefficients */
59 :     IMAGE * const pCurrent /* <-> the reconstructed image ( function will update one
60 :     MB in it with data from data[] ) */
61 :     );
62 :    
63 :    
64 :     uint8_t MBTransQuantInter(const MBParam *pParam, /* <-- the parameter for DCT transformation
65 :     and Quantization */
66 :     const uint32_t x_pos, /* <-- The x position of the MB to be searched */
67 :     const uint32_t y_pos, /* <-- The y position of the MB to be searched */
68 :     int16_t data[][64], /* <-> the data of the MB to be coded */
69 :     int16_t qcoeff[][64], /* <-> the quantized DCT coefficients */
70 :     IMAGE * const pCurrent /* <-> the reconstructed image ( function will
71 :     update one MB in it with data from data[] ) */
72 :     );
73 :    
74 :    
75 :     /** MBCoding.c **/
76 :    
77 :     void MBCoding(const MBParam *pParam, /* <-- the parameter for coding of the bitstream */
78 :     MACROBLOCK *pMB, /* <-- Info of the MB to be coded */
79 :     int16_t qcoeff[][64], /* <-- the quantized DCT coefficients */
80 :     Bitstream * bs, /* <-> the bitstream */
81 :     Statistics * pStat /* <-> statistical data collected for current frame */
82 :     );
83 :    
84 :     #endif

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4