comparison avcodec.h @ 1422:efeed6e29f9b libavcodec

oooooops, having 2 Eterms open and doing cvs diff in one and cvs commit in the other sucks, especially if they are in different directories (MPlayer/main/libavcodec vs. ffmpeg/libavcodec)
author michaelni
date Mon, 25 Aug 2003 22:54:53 +0000
parents 340c90faa1dc
children 2e590fee59bd
comparison
equal deleted inserted replaced
1421:340c90faa1dc 1422:efeed6e29f9b
218 /* if 'parse_only' field is true, then avcodec_parse_frame() can be 218 /* if 'parse_only' field is true, then avcodec_parse_frame() can be
219 used */ 219 used */
220 #define CODEC_CAP_PARSE_ONLY 0x0004 220 #define CODEC_CAP_PARSE_ONLY 0x0004
221 #define CODEC_CAP_TRUNCATED 0x0008 221 #define CODEC_CAP_TRUNCATED 0x0008
222 222
223
224 #define FF_COMMON_FRAME \ 223 #define FF_COMMON_FRAME \
225 /**\ 224 /**\
226 * pointer to the picture planes.\ 225 * pointer to the picture planes.\
227 * this might be different from the first allocated byte\ 226 * this might be different from the first allocated byte\
228 * - encoding: \ 227 * - encoding: \
462 * conversion is in order. This only works for 461 * conversion is in order. This only works for
463 * codecs with one supported pix_fmt, we should 462 * codecs with one supported pix_fmt, we should
464 * do something for a generic case as well. 463 * do something for a generic case as well.
465 * - decoding: set by lavc. 464 * - decoding: set by lavc.
466 */ 465 */
467 enum PixelFormat pix_fmt; //FIXME move to AVFrme 466 enum PixelFormat pix_fmt;
468 467
469 /** 468 /**
470 * Frame rate emulation. If not zero lower layer (i.e. format handler) 469 * Frame rate emulation. If not zero lower layer (i.e. format handler)
471 * has to read frames at native frame rate. 470 * has to read frames at native frame rate.
472 * - encoding: set by user. 471 * - encoding: set by user.
710 int parse_only; /* - decoding only: if true, only parsing is done 709 int parse_only; /* - decoding only: if true, only parsing is done
711 (function avcodec_parse_frame()). The frame 710 (function avcodec_parse_frame()). The frame
712 data is returned. Only MPEG codecs support this now. */ 711 data is returned. Only MPEG codecs support this now. */
713 712
714 /** 713 /**
715 * 0-> default, 1-> mpeg quant. 714 * 0-> h263 quant 1-> mpeg quant.
716 * - encoding: set by user. 715 * - encoding: set by user.
717 * - decoding: unused 716 * - decoding: unused
718 */ 717 */
719 int mpeg_quant; 718 int mpeg_quant;
720 719
1588 * integer resulting value 1587 * integer resulting value
1589 */ 1588 */
1590 int avcodec(void* handle, avc_cmd_t cmd, void* pin, void* pout); 1589 int avcodec(void* handle, avc_cmd_t cmd, void* pin, void* pout);
1591 1590
1592 /* memory */ 1591 /* memory */
1593 void *av_malloc(unsigned int size); //FIXME unsigned could be bad, dunno, need thinking 1592 void *av_malloc(unsigned int size);
1594 void *av_mallocz(unsigned int size); 1593 void *av_mallocz(unsigned int size);
1595 void *av_realloc(void *ptr, unsigned int size); 1594 void *av_realloc(void *ptr, unsigned int size);
1596 void av_free(void *ptr); 1595 void av_free(void *ptr);
1597 char *av_strdup(const char *s); 1596 char *av_strdup(const char *s);
1598 void __av_freep(void **ptr); 1597 void __av_freep(void **ptr);