/third_party/ffmpeg/libavfilter/ |
D | af_surround.c | 369 dst = (float *)s->output->extended_data[0]; in upmix_1_0() 388 dstl = (float *)s->output->extended_data[0]; in upmix_stereo() 389 dstr = (float *)s->output->extended_data[1]; in upmix_stereo() 412 dstl = (float *)s->output->extended_data[0]; in upmix_2_1() 413 dstr = (float *)s->output->extended_data[1]; in upmix_2_1() 414 dstlfe = (float *)s->output->extended_data[2]; in upmix_2_1() 442 dstl = (float *)s->output->extended_data[0]; in upmix_3_0() 443 dstr = (float *)s->output->extended_data[1]; in upmix_3_0() 444 dstc = (float *)s->output->extended_data[2]; in upmix_3_0() 471 dstl = (float *)s->output->extended_data[0]; in upmix_3_1() [all …]
|
D | af_axcorrelate.c | 127 const float *x = (const float *)s->cache[0]->extended_data[ch]; in xcorrelate_slow() 128 const float *y = (const float *)s->cache[1]->extended_data[ch]; in xcorrelate_slow() 129 float *sumx = (float *)s->mean_sum[0]->extended_data[ch]; in xcorrelate_slow() 130 float *sumy = (float *)s->mean_sum[1]->extended_data[ch]; in xcorrelate_slow() 131 float *dst = (float *)out->extended_data[ch]; in xcorrelate_slow() 160 const float *x = (const float *)s->cache[0]->extended_data[ch]; in xcorrelate_fast() 161 const float *y = (const float *)s->cache[1]->extended_data[ch]; in xcorrelate_fast() 162 float *num_sum = (float *)s->num_sum->extended_data[ch]; in xcorrelate_fast() 163 float *den_sumx = (float *)s->den_sum[0]->extended_data[ch]; in xcorrelate_fast() 164 float *den_sumy = (float *)s->den_sum[1]->extended_data[ch]; in xcorrelate_fast() [all …]
|
D | af_channelmap.c | 307 memcpy(source_planes, buf->extended_data, in channelmap_filter_frame() 313 av_mallocz_array(nch_out, sizeof(*buf->extended_data)); in channelmap_filter_frame() 318 if (buf->extended_data == buf->data) { in channelmap_filter_frame() 319 buf->extended_data = new_extended_data; in channelmap_filter_frame() 321 av_free(buf->extended_data); in channelmap_filter_frame() 322 buf->extended_data = new_extended_data; in channelmap_filter_frame() 324 } else if (buf->extended_data != buf->data) { in channelmap_filter_frame() 325 av_free(buf->extended_data); in channelmap_filter_frame() 326 buf->extended_data = buf->data; in channelmap_filter_frame() 331 buf->extended_data[s->map[ch].out_channel_idx] = in channelmap_filter_frame() [all …]
|
D | f_reverse.c | 178 uint8_t *dst = (uint8_t *)out->extended_data[p]; in reverse_samples_planar() 184 int16_t *dst = (int16_t *)out->extended_data[p]; in reverse_samples_planar() 190 int32_t *dst = (int32_t *)out->extended_data[p]; in reverse_samples_planar() 196 float *dst = (float *)out->extended_data[p]; in reverse_samples_planar() 202 double *dst = (double *)out->extended_data[p]; in reverse_samples_planar() 217 uint8_t *dst = (uint8_t *)out->extended_data[0]; in reverse_samples_packed() 224 int16_t *dst = (int16_t *)out->extended_data[0]; in reverse_samples_packed() 231 int32_t *dst = (int32_t *)out->extended_data[0]; in reverse_samples_packed() 238 float *dst = (float *)out->extended_data[0]; in reverse_samples_packed() 245 double *dst = (double *)out->extended_data[0]; in reverse_samples_packed()
|
D | af_afreqshift.c | 87 const type *src = (const type *)in->extended_data[ch]; \ 88 type *dst = (type *)out->extended_data[ch]; \ 89 type *i1 = (type *)s->i1->extended_data[ch]; \ 90 type *o1 = (type *)s->o1->extended_data[ch]; \ 91 type *i2 = (type *)s->i2->extended_data[ch]; \ 92 type *o2 = (type *)s->o2->extended_data[ch]; \ 136 const type *src = (const type *)in->extended_data[ch]; \ in PFILTER() 137 type *dst = (type *)out->extended_data[ch]; \ in PFILTER() 138 type *i1 = (type *)s->i1->extended_data[ch]; \ in PFILTER() 139 type *o1 = (type *)s->o1->extended_data[ch]; \ in PFILTER() [all …]
|
D | af_amultiply.c | 114 s->fdsp->vector_fmul((float *)out->extended_data[i], in activate() 115 (const float *)s->frames[0]->extended_data[i], in activate() 116 (const float *)s->frames[1]->extended_data[i], in activate() 121 s->fdsp->vector_dmul((double *)out->extended_data[i], in activate() 122 (const double *)s->frames[0]->extended_data[i], in activate() 123 (const double *)s->frames[1]->extended_data[i], in activate()
|
D | framepool.c | 239 frame->extended_data = frame->data; in ff_frame_pool_get() 248 frame->extended_data = av_mallocz_array(pool->planes, in ff_frame_pool_get() 249 sizeof(*frame->extended_data)); in ff_frame_pool_get() 253 if (!frame->extended_data || !frame->extended_buf) in ff_frame_pool_get() 256 frame->extended_data = frame->data; in ff_frame_pool_get() 264 frame->extended_data[i] = frame->data[i] = frame->buf[i]->data; in ff_frame_pool_get() 270 frame->extended_data[i + AV_NUM_DATA_POINTERS] = frame->extended_buf[i]->data; in ff_frame_pool_get()
|
D | af_anlms.c | 173 const float *input = (const float *)s->frame[0]->extended_data[c]; in process_channels() 174 const float *desired = (const float *)s->frame[1]->extended_data[c]; in process_channels() 175 float *delay = (float *)s->delay->extended_data[c]; in process_channels() 176 float *coeffs = (float *)s->coeffs->extended_data[c]; in process_channels() 177 float *tmp = (float *)s->tmp->extended_data[c]; in process_channels() 178 int *offset = (int *)s->offset->extended_data[c]; in process_channels() 179 float *output = (float *)out->extended_data[c]; in process_channels()
|
D | af_dcshift.c | 106 const int32_t *src = (int32_t *)in->extended_data[i]; in filter_frame() 107 int32_t *dst = (int32_t *)out->extended_data[i]; in filter_frame() 131 const int32_t *src = (int32_t *)in->extended_data[i]; in filter_frame() 132 int32_t *dst = (int32_t *)out->extended_data[i]; in filter_frame()
|
D | af_afir.c | 80 const float *in = (const float *)s->in->extended_data[ch] + offset; in fir_quantum() 81 float *block, *buf, *ptr = (float *)out->extended_data[ch] + offset; in fir_quantum() 87 float *src = (float *)seg->input->extended_data[ch]; in fir_quantum() 88 float *dst = (float *)seg->output->extended_data[ch]; in fir_quantum() 89 float *sum = (float *)seg->sum->extended_data[ch]; in fir_quantum() 117 …const FFTComplex *coeff = (const FFTComplex *)seg->coeff->extended_data[ch * !s->one2many] + coffs… in fir_quantum() 137 block = (float *)seg->block->extended_data[ch] + seg->part_index[ch] * seg->block_size; in fir_quantum() 150 const float *block = (const float *)seg->block->extended_data[ch] + i * seg->block_size; in fir_quantum() 151 …const FFTComplex *coeff = (const FFTComplex *)seg->coeff->extended_data[ch * !s->one2many] + coffs… in fir_quantum() 163 buf = (float *)seg->buffer->extended_data[ch]; in fir_quantum() [all …]
|
D | af_asetnsamples.c | 90 av_samples_copy(pad_frame->extended_data, frame->extended_data, in activate() 92 av_samples_set_silence(pad_frame->extended_data, frame->nb_samples, in activate()
|
D | af_acrossover.c | 398 const type *src = (const type *)in->extended_data[ch]; \ in BIQUAD_PROCESS() 399 type *xover = (type *)s->xover->extended_data[ch]; \ in BIQUAD_PROCESS() 401 s->fdsp->vector_## ff ##mul_scalar((type *)frames[0]->extended_data[ch], src, \ in BIQUAD_PROCESS() 406 const type *prv = (const type *)frames[band]->extended_data[ch]; \ in BIQUAD_PROCESS() 407 type *dst = (type *)frames[band + 1]->extended_data[ch]; \ in BIQUAD_PROCESS() 416 type *dst = (type *)frames[band]->extended_data[ch]; \ in BIQUAD_PROCESS() 426 const type *asrc = (const type *)frames[band]->extended_data[ch]; \ in BIQUAD_PROCESS() 427 type *dst = (type *)frames[band]->extended_data[ch]; \ in BIQUAD_PROCESS() 435 const type *asrc = (const type *)frames[band]->extended_data[ch]; \ in BIQUAD_PROCESS() 436 type *dst = (type *)frames[band]->extended_data[ch]; \ in BIQUAD_PROCESS() [all …]
|
D | af_adeclick.c | 188 av_audio_fifo_write(s->fifo, (void **)s->in->extended_data, in config_input() 510 const double *src = (const double *)s->in->extended_data[ch]; in filter_channel() 511 double *is = (double *)s->is->extended_data[ch]; in filter_channel() 512 double *dst = (double *)s->out->extended_data[ch]; in filter_channel() 513 double *ptr = (double *)out->extended_data[ch]; in filter_channel() 514 double *buf = (double *)s->buffer->extended_data[ch]; in filter_channel() 530 double *enabled = (double *)s->enabled->extended_data[0]; in filter_channel() 537 av_audio_fifo_peek(s->efifo, (void**)s->enabled->extended_data, s->window_size); in filter_channel() 583 ret = av_audio_fifo_peek(s->fifo, (void **)s->in->extended_data, in filter_frame() 594 double *is = (double *)s->is->extended_data[ch]; in filter_frame() [all …]
|
D | af_afade.c | 316 av_samples_set_silence(out_buf->extended_data, 0, nb_samples, in filter_frame() 326 s->fade_samples(out_buf->extended_data, buf->extended_data, in filter_frame() 532 s->crossfade_samples(out->extended_data, cf[0]->extended_data, in CROSSFADE_PLANAR() 533 cf[1]->extended_data, in CROSSFADE_PLANAR() 554 s->fade_samples(out->extended_data, cf[0]->extended_data, s->nb_samples, in CROSSFADE_PLANAR() 574 s->fade_samples(out->extended_data, cf[1]->extended_data, s->nb_samples, in CROSSFADE_PLANAR()
|
D | af_anlmdn.c | 220 ret = av_audio_fifo_write(s->fifo, (void **)s->in->extended_data, s->K + s->S); in config_output() 236 const float *f = (const float *)(s->in->extended_data[ch]) + K; in filter_channel() 237 float *cache = (float *)s->cache->extended_data[ch]; in filter_channel() 239 float *dst = (float *)out->extended_data[ch] + s->offset; in filter_channel() 300 ret = av_audio_fifo_write(s->fifo, (void **)in->extended_data, in filter_frame() 315 ret = av_audio_fifo_peek(s->fifo, (void **)s->in->extended_data, s->N); in filter_frame()
|
D | af_join.c | 388 frame->extended_data = av_mallocz_array(s->nb_channels, in try_push_frame() 389 sizeof(*frame->extended_data)); in try_push_frame() 390 if (!frame->extended_data) { in try_push_frame() 402 frame->extended_data[i] = cur->extended_data[ch->in_channel_idx]; in try_push_frame() 453 if (frame->data != frame->extended_data) { in try_push_frame() 454 memcpy(frame->data, frame->extended_data, sizeof(*frame->data) * in try_push_frame()
|
D | af_dynaudnorm.c | 398 double *data_ptr = (double *)frame->extended_data[c]; in find_peak_magnitude() 404 double *data_ptr = (double *)frame->extended_data[channel]; in find_peak_magnitude() 420 const double *data_ptr = (double *)frame->extended_data[c]; in compute_frame_rms() 429 const double *data_ptr = (double *)frame->extended_data[channel]; in compute_frame_rms() 550 double *dst_ptr = (double *)frame->extended_data[c]; in perform_dc_correction() 596 const double *data_ptr = (double *)frame->extended_data[c]; in compute_frame_std_dev() 604 const double *data_ptr = (double *)frame->extended_data[channel]; in compute_frame_std_dev() 632 double *const dst_ptr = (double *)frame->extended_data[c]; in perform_compression() 651 dst_ptr = (double *)frame->extended_data[c]; in perform_compression() 689 double *dst_ptr = (double *)frame->extended_data[c]; in amplify_frame() [all …]
|
D | af_aderivative.c | 157 …s->filter((void **)out->extended_data, (void **)s->prev->extended_data, (const void **)in->extende… in filter_frame()
|
D | af_compensationdelay.c | 142 const double *src = (const double *)in->extended_data[ch]; in filter_frame() 143 double *dst = (double *)out->extended_data[ch]; in filter_frame() 144 double *buffer = (double *)s->delay_frame->extended_data[ch]; in filter_frame()
|
D | af_asubboost.c | 139 const double *src = (const double *)in->extended_data[ch]; in filter_channels() 140 double *dst = (double *)out->extended_data[ch]; in filter_channels() 141 double *buffer = (double *)s->buffer->extended_data[ch]; in filter_channels() 142 double *w = (double *)s->w->extended_data[ch]; in filter_channels()
|
D | af_asoftclip.c | 365 s->filter(s, (void **)out->extended_data, (const void **)in->extended_data, in filter_channels() 406 … ret = swr_convert(s->up_ctx, (uint8_t**)s->frame->extended_data, in->nb_samples * s->oversample, in filter_frame() 407 (const uint8_t **)in->extended_data, in->nb_samples); in filter_frame() 418 ret = swr_convert(s->down_ctx, (uint8_t**)out->extended_data, out->nb_samples, in filter_frame() 419 (const uint8_t **)s->frame->extended_data, ret); in filter_frame()
|
/third_party/ffmpeg/libavutil/ |
D | frame.c | 141 if (frame->extended_data != frame->data) in get_frame_defaults() 142 av_freep(&frame->extended_data); in get_frame_defaults() 160 frame->extended_data = frame->data; in get_frame_defaults() 197 frame->extended_data = NULL; in av_frame_alloc() 273 frame->extended_data = frame->data; in get_video_buffer() 304 frame->extended_data = av_mallocz_array(planes, in get_audio_buffer() 305 sizeof(*frame->extended_data)); in get_audio_buffer() 308 if (!frame->extended_data || !frame->extended_buf) { in get_audio_buffer() 309 av_freep(&frame->extended_data); in get_audio_buffer() 315 frame->extended_data = frame->data; in get_audio_buffer() [all …]
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavaudenc.c | 457 buffer_info->ext_data_array = frame->extended_data = in gst_ffmpegaudenc_send_frame() 460 frame->extended_data = frame->data; in gst_ffmpegaudenc_send_frame() 463 buffer_info->ext_data = frame->extended_data[0] = av_malloc (in_size); in gst_ffmpegaudenc_send_frame() 466 frame->extended_data[i] = in gst_ffmpegaudenc_send_frame() 467 frame->extended_data[i - 1] + frame->linesize[0]; in gst_ffmpegaudenc_send_frame() 475 ((guint8 *) frame->extended_data[j])[i] = idata[j]; in gst_ffmpegaudenc_send_frame() 486 ((guint16 *) frame->extended_data[j])[i] = idata[j]; in gst_ffmpegaudenc_send_frame() 497 ((guint32 *) frame->extended_data[j])[i] = idata[j]; in gst_ffmpegaudenc_send_frame() 509 ((guint64 *) frame->extended_data[j])[i] = idata[j]; in gst_ffmpegaudenc_send_frame() 526 frame->extended_data = frame->data; in gst_ffmpegaudenc_send_frame()
|
/third_party/ffmpeg/libavcodec/ |
D | pcm.c | 85 samples_ ## type = (const type *) frame->extended_data[c]; \ 211 const uint8_t *src = frame->extended_data[c]; in pcm_encode_frame() 317 dst = frame->extended_data[c]; \ 434 samples = frame->extended_data[c]; in pcm_decode_frame() 498 samples = frame->extended_data[c]; in pcm_decode_frame() 515 dst_int32_t = (int32_t *)frame->extended_data[c]; in pcm_decode_frame() 540 s->vector_fmul_scalar((float *)frame->extended_data[0], in pcm_decode_frame() 541 (const float *)frame->extended_data[0], in pcm_decode_frame()
|
D | opusdec.c | 464 c->streams[map->stream_idx].out[map->channel_idx] = (float*)frame->extended_data[i]; in opus_decode_packet() 534 float *buf[2] = { s->out[0] ? s->out[0] : (float*)frame->extended_data[0], in opus_decode_packet() 535 s->out[1] ? s->out[1] : (float*)frame->extended_data[0] }; in opus_decode_packet() 549 memcpy(frame->extended_data[i], in opus_decode_packet() 550 frame->extended_data[map->copy_idx], in opus_decode_packet() 553 memset(frame->extended_data[i], 0, frame->linesize[0]); in opus_decode_packet() 557 c->fdsp->vector_fmul_scalar((float*)frame->extended_data[i], in opus_decode_packet() 558 (float*)frame->extended_data[i], in opus_decode_packet()
|