History

lavc: move avcodec_profile_name() from avcodec.h to codec_id.h

Anton Khirnov committed 5 years ago

Commit 2628dff1 parent 000f3513 files · +15 −15Browse files

Showing the changes to libavcodec/avcodec.h (1 of 3 files). Show all

Unified · Split

libavcodec/avcodec.h+0−13
@@ -3064,19 +3064,6 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode); · 3063 unmodified lines
3064 */3064 */
3065const char *av_get_profile_name(const AVCodec *codec, int profile);3065const 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 */
3078const char *avcodec_profile_name(enum AVCodecID codec_id, int profile);
3079
3080int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size);3067int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size);
3081int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count);3068int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count);
3082//FIXME func typedef3069//FIXME func typedef

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t