Home
last modified time | relevance | path

Searched refs:side_data (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/ffmpeg/tests/ref/fate/
Dts-opus-demux1 …0.000000|duration=1800|duration_time=0.020000|size=744|pos=376|flags=K_|side_data|side_data_type=M…
3 ….020000|duration=1800|duration_time=0.020000|size=743|pos=1316|flags=K_|side_data|side_data_type=M…
5 ….040000|duration=1800|duration_time=0.020000|size=747|pos=2256|flags=K_|side_data|side_data_type=M…
7 ….060000|duration=1800|duration_time=0.020000|size=742|pos=3196|flags=K_|side_data|side_data_type=M…
9 ….080000|duration=1800|duration_time=0.020000|size=752|pos=4136|flags=K_|side_data|side_data_type=M…
11 ….100000|duration=1800|duration_time=0.020000|size=753|pos=5076|flags=K_|side_data|side_data_type=M…
13 ….120000|duration=1800|duration_time=0.020000|size=756|pos=6016|flags=K_|side_data|side_data_type=M…
15 ….140000|duration=1800|duration_time=0.020000|size=761|pos=6956|flags=K_|side_data|side_data_type=M…
17 ….160000|duration=1800|duration_time=0.020000|size=755|pos=7896|flags=K_|side_data|side_data_type=M…
19 ….180000|duration=1800|duration_time=0.020000|size=760|pos=8836|flags=K_|side_data|side_data_type=M…
[all …]
Dts-small-demux1 ….400000|duration=6000|duration_time=0.066667|size=1290|pos=564|flags=K_|side_data|side_data_type=M…
3 …1.466667|duration=6000|duration_time=0.066667|size=21|pos=2068|flags=__|side_data|side_data_type=M…
5 …1.533333|duration=6000|duration_time=0.066667|size=15|pos=2256|flags=__|side_data|side_data_type=M…
7 …1.600000|duration=6000|duration_time=0.066667|size=15|pos=2444|flags=__|side_data|side_data_type=M…
9 …1.666667|duration=6000|duration_time=0.066667|size=15|pos=2632|flags=__|side_data|side_data_type=M…
11 …1.733333|duration=6000|duration_time=0.066667|size=15|pos=2820|flags=__|side_data|side_data_type=M…
13 …1.800000|duration=6000|duration_time=0.066667|size=15|pos=3008|flags=__|side_data|side_data_type=M…
15 …1.866667|duration=6000|duration_time=0.066667|size=15|pos=3196|flags=__|side_data|side_data_type=M…
17 …1.933333|duration=6000|duration_time=0.066667|size=15|pos=3384|flags=__|side_data|side_data_type=M…
19 …2.000000|duration=6000|duration_time=0.066667|size=15|pos=3572|flags=__|side_data|side_data_type=M…
[all …]
Dts-demux1 …59356|duration=1501|duration_time=0.016678|size=114336|pos=376|flags=K_|side_data|side_data_type=M…
3 …033|duration=1501|duration_time=0.016678|size=12560|pos=122012|flags=__|side_data|side_data_type=M…
5 …722|duration=1501|duration_time=0.016678|size=12704|pos=135548|flags=__|side_data|side_data_type=M…
7 …400|duration=1501|duration_time=0.016678|size=51976|pos=149084|flags=__|side_data|side_data_type=M…
9 …089|duration=1501|duration_time=0.016678|size=13096|pos=204356|flags=__|side_data|side_data_type=M…
11 …767|duration=1501|duration_time=0.016678|size=13744|pos=218456|flags=__|side_data|side_data_type=M…
13 …456|duration=1501|duration_time=0.016678|size=56568|pos=232932|flags=__|side_data|side_data_type=M…
15 …133|duration=1501|duration_time=0.016678|size=14720|pos=293092|flags=__|side_data|side_data_type=M…
17 …822|duration=1501|duration_time=0.016678|size=15216|pos=309072|flags=__|side_data|side_data_type=M…
19 …500|duration=1501|duration_time=0.016678|size=61720|pos=325240|flags=__|side_data|side_data_type=M…
[all …]
Dmov-zombie3 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
6 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
9 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
12 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
15 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
18 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
21 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
24 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
27 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
30 …|color_primaries=smpte170m|color_transfer=bt709|chroma_location=topleft|side_data|side_data_type=H…
[all …]
/third_party/ffmpeg/libavcodec/
Dv210enc.c74 AVFrameSideData *side_data; in encode_frame() local
90 side_data = av_frame_get_side_data(pic, AV_FRAME_DATA_A53_CC); in encode_frame()
91 if (side_data && side_data->size) { in encode_frame()
92 uint8_t *buf = av_packet_new_side_data(pkt, AV_PKT_DATA_A53_CC, side_data->size); in encode_frame()
95 memcpy(buf, side_data->data, side_data->size); in encode_frame()
98 side_data = av_frame_get_side_data(pic, AV_FRAME_DATA_AFD); in encode_frame()
99 if (side_data && side_data->size) { in encode_frame()
100 uint8_t *buf = av_packet_new_side_data(pkt, AV_PKT_DATA_AFD, side_data->size); in encode_frame()
103 memcpy(buf, side_data->data, side_data->size); in encode_frame()
Davpacket.c44 pkt->side_data = NULL; in av_init_packet()
191 av_freep(&pkt->side_data[i].data); in av_packet_free_side_data()
192 av_freep(&pkt->side_data); in av_packet_free_side_data()
203 AVPacketSideData *sd = &pkt->side_data[i]; in av_packet_add_side_data()
216 tmp = av_realloc(pkt->side_data, (elems + 1) * sizeof(*tmp)); in av_packet_add_side_data()
220 pkt->side_data = tmp; in av_packet_add_side_data()
221 pkt->side_data[elems].data = data; in av_packet_add_side_data()
222 pkt->side_data[elems].size = size; in av_packet_add_side_data()
223 pkt->side_data[elems].type = type; in av_packet_add_side_data()
257 if (pkt->side_data[i].type == type) { in av_packet_get_side_data()
[all …]
Datsc_a53.c28 AVFrameSideData *side_data = NULL; in ff_alloc_a53_sei() local
32 side_data = av_frame_get_side_data(frame, AV_FRAME_DATA_A53_CC); in ff_alloc_a53_sei()
34 if (!side_data) { in ff_alloc_a53_sei()
39 *sei_size = side_data->size + 11; in ff_alloc_a53_sei()
58 sei_data[8] = ((side_data->size/3) & 0x1f) | 0x40; in ff_alloc_a53_sei()
61 memcpy(sei_data + 10, side_data->data, side_data->size); in ff_alloc_a53_sei()
63 sei_data[side_data->size+10] = 255; in ff_alloc_a53_sei()
Dh264_mp4toannexb_bsf.c176 AV_DrmCencInfo *side_data = NULL; in h264_mp4toannexb_modify_encryption_info() local
181side_data = (AV_DrmCencInfo *)av_packet_get_side_data(pkt, AV_PKT_DATA_ENCRYPTION_INFO, &side_data… in h264_mp4toannexb_modify_encryption_info()
182 if ((side_data != NULL) && (side_data_size != 0)) { in h264_mp4toannexb_modify_encryption_info()
184 for (uint32_t i = 0; i < side_data->sub_sample_num; i++) { in h264_mp4toannexb_modify_encryption_info()
186 … (uint64_t)(side_data->sub_samples[i].clear_header_len + side_data->sub_samples[i].pay_load_len); in h264_mp4toannexb_modify_encryption_info()
191side_data->sub_samples[i].clear_header_len += (uint32_t)(new_data_size - old_data_size); in h264_mp4toannexb_modify_encryption_info()
194 if (side_data->sub_samples[i].clear_header_len < diff_size) { in h264_mp4toannexb_modify_encryption_info()
197 side_data->sub_samples[i].clear_header_len -= diff_size; in h264_mp4toannexb_modify_encryption_info()
Dcbs_bsf.c27 uint8_t *side_data; in cbs_bsf_update_side_data() local
51 side_data = av_packet_new_side_data(pkt, AV_PKT_DATA_NEW_EXTRADATA, in cbs_bsf_update_side_data()
53 if (!side_data) in cbs_bsf_update_side_data()
55 memcpy(side_data, frag->data, frag->data_size); in cbs_bsf_update_side_data()
Dmpeg12enc.c347 const AVFrameSideData *side_data; in mpeg1_encode_sequence_header() local
371 side_data = av_frame_get_side_data(s->current_picture_ptr->f, AV_FRAME_DATA_PANSCAN); in mpeg1_encode_sequence_header()
372 if (side_data) { in mpeg1_encode_sequence_header()
373 const AVPanScan *pan_scan = (AVPanScan *)side_data->data; in mpeg1_encode_sequence_header()
459 AVFrameSideData *side_data; in ff_mpeg1_encode_picture_header() local
543 side_data = av_frame_get_side_data(s->current_picture_ptr->f, in ff_mpeg1_encode_picture_header()
545 if (side_data) { in ff_mpeg1_encode_picture_header()
546 AVStereo3D *stereo = (AVStereo3D *)side_data->data; in ff_mpeg1_encode_picture_header()
583 side_data = av_frame_get_side_data(s->current_picture_ptr->f, in ff_mpeg1_encode_picture_header()
585 if (side_data) { in ff_mpeg1_encode_picture_header()
[all …]
Dbethsoftvideo.c87 avpkt->side_data[0].type == AV_PKT_DATA_PALETTE) { in bethsoftvid_decode_frame()
88 bytestream2_init(&vid->g, avpkt->side_data[0].data, in bethsoftvid_decode_frame()
89 avpkt->side_data[0].size); in bethsoftvid_decode_frame()
/third_party/ffmpeg/libavutil/
Dmastering_display_metadata.c34 AVFrameSideData *side_data = av_frame_new_side_data(frame, in av_mastering_display_metadata_create_side_data() local
37 if (!side_data) in av_mastering_display_metadata_create_side_data()
40 memset(side_data->data, 0, sizeof(AVMasteringDisplayMetadata)); in av_mastering_display_metadata_create_side_data()
42 return (AVMasteringDisplayMetadata *)side_data->data; in av_mastering_display_metadata_create_side_data()
57 AVFrameSideData *side_data = av_frame_new_side_data(frame, in av_content_light_metadata_create_side_data() local
60 if (!side_data) in av_content_light_metadata_create_side_data()
63 memset(side_data->data, 0, sizeof(AVContentLightMetadata)); in av_content_light_metadata_create_side_data()
65 return (AVContentLightMetadata *)side_data->data; in av_content_light_metadata_create_side_data()
Ddownmix_info.c26 AVFrameSideData *side_data; in av_downmix_info_update_side_data() local
28 side_data = av_frame_get_side_data(frame, AV_FRAME_DATA_DOWNMIX_INFO); in av_downmix_info_update_side_data()
30 if (!side_data) in av_downmix_info_update_side_data()
31 side_data = av_frame_new_side_data(frame, AV_FRAME_DATA_DOWNMIX_INFO, in av_downmix_info_update_side_data()
34 if (!side_data) in av_downmix_info_update_side_data()
37 return (AVDownmixInfo*)side_data->data; in av_downmix_info_update_side_data()
Dencryption_info.c291 const uint8_t *side_data, size_t side_data_size) in av_encryption_init_info_get_side_data() argument
298 if (!side_data || side_data_size < 4) in av_encryption_init_info_get_side_data()
301 init_info_count = AV_RB32(side_data); in av_encryption_init_info_get_side_data()
302 side_data += 4; in av_encryption_init_info_get_side_data()
310 system_id_size = AV_RB32(side_data); in av_encryption_init_info_get_side_data()
311 num_key_ids = AV_RB32(side_data + 4); in av_encryption_init_info_get_side_data()
312 key_id_size = AV_RB32(side_data + 8); in av_encryption_init_info_get_side_data()
313 data_size = AV_RB32(side_data + 12); in av_encryption_init_info_get_side_data()
320 side_data += FF_ENCRYPTION_INIT_INFO_EXTRA; in av_encryption_init_info_get_side_data()
335 memcpy(info->system_id, side_data, system_id_size); in av_encryption_init_info_get_side_data()
[all …]
Dfilm_grain_params.c33 AVFrameSideData *side_data = av_frame_new_side_data(frame, in av_film_grain_params_create_side_data() local
36 if (!side_data) in av_film_grain_params_create_side_data()
39 memset(side_data->data, 0, sizeof(AVFilmGrainParams)); in av_film_grain_params_create_side_data()
41 return (AVFilmGrainParams *)side_data->data; in av_film_grain_params_create_side_data()
Dhdr_dynamic_metadata.c38 AVFrameSideData *side_data = av_frame_new_side_data(frame, in av_dynamic_hdr_plus_create_side_data() local
41 if (!side_data) in av_dynamic_hdr_plus_create_side_data()
44 memset(side_data->data, 0, sizeof(AVDynamicHDRPlus)); in av_dynamic_hdr_plus_create_side_data()
46 return (AVDynamicHDRPlus *)side_data->data; in av_dynamic_hdr_plus_create_side_data()
Dhdr_dynamic_vivid_metadata.c38 AVFrameSideData *side_data = av_frame_new_side_data(frame, in av_dynamic_hdr_vivid_create_side_data() local
41 if (!side_data) in av_dynamic_hdr_vivid_create_side_data()
44 memset(side_data->data, 0, sizeof(AVDynamicHDRVivid)); in av_dynamic_hdr_vivid_create_side_data()
46 return (AVDynamicHDRVivid *)side_data->data; in av_dynamic_hdr_vivid_create_side_data()
Dstereo3d.c36 AVFrameSideData *side_data = av_frame_new_side_data(frame, in av_stereo3d_create_side_data() local
39 if (!side_data) in av_stereo3d_create_side_data()
42 memset(side_data->data, 0, sizeof(AVStereo3D)); in av_stereo3d_create_side_data()
44 return (AVStereo3D *)side_data->data; in av_stereo3d_create_side_data()
Dframe.c92 free_side_data(&frame->side_data[i]); in wipe_side_data()
96 av_freep(&frame->side_data); in wipe_side_data()
313 const AVFrameSideData *sd_src = src->side_data[i]; in frame_copy_props()
649 if (frame->nb_side_data > INT_MAX / sizeof(*frame->side_data) - 1) in av_frame_new_side_data_from_buf()
652 tmp = av_realloc(frame->side_data, in av_frame_new_side_data_from_buf()
653 (frame->nb_side_data + 1) * sizeof(*frame->side_data)); in av_frame_new_side_data_from_buf()
656 frame->side_data = tmp; in av_frame_new_side_data_from_buf()
667 frame->side_data[frame->nb_side_data++] = ret; in av_frame_new_side_data_from_buf()
690 if (frame->side_data[i]->type == type) in av_frame_get_side_data()
691 return frame->side_data[i]; in av_frame_get_side_data()
[all …]
/third_party/ffmpeg/libavutil/tests/
Dencryption_info.c77 uint8_t *side_data; in run_encryption_info_test() local
102 side_data = av_encryption_info_add_side_data(info, &side_data_size); in run_encryption_info_test()
103 av_assert0(side_data); in run_encryption_info_test()
106 copy = av_encryption_info_get_side_data(side_data, side_data_size); in run_encryption_info_test()
111 av_free(side_data); in run_encryption_info_test()
144 uint8_t *side_data; in run_encryption_init_info_test() local
149 side_data = av_encryption_init_info_add_side_data(info, &side_data_size); in run_encryption_init_info_test()
150 av_assert0(side_data); in run_encryption_init_info_test()
152 copy = av_encryption_init_info_get_side_data(side_data, side_data_size); in run_encryption_init_info_test()
156 av_free(side_data); in run_encryption_init_info_test()
[all …]
/third_party/ffmpeg/libavformat/
Davformat.c49 av_freep(&st->side_data[i].data); in ff_free_stream()
50 av_freep(&st->side_data); in ff_free_stream()
144 if (st->side_data[i].type == type) { in av_stream_get_side_data()
146 *size = st->side_data[i].size; in av_stream_get_side_data()
147 return st->side_data[i].data; in av_stream_get_side_data()
161 sd = &st->side_data[i]; in av_stream_add_side_data()
174 tmp = av_realloc_array(st->side_data, st->nb_side_data + 1, sizeof(*tmp)); in av_stream_add_side_data()
179 st->side_data = tmp; in av_stream_add_side_data()
182 sd = &st->side_data[st->nb_side_data - 1]; in av_stream_add_side_data()
212 av_free(dst->side_data[i].data); in ff_stream_side_data_copy()
[all …]
Drawutils.c73 uint8_t *side_data; in ff_get_packet_palette() local
76 side_data = av_packet_get_side_data(pkt, AV_PKT_DATA_PALETTE, &size); in ff_get_packet_palette()
77 if (side_data) { in ff_get_packet_palette()
82 memcpy(palette, side_data, AVPALETTE_SIZE); in ff_get_packet_palette()
Dhashenc.c299 if (HAVE_BIGENDIAN && pkt->side_data[i].type == AV_PKT_DATA_PALETTE) { in framehash_write_packet()
300 for (size_t j = 0; j < pkt->side_data[i].size; j += sizeof(uint32_t)) { in framehash_write_packet()
301 uint32_t data = AV_RL32(pkt->side_data[i].data + j); in framehash_write_packet()
305 av_hash_update(c->hashes[0], pkt->side_data[i].data, pkt->side_data[i].size); in framehash_write_packet()
307 ", %8"SIZE_SPECIFIER", ", pkt->side_data[i].size); in framehash_write_packet()
Dadtsenc.c176 uint8_t *side_data; in adts_write_packet() local
180 side_data = av_packet_get_side_data(pkt, AV_PKT_DATA_NEW_EXTRADATA, in adts_write_packet()
183 ret = adts_decode_extradata(s, adts, side_data, side_data_size); in adts_write_packet()
189 memcpy(par->extradata, side_data, side_data_size); in adts_write_packet()
Dlatmenc.c181 uint8_t *side_data; in latm_write_packet() local
185 side_data = av_packet_get_side_data(pkt, AV_PKT_DATA_NEW_EXTRADATA, in latm_write_packet()
188 if (latm_decode_extradata(s, side_data, side_data_size) < 0) in latm_write_packet()
193 memcpy(par->extradata, side_data, side_data_size); in latm_write_packet()

1234