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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4, Fri Mar 29 00:38:29 2002 UTC revision 1.5, Thu Apr 25 06:55:00 2002 UTC
# Line 23  Line 23 
23  /** MotionEstimation **/  /** MotionEstimation **/
24    
25  bool MotionEstimation(  bool MotionEstimation(
         MACROBLOCK * const pMBs,  
26          MBParam * const pParam,          MBParam * const pParam,
27          const IMAGE * const pRef,          FRAMEINFO * const current,
28            FRAMEINFO * const reference,
29          const IMAGE * const pRefH,          const IMAGE * const pRefH,
30          const IMAGE * const pRefV,          const IMAGE * const pRefV,
31          const IMAGE * const pRefHV,          const IMAGE * const pRefHV,
         IMAGE * const pCurrent,  
32          const uint32_t iLimit);          const uint32_t iLimit);
33    
34    
# Line 54  Line 53 
53    
54    
55  void MBTransQuantIntra(const MBParam *pParam,  void MBTransQuantIntra(const MBParam *pParam,
56                               FRAMEINFO * frame,
57                         MACROBLOCK * pMB,                         MACROBLOCK * pMB,
58                         const uint32_t x_pos,     /* <-- The x position of the MB to be searched */                         const uint32_t x_pos,     /* <-- The x position of the MB to be searched */
59                         const uint32_t y_pos,     /* <-- The y position of the MB to be searched */                         const uint32_t y_pos,     /* <-- The y position of the MB to be searched */
60                         int16_t data[6*64],       /* <-> the data of the MB to be coded */                         int16_t data[6*64],       /* <-> the data of the MB to be coded */
61                         int16_t qcoeff[6*64],     /* <-> the quantized DCT coefficients */                         int16_t qcoeff[6*64]     /* <-> the quantized DCT coefficients */
                        IMAGE * const pCurrent    /* <-> the reconstructed image */  
                                                  /*     (function will update one MB in it with data from data[])  */  
62  );  );
63    
64    
65  uint8_t MBTransQuantInter(const MBParam *pParam, /* <-- the parameter for DCT transformation  uint8_t MBTransQuantInter(const MBParam *pParam, /* <-- the parameter for DCT transformation and Quantization */
66                                                      and Quantization */                                                    FRAMEINFO * frame,
67                            MACROBLOCK * pMB,                            MACROBLOCK * pMB,
68                            const uint32_t x_pos,  /* <-- The x position of the MB to be searched */                            const uint32_t x_pos,  /* <-- The x position of the MB to be searched */
69                            const uint32_t y_pos,  /* <-- The y position of the MB to be searched */                            const uint32_t y_pos,  /* <-- The y position of the MB to be searched */
70                            int16_t data[6*64],    /* <-> the data of the MB to be coded */                            int16_t data[6*64],    /* <-> the data of the MB to be coded */
71                            int16_t qcoeff[6*64],  /* <-> the quantized DCT coefficients */                            int16_t qcoeff[6*64]  /* <-> the quantized DCT coefficients */
                           IMAGE * const pCurrent /* <-> the reconstructed image ( function will  
                                                     update one MB in it with data from data[] ) */  
72  );  );
73    
74    
# Line 86  Line 82 
82    
83  /** MBCoding.c **/  /** MBCoding.c **/
84    
85  void MBCoding(const MBParam *pParam, /* <-- the parameter for coding of the bitstream */  void MBCoding(const FRAMEINFO *frame, /* <-- the parameter for coding of the bitstream */
86                MACROBLOCK *pMB,       /* <-- Info of the MB to be coded */                MACROBLOCK *pMB,       /* <-- Info of the MB to be coded */
87                int16_t qcoeff[6*64],  /* <-- the quantized DCT coefficients */                int16_t qcoeff[6*64],  /* <-- the quantized DCT coefficients */
88                Bitstream * bs,        /* <-> the bitstream */                Bitstream * bs,        /* <-> the bitstream */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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