/third_party/ffmpeg/libavformat/ |
D | cdxl.c | 122 uint16_t audio_size, palette_size, width, height; in cdxl_read_packet() local 145 audio_size = AV_RB16(&cdxl->header[22]) * channels; in cdxl_read_packet() 147 if (!cdxl->srate && audio_size) in cdxl_read_packet() 163 if (current_size < (uint64_t)audio_size + video_size + CDXL_HEADER_SIZE) in cdxl_read_packet() 166 if (!cdxl->frate.num && audio_size && cdxl->srate > 0) { in cdxl_read_packet() 167 cdxl->frate = (AVRational){ cdxl->srate, audio_size }; in cdxl_read_packet() 172 if (cdxl->read_chunk && audio_size) { in cdxl_read_packet() 187 if (current_size && cdxl->filesize > 0 && audio_size > 0) in cdxl_read_packet() 188 st->duration = (cdxl->filesize / current_size) * audio_size / channels; in cdxl_read_packet() 191 ret = av_get_packet(pb, pkt, audio_size); in cdxl_read_packet() [all …]
|
D | rl2.c | 93 int* audio_size = NULL; in rl2_read_header() local 163 audio_size = av_malloc(frame_count * sizeof(uint32_t)); in rl2_read_header() 166 if(!chunk_size || !audio_size || !chunk_offset){ in rl2_read_header() 168 av_free(audio_size); in rl2_read_header() 193 audio_size[i] = avio_rl32(pb) & 0xFFFF; in rl2_read_header() 198 if(chunk_size[i] < 0 || audio_size[i] > chunk_size[i]){ in rl2_read_header() 203 if(sound_rate && audio_size[i]){ in rl2_read_header() 205 audio_frame_counter,audio_size[i], 0, AVINDEX_KEYFRAME); in rl2_read_header() 206 audio_frame_counter += audio_size[i] / channels; in rl2_read_header() 208 av_add_index_entry(s->streams[0], chunk_offset[i] + audio_size[i], in rl2_read_header() [all …]
|
D | jvdec.c | 37 int audio_size; /**< audio packet size (bytes) */ member 131 jvf->audio_size = avio_rl32(pb); in read_header() 135 if ((jvf->video_size | jvf->audio_size) & ~0xFFFFFF || in read_header() 136 e->size - jvf->audio_size in read_header() 145 jvf->audio_size = in read_header() 156 e->timestamp = jvf->audio_size ? audio_pts : AV_NOPTS_VALUE; in read_header() 157 audio_pts += jvf->audio_size; in read_header() 180 if (jvf->audio_size) { in read_packet() 181 if ((ret = av_get_packet(s->pb, pkt, jvf->audio_size)) < 0) in read_packet() 213 avio_skip(pb, FFMAX(e->size - jvf->audio_size - jvf->video_size in read_packet()
|
D | paf.c | 51 int audio_size; member 166 p->audio_size = p->max_audio_blks * p->buffer_size; in read_header() 167 p->audio_frame = av_mallocz(p->audio_size); in read_header() 168 p->temp_audio_frame = av_mallocz(p->audio_size); in read_header() 220 if ((ret = av_new_packet(pkt, p->audio_size)) < 0) in read_packet() 223 memcpy(pkt->data, p->temp_audio_frame, p->audio_size); in read_packet() 224 pkt->duration = PAF_SOUND_SAMPLES * (p->audio_size / PAF_SOUND_FRAME_SIZE); in read_packet() 239 if (offset > p->audio_size - p->buffer_size) in read_packet() 244 memcpy(p->temp_audio_frame, p->audio_frame, p->audio_size); in read_packet()
|
D | bmv.c | 93 int audio_size = c->packet[1] * 65 + 1; in bmv_read_packet() local 94 if (audio_size >= c->size) { in bmv_read_packet() 96 audio_size, c->size); in bmv_read_packet() 99 if ((err = av_new_packet(pkt, audio_size)) < 0) in bmv_read_packet()
|
D | bink.c | 265 uint32_t audio_size = avio_rl32(pb); in read_packet() local 266 if (audio_size > bink->remain_packet_size - 4) { in read_packet() 269 bink->video_pts, audio_size, bink->remain_packet_size); in read_packet() 272 bink->remain_packet_size -= 4 + audio_size; in read_packet() 274 if (audio_size >= 4) { in read_packet() 276 if ((ret = av_get_packet(pb, pkt, audio_size)) < 0) in read_packet() 288 avio_skip(pb, audio_size); in read_packet()
|
D | gdv.c | 31 int audio_size; member 110 gdv->audio_size = (ast->codecpar->sample_rate / fps) * in gdv_read_header() 164 if (gdv->audio_size && gdv->is_audio) { in gdv_read_packet() 165 ret = av_get_packet(pb, pkt, gdv->audio_size); in gdv_read_packet()
|
D | bfi.c | 124 int ret, audio_offset, video_offset, chunk_size, audio_size = 0; in bfi_read_packet() local 143 audio_size = video_offset - audio_offset; in bfi_read_packet() 145 if (audio_size < 0 || bfi->video_size < 0) { in bfi_read_packet() 151 ret = av_get_packet(pb, pkt, audio_size); in bfi_read_packet()
|
D | dsfdec.c | 29 uint64_t audio_size; member 125 dsf->audio_size = avio_rl64(pb) / 8 * st->codecpar->channels; in dsf_read_header() 159 if (dsf->data_size > dsf->audio_size) { in dsf_read_packet() 164 int64_t packet_size = dsf->audio_size - data_pos; in dsf_read_packet()
|
D | rpl.c | 286 int64_t offset, video_size, audio_size; in rpl_read_header() local 289 &offset, &video_size, &audio_size)) { in rpl_read_header() 298 audio_size, audio_size * 8, 0); in rpl_read_header() 299 total_audio_size += audio_size * 8; in rpl_read_header()
|
D | mp3enc.c | 111 uint32_t audio_size; // total size of the audio data member 281 mp3->audio_size = mp3->xing_frame_size; in mp3_write_xing() 361 mp3->audio_size += pkt->size; in mp3_write_audio_packet() 459 AV_WB32(mp3->xing_frame + mp3->xing_offset + XING_SIZE - 8, mp3->audio_size); in mp3_update_xing()
|
/third_party/gstreamer/gstplugins_good/gst/avi/ |
D | gstavimux.h | 129 guint32 audio_size; member
|
D | gstavimux.c | 319 audpad->audio_size = 0; in gst_avi_mux_pad_reset() 1939 (GST_SECOND * audpad->audio_size) / audpad->audio_time; in gst_avi_mux_stop_file() 2245 audpad->audio_size += datasize; in gst_avi_mux_do_buffer()
|
/third_party/ffmpeg/fftools/ |
D | ffplay.c | 2458 int audio_size, len1; in sdl_audio_callback() local 2464 audio_size = audio_decode_frame(is); in sdl_audio_callback() 2465 if (audio_size < 0) { in sdl_audio_callback() 2471 update_sample_display(is, (int16_t *)is->audio_buf, audio_size); in sdl_audio_callback() 2472 is->audio_buf_size = audio_size; in sdl_audio_callback()
|
D | ffmpeg.c | 1587 uint64_t video_size = 0, audio_size = 0, extra_size = 0, other_size = 0; in print_final_stats() local 1598 case AVMEDIA_TYPE_AUDIO: audio_size += ost->data_size; break; in print_final_stats() 1614 audio_size / 1024.0, in print_final_stats() 1692 if(video_size + data_size + audio_size + subtitle_size + extra_size == 0){ in print_final_stats()
|