History

avcodec/packet: add an LCEVC enhancement data payload side data type

James Almer committed 2 years ago

Commit df609af1 parent 5fa9c4e5 files · +12 −1Browse files

Unified · Split

5 files
  1. doc/APIchanges +3 −0
  2. libavcodec/decode.c +1 −0
  3. libavcodec/packet.c +1 −0
  4. libavcodec/packet.h +6 −0
  5. libavcodec/version.h +1 −1
doc/APIchanges+3−0
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07 · 1 unmodified line
22
33 API changes, most recent first:
44
5+2024-09-18 - xxxxxxxxxx - lavc 61.17.100 - packet.h
6+ Add AV_PKT_DATA_LCEVC.
7+
58 2024-09-18 - xxxxxxxxxx - lavf 61.5.100 - avformat.h
69 Add AVStreamGroupLCEVC
710 Add AV_STREAM_GROUP_PARAMS_LCEVC
libavcodec/decode.c+1−0
@@ -1434,6 +1434,7 @@ int ff_decode_frame_props_from_pkt(const AVCodecContext *avctx, · 1433 unmodified lines
14341434 { AV_PKT_DATA_DYNAMIC_HDR10_PLUS, AV_FRAME_DATA_DYNAMIC_HDR_PLUS },
14351435 { AV_PKT_DATA_S12M_TIMECODE, AV_FRAME_DATA_S12M_TIMECODE },
14361436 { AV_PKT_DATA_SKIP_SAMPLES, AV_FRAME_DATA_SKIP_SAMPLES },
1437+ { AV_PKT_DATA_LCEVC, AV_FRAME_DATA_LCEVC },
14371438 };
14381439
14391440 frame->pts = pkt->pts;
libavcodec/packet.c+1−0
@@ -306,6 +306,7 @@ const char *av_packet_side_data_name(enum AVPacketSideDataType type) · 305 unmodified lines
306306 case AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM: return "IAMF Demixing Info Parameter Data";
307307 case AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM: return "IAMF Recon Gain Info Parameter Data";
308308 case AV_PKT_DATA_FRAME_CROPPING: return "Frame Cropping";
309+ case AV_PKT_DATA_LCEVC: return "LCEVC NAL data";
309310 }
310311 return NULL;
311312 }
libavcodec/packet.h+6−0
@@ -339,6 +339,12 @@ enum AVPacketSideDataType { · 338 unmodified lines
339339 */
340340 AV_PKT_DATA_FRAME_CROPPING,
341341
342+ /**
343+ * Raw LCEVC payload data, as a uint8_t array, with NAL emulation
344+ * bytes intact.
345+ */
346+ AV_PKT_DATA_LCEVC,
347+
342348 /**
343349 * The number of side data types.
344350 * This is not part of the public API/ABI in the sense that it may
libavcodec/version.h+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929
3030 #include "version_major.h"
3131
32−#define LIBAVCODEC_VERSION_MINOR 16
32+#define LIBAVCODEC_VERSION_MINOR 17
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