[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.9, Sat Jan 25 22:44:50 2003 UTC revision 1.18, Sun Nov 28 15:18:21 2010 UTC
# Line 1  Line 1 
1    /*****************************************************************************
2     *
3     *  XVID MPEG-4 VIDEO CODEC
4     *  - Image related header  -
5     *
6     *  Copyright(C) 2001-2010 Peter Ross <pross@xvid.org>
7     *
8     *  This program is free software ; you can redistribute it and/or modify
9     *  it under the terms of the GNU General Public License as published by
10     *  the Free Software Foundation ; either version 2 of the License, or
11     *  (at your option) any later version.
12     *
13     *  This program is distributed in the hope that it will be useful,
14     *  but WITHOUT ANY WARRANTY ; without even the implied warranty of
15     *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     *  GNU General Public License for more details.
17     *
18     *  You should have received a copy of the GNU General Public License
19     *  along with this program ; if not, write to the Free Software
20     *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21     *
22     * $Id$
23     *
24     ****************************************************************************/
25    
26  #ifndef _IMAGE_H_  #ifndef _IMAGE_H_
27  #define _IMAGE_H_  #define _IMAGE_H_
28    
# Line 38  Line 63 
63                                          uint32_t edged_width,                                          uint32_t edged_width,
64                                          uint32_t edged_height,                                          uint32_t edged_height,
65                                          uint32_t width,                                          uint32_t width,
66                                          uint32_t height);                                          uint32_t height,
67                                            int bs_version);
68    
69  void image_interpolate(const IMAGE * refn,  void image_interpolate(const uint8_t * refn,
70                                             IMAGE * refh,                                             uint8_t * refh,
71                                             IMAGE * refv,                                             uint8_t * refv,
72                                             IMAGE * refhv,                                             uint8_t * refhv,
73                                             uint32_t edged_width,                                             uint32_t edged_width,
74                                             uint32_t edged_height,                                             uint32_t edged_height,
75                                             uint32_t quarterpel,                                             uint32_t quarterpel,
# Line 55  Line 81 
81                                   uint16_t width,                                   uint16_t width,
82                                   uint16_t height);                                   uint16_t height);
83    
84    
85    float sse_to_PSNR(long sse, int pixels);
86    
87  long plane_sse(uint8_t * orig,  long plane_sse(uint8_t * orig,
88                     uint8_t * recon,                     uint8_t * recon,
89                     uint16_t stride,                     uint16_t stride,
# Line 69  Line 98 
98                                  uint32_t width,                                  uint32_t width,
99                                  int height,                                  int height,
100                                  uint32_t edged_width,                                  uint32_t edged_width,
101                                  uint8_t * src,                                  uint8_t * src[4],
102                                  int src_stride,                                  int src_stride[4],
103                                  int csp,                                  int csp,
104                                  int interlaced);                                  int interlaced);
105    
# Line 78  Line 107 
107                                   uint32_t width,                                   uint32_t width,
108                                   int height,                                   int height,
109                                   uint32_t edged_width,                                   uint32_t edged_width,
110                                   uint8_t * dst,                                   uint8_t * dst[4],
111                                   uint32_t dst_stride,                                   int dst_stride[4],
112                                   int csp,                                   int csp,
113                                   int interlaced);                                   int interlaced);
114    
# Line 98  Line 127 
127                                  uint32_t height);                                  uint32_t height);
128    
129  void  void
130  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 stride, int width, xvid_image_t* out_frm, int mbx, int mby,int mbl);
131    
132    
133  void  void
# Line 106  Line 135 
135                                          int y, int u, int v);                                          int y, int u, int v);
136    
137    
138    void image_block_variance(IMAGE * orig_image, uint16_t stride, MACROBLOCK *mbs,
139                                              uint16_t mb_width, uint16_t mb_height);
140    
141  void  void
142  image_deblock_rrv(IMAGE * img, int edgeg_width,  image_deblock_rrv(IMAGE * img, int edged_width,
143                                  const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride,                                  const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride,
144                                  int block, int flags);                                  int block, int flags);
145    
146    
147            /* helper function: deinterlace image.
148             Only for YUV 4:2:0 planar format. Use bottom_first!=0 if main
149             field is the bottom one.
150             returns 1 if everything went ok, 0 otherwise. */
151    extern int xvid_image_deinterlace(xvid_image_t* img, int width, int height, int bottom_first);
152    
153  #endif                                                  /* _IMAGE_H_ */  #endif                                                  /* _IMAGE_H_ */

Legend:
Removed from v.1.8.2.9  
changed lines
  Added in v.1.18

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