Mercurial > libavcodec.hg
comparison avcodec.h @ 10566:7ca185b4bc42 libavcodec
Add weightp support in API for libx264.
ffmpeg can encode baseline profile again.
author | darkshikari |
---|---|
date | Tue, 24 Nov 2009 15:49:34 +0000 |
parents | 8a2d04d5deb9 |
children | 8a7d79132993 |
comparison
equal
deleted
inserted
replaced
10565:26dc0444fa93 | 10566:7ca185b4bc42 |
---|---|
28 | 28 |
29 #include <errno.h> | 29 #include <errno.h> |
30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
31 | 31 |
32 #define LIBAVCODEC_VERSION_MAJOR 52 | 32 #define LIBAVCODEC_VERSION_MAJOR 52 |
33 #define LIBAVCODEC_VERSION_MINOR 41 | 33 #define LIBAVCODEC_VERSION_MINOR 42 |
34 #define LIBAVCODEC_VERSION_MICRO 0 | 34 #define LIBAVCODEC_VERSION_MICRO 0 |
35 | 35 |
36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
37 LIBAVCODEC_VERSION_MINOR, \ | 37 LIBAVCODEC_VERSION_MINOR, \ |
38 LIBAVCODEC_VERSION_MICRO) | 38 LIBAVCODEC_VERSION_MICRO) |
2552 * returns < 0 no further calls to func may be done and < 0 is returned. | 2552 * returns < 0 no further calls to func may be done and < 0 is returned. |
2553 * - encoding: Set by libavcodec, user can override. | 2553 * - encoding: Set by libavcodec, user can override. |
2554 * - decoding: Set by libavcodec, user can override. | 2554 * - decoding: Set by libavcodec, user can override. |
2555 */ | 2555 */ |
2556 int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count); | 2556 int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count); |
2557 | |
2558 /** | |
2559 * explicit P-frame weighted prediction analysis method | |
2560 * 0: off | |
2561 * 1: fast blind weighting (one reference duplicate with -1 offset) | |
2562 * 2: smart weighting (full fade detection analysis) | |
2563 * - encoding: Set by user. | |
2564 * - decoding: unused | |
2565 */ | |
2566 int weighted_p_pred; | |
2557 } AVCodecContext; | 2567 } AVCodecContext; |
2558 | 2568 |
2559 /** | 2569 /** |
2560 * AVCodec. | 2570 * AVCodec. |
2561 */ | 2571 */ |