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
2 2
3API changes, most recent first:3API changes, most recent first:
4 4
52024-09-18 - xxxxxxxxxx - lavc 61.17.100 - packet.h
6 Add AV_PKT_DATA_LCEVC.
7
52024-09-18 - xxxxxxxxxx - lavf 61.5.100 - avformat.h82024-09-18 - xxxxxxxxxx - lavf 61.5.100 - avformat.h
6 Add AVStreamGroupLCEVC9 Add AVStreamGroupLCEVC
7 Add AV_STREAM_GROUP_PARAMS_LCEVC10 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
1434 { AV_PKT_DATA_DYNAMIC_HDR10_PLUS, AV_FRAME_DATA_DYNAMIC_HDR_PLUS },1434 { AV_PKT_DATA_DYNAMIC_HDR10_PLUS, AV_FRAME_DATA_DYNAMIC_HDR_PLUS },
1435 { AV_PKT_DATA_S12M_TIMECODE, AV_FRAME_DATA_S12M_TIMECODE },1435 { AV_PKT_DATA_S12M_TIMECODE, AV_FRAME_DATA_S12M_TIMECODE },
1436 { AV_PKT_DATA_SKIP_SAMPLES, AV_FRAME_DATA_SKIP_SAMPLES },1436 { AV_PKT_DATA_SKIP_SAMPLES, AV_FRAME_DATA_SKIP_SAMPLES },
1437 { AV_PKT_DATA_LCEVC, AV_FRAME_DATA_LCEVC },
1437 };1438 };
1438 1439
1439 frame->pts = pkt->pts;1440 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
306 case AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM: return "IAMF Demixing Info Parameter Data";306 case AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM: return "IAMF Demixing Info Parameter Data";
307 case AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM: return "IAMF Recon Gain Info Parameter Data";307 case AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM: return "IAMF Recon Gain Info Parameter Data";
308 case AV_PKT_DATA_FRAME_CROPPING: return "Frame Cropping";308 case AV_PKT_DATA_FRAME_CROPPING: return "Frame Cropping";
309 case AV_PKT_DATA_LCEVC: return "LCEVC NAL data";
309 }310 }
310 return NULL;311 return NULL;
311}312}
libavcodec/packet.h+6−0
@@ -339,6 +339,12 @@ enum AVPacketSideDataType { · 338 unmodified lines
339 */339 */
340 AV_PKT_DATA_FRAME_CROPPING,340 AV_PKT_DATA_FRAME_CROPPING,
341 341
342 /**
343 * Raw LCEVC payload data, as a uint8_t array, with NAL emulation
344 * bytes intact.
345 */
346 AV_PKT_DATA_LCEVC,
347
342 /**348 /**
343 * The number of side data types.349 * The number of side data types.
344 * This is not part of the public API/ABI in the sense that it may350 * 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
29 29
30#include "version_major.h"30#include "version_major.h"
31 31
32#define LIBAVCODEC_VERSION_MINOR 1632#define LIBAVCODEC_VERSION_MINOR 17
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