History

Merge commit 'b493847df4ff8ce46f258749e4a3f304696b34c1'

* commit 'b493847df4ff8ce46f258749e4a3f304696b34c1': avcodec: Add picture structure information to AVCodecParserContext. Conflicts: doc/APIchanges libavcodec/version.h

Michael Niedermayer committed 13 years ago

Commit 0c25c392 parents ac0ade2 b4938473 files · +22 −1Browse files

Unified · Split

3 files
  1. doc/APIchanges +4 −0
  2. libavcodec/avcodec.h +17 −0
  3. libavcodec/version.h +1 −1
doc/APIchanges+4−0
@@ -15,6 +15,10 @@ libavutil: 2012-10-22 · 14 unmodified lines
1515
1616 API changes, most recent first:
1717
18+
19+2013-05-24 - xxxxxxx - lavc 55.7.0 - avcodec.h
20+ Add picture_structure to AVCodecParserContext.
21+
1822 2013-05-17 - xxxxxxx - lavu 52.33.100 - opt.h
1923 Add AV_OPT_TYPE_COLOR value to AVOptionType enum.
2024
libavcodec/avcodec.h+17−0
@@ -3788,6 +3788,13 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, · 3787 unmodified lines
37883788 * @{
37893789 */
37903790
3791+enum AVPictureStructure {
3792+ AV_PICTURE_STRUCTURE_UNKNOWN, //< unknown
3793+ AV_PICTURE_STRUCTURE_TOP_FIELD, //< coded as top field
3794+ AV_PICTURE_STRUCTURE_BOTTOM_FIELD, //< coded as bottom field
3795+ AV_PICTURE_STRUCTURE_FRAME, //< coded as frame
3796+};
3797+
37913798 typedef struct AVCodecParserContext {
37923799 void *priv_data;
37933800 struct AVCodecParser *parser;
@@ -3924,6 +3931,16 @@ typedef struct AVCodecParserContext { · 130 unmodified lines
39243931 int duration;
39253932
39263933 enum AVFieldOrder field_order;
3934+
3935+ /**
3936+ * Indicate whether a picture is coded as a frame, top field or bottom field.
3937+ *
3938+ * For example, H.264 field_pic_flag equal to 0 corresponds to
3939+ * AV_PICTURE_STRUCTURE_FRAME. An H.264 picture with field_pic_flag
3940+ * equal to 1 and bottom_field_flag equal to 0 corresponds to
3941+ * AV_PICTURE_STRUCTURE_TOP_FIELD.
3942+ */
3943+ enum AVPictureStructure picture_structure;
39273944 } AVCodecParserContext;
39283945
39293946 typedef struct AVCodecParser {
libavcodec/version.h+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929 #include "libavutil/avutil.h"
3030
3131 #define LIBAVCODEC_VERSION_MAJOR 55
32−#define LIBAVCODEC_VERSION_MINOR 11
32+#define LIBAVCODEC_VERSION_MINOR 12
3333 #define LIBAVCODEC_VERSION_MICRO 100
3434
3535 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \

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