Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
ba3e3311
Commit
ba3e3311
authored
Jul 29, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/frame: add av_frame_side_data_name()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6f622e5f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletion
+23
-1
APIchanges
doc/APIchanges
+3
-0
frame.c
libavutil/frame.c
+14
-0
frame.h
libavutil/frame.h
+5
-0
version.h
libavutil/version.h
+1
-1
No files found.
doc/APIchanges
View file @
ba3e3311
...
...
@@ -15,6 +15,9 @@ libavutil: 2012-10-22
API changes, most recent first:
2014-07-30 - xxxxxxx - lavu 52.94.100 - frame.h
Add av_frame_side_data_name()
2014-07-xx - xxxxxxx - lavu 53.19.0 - avstring.h
Make name matching function from lavf public as av_match_name().
...
...
libavutil/frame.c
View file @
ba3e3311
...
...
@@ -672,3 +672,17 @@ void av_frame_remove_side_data(AVFrame *frame, enum AVFrameSideDataType type)
}
}
}
const
char
*
av_frame_side_data_name
(
enum
AVFrameSideDataType
type
)
{
switch
(
type
)
{
case
AV_FRAME_DATA_PANSCAN
:
return
"AVPanScan"
;
case
AV_FRAME_DATA_A53_CC
:
return
"ATSC A53 Part 4 Closed Captions"
;
case
AV_FRAME_DATA_STEREO3D
:
return
"Stereoscopic 3d metadata"
;
case
AV_FRAME_DATA_MATRIXENCODING
:
return
"AVMatrixEncoding"
;
case
AV_FRAME_DATA_DOWNMIX_INFO
:
return
"Metadata relevant to a downmix procedure"
;
case
AV_FRAME_DATA_REPLAYGAIN
:
return
"AVReplayGain"
;
case
AV_FRAME_DATA_DISPLAYMATRIX
:
return
"3x3 displaymatrix"
;
}
return
NULL
;
}
libavutil/frame.h
View file @
ba3e3311
...
...
@@ -727,6 +727,11 @@ AVFrameSideData *av_frame_get_side_data(const AVFrame *frame,
*/
void
av_frame_remove_side_data
(
AVFrame
*
frame
,
enum
AVFrameSideDataType
type
);
/**
* @return a string identifying the side data type
*/
const
char
*
av_frame_side_data_name
(
enum
AVFrameSideDataType
type
);
/**
* @}
*/
...
...
libavutil/version.h
View file @
ba3e3311
...
...
@@ -56,7 +56,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 52
#define LIBAVUTIL_VERSION_MINOR 9
3
#define LIBAVUTIL_VERSION_MINOR 9
4
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
...
...
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