[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.2, Tue Mar 26 11:16:08 2002 UTC revision 1.4, Fri Mar 29 00:38:29 2002 UTC
# Line 2  Line 2 
2   *   *
3   *  Modifications:   *  Modifications:
4   *   *
5     *  29.03.2002 removed MBFieldToFrame - no longer used (transfers instead)
6   *  26.03.2002 interlacing support   *  26.03.2002 interlacing support
7   *  02.12.2001 motion estimation/compensation split   *  02.12.2001 motion estimation/compensation split
8   *  16.11.2001 const/uint32_t changes to MBMotionEstComp()   *  16.11.2001 const/uint32_t changes to MBMotionEstComp()
# Line 42  Line 43 
43                      const IMAGE * const pRefV,                      const IMAGE * const pRefV,
44                          const IMAGE * const pRefHV,                          const IMAGE * const pRefHV,
45                      IMAGE * const pCurrent,                      IMAGE * const pCurrent,
46                      int16_t dct_codes[][64],          int16_t dct_codes[6*64],
47                          const uint32_t width,                          const uint32_t width,
48                          const uint32_t height,                          const uint32_t height,
49                          const uint32_t edged_width,                          const uint32_t edged_width,
# Line 56  Line 57 
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[][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[][64],     /* <-> the quantized DCT coefficients */                         int16_t qcoeff[6*64],     /* <-> the quantized DCT coefficients */
62                         IMAGE * const pCurrent         /* <-> the reconstructed image ( function will update one                         IMAGE * const pCurrent    /* <-> the reconstructed image */
63                                                                              MB in it with data from data[] ) */                                                   /*     (function will update one MB in it with data from data[])  */
64  );  );
65    
66    
# Line 68  Line 69 
69                             MACROBLOCK * pMB,                             MACROBLOCK * pMB,
70                             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 */
71                             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 */
72                             int16_t data[][64],   /* <-> the data of the MB to be coded */                            int16_t data[6*64],    /* <-> the data of the MB to be coded */
73                             int16_t qcoeff[][64], /* <-> the quantized DCT coefficients */                            int16_t qcoeff[6*64],  /* <-> the quantized DCT coefficients */
74                             IMAGE * const pCurrent                /* <-> the reconstructed image ( function will                             IMAGE * const pCurrent                /* <-> the reconstructed image ( function will
75                                                                      update one MB in it with data from data[] ) */                                                                      update one MB in it with data from data[] ) */
76  );  );
# Line 77  Line 78 
78    
79  /** interlacing **/  /** interlacing **/
80    
81  uint32_t MBDecideFieldDCT(int16_t data[][64]);  /* <- decide whether to use field-based DCT  uint32_t MBDecideFieldDCT(int16_t data[6*64]); /* <- decide whether to use field-based DCT
82                                                                                                          for interlacing */                                                                                                          for interlacing */
83    
84  void MBFrameToField(int16_t data[][64]);        /* de-interlace vertical Y blocks */  void MBFrameToField(int16_t data[6*64]);       /* de-interlace vertical Y blocks */
   
 void MBFieldToFrame(int16_t data[][64]);        /* re-interlace vertical Y blocks */  
85    
86    
87  /** MBCoding.c **/  /** MBCoding.c **/
88    
89  void MBCoding(const MBParam *pParam,             /* <-- the parameter for coding of the bitstream */  void MBCoding(const MBParam *pParam,             /* <-- the parameter for coding of the bitstream */
90                MACROBLOCK *pMB,           /* <-- Info of the MB to be coded */                MACROBLOCK *pMB,           /* <-- Info of the MB to be coded */
91                int16_t qcoeff[][64],              /* <-- the quantized DCT coefficients */                int16_t qcoeff[6*64],  /* <-- the quantized DCT coefficients */
92                Bitstream * bs,                    /* <-> the bitstream */                Bitstream * bs,                    /* <-> the bitstream */
93                Statistics * pStat                 /* <-> statistical data collected for current frame */                Statistics * pStat                 /* <-> statistical data collected for current frame */
94      );      );

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

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