Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
2628dff3
Commit
2628dff3
authored
May 21, 2021
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: move avcodec_profile_name() from avcodec.h to codec_id.h
parent
000f3512
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
APIchanges
doc/APIchanges
+2
-2
avcodec.h
libavcodec/avcodec.h
+0
-13
codec_id.h
libavcodec/codec_id.h
+13
-0
No files found.
doc/APIchanges
View file @
2628dff3
...
...
@@ -15,8 +15,8 @@ libavutil: 2021-04-27
API changes, most recent first:
2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h codec_id.h
Move av_get_bits_per_sample()
and av_get_exact_bits_per_sample()
from avcodec.h to codec_id.h.
Move av_get_bits_per_sample()
, av_get_exact_bits_per_sample(),
and avcodec_profile_name()
from avcodec.h to codec_id.h.
2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h defs.h
Add new installed header defs.h. The following definitions are moved
...
...
libavcodec/avcodec.h
View file @
2628dff3
...
...
@@ -3064,19 +3064,6 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode);
*/
const
char
*
av_get_profile_name
(
const
AVCodec
*
codec
,
int
profile
);
/**
* Return a name for the specified profile, if available.
*
* @param codec_id the ID of the codec to which the requested profile belongs
* @param profile the profile value for which a name is requested
* @return A name for the profile if found, NULL otherwise.
*
* @note unlike av_get_profile_name(), which searches a list of profiles
* supported by a specific decoder or encoder implementation, this
* function searches the list of profiles from the AVCodecDescriptor
*/
const
char
*
avcodec_profile_name
(
enum
AVCodecID
codec_id
,
int
profile
);
int
avcodec_default_execute
(
AVCodecContext
*
c
,
int
(
*
func
)(
AVCodecContext
*
c2
,
void
*
arg2
),
void
*
arg
,
int
*
ret
,
int
count
,
int
size
);
int
avcodec_default_execute2
(
AVCodecContext
*
c
,
int
(
*
func
)(
AVCodecContext
*
c2
,
void
*
arg2
,
int
,
int
),
void
*
arg
,
int
*
ret
,
int
count
);
//FIXME func typedef
...
...
libavcodec/codec_id.h
View file @
2628dff3
...
...
@@ -598,6 +598,19 @@ int av_get_bits_per_sample(enum AVCodecID codec_id);
*/
int
av_get_exact_bits_per_sample
(
enum
AVCodecID
codec_id
);
/**
* Return a name for the specified profile, if available.
*
* @param codec_id the ID of the codec to which the requested profile belongs
* @param profile the profile value for which a name is requested
* @return A name for the profile if found, NULL otherwise.
*
* @note unlike av_get_profile_name(), which searches a list of profiles
* supported by a specific decoder or encoder implementation, this
* function searches the list of profiles from the AVCodecDescriptor
*/
const
char
*
avcodec_profile_name
(
enum
AVCodecID
codec_id
,
int
profile
);
/**
* @}
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment