Home
last modified time | relevance | path

Searched refs:sample_buffer (Results 1 – 16 of 16) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmlpenc.c133 int32_t *sample_buffer; ///< Pointer to current access unit samples. member
954 int32_t *sample_buffer = ctx->write_buffer; in write_block_data() local
979 int32_t sample = *sample_buffer++ >> dp->quant_step_size[ch]; in write_block_data()
990 sample_buffer += 2; /* noise channels */ in write_block_data()
993 ctx->write_buffer = sample_buffer; in write_block_data()
1175 int32_t *sample_buffer = ctx->inout_buffer; in input_data_internal() local
1193 *sample_buffer++ = sample; in input_data_internal()
1196 sample_buffer += 2; /* noise channels */ in input_data_internal()
1212 int32_t *sample_buffer = ctx->sample_buffer; in input_to_sample_buffer() local
1220 *sample_buffer++ = *input_buffer++; in input_to_sample_buffer()
[all …]
Dmlpdsp.c30 int blocksize, int32_t *sample_buffer) in mlp_filter_channel() argument
39 int32_t residual = *sample_buffer; in mlp_filter_channel()
55 *sample_buffer = result; in mlp_filter_channel()
56 sample_buffer += MAX_CHANNELS; in mlp_filter_channel()
102 int32_t (*sample_buffer)[MAX_CHANNELS], in ff_mlp_pack_output()
116 int32_t sample = sample_buffer[i][mat_ch] * in ff_mlp_pack_output()
Dmlpdsp.h42 int32_t (*sample_buffer)[MAX_CHANNELS],
53 int blocksize, int32_t *sample_buffer);
71 int32_t (*sample_buffer)[MAX_CHANNELS],
Dffv1dec_template.c138 sample[x][0] = RENAME(s->sample_buffer) + x * 2 * (w + 6) + 3; in RENAME()
139 sample[x][1] = RENAME(s->sample_buffer) + (x * 2 + 1) * (w + 6) + 3; in RENAME()
144 memset(RENAME(s->sample_buffer), 0, 8 * (w + 6) * sizeof(*RENAME(s->sample_buffer))); in RENAME()
Dvideotoolboxenc.c376 CMSampleBufferRef sample_buffer, in count_nalus() argument
383 size_t src_size = CMSampleBufferGetTotalSampleSize(sample_buffer); in count_nalus()
384 CMBlockBufferRef block = CMSampleBufferGetDataBuffer(sample_buffer); in count_nalus()
581 static int set_extradata(AVCodecContext *avctx, CMSampleBufferRef sample_buffer) in set_extradata() argument
588 vid_fmt = CMSampleBufferGetFormatDescription(sample_buffer); in set_extradata()
635 CMSampleBufferRef sample_buffer) in vtenc_output_callback() argument
651 if (!sample_buffer) { in vtenc_output_callback()
656 int set_status = set_extradata(avctx, sample_buffer); in vtenc_output_callback()
663 vtenc_q_push(vtctx, sample_buffer, sei); in vtenc_output_callback()
668 CMSampleBufferRef sample_buffer, in get_length_code_size() argument
[all …]
Dffv1.c138 fs->sample_buffer = av_malloc_array((fs->width + 6), 3 * MAX_PLANES * in ff_ffv1_init_slice_contexts()
139 sizeof(*fs->sample_buffer)); in ff_ffv1_init_slice_contexts()
142 if (!fs->sample_buffer || !fs->sample_buffer32) in ff_ffv1_init_slice_contexts()
217 av_freep(&fs->sample_buffer); in ff_ffv1_close()
Dffv1enc_template.c140 memset(RENAME(s->sample_buffer), 0, ring_size * MAX_PLANES * in RENAME()
141 (w + 6) * sizeof(*RENAME(s->sample_buffer))); in RENAME()
146 … sample[p][i]= RENAME(s->sample_buffer) + p*ring_size*(w+6) + ((h+i-y)%ring_size)*(w+6) + 3; in RENAME()
Ddca_xll.c396 av_fast_malloc(&c->sample_buffer[0], &c->sample_size[0], nsamples * sizeof(int32_t)); in chs_alloc_msb_band_data()
397 if (!c->sample_buffer[0]) in chs_alloc_msb_band_data()
400 ptr = c->sample_buffer[0] + ndecisamples; in chs_alloc_msb_band_data()
424 av_fast_malloc(&c->sample_buffer[1], &c->sample_size[1], nsamples * sizeof(int32_t)); in chs_alloc_lsb_band_data()
425 if (!c->sample_buffer[1]) in chs_alloc_lsb_band_data()
428 ptr = c->sample_buffer[1]; in chs_alloc_lsb_band_data()
739 av_fast_malloc(&c->sample_buffer[2], &c->sample_size[2], in chs_assemble_freq_bands()
741 if (!c->sample_buffer[2]) in chs_assemble_freq_bands()
745 ptr = c->sample_buffer[2]; in chs_assemble_freq_bands()
1485 av_freep(&c->sample_buffer[j]); in ff_dca_xll_close()
Dmlpdec.c174 DECLARE_ALIGNED(32, int32_t, sample_buffer)[MAX_BLOCKSIZE][MAX_CHANNELS];
285 m->sample_buffer[pos + s->blockpos][channel] = result; in read_huff_channels()
976 &m->sample_buffer[s->blockpos][channel]); in filter_channel()
1064 m->sample_buffer[i][maxchan+1] = ((int8_t)(seed >> 15)) * (1 << s->noise_shift); in generate_2_noise_channels()
1065 m->sample_buffer[i][maxchan+2] = ((int8_t) seed_shr7) * (1 << s->noise_shift); in generate_2_noise_channels()
1124 m->dsp.mlp_rematrix_channel(&m->sample_buffer[0][0], in output_data()
1143 m->sample_buffer, in output_data()
Ddca_xll.h100 int32_t *sample_buffer[DCA_XLL_SAMPLE_BUFFERS_MAX]; member
Dffv1.h105 int16_t *sample_buffer; member
Dffv1dec.c126 sample[0] = s->sample_buffer + 3; in decode_plane()
127 sample[1] = s->sample_buffer + w + 6 + 3; in decode_plane()
131 memset(s->sample_buffer, 0, 2 * (w + 6) * sizeof(*s->sample_buffer)); in decode_plane()
1074 av_assert0(!fdst->sample_buffer); in update_thread_context()
Dffv1enc.c281 memset(s->sample_buffer, 0, ring_size * (w + 6) * sizeof(*s->sample_buffer)); in encode_plane()
285 sample[i] = s->sample_buffer + (w + 6) * ((h + i - y) % ring_size) + 3; in encode_plane()
967 sample[p] = fs->sample_buffer + p*w; in choose_rct_params()
/third_party/ffmpeg/libavcodec/x86/
Dmlpdsp_init.c138 int blocksize, int32_t *sample_buffer) in mlp_filter_channel_x86() argument
178 /* 2*/"+r"(sample_buffer), in mlp_filter_channel_x86()
/third_party/lame/frontend/
Dget_audio.c397 static int read_samples_pcm(FILE * musicin, int sample_buffer[2304], int samples_to_read);
1292 const int swap_order, int *sample_buffer, FILE * pcm_in) in unpack_read_samples() argument
1297 unsigned char *ip = (unsigned char *) sample_buffer; /* input pointer */ in unpack_read_samples()
1301 size_t samples_read_ = fread(sample_buffer, bytes_per_sample, samples_to_read, pcm_in); in unpack_read_samples()
1305 op = sample_buffer + samples_read; in unpack_read_samples()
1339 ieee754_float32_t *x = (ieee754_float32_t *) sample_buffer; in unpack_read_samples()
1356 sample_buffer[i] = v; in unpack_read_samples()
1377 read_samples_pcm(FILE * musicin, int sample_buffer[2304], int samples_to_read) in read_samples_pcm()
1416 sample_buffer, musicin); in read_samples_pcm()
/third_party/ffmpeg/libavcodec/arm/
Dmlpdsp_init_arm.c31 int blocksize, int32_t *sample_buffer);