Home
last modified time | relevance | path

Searched refs:avio_read (Results 1 – 25 of 136) sorted by relevance

123456

/third_party/ffmpeg/libavformat/
Dsauce.c40 if (avio_read(pb, buf, 7) != 7) in ff_sauce_read()
46 if (avio_read(pb, buf, size) == size && buf[0]) { \ in ff_sauce_read()
87 if (avio_read(pb, buf, 5) == 5 && !memcmp(buf, "COMNT", 5)) { in ff_sauce_read()
94 if (avio_read(pb, str + 65*i, 64) != 64) in ff_sauce_read()
Dipmovie.c197 if (avio_read(pb, pkt->data + 8, s->video_chunk_size) != in load_ipmovie_packet()
207 if (avio_read(pb, pkt->data + 8 + s->video_chunk_size, in load_ipmovie_packet()
218 if (avio_read(pb, pkt->data + 8 + s->video_chunk_size + s->decode_map_chunk_size, in load_ipmovie_packet()
297 if (avio_read(pb, chunk_preamble, CHUNK_PREAMBLE_SIZE) != in process_ipmovie_chunk()
345 if (avio_read(pb, opcode_preamble, CHUNK_PREAMBLE_SIZE) != in process_ipmovie_chunk()
384 if (avio_read(pb, scratch, opcode_size) != in process_ipmovie_chunk()
399 if (avio_read(pb, scratch, opcode_size) != in process_ipmovie_chunk()
438 if (avio_read(pb, scratch, opcode_size) != in process_ipmovie_chunk()
509 if (avio_read(pb, scratch, opcode_size) != opcode_size) { in process_ipmovie_chunk()
617 avio_read(pb, signature_buffer, sizeof(signature_buffer)); in ipmovie_read_header()
[all …]
Dbintext.c98 if (avio_read(pb, buf, sizeof(next_magic)) != sizeof(next_magic)) in next_tag_read()
111 if (avio_read(pb, buf, size) == size && *buf) { \ in next_tag_read()
243 if (avio_read(pb, st->codecpar->extradata + 2, st->codecpar->extradata_size - 2) < 0) in xbin_read_header()
277 if (avio_read(pb, st->codecpar->extradata + 2, 24) < 0) in adf_read_header()
280 if (avio_read(pb, st->codecpar->extradata + 2 + 24, 24) < 0) in adf_read_header()
282 if (avio_read(pb, st->codecpar->extradata + 2 + 48, 4096) < 0) in adf_read_header()
336 if (avio_read(pb, st->codecpar->extradata + 2 + 48, 4096) < 0) in idf_read_header()
338 if (avio_read(pb, st->codecpar->extradata + 2, 48) < 0) in idf_read_header()
Ddss.c77 ret = avio_read(s->pb, string, DSS_TIME_SIZE); in dss_read_metadata_date()
103 ret = avio_read(s->pb, value, size); in dss_read_metadata_string()
227 ret = avio_read(s->pb, pkt->data + buff_offset, in dss_sp_read_packet()
238 ret = avio_read(s->pb, pkt->data + offset + buff_offset, in dss_sp_read_packet()
288 ret = avio_read(s->pb, pkt->data + offset, in dss_723_1_read_packet()
300 ret = avio_read(s->pb, pkt->data + offset, size); in dss_723_1_read_packet()
339 avio_read(s->pb, header, DSS_AUDIO_BLOCK_HEADER_SIZE); in dss_read_seek()
Daacdec.c123 if (avio_read(s->pb, &syncword, 2) != 2) { in adts_aac_get_frame_length()
133 if (avio_read(s->pb, &protection_absent, 1) < 1) { in adts_aac_get_frame_length()
141 if (avio_read(s->pb, &header, 3) < 3) { in adts_aac_get_frame_length()
154 if (avio_read(s->pb, &head, 2) < 2) { in adts_aac_get_frame_length()
169 if (avio_read(s->pb, &raw_data_block_num, 1) < 1) { in adts_aac_get_raw_data_block_num()
198 if (avio_read(s->pb, &header, 2) < 2) { in adts_aac_get_duration()
Didroqdec.c78 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) != in roq_read_header()
113 if ((ret = avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE)) != in roq_read_packet()
137 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) != RoQ_CHUNK_PREAMBLE_SIZE) in roq_read_packet()
154 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) != in roq_read_packet()
222 ret = avio_read(pb, pkt->data + RoQ_CHUNK_PREAMBLE_SIZE, in roq_read_packet()
Dargo_brp.c141 if ((ret = avio_read(s->pb, buf, size)) < 0) in read_extradata()
157 if ((ret = avio_read(pb, buf, BRP_FILE_HEADER_SIZE)) < 0) in argo_brp_read_header()
183 if ((ret = avio_read(pb, buf, BRP_STREAM_HEADER_SIZE)) < 0) in argo_brp_read_header()
288 if ((ret = avio_read(pb, buf, BRP_BLOCK_HEADER_SIZE)) < 0) in argo_brp_read_header()
315 if ((ret = avio_read(pb, buf, ASF_CHUNK_HEADER_SIZE)) < 0) in argo_brp_read_header()
360 if ((ret = avio_read(s->pb, buf, BRP_BLOCK_HEADER_SIZE)) < 0) in argo_brp_read_packet()
382 if ((ret = avio_read(s->pb, buf, ASF_CHUNK_HEADER_SIZE)) < 0) in argo_brp_read_packet()
Dflic.c99 if (avio_read(pb, header, FLIC_HEADER_SIZE) != FLIC_HEADER_SIZE) in flic_read_header()
133 if (avio_read(pb, preamble, FLIC_PREAMBLE_SIZE) != FLIC_PREAMBLE_SIZE) { in flic_read_header()
208 if ((ret = avio_read(pb, preamble, FLIC_PREAMBLE_SIZE)) != in flic_read_packet()
224 ret = avio_read(pb, pkt->data + FLIC_PREAMBLE_SIZE, in flic_read_packet()
245 ret = avio_read(pb, pkt->data, size); in flic_read_packet()
Dlxfdec.c92 if ((ret = avio_read(s->pb, buf, LXF_IDENT_LENGTH)) != LXF_IDENT_LENGTH) in lxf_sync()
127 ret = avio_read(pb, header + LXF_IDENT_LENGTH, 8); in get_packet_header()
144 if ((ret = avio_read(pb, header + (p - header), in get_packet_header()
250 if ((ret = avio_read(pb, header_data, LXF_HEADER_DATA_SIZE)) != LXF_HEADER_DATA_SIZE) in lxf_read_header()
321 if ((ret2 = avio_read(pb, pkt->data, ret)) != ret) { in lxf_read_packet()
Dwestwood_aud.c90 if (avio_read(pb, header, AUD_HEADER_SIZE) != AUD_HEADER_SIZE) in wsaud_read_header()
136 if (avio_read(pb, preamble, AUD_CHUNK_PREAMBLE_SIZE) != in wsaud_read_packet()
154 if ((ret = avio_read(pb, &pkt->data[4], chunk_size)) != chunk_size) in wsaud_read_packet()
Did3v2.c211 avio_read(s, tag, len) < (int)len) in check_tag()
416 if (avio_read(pb, lang, 3) < 3) in read_uslt()
551 if ((len = avio_read(pb, geob_data->data, taglen)) < taglen) in read_geobtag()
665 if (avio_read(pb, mimetype, 3) < 0) in read_apic()
704 if (!apic->buf || !taglen || avio_read(pb, apic->buf->data, taglen) != taglen) in read_apic()
757 if (avio_read(pb, tag, 4) < 4) in read_chapter()
813 if (avio_read(pb, priv->data, priv->datasize) != priv->datasize) in read_priv()
938 if (avio_read(pb, tag, 4) < 4) in id3v2_parse()
966 if (avio_read(pb, tag, 3) < 3) in id3v2_parse()
1030 if (avio_read(pb, buffer, tlen) != tlen) { in id3v2_parse()
[all …]
Dsierravmd.c103 if (avio_read(pb, vmd->vmd_header, VMD_HEADER_SIZE) != VMD_HEADER_SIZE) in vmd_read_header()
193 if (avio_read(pb, raw_frame_table, raw_frame_table_size) != in vmd_read_header()
209 if ((ret = avio_read(pb, chunk, BYTES_PER_FRAME_RECORD)) != BYTES_PER_FRAME_RECORD) { in vmd_read_header()
287 ret = avio_read(pb, pkt->data, frame->frame_size); in vmd_read_packet()
289 ret = avio_read(pb, pkt->data + BYTES_PER_FRAME_RECORD, in vmd_read_packet()
Dsegafilm.c101 if (avio_read(pb, scratch, 16) != 16) in film_read_header()
109 if (avio_read(pb, scratch, 20) != 20) in film_read_header()
118 if (avio_read(pb, scratch, 32) != 32) in film_read_header()
198 if (avio_read(pb, scratch, 16) != 16) in film_read_header()
219 if (avio_read(pb, scratch, 16) != 16) in film_read_header()
Ddxa.c178 if ((ret = avio_read(s->pb, buf, 4)) != 4) { in dxa_read_packet()
197 avio_read(s->pb, pal + 4, 768); in dxa_read_packet()
200 if ((ret = avio_read(s->pb, buf + 4, DXA_EXTRA_SIZE - 4)) != DXA_EXTRA_SIZE - 4) { in dxa_read_packet()
214 ret = avio_read(s->pb, pkt->data + DXA_EXTRA_SIZE + pal_size, size); in dxa_read_packet()
Dvqf.c64 avio_read(s->pb, buf, len); in add_metadata()
138 avio_read(s->pb, comm_chunk, 12); in vqf_read_header()
252 ret = avio_read(s->pb, pkt->data+2, size); in vqf_read_packet()
Dvividas.c204 if (avio_read(src, tmp, 4) != 4) in read_vblock()
222 if (avio_read(src, buf + 4, n) == n) { in read_vblock()
240 if (avio_read(src, ibuf, 8) < 8) in read_sb_block()
270 if (avio_read(src, buf+8, n) != n) { in read_sb_block()
417 int ret = avio_read(pb, &p[offset], data_len[j]); in track_header()
566 avio_read(pb, keybuffer, 187); in viv_read_header()
586 avio_read(pb, keybuffer, 187); in viv_read_header()
Dbethsoftvid.c148 if (avio_read(pb, &vidbuf_start[vidbuf_nbytes], 2) != 2) { in read_frame()
171 if (avio_read(pb, &vidbuf_start[vidbuf_nbytes], code) != code) { in read_frame()
239 if (avio_read(pb, vid->palette, BVID_PALETTE_SIZE) != BVID_PALETTE_SIZE) { in vid_read_packet()
Dmxfdec.c458 avio_read(pb, klv->key + 4, 12); in klv_read_packet()
646 avio_read(pb, klv->key, 16); in mxf_decrypt_triplet()
663 avio_read(pb, ivec, 16); in mxf_decrypt_triplet()
664 avio_read(pb, tmpbuf, 16); in mxf_decrypt_triplet()
707 avio_read(pb, mxf->local_tags, item_num*item_len); in mxf_read_primer_pack()
782 if (avio_read(pb, op, sizeof(UID)) != sizeof(UID)) { in mxf_read_partition_pack()
943 avio_read(pb, cryptocontext->source_container_ul, 16); in mxf_read_cryptographic_context()
964 ret = avio_read(pb, (uint8_t *)*refs, *count * sizeof(UID)); in mxf_read_strong_ref_array()
1059 avio_read(pb, source_clip->source_package_ul, 16); in mxf_read_source_clip()
1060 avio_read(pb, source_clip->source_package_uid, 16); in mxf_read_source_clip()
[all …]
Dcafdec.c138 if (avio_read(pb, preamble, ALAC_PREAMBLE) != ALAC_PREAMBLE) { in read_kuki_chunk()
156 if (avio_read(pb, st->codecpar->extradata, ALAC_HEADER) != ALAC_HEADER) { in read_kuki_chunk()
167 … if (avio_read(pb, &st->codecpar->extradata[24], ALAC_NEW_KUKI - 12) != ALAC_NEW_KUKI - 12) { in read_kuki_chunk()
189 if (avio_read(pb, buf, 4) != 4) { in read_kuki_chunk()
203 if (avio_read(pb, buf, sizeof(buf)) != sizeof(buf)) { in read_kuki_chunk()
Dscd.c102 … if ((ret = avio_read(s->pb, (unsigned char*)table->entries, table->count * sizeof(uint32_t))) < 0) in scd_read_table()
121 if ((ret = avio_read(s->pb, buf, SCD_OFFSET_HEADER_SIZE)) < 0) in scd_read_offsets()
168 if ((ret = avio_read(s->pb, buf, SCD_TRACK_HEADER_SIZE)) < 0) in scd_read_track()
243 if ((ret = avio_read(s->pb, buf, SCD_MIN_HEADER_SIZE)) < 0) in scd_read_header()
Dswfdec.c124 int n = avio_read(s->pb, swf->zbuf_in, ZBUF_SIZE); in zlib_refill()
384 len = avio_read(pb, zbuf, len); in swf_read_packet()
517 if (avio_read(pb, pkt->data, 4) != 4) { in swf_read_packet()
526 res = avio_read(pb, pkt->data, pkt->size); in swf_read_packet()
528 res = avio_read(pb, pkt->data + 4, pkt->size - 4); in swf_read_packet()
Dpp_bnk.c118 if ((ret = avio_read(s->pb, buf, PP_BNK_FILE_HEADER_SIZE)) < 0) in pp_bnk_read_header()
146 ret = avio_read(s->pb, buf, PP_BNK_TRACK_SIZE); in pp_bnk_read_header()
261 ret = avio_read(s->pb, pkt->data + size * ctx->current_track, size); in pp_bnk_read_packet()
Dwvdec.c92 ret = avio_read(pb, wc->block_header, WV_HEADER_SIZE); in wv_read_block_header()
297 ret = avio_read(s->pb, pkt->data + WV_HEADER_SIZE, wc->header.blocksize); in wv_read_packet()
312 ret = avio_read(s->pb, pkt->data + off + WV_HEADER_SIZE, wc->header.blocksize); in wv_read_packet()
Dmm.c148 if (avio_read(pb, preamble, MM_PREAMBLE_SIZE) != MM_PREAMBLE_SIZE) { in read_packet()
167 if (avio_read(pb, pkt->data + MM_PREAMBLE_SIZE, length) != length) in read_packet()
Dgifdec.c238 ret = avio_read(pb, data, sb_size); in gif_read_ext()
244 ret = avio_read(pb, data, sb_size); in gif_read_ext()
273 if ((ret = avio_read(pb, buf, 6)) == 6) { in gif_read_packet()

123456