/third_party/ffmpeg/libavformat/ |
D | sauce.c | 40 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()
|
D | bintext.c | 96 if (avio_read(pb, buf, sizeof(next_magic)) != sizeof(next_magic)) in next_tag_read() 109 if (avio_read(pb, buf, size) == size && *buf) { \ in next_tag_read() 249 if (avio_read(pb, st->codecpar->extradata + 2, st->codecpar->extradata_size - 2) < 0) in xbin_read_header() 283 if (avio_read(pb, st->codecpar->extradata + 2, 24) < 0) in adf_read_header() 286 if (avio_read(pb, st->codecpar->extradata + 2 + 24, 24) < 0) in adf_read_header() 288 if (avio_read(pb, st->codecpar->extradata + 2 + 48, 4096) < 0) in adf_read_header() 342 if (avio_read(pb, st->codecpar->extradata + 2 + 48, 4096) < 0) in idf_read_header() 344 if (avio_read(pb, st->codecpar->extradata + 2, 48) < 0) in idf_read_header()
|
D | dss.c | 78 ret = avio_read(s->pb, string, DSS_TIME_SIZE); in dss_read_metadata_date() 104 ret = avio_read(s->pb, value, size); in dss_read_metadata_string() 234 ret = avio_read(s->pb, ctx->dss_sp_buf + buff_offset, in dss_sp_read_packet() 244 ret = avio_read(s->pb, ctx->dss_sp_buf + offset + buff_offset, in dss_sp_read_packet() 294 ret = avio_read(s->pb, pkt->data + offset, in dss_723_1_read_packet() 306 ret = avio_read(s->pb, pkt->data + offset, size); in dss_723_1_read_packet() 345 avio_read(s->pb, header, DSS_AUDIO_BLOCK_HEADER_SIZE); in dss_read_seek()
|
D | ipmovie.c | 195 if (avio_read(pb, pkt->data + 8, s->video_chunk_size) != in load_ipmovie_packet() 206 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() 300 if (avio_read(pb, chunk_preamble, CHUNK_PREAMBLE_SIZE) != in process_ipmovie_chunk() 348 if (avio_read(pb, opcode_preamble, CHUNK_PREAMBLE_SIZE) != in process_ipmovie_chunk() 387 if (avio_read(pb, scratch, opcode_size) != in process_ipmovie_chunk() 402 if (avio_read(pb, scratch, opcode_size) != in process_ipmovie_chunk() 441 if (avio_read(pb, scratch, opcode_size) != in process_ipmovie_chunk() 512 if (avio_read(pb, scratch, opcode_size) != opcode_size) { in process_ipmovie_chunk() 642 avio_read(pb, signature_buffer, sizeof(signature_buffer)); in ipmovie_read_header() [all …]
|
D | aacdec.c | 121 if (avio_read(s->pb, &syncword, 2) != 2) { in adts_aac_get_frame_length() 131 if (avio_read(s->pb, &protection_absent, 1) < 1) { in adts_aac_get_frame_length() 139 if (avio_read(s->pb, &header, 3) < 3) { in adts_aac_get_frame_length() 152 if (avio_read(s->pb, &head, 2) < 2) { in adts_aac_get_frame_length() 167 if (avio_read(s->pb, &raw_data_block_num, 1) < 1) { in adts_aac_get_raw_data_block_num() 196 if (avio_read(s->pb, &header, 2) < 2) { in adts_aac_get_duration()
|
D | idroqdec.c | 78 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() 224 ret = avio_read(pb, pkt->data + RoQ_CHUNK_PREAMBLE_SIZE, in roq_read_packet()
|
D | argo_brp.c | 141 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()
|
D | flic.c | 99 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() 209 if ((ret = avio_read(pb, preamble, FLIC_PREAMBLE_SIZE)) != in flic_read_packet() 225 ret = avio_read(pb, pkt->data + FLIC_PREAMBLE_SIZE, in flic_read_packet() 246 ret = avio_read(pb, pkt->data, size); in flic_read_packet()
|
D | lxfdec.c | 91 if ((ret = avio_read(s->pb, buf, LXF_IDENT_LENGTH)) != LXF_IDENT_LENGTH) in lxf_sync() 126 ret = avio_read(pb, header + LXF_IDENT_LENGTH, 8); in get_packet_header() 143 if ((ret = avio_read(pb, header + (p - header), in get_packet_header() 249 if ((ret = avio_read(pb, header_data, LXF_HEADER_DATA_SIZE)) != LXF_HEADER_DATA_SIZE) in lxf_read_header() 320 if ((ret2 = avio_read(pb, pkt->data, ret)) != ret) { in lxf_read_packet()
|
D | westwood_aud.c | 90 if (avio_read(pb, header, AUD_HEADER_SIZE) != AUD_HEADER_SIZE) in wsaud_read_header() 138 if (avio_read(pb, preamble, AUD_CHUNK_PREAMBLE_SIZE) != in wsaud_read_packet() 156 if ((ret = avio_read(pb, &pkt->data[4], chunk_size)) != chunk_size) in wsaud_read_packet()
|
D | id3v2.c | 210 avio_read(s, tag, len) < (int)len) in check_tag() 374 if (avio_read(pb, lang, 3) < 3) in read_uslt() 497 if ((len = avio_read(pb, geob_data->data, taglen)) < taglen) in read_geobtag() 613 if (avio_read(pb, mimetype, 3) < 0) in read_apic() 652 if (!apic->buf || !taglen || avio_read(pb, apic->buf->data, taglen) != taglen) in read_apic() 705 if (avio_read(pb, tag, 4) < 4) in read_chapter() 762 if (avio_read(pb, priv->data, priv->datasize) != priv->datasize) in read_priv() 888 if (avio_read(pb, tag, 4) < 4) in id3v2_parse() 916 if (avio_read(pb, tag, 3) < 3) in id3v2_parse() 980 if (avio_read(pb, buffer, tlen) != tlen) { in id3v2_parse() [all …]
|
D | segafilm.c | 101 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() 221 if (avio_read(pb, scratch, 16) != 16) { in film_read_header()
|
D | sierravmd.c | 104 if (avio_read(pb, vmd->vmd_header, VMD_HEADER_SIZE) != VMD_HEADER_SIZE) in vmd_read_header() 199 if (avio_read(pb, raw_frame_table, raw_frame_table_size) != in vmd_read_header() 215 if ((ret = avio_read(pb, chunk, BYTES_PER_FRAME_RECORD)) != BYTES_PER_FRAME_RECORD) { in vmd_read_header() 296 ret = avio_read(pb, pkt->data, frame->frame_size); in vmd_read_packet() 298 ret = avio_read(pb, pkt->data + BYTES_PER_FRAME_RECORD, in vmd_read_packet()
|
D | dxa.c | 175 if ((ret = avio_read(s->pb, buf, 4)) != 4) { in dxa_read_packet() 194 avio_read(s->pb, pal + 4, 768); in dxa_read_packet() 197 if ((ret = avio_read(s->pb, buf + 4, DXA_EXTRA_SIZE - 4)) != DXA_EXTRA_SIZE - 4) { in dxa_read_packet() 211 ret = avio_read(s->pb, pkt->data + DXA_EXTRA_SIZE + pal_size, size); in dxa_read_packet()
|
D | vqf.c | 64 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()
|
D | amr.c | 87 if (avio_read(pb, header, 6) != 6) in amr_read_header() 94 if (avio_read(pb, header + 6, 3) != 3) in amr_read_header() 150 read = avio_read(s->pb, pkt->data + 1, size - 1); in amr_read_packet()
|
D | nuv.c | 165 avio_read(pb, id_string, 12); in nuv_header() 261 ret = avio_read(pb, hdr, HDRSIZE); in nuv_packet() 289 ret = avio_read(pb, pkt->data + copyhdrsize, size); in nuv_packet() 360 if (avio_read(pb, hdr, HDRSIZE) < HDRSIZE) in nuv_read_dts()
|
D | mxfdec.c | 429 avio_read(pb, klv->key + 4, 12); in klv_read_packet() 616 avio_read(pb, klv->key, 16); in mxf_decrypt_triplet() 633 avio_read(pb, ivec, 16); in mxf_decrypt_triplet() 634 avio_read(pb, tmpbuf, 16); in mxf_decrypt_triplet() 677 avio_read(pb, mxf->local_tags, item_num*item_len); in mxf_read_primer_pack() 743 if (avio_read(pb, op, sizeof(UID)) != sizeof(UID)) { in mxf_read_partition_pack() 872 avio_read(pb, cryptocontext->source_container_ul, 16); in mxf_read_cryptographic_context() 886 avio_read(pb, (uint8_t *)*refs, *count * sizeof(UID)); in mxf_read_strong_ref_array() 952 avio_read(pb, source_clip->source_package_ul, 16); in mxf_read_source_clip() 953 avio_read(pb, source_clip->source_package_uid, 16); in mxf_read_source_clip() [all …]
|
D | vividas.c | 204 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() 416 int ret = avio_read(pb, &p[offset], data_len[j]); in track_header() 564 avio_read(pb, keybuffer, 187); in viv_read_header() 584 avio_read(pb, keybuffer, 187); in viv_read_header()
|
D | wavdec.c | 91 len = ret = avio_read(s->pb, buf, len); in set_spdif() 251 if ((ret = avio_read(s->pb, temp, length)) != length) in wav_parse_bext_string() 321 if ((ret = avio_read(s->pb, coding_history, size)) != size) { in wav_parse_bext_tag() 683 avio_read(pb, guid, 16); in find_guid() 856 avio_read(pb, guid, 16); in w64_read_header() 864 avio_read(pb, guid, 16); in w64_read_header() 877 if (avio_read(pb, guid, 16) != 16) in w64_read_header() 922 avio_read(pb, chunk_key, 4); in w64_read_header()
|
D | ilbc.c | 71 avio_read(pb, header, 9); in ilbc_read_header() 108 if ((ret = avio_read(s->pb, pkt->data, par->block_align)) != par->block_align) { in ilbc_read_packet()
|
D | bethsoftvid.c | 148 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()
|
D | swfdec.c | 123 int n = avio_read(s->pb, swf->zbuf_in, ZBUF_SIZE); in zlib_refill() 389 len = avio_read(pb, zbuf, len); in swf_read_packet() 522 if (avio_read(pb, pkt->data, 4) != 4) { in swf_read_packet() 531 res = avio_read(pb, pkt->data, pkt->size); in swf_read_packet() 533 res = avio_read(pb, pkt->data + 4, pkt->size - 4); in swf_read_packet()
|
D | gifdec.c | 238 ret = avio_read(pb, data, sb_size); in gif_read_ext() 244 ret = avio_read(pb, data, sb_size); in gif_read_ext() 272 if ((ret = avio_read(pb, buf, 6)) == 6) { in gif_read_packet()
|
D | pp_bnk.c | 117 if ((ret = avio_read(s->pb, buf, PP_BNK_FILE_HEADER_SIZE)) < 0) in pp_bnk_read_header() 145 ret = avio_read(s->pb, buf, PP_BNK_TRACK_SIZE); in pp_bnk_read_header() 278 ret = avio_read(s->pb, pkt->data + size * ctx->current_track, size); in pp_bnk_read_packet()
|