Unified · Split
| @@ -13,6 +13,11 @@ libavutil: 2011-04-18 · 12 unmodified lines | |||
| 13 | 13 | ||
| 14 | API changes, most recent first: | 14 | API changes, most recent first: |
| 15 | 15 | ||
| 16 | 2011-08-xx - xxxxxxx - lavc 53.10.0 | ||
| 17 | lavf 53.6.0 | ||
| 18 | lsws 2.1.0 | ||
| 19 | Add {avcodec,avformat,sws}_get_class(). | ||
| 20 | |||
| 16 | 2011-08-xx - xxxxxxx - lavu 51.10.0 | 21 | 2011-08-xx - xxxxxxx - lavu 51.10.0 |
| 17 | Add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find() function. | 22 | Add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find() function. |
| 18 | 23 | ||
| @@ -4306,4 +4306,12 @@ int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)); · 4305 unmodified lines | |||
| 4306 | */ | 4306 | */ |
| 4307 | enum AVMediaType avcodec_get_type(enum CodecID codec_id); | 4307 | enum AVMediaType avcodec_get_type(enum CodecID codec_id); |
| 4308 | 4308 | ||
| 4309 | /** | ||
| 4310 | * Get the AVClass for AVCodecContext. It can be used in combination with | ||
| 4311 | * AV_OPT_SEARCH_FAKE_OBJ for examining options. | ||
| 4312 | * | ||
| 4313 | * @see av_opt_find(). | ||
| 4314 | */ | ||
| 4315 | const AVClass *avcodec_get_class(void); | ||
| 4316 | |||
| 4309 | #endif /* AVCODEC_AVCODEC_H */ | 4317 | #endif /* AVCODEC_AVCODEC_H */ |
| @@ -662,3 +662,8 @@ fail: · 661 unmodified lines | |||
| 662 | av_freep(&dest->rc_eq); | 662 | av_freep(&dest->rc_eq); |
| 663 | return AVERROR(ENOMEM); | 663 | return AVERROR(ENOMEM); |
| 664 | } | 664 | } |
| 665 | |||
| 666 | const AVClass *avcodec_get_class(void) | ||
| 667 | { | ||
| 668 | return &av_codec_context_class; | ||
| 669 | } | ||
| @@ -21,7 +21,7 @@ · 20 unmodified lines | |||
| 21 | #define AVCODEC_VERSION_H | 21 | #define AVCODEC_VERSION_H |
| 22 | 22 | ||
| 23 | #define LIBAVCODEC_VERSION_MAJOR 53 | 23 | #define LIBAVCODEC_VERSION_MAJOR 53 |
| 24 | #define LIBAVCODEC_VERSION_MINOR 9 | 24 | #define LIBAVCODEC_VERSION_MINOR 10 |
| 25 | #define LIBAVCODEC_VERSION_MICRO 0 | 25 | #define LIBAVCODEC_VERSION_MICRO 0 |
| 26 | 26 | ||
| 27 | #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 27 | #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
| @@ -1613,4 +1613,12 @@ int av_match_ext(const char *filename, const char *extensions); · 1612 unmodified lines | |||
| 1613 | */ | 1613 | */ |
| 1614 | int avformat_query_codec(AVOutputFormat *ofmt, enum CodecID codec_id, int std_compliance); | 1614 | int avformat_query_codec(AVOutputFormat *ofmt, enum CodecID codec_id, int std_compliance); |
| 1615 | 1615 | ||
| 1616 | /** | ||
| 1617 | * Get the AVClass for AVFormatContext. It can be used in combination with | ||
| 1618 | * AV_OPT_SEARCH_FAKE_OBJ for examining options. | ||
| 1619 | * | ||
| 1620 | * @see av_opt_find(). | ||
| 1621 | */ | ||
| 1622 | const AVClass *avformat_get_class(void); | ||
| 1623 | |||
| 1616 | #endif /* AVFORMAT_AVFORMAT_H */ | 1624 | #endif /* AVFORMAT_AVFORMAT_H */ |
| @@ -123,3 +123,8 @@ AVFormatContext *avformat_alloc_context(void) · 122 unmodified lines | |||
| 123 | avformat_get_context_defaults(ic); | 123 | avformat_get_context_defaults(ic); |
| 124 | return ic; | 124 | return ic; |
| 125 | } | 125 | } |
| 126 | |||
| 127 | const AVClass *avformat_get_class(void) | ||
| 128 | { | ||
| 129 | return &av_format_context_class; | ||
| 130 | } | ||
| @@ -24,7 +24,7 @@ · 23 unmodified lines | |||
| 24 | #include "libavutil/avutil.h" | 24 | #include "libavutil/avutil.h" |
| 25 | 25 | ||
| 26 | #define LIBAVFORMAT_VERSION_MAJOR 53 | 26 | #define LIBAVFORMAT_VERSION_MAJOR 53 |
| 27 | #define LIBAVFORMAT_VERSION_MINOR 5 | 27 | #define LIBAVFORMAT_VERSION_MINOR 6 |
| 28 | #define LIBAVFORMAT_VERSION_MICRO 0 | 28 | #define LIBAVFORMAT_VERSION_MICRO 0 |
| 29 | 29 | ||
| 30 | #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ | 30 | #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ |
| @@ -67,3 +67,8 @@ static const AVOption options[] = { · 66 unmodified lines | |||
| 67 | }; | 67 | }; |
| 68 | 68 | ||
| 69 | const AVClass sws_context_class = { "SWScaler", sws_context_to_name, options }; | 69 | const AVClass sws_context_class = { "SWScaler", sws_context_to_name, options }; |
| 70 | |||
| 71 | const AVClass *sws_get_class(void) | ||
| 72 | { | ||
| 73 | return &sws_context_class; | ||
| 74 | } | ||
| @@ -32,7 +32,7 @@ · 31 unmodified lines | |||
| 32 | #include "libavutil/pixfmt.h" | 32 | #include "libavutil/pixfmt.h" |
| 33 | 33 | ||
| 34 | #define LIBSWSCALE_VERSION_MAJOR 2 | 34 | #define LIBSWSCALE_VERSION_MAJOR 2 |
| 35 | #define LIBSWSCALE_VERSION_MINOR 0 | 35 | #define LIBSWSCALE_VERSION_MINOR 1 |
| 36 | #define LIBSWSCALE_VERSION_MICRO 0 | 36 | #define LIBSWSCALE_VERSION_MICRO 0 |
| 37 | 37 | ||
| 38 | #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ | 38 | #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ |
| @@ -351,5 +351,12 @@ void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pix · 312 unmodified lines | |||
| 351 | */ | 351 | */ |
| 352 | void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); | 352 | void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); |
| 353 | 353 | ||
| 354 | /** | ||
| 355 | * Get the AVClass for swsContext. It can be used in combination with | ||
| 356 | * AV_OPT_SEARCH_FAKE_OBJ for examining options. | ||
| 357 | * | ||
| 358 | * @see av_opt_find(). | ||
| 359 | */ | ||
| 360 | const AVClass *sws_get_class(void); | ||
| 354 | 361 | ||
| 355 | #endif /* SWSCALE_SWSCALE_H */ | 362 | #endif /* SWSCALE_SWSCALE_H */ |