Unified · Split
| @@ -15,8 +15,8 @@ libavutil: 2021-04-27 · 14 unmodified lines | |||
| 15 | API changes, most recent first: | 15 | API changes, most recent first: |
| 16 | 16 | ||
| 17 | 2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h codec_id.h | 17 | 2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h codec_id.h |
| 18 | Move av_get_bits_per_sample() and av_get_exact_bits_per_sample() | 18 | Move av_get_bits_per_sample(), av_get_exact_bits_per_sample(), |
| 19 | from avcodec.h to codec_id.h. | 19 | and avcodec_profile_name() from avcodec.h to codec_id.h. |
| 20 | 20 | ||
| 21 | 2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h defs.h | 21 | 2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h defs.h |
| 22 | Add new installed header defs.h. The following definitions are moved | 22 | Add new installed header defs.h. The following definitions are moved |
| @@ -3064,19 +3064,6 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode); · 3063 unmodified lines | |||
| 3064 | */ | 3064 | */ |
| 3065 | const char *av_get_profile_name(const AVCodec *codec, int profile); | 3065 | const char *av_get_profile_name(const AVCodec *codec, int profile); |
| 3066 | 3066 | ||
| 3067 | /** | ||
| 3068 | * Return a name for the specified profile, if available. | ||
| 3069 | * | ||
| 3070 | * @param codec_id the ID of the codec to which the requested profile belongs | ||
| 3071 | * @param profile the profile value for which a name is requested | ||
| 3072 | * @return A name for the profile if found, NULL otherwise. | ||
| 3073 | * | ||
| 3074 | * @note unlike av_get_profile_name(), which searches a list of profiles | ||
| 3075 | * supported by a specific decoder or encoder implementation, this | ||
| 3076 | * function searches the list of profiles from the AVCodecDescriptor | ||
| 3077 | */ | ||
| 3078 | const char *avcodec_profile_name(enum AVCodecID codec_id, int profile); | ||
| 3079 | |||
| 3080 | int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size); | 3067 | int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size); |
| 3081 | int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count); | 3068 | int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count); |
| 3082 | //FIXME func typedef | 3069 | //FIXME func typedef |
| @@ -598,6 +598,19 @@ int av_get_bits_per_sample(enum AVCodecID codec_id); · 597 unmodified lines | |||
| 598 | */ | 598 | */ |
| 599 | int av_get_exact_bits_per_sample(enum AVCodecID codec_id); | 599 | int av_get_exact_bits_per_sample(enum AVCodecID codec_id); |
| 600 | 600 | ||
| 601 | /** | ||
| 602 | * Return a name for the specified profile, if available. | ||
| 603 | * | ||
| 604 | * @param codec_id the ID of the codec to which the requested profile belongs | ||
| 605 | * @param profile the profile value for which a name is requested | ||
| 606 | * @return A name for the profile if found, NULL otherwise. | ||
| 607 | * | ||
| 608 | * @note unlike av_get_profile_name(), which searches a list of profiles | ||
| 609 | * supported by a specific decoder or encoder implementation, this | ||
| 610 | * function searches the list of profiles from the AVCodecDescriptor | ||
| 611 | */ | ||
| 612 | const char *avcodec_profile_name(enum AVCodecID codec_id, int profile); | ||
| 613 | |||
| 601 | /** | 614 | /** |
| 602 | * @} | 615 | * @} |
| 603 | */ | 616 | */ |