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
b493847d
Commit
b493847d
authored
May 14, 2013
by
Yusuke Nakamura
Committed by
Anton Khirnov
May 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: Add picture structure information to AVCodecParserContext.
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
fd062912
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
APIchanges
doc/APIchanges
+3
-0
avcodec.h
libavcodec/avcodec.h
+17
-0
version.h
libavcodec/version.h
+1
-1
No files found.
doc/APIchanges
View file @
b493847d
...
...
@@ -13,6 +13,9 @@ libavutil: 2012-10-22
API changes, most recent first:
2013-05-xx - xxxxxxx - lavc 55.7.0 - avcodec.h
Add picture_structure to AVCodecParserContext.
2013-05-xx - xxxxxxx - lavu 52.11.0 - pixdesc.h
Replace PIX_FMT_* flags with AV_PIX_FMT_FLAG_*.
...
...
libavcodec/avcodec.h
View file @
b493847d
...
...
@@ -3407,6 +3407,13 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
* @{
*/
enum
AVPictureStructure
{
AV_PICTURE_STRUCTURE_UNKNOWN
,
//< unknown
AV_PICTURE_STRUCTURE_TOP_FIELD
,
//< coded as top field
AV_PICTURE_STRUCTURE_BOTTOM_FIELD
,
//< coded as bottom field
AV_PICTURE_STRUCTURE_FRAME
,
//< coded as frame
};
typedef
struct
AVCodecParserContext
{
void
*
priv_data
;
struct
AVCodecParser
*
parser
;
...
...
@@ -3542,6 +3549,16 @@ typedef struct AVCodecParserContext {
int
duration
;
enum
AVFieldOrder
field_order
;
/**
* Indicate whether a picture is coded as a frame, top field or bottom field.
*
* For example, H.264 field_pic_flag equal to 0 corresponds to
* AV_PICTURE_STRUCTURE_FRAME. An H.264 picture with field_pic_flag
* equal to 1 and bottom_field_flag equal to 0 corresponds to
* AV_PICTURE_STRUCTURE_TOP_FIELD.
*/
enum
AVPictureStructure
picture_structure
;
}
AVCodecParserContext
;
typedef
struct
AVCodecParser
{
...
...
libavcodec/version.h
View file @
b493847d
...
...
@@ -27,7 +27,7 @@
*/
#define LIBAVCODEC_VERSION_MAJOR 55
#define LIBAVCODEC_VERSION_MINOR
6
#define LIBAVCODEC_VERSION_MINOR
7
#define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_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