Mercurial > libavcodec.hg
comparison imgconvert.c @ 7824:635ed2559262 libavcodec
Remove stuff under #if LIBAVCODEC_VERSION_INT.
author | michael |
---|---|
date | Mon, 08 Sep 2008 15:03:17 +0000 |
parents | 5515e19b9137 |
children | 573f52f011c0 |
comparison
equal
deleted
inserted
replaced
7823:4525dcd81357 | 7824:635ed2559262 |
---|---|
2085 } | 2085 } |
2086 } | 2086 } |
2087 return 0; | 2087 return 0; |
2088 } | 2088 } |
2089 | 2089 |
2090 #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) | |
2091 void img_copy(AVPicture *dst, const AVPicture *src, | |
2092 int pix_fmt, int width, int height) | |
2093 { | |
2094 av_picture_copy(dst, src, pix_fmt, width, height); | |
2095 } | |
2096 | |
2097 int img_crop(AVPicture *dst, const AVPicture *src, | |
2098 int pix_fmt, int top_band, int left_band) | |
2099 { | |
2100 return av_picture_crop(dst, src, pix_fmt, top_band, left_band); | |
2101 } | |
2102 | |
2103 int img_pad(AVPicture *dst, const AVPicture *src, int height, int width, | |
2104 int pix_fmt, int padtop, int padbottom, int padleft, int padright, | |
2105 int *color) | |
2106 { | |
2107 return av_picture_pad(dst, src, height, width, pix_fmt, padtop, padbottom, padleft, padright, color); | |
2108 } | |
2109 #endif | |
2110 | |
2111 #ifndef CONFIG_SWSCALE | 2090 #ifndef CONFIG_SWSCALE |
2112 static uint8_t y_ccir_to_jpeg[256]; | 2091 static uint8_t y_ccir_to_jpeg[256]; |
2113 static uint8_t y_jpeg_to_ccir[256]; | 2092 static uint8_t y_jpeg_to_ccir[256]; |
2114 static uint8_t c_ccir_to_jpeg[256]; | 2093 static uint8_t c_ccir_to_jpeg[256]; |
2115 static uint8_t c_jpeg_to_ccir[256]; | 2094 static uint8_t c_jpeg_to_ccir[256]; |