~ubuntu-branches/ubuntu/quantal/ffmpeg/quantal

« back to all changes in this revision

Viewing changes to libavcodec/avcodec.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2010-06-16 12:53:24 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100616125324-kbhhjn7012ufc79t
Tags: 4:0.6-1ubuntu1
* merge from debian/experimental. remaining changes:
  - don't disable encoders
  - don't build against libfaad, libdirac and libopenjpeg (all in universe)
* new upstream release
  - internal vorbis encoder is disabled. LP: #585330
  - includes native AMR-NB decoder, LP: #93849
  - api-example is fixed: LP: #557319

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include "libavutil/avutil.h"
31
31
 
32
32
#define LIBAVCODEC_VERSION_MAJOR 52
33
 
#define LIBAVCODEC_VERSION_MINOR 66
34
 
#define LIBAVCODEC_VERSION_MICRO  0
 
33
#define LIBAVCODEC_VERSION_MINOR 72
 
34
#define LIBAVCODEC_VERSION_MICRO  2
35
35
 
36
36
#define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
37
37
                                               LIBAVCODEC_VERSION_MINOR, \
210
210
    CODEC_ID_IFF_BYTERUN1,
211
211
    CODEC_ID_KGV1,
212
212
    CODEC_ID_YOP,
 
213
    CODEC_ID_VP8,
213
214
 
214
215
    /* various PCM "codecs" */
215
216
    CODEC_ID_PCM_S16LE= 0x10000,
643
644
 * as a last resort.
644
645
 */
645
646
#define CODEC_CAP_SUBFRAMES        0x0100
 
647
/**
 
648
 * Codec is experimental and is thus avoided in favor of non experimental
 
649
 * encoders
 
650
 */
 
651
#define CODEC_CAP_EXPERIMENTAL     0x0200
646
652
 
647
653
//The following defines may change, don't expect compatibility if you use them.
648
654
#define MB_TYPE_INTRA4x4   0x0001
3303
3309
 * Modifies width and height values so that they will result in a memory
3304
3310
 * buffer that is acceptable for the codec if you do not use any horizontal
3305
3311
 * padding.
 
3312
 *
 
3313
 * May only be used if a codec with CODEC_CAP_DR1 has been opened.
 
3314
 * If CODEC_FLAG_EMU_EDGE is not set, the dimensions must have been increased
 
3315
 * according to avcodec_get_edge_width() before.
3306
3316
 */
3307
3317
void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height);
3308
3318
/**
3309
3319
 * Modifies width and height values so that they will result in a memory
3310
3320
 * buffer that is acceptable for the codec if you also ensure that all
3311
3321
 * line sizes are a multiple of the respective linesize_align[i].
 
3322
 *
 
3323
 * May only be used if a codec with CODEC_CAP_DR1 has been opened.
 
3324
 * If CODEC_FLAG_EMU_EDGE is not set, the dimensions must have been increased
 
3325
 * according to avcodec_get_edge_width() before.
3312
3326
 */
3313
3327
void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
3314
3328
                               int linesize_align[4]);
3464
3478
 *
3465
3479
 * @param avctx the codec context
3466
3480
 * @param[out] picture The AVFrame in which the decoded video frame will be stored.
3467
 
 *             Use avcodec_alloc_frame to get an AVFrame, the codec will call
3468
 
 *             get_buffer to get memory for the actual image data.
 
3481
 *             Use avcodec_alloc_frame to get an AVFrame, the codec will
 
3482
 *             allocate memory for the actual bitmap.
3469
3483
 * @param[in] avpkt The input AVpacket containing the input buffer.
3470
3484
 *            You can create such packet with av_init_packet() and by then setting
3471
3485
 *            data and size, some decoders might in addition need other fields like