History

lavc: add AV_CODEC_ID_SMPTE_436M_ANC

This creates a new codec id for mxf vbi_vanc_smpte_436M streams. This makes it easier to use from other [de]muxers and bitstream filters. It's just the data in Table 7 (starts on page 13) of: https://pub.smpte.org/latest/st436/s436m-2006.pdf

Jacob Lifshay committed 1 year ago

Commit f4ff3791 parent c421da34 files · +11 −1Browse files

Showing the changes to libavcodec (3 of 4 files). Show all

Unified · Split

3 files
  1. libavcodec/codec_desc.c +6 −0
  2. libavcodec/codec_id.h +1 −0
  3. libavcodec/version.h +1 −1
libavcodec/codec_desc.c+6−0
@@ -3770,6 +3770,12 @@ static const AVCodecDescriptor codec_descriptors[] = { · 3769 unmodified lines
3770 .name = "lcevc",3770 .name = "lcevc",
3771 .long_name = NULL_IF_CONFIG_SMALL("LCEVC (Low Complexity Enhancement Video Coding) / MPEG-5 LCEVC / MPEG-5 part 2"),3771 .long_name = NULL_IF_CONFIG_SMALL("LCEVC (Low Complexity Enhancement Video Coding) / MPEG-5 LCEVC / MPEG-5 part 2"),
3772 },3772 },
3773 {
3774 .id = AV_CODEC_ID_SMPTE_436M_ANC,
3775 .type = AVMEDIA_TYPE_DATA,
3776 .name = "smpte_436m_anc",
3777 .long_name = NULL_IF_CONFIG_SMALL("MXF SMPTE-436M ANC"),
3778 },
3773 {3779 {
3774 .id = AV_CODEC_ID_MPEG2TS,3780 .id = AV_CODEC_ID_MPEG2TS,
3775 .type = AVMEDIA_TYPE_DATA,3781 .type = AVMEDIA_TYPE_DATA,
libavcodec/codec_id.h+1−0
@@ -603,6 +603,7 @@ enum AVCodecID { · 602 unmodified lines
603 AV_CODEC_ID_BIN_DATA,603 AV_CODEC_ID_BIN_DATA,
604 AV_CODEC_ID_SMPTE_2038,604 AV_CODEC_ID_SMPTE_2038,
605 AV_CODEC_ID_LCEVC,605 AV_CODEC_ID_LCEVC,
606 AV_CODEC_ID_SMPTE_436M_ANC,
606 607
607 608
608 AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it609 AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it
libavcodec/version.h+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
29 29
30#include "version_major.h"30#include "version_major.h"
31 31
32#define LIBAVCODEC_VERSION_MINOR 932#define LIBAVCODEC_VERSION_MINOR 10
33#define LIBAVCODEC_VERSION_MICRO 10033#define LIBAVCODEC_VERSION_MICRO 100
34 34
35#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \35#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