/third_party/ffmpeg/libavutil/ |
D | samplefmt.c | 106 int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt) in av_get_bytes_per_sample() function 123 int sample_size = av_get_bytes_per_sample(sample_fmt); in av_samples_get_buffer_size() 219 int block_align = av_get_bytes_per_sample(sample_fmt) * (planar ? 1 : nb_channels); in av_samples_copy() 242 int block_align = av_get_bytes_per_sample(sample_fmt) * (planar ? 1 : nb_channels); in av_samples_set_silence()
|
D | samplefmt.h | 140 int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt);
|
/third_party/ffmpeg/libavcodec/ |
D | audiotoolboxenc.c | 247 .mBytesPerPacket = av_get_bytes_per_sample(avctx->sample_fmt) * avctx->channels, in ffat_init_encoder() 249 .mBytesPerFrame = av_get_bytes_per_sample(avctx->sample_fmt) * avctx->channels, in ffat_init_encoder() 251 .mBitsPerChannel = av_get_bytes_per_sample(avctx->sample_fmt) * 8, in ffat_init_encoder() 479 av_get_bytes_per_sample(avctx->sample_fmt) * in ffat_encode_callback()
|
D | audiotoolboxdec.c | 317 .mBitsPerChannel = av_get_bytes_per_sample(sample_fmt) * 8, in ffat_create_decoder() 390 if(!(at->decoded_data = av_malloc(av_get_bytes_per_sample(avctx->sample_fmt) in ffat_create_decoder() 512 .mDataByteSize = av_get_bytes_per_sample(avctx->sample_fmt) * avctx->frame_size in ffat_decode()
|
D | vmdaudio.c | 93 s->out_bps = av_get_bytes_per_sample(avctx->sample_fmt); in vmdaudio_decode_init()
|
D | libopusenc.c | 411 av_get_bytes_per_sample(avctx->sample_fmt)); in libopus_encode_init() 457 const int bytes_per_sample = av_get_bytes_per_sample(avctx->sample_fmt); in libopus_encode()
|
D | opusenc.c | 128 size_t bps = av_get_bytes_per_sample(cur->format); in celt_frame_setup_input() 143 const size_t bps = av_get_bytes_per_sample(cur->format); in celt_frame_setup_input() 529 size_t bps = av_get_bytes_per_sample(f->format); in spawn_empty_frame()
|
D | libfdk-aacdec.c | 389 av_get_bytes_per_sample(avctx->sample_fmt)); in fdk_aac_decode_frame()
|
/third_party/ffmpeg/libavfilter/ |
D | avfiltergraph.c | 637 if (av_get_bytes_per_sample(dst_fmt) < av_get_bytes_per_sample(src_fmt)) { in get_fmt_score() 638 score += 100 * (av_get_bytes_per_sample(src_fmt) - av_get_bytes_per_sample(dst_fmt)); in get_fmt_score() 640 score += 10 * (av_get_bytes_per_sample(dst_fmt) - av_get_bytes_per_sample(src_fmt)); in get_fmt_score() 1041 bps = av_get_bytes_per_sample(format); in swap_sample_fmts_on_filter() 1053 int out_bps = av_get_bytes_per_sample(out_format); in swap_sample_fmts_on_filter()
|
D | framequeue.c | 138 bytes = samples * av_get_bytes_per_sample(b->frame->format); in ff_framequeue_skip_samples()
|
D | af_ashowinfo.c | 184 int block_align = av_get_bytes_per_sample(buf->format) * (planar ? 1 : channels); in filter_frame()
|
/third_party/ffmpeg/libavresample/ |
D | resample.c | 178 felem_size = av_get_bytes_per_sample(avr->internal_sample_fmt); in ff_audio_resample_init() 356 int bps = av_get_bytes_per_sample(c->avr->internal_sample_fmt); in ff_audio_resample() 375 int bps = av_get_bytes_per_sample(c->avr->internal_sample_fmt); in ff_audio_resample()
|
D | audio_data.c | 88 a->sample_size = av_get_bytes_per_sample(sample_fmt); in ff_audio_data_init() 132 a->sample_size = av_get_bytes_per_sample(sample_fmt); in ff_audio_data_alloc()
|
D | utils.c | 74 int max_bps = FFMAX(av_get_bytes_per_sample(in_fmt), in avresample_open() 75 av_get_bytes_per_sample(out_fmt)); in avresample_open() 590 int bytes_per_sample = av_get_bytes_per_sample(out->format); in available_samples()
|
/third_party/ffmpeg/libswresample/tests/ |
D | swresample.c | 84 a[ch] += index*av_get_bytes_per_sample(f); in shift() 86 a[0] += index*ch_count*av_get_bytes_per_sample(f); in shift() 132 int plane_size= av_get_bytes_per_sample(format&0xFF)*samples; in setup_array()
|
/third_party/ffmpeg/libswresample/ |
D | swresample_frame.c | 112 int bytes_per_sample = av_get_bytes_per_sample(out->format); in available_samples()
|
D | swresample.c | 103 a->bps = av_get_bytes_per_sample(fmt); in set_audiodata_fmt() 223 if( av_get_bytes_per_sample(s-> in_sample_fmt) <= 2 in swr_init() 224 && av_get_bytes_per_sample(s->out_sample_fmt) <= 2){ in swr_init() 226 }else if( av_get_bytes_per_sample(s-> in_sample_fmt) <= 2 in swr_init() 238 }else if(av_get_bytes_per_sample(s->in_sample_fmt) <= 4){ in swr_init()
|
D | dither.c | 122 ….ns_scale_1 *= 1 - exp(f->gain_cB * M_LN10 * 0.005) * 2 / (1<<(8*av_get_bytes_per_sample(out_fmt))… in swri_dither_init()
|
/third_party/ffmpeg/doc/examples/ |
D | decode_audio.c | 93 data_size = av_get_bytes_per_sample(dec_ctx->sample_fmt); in decode()
|
D | filter_audio.c | 220 int bps = av_get_bytes_per_sample(frame->format); in process_output()
|
D | demuxing_decoding.c | 91 size_t unpadded_linesize = frame->nb_samples * av_get_bytes_per_sample(frame->format); in output_audio_frame()
|
/third_party/ffmpeg/libavutil/tests/ |
D | audio_fifo.c | 66 int byte_offset = av_get_bytes_per_sample(test_sample->format); in print_audio_bytes()
|
/third_party/ffmpeg/libavdevice/ |
D | pulse_audio_enc.c | 472 av_get_bytes_per_sample(st->codecpar->format); in pulse_write_header() 641 …int64_t samples = pkt->size / (av_get_bytes_per_sample(st->codecpar->format) * st->codecpar->chann… in pulse_write_packet() 684 …pkt.size = (*frame)->nb_samples * av_get_bytes_per_sample((*frame)->format) * (*frame)->channe… in pulse_write_frame()
|
D | audiotoolbox.m | 177 … == AV_NE(AV_CODEC_ID_PCM_S24BE, AV_CODEC_ID_PCM_S24LE)) ? 24 : (av_get_bytes_per_sample(codecpar-… 197 …av_log(ctx, AV_LOG_DEBUG, "device_format.mBitsPerChannel = %i\n", av_get_bytes_per_sample(codec…
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/ |
D | FFMpegExtractor.cpp | 234 int bytesPerSample = av_get_bytes_per_sample((AVSampleFormat)stream->codecpar->format); in decode()
|