[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.7, Sat Jul 6 17:04:57 2002 UTC revision 1.10.2.5, Mon Dec 9 10:47:05 2002 UTC
# Line 54  Line 54 
54                                                    const uint32_t width,                                                    const uint32_t width,
55                                                    const uint32_t height,                                                    const uint32_t height,
56                                                    const uint32_t edged_width,                                                    const uint32_t edged_width,
57                                                      const uint32_t quarterpel,
58                                                      const int reduced_resolution,
59                                                    const uint32_t rounding);                                                    const uint32_t rounding);
60    
61    
# Line 73  Line 75 
75          );          );
76    
77    
78  uint8_t MBTransQuantInter(const MBParam * pParam,       /* <-- the parameter for DCT transformation and Quantization */  void MBTransQuantIntra2(const MBParam * pParam,
   
79                                                    FRAMEINFO * frame,                                                    FRAMEINFO * frame,
80                                                    MACROBLOCK * pMB,                                                    MACROBLOCK * pMB,
81                                                    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 */
# Line 87  Line 88 
88          );          );
89    
90    
91    uint8_t MBTransQuantInter(const MBParam * pParam,
92                                                      FRAMEINFO * frame,
93                                                      MACROBLOCK * pMB,
94                                                      const uint32_t x_pos,
95                                                      const uint32_t y_pos,
96                                                      int16_t data[6 * 64],
97                                                      int16_t qcoeff[6 * 64]);
98    
99    
100    uint8_t MBTransQuantInter2(const MBParam * pParam,
101                                                      FRAMEINFO * frame,
102                                                      MACROBLOCK * pMB,
103                                                      const uint32_t x_pos,
104                                                      const uint32_t y_pos,
105                                                      int16_t data[6 * 64],
106                                                      int16_t qcoeff[6 * 64]);
107    
108    uint8_t MBTransQuantInterBVOP(const MBParam * pParam,
109                                                      FRAMEINFO * frame,
110                                                      MACROBLOCK * pMB,
111                                                      int16_t data[6 * 64],
112                                                      int16_t qcoeff[6 * 64]);
113    
114    void MBTrans(const MBParam * pParam,
115                                                      FRAMEINFO * frame,
116                                                      MACROBLOCK * pMB,
117                                                      const uint32_t x_pos,
118                                                      const uint32_t y_pos,
119                                                      int16_t data[6 * 64]);
120    
121    void MBfDCT(const MBParam * pParam,
122                            FRAMEINFO * frame,
123                            MACROBLOCK * pMB,
124                            int16_t data[6 * 64]);
125    
126    uint8_t MBQuantInter(    const MBParam * pParam,
127                                                     const int iQuant,
128                                                     int16_t data[6 * 64],
129                                                     int16_t qcoeff[6 * 64]);
130    
131    void MBQuantDeQuantIntra(const MBParam * pParam,
132                                                     FRAMEINFO * frame,
133                                                     MACROBLOCK *pMB,
134                                                     int16_t qcoeff[6 * 64],
135                                                     int16_t data[6*64]);
136    
137    void MBQuantIntra(               const MBParam * pParam,
138                                                     FRAMEINFO * frame,
139                                                     MACROBLOCK *pMB,
140                                                     int16_t qcoeff[6 * 64],
141                                                     int16_t data[6*64]);
142    
143    void MBDeQuantIntra(const MBParam * pParam,
144                                            const int iQuant,
145                                            int16_t qcoeff[6 * 64],
146                                            int16_t data[6*64]);
147    
148    void MBDeQuantInter(const MBParam * pParam,
149                                            const int iQuant,
150                                            int16_t data[6 * 64],
151                                            int16_t qcoeff[6 * 64],
152                                            const uint8_t cbp);
153    
154    
155    void MBiDCT(            int16_t data[6 * 64],
156                                            const uint8_t cbp);
157    
158    
159    void MBTransAdd(        const MBParam * pParam,
160                                            FRAMEINFO * frame,
161                                            MACROBLOCK * pMB,
162                                            const uint32_t x_pos,
163                                            const uint32_t y_pos,
164                                            int16_t data[6 * 64],
165                                            const uint8_t cbp);
166    
167    
168    
169  /** interlacing **/  /** interlacing **/
170    
171  uint32_t MBDecideFieldDCT(int16_t data[6 * 64]);        /* <- decide whether to use field-based DCT  uint32_t MBDecideFieldDCT(int16_t data[6 * 64]);        /* <- decide whether to use field-based DCT
172                                                                                                             for interlacing */                                                                                                             for interlacing */
173    
174    typedef uint32_t (MBFIELDTEST) (int16_t data[6 * 64]);  /* function pointer for field test */
175    typedef MBFIELDTEST *MBFIELDTEST_PTR;
176    
177    /* global field test pointer for xvid.c */
178    extern MBFIELDTEST_PTR MBFieldTest;
179    
180    /* field test implementations */
181    MBFIELDTEST MBFieldTest_c;
182    MBFIELDTEST MBFieldTest_mmx;
183    
184  void MBFrameToField(int16_t data[6 * 64]);      /* de-interlace vertical Y blocks */  void MBFrameToField(int16_t data[6 * 64]);      /* de-interlace vertical Y blocks */
185    
186    
187  /** MBCoding.c **/  /** MBCoding.c **/
188    
189  void MBCoding(const FRAMEINFO * frame,  /* <-- the parameter for coding of the bitstream */  /* void MBSkip(Bitstream * bs);  just the bitstream. Since MB is skipped, no info is needed */
190    
191    
192    void MBCoding(const FRAMEINFO * const frame,    /* <-- the parameter for coding of the bitstream */
193    
194                            MACROBLOCK * pMB,     /* <-- Info of the MB to be coded */                            MACROBLOCK * pMB,     /* <-- Info of the MB to be coded */
195    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10.2.5

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