Lines Matching refs:vos_len
326 if (track->vos_len < 7) { in mov_write_ac3_tag()
336 init_get_bits(&gbc, track->vos_data + 4, (track->vos_len - 4) * 8); in mov_write_ac3_tag()
691 int decoder_specific_info_len = track->vos_len ? 5 + track->vos_len : 0; in mov_write_esds_tag()
726 if (track->vos_len) { in mov_write_esds_tag()
728 put_descr(pb, 0x05, track->vos_len); in mov_write_esds_tag()
729 avio_write(pb, track->vos_data, track->vos_len); in mov_write_esds_tag()
838 if (track->vos_len < 20) { in mov_write_dmlp_tag()
846 if (length < 20 || length > track->vos_len) in mov_write_dmlp_tag()
934 const uint8_t *start, *next, *end = track->vos_data + track->vos_len; in mov_write_dvc1_structs()
951 unescaped = av_mallocz(track->vos_len + AV_INPUT_BUFFER_PADDING_SIZE); in mov_write_dvc1_structs()
1022 avio_wb32(pb, track->vos_len + 8 + sizeof(buf)); in mov_write_dvc1_tag()
1025 avio_write(pb, track->vos_data, track->vos_len); in mov_write_dvc1_tag()
1032 avio_wb32(pb, track->vos_len + 8); in mov_write_glbl_tag()
1034 avio_write(pb, track->vos_data, track->vos_len); in mov_write_glbl_tag()
1035 return 8 + track->vos_len; in mov_write_glbl_tag()
1259 else if (track->vos_len > 0) in mov_write_audio_tag()
1301 ff_isom_write_av1c(pb, track->vos_data, track->vos_len); in mov_write_av1c_tag()
1311 ff_isom_write_avcc(pb, track->vos_data, track->vos_len); in mov_write_avcc_tag()
1334 ff_isom_write_hvcc(pb, track->vos_data, track->vos_len, 1); in mov_write_hvcc_tag()
1336 ff_isom_write_hvcc(pb, track->vos_data, track->vos_len, 0); in mov_write_hvcc_tag()
1348 if (track->vos_data && track->vos_len > 0x29) { in mov_write_avid_tag()
2222 } else if (track->par->codec_id == AV_CODEC_ID_VC1 && track->vos_len > 0) in mov_write_video_tag()
2231 } else if (track->vos_len > 0) in mov_write_video_tag()
5636 if (trk->vos_len == 0 && par->extradata_size > 0 && in ff_mov_write_packet()
5639 trk->vos_len = par->extradata_size; in ff_mov_write_packet()
5640 trk->vos_data = av_malloc(trk->vos_len + AV_INPUT_BUFFER_PADDING_SIZE); in ff_mov_write_packet()
5645 memcpy(trk->vos_data, par->extradata, trk->vos_len); in ff_mov_write_packet()
5646 memset(trk->vos_data + trk->vos_len, 0, AV_INPUT_BUFFER_PADDING_SIZE); in ff_mov_write_packet()
5653 par->codec_id == AV_CODEC_ID_AC3) && !trk->vos_len && in ff_mov_write_packet()
5656 trk->vos_len = size; in ff_mov_write_packet()
5676 …if (par->codec_id == AV_CODEC_ID_H264 && trk->vos_len > 0 && *(uint8_t *)trk->vos_data != 1 && !TA… in ff_mov_write_packet()
5696 } else if (par->codec_id == AV_CODEC_ID_HEVC && trk->vos_len > 6 && in ff_mov_write_packet()
6344 if (mov->tracks[i].vos_len) in mov_free()
6413 track->vos_len = 16 * 4; in mov_create_dvd_sub_decoder_specific_info()
6798 track->vos_len = st->codecpar->extradata_size; in mov_write_header()
6799 track->vos_data = av_malloc(track->vos_len + AV_INPUT_BUFFER_PADDING_SIZE); in mov_write_header()
6803 memcpy(track->vos_data, st->codecpar->extradata, track->vos_len); in mov_write_header()
6804 memset(track->vos_data + track->vos_len, 0, AV_INPUT_BUFFER_PADDING_SIZE); in mov_write_header()
7060 track->vos_len = par->extradata_size; in mov_write_trailer()
7062 track->vos_data = av_malloc(track->vos_len + AV_INPUT_BUFFER_PADDING_SIZE); in mov_write_trailer()
7065 memcpy(track->vos_data, par->extradata, track->vos_len); in mov_write_trailer()
7066 memset(track->vos_data + track->vos_len, 0, AV_INPUT_BUFFER_PADDING_SIZE); in mov_write_trailer()