1 |
|
/***************************************************************************** |
2 |
|
* |
3 |
|
* XVID MPEG-4 VIDEO CODEC |
4 |
|
* - Image related header - |
5 |
|
* |
6 |
|
* Copyright(C) 2001-2003 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: image.h,v 1.12 2004-03-22 22:36:23 edgomez Exp $ |
23 |
|
* |
24 |
|
****************************************************************************/ |
25 |
|
|
26 |
#ifndef _IMAGE_H_ |
#ifndef _IMAGE_H_ |
27 |
#define _IMAGE_H_ |
#define _IMAGE_H_ |
28 |
|
|
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 IMAGE * refn, |
70 |
IMAGE * refh, |
IMAGE * refh, |
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 |
|
|
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, |
uint32_t dst_stride[4], |
112 |
int csp, |
int csp, |
113 |
int interlaced); |
int interlaced); |
114 |
|
|
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 edged_width, int width, xvid_image_t* out_frm, int mbx, int mby,int mbl); |
131 |
|
|
132 |
|
|
133 |
void |
void |