comparison avcodec.h @ 991:2fabb7d709e7 libavcodec

build update - avpicture_fill() returns the image size
author bellard
date Sat, 11 Jan 2003 04:51:31 +0000
parents 295ec9bebf93
children 6129c88a6393
comparison
equal deleted inserted replaced
990:165064f921ee 991:2fabb7d709e7
3 3
4 #include "common.h" 4 #include "common.h"
5 5
6 #define LIBAVCODEC_VERSION_INT 0x000406 6 #define LIBAVCODEC_VERSION_INT 0x000406
7 #define LIBAVCODEC_VERSION "0.4.6" 7 #define LIBAVCODEC_VERSION "0.4.6"
8 #define LIBAVCODEC_BUILD 4653 8 #define LIBAVCODEC_BUILD 4654
9 #define LIBAVCODEC_BUILD_STR "4653" 9 #define LIBAVCODEC_BUILD_STR "4654"
10 10
11 enum CodecID { 11 enum CodecID {
12 CODEC_ID_NONE, 12 CODEC_ID_NONE,
13 CODEC_ID_MPEG1VIDEO, 13 CODEC_ID_MPEG1VIDEO,
14 CODEC_ID_H263, 14 CODEC_ID_H263,
1045 void img_resample(ImgReSampleContext *s, 1045 void img_resample(ImgReSampleContext *s,
1046 AVPicture *output, AVPicture *input); 1046 AVPicture *output, AVPicture *input);
1047 1047
1048 void img_resample_close(ImgReSampleContext *s); 1048 void img_resample_close(ImgReSampleContext *s);
1049 1049
1050 void avpicture_fill(AVPicture *picture, UINT8 *ptr, 1050 int avpicture_fill(AVPicture *picture, UINT8 *ptr,
1051 int pix_fmt, int width, int height); 1051 int pix_fmt, int width, int height);
1052 int avpicture_get_size(int pix_fmt, int width, int height); 1052 int avpicture_get_size(int pix_fmt, int width, int height);
1053 void avcodec_get_chroma_sub_sample(int pix_fmt, int *h_shift, int *v_shift); 1053 void avcodec_get_chroma_sub_sample(int pix_fmt, int *h_shift, int *v_shift);
1054 const char *avcodec_get_pix_fmt_name(int pix_fmt); 1054 const char *avcodec_get_pix_fmt_name(int pix_fmt);
1055 1055
1056 /* convert among pixel formats */ 1056 /* convert among pixel formats */