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

Diff of /xvidcore/src/image/image.h

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

revision 1.8.2.2, Sat Oct 5 21:31:07 2002 UTC revision 1.8.2.6, Thu Dec 12 12:40:19 2002 UTC
# Line 2  Line 2 
2  #define _IMAGE_H_  #define _IMAGE_H_
3    
4  #include "../portab.h"  #include "../portab.h"
5    #include "../global.h"
6  #include "colorspace.h"  #include "colorspace.h"
7  #include "../xvid.h"  #include "../xvid.h"
8    
9  #define EDGE_SIZE  32  #define EDGE_SIZE  64
10    
11    void init_image(uint32_t cpu_flags);
12    
13    
14  typedef struct  static void __inline
15    image_null(IMAGE * image)
16  {  {
17          uint8_t *y;          image->y = image->u = image->v = NULL;
         uint8_t *u;  
         uint8_t *v;  
18  }  }
 IMAGE;  
   
 void init_image(uint32_t cpu_flags);  
19    
20  int32_t image_create(IMAGE * image,  int32_t image_create(IMAGE * image,
21                                           uint32_t edged_width,                                           uint32_t edged_width,
# Line 52  Line 51 
51                                   uint16_t height);                                   uint16_t height);
52    
53    
54    void
55    image_chroma_optimize(IMAGE * img, int width, int height, int edged_width);
56    
57    
58  int image_input(IMAGE * image,  int image_input(IMAGE * image,
59                                  uint32_t width,                                  uint32_t width,
60                                  int height,                                  int height,
61                                  uint32_t edged_width,                                  uint32_t edged_width,
62                                  uint8_t * src,                                  uint8_t * src,
63                                  int csp);                                  int src_stride,
64                                    int csp,
65                                    int interlaced);
66    
67  int image_output(IMAGE * image,  int image_output(IMAGE * image,
68                                   uint32_t width,                                   uint32_t width,
# Line 65  Line 70 
70                                   uint32_t edged_width,                                   uint32_t edged_width,
71                                   uint8_t * dst,                                   uint8_t * dst,
72                                   uint32_t dst_stride,                                   uint32_t dst_stride,
73                                   int csp);                                   int csp,
74                                     int interlaced);
75    
76    
77    
# Line 84  Line 90 
90  void  void
91  output_slice(IMAGE * cur, int edged_width, int width, XVID_DEC_PICTURE* out_frm, int mbx, int mby,int mbl);  output_slice(IMAGE * cur, int edged_width, int width, XVID_DEC_PICTURE* out_frm, int mbx, int mby,int mbl);
92    
93    
94    void
95    image_deblock_rrv(IMAGE * img, int edgeg_width,
96                                    const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride);
97    
98    
99  #endif                                                  /* _IMAGE_H_ */  #endif                                                  /* _IMAGE_H_ */

Legend:
Removed from v.1.8.2.2  
changed lines
  Added in v.1.8.2.6

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