Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmlpenc.c127 int32_t *sample_buffer; ///< Pointer to current access unit samples. member
1009 int32_t *sample_buffer = ctx->write_buffer; in write_block_data() local
1035 int32_t sample = *sample_buffer++ >> dp->quant_step_size[ch]; in write_block_data()
1046 sample_buffer += 2; /* noise channels */ in write_block_data()
1049 ctx->write_buffer = sample_buffer; in write_block_data()
1244 int32_t *sample_buffer = ctx->inout_buffer; in input_data_internal() local
1263 *sample_buffer++ = sample; in input_data_internal()
1266 sample_buffer += 2; /* noise channels */ in input_data_internal()
1286 int32_t *sample_buffer = ctx->sample_buffer; in input_to_sample_buffer() local
1296 *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.c369 CMSampleBufferRef sample_buffer, in count_nalus() argument
376 size_t src_size = CMSampleBufferGetTotalSampleSize(sample_buffer); in count_nalus()
377 CMBlockBufferRef block = CMSampleBufferGetDataBuffer(sample_buffer); in count_nalus()
548 static int set_extradata(AVCodecContext *avctx, CMSampleBufferRef sample_buffer) in set_extradata() argument
554 vid_fmt = CMSampleBufferGetFormatDescription(sample_buffer); in set_extradata()
587 CMSampleBufferRef sample_buffer) in vtenc_output_callback() argument
603 if (!sample_buffer) { in vtenc_output_callback()
608 int set_status = set_extradata(avctx, sample_buffer); in vtenc_output_callback()
615 vtenc_q_push(vtctx, sample_buffer, sei); in vtenc_output_callback()
620 CMSampleBufferRef sample_buffer, in get_length_code_size() argument
[all …]
Dffv1.c143 fs->sample_buffer = av_malloc_array((fs->width + 6), 3 * MAX_PLANES * in ff_ffv1_init_slice_contexts()
144 sizeof(*fs->sample_buffer)); in ff_ffv1_init_slice_contexts()
147 if (!fs->sample_buffer || !fs->sample_buffer32) in ff_ffv1_init_slice_contexts()
222 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.c394 av_fast_malloc(&c->sample_buffer[0], &c->sample_size[0], nsamples * sizeof(int32_t)); in chs_alloc_msb_band_data()
395 if (!c->sample_buffer[0]) in chs_alloc_msb_band_data()
398 ptr = c->sample_buffer[0] + ndecisamples; in chs_alloc_msb_band_data()
422 av_fast_malloc(&c->sample_buffer[1], &c->sample_size[1], nsamples * sizeof(int32_t)); in chs_alloc_lsb_band_data()
423 if (!c->sample_buffer[1]) in chs_alloc_lsb_band_data()
426 ptr = c->sample_buffer[1]; in chs_alloc_lsb_band_data()
737 av_fast_malloc(&c->sample_buffer[2], &c->sample_size[2], in chs_assemble_freq_bands()
739 if (!c->sample_buffer[2]) in chs_assemble_freq_bands()
743 ptr = c->sample_buffer[2]; in chs_assemble_freq_bands()
1483 av_freep(&c->sample_buffer[j]); in ff_dca_xll_close()
Dmlpdec.c164 DECLARE_ALIGNED(32, int32_t, sample_buffer)[MAX_BLOCKSIZE][MAX_CHANNELS];
273 m->sample_buffer[pos + s->blockpos][channel] = result; in read_huff_channels()
947 &m->sample_buffer[s->blockpos][channel]); in filter_channel()
1035 m->sample_buffer[i][maxchan+1] = ((int8_t)(seed >> 15)) * (1 << s->noise_shift); in generate_2_noise_channels()
1036 m->sample_buffer[i][maxchan+2] = ((int8_t) seed_shr7) * (1 << s->noise_shift); in generate_2_noise_channels()
1095 m->dsp.mlp_rematrix_channel(&m->sample_buffer[0][0], in output_data()
1114 m->sample_buffer, in output_data()
Ddca_xll.h102 int32_t *sample_buffer[DCA_XLL_SAMPLE_BUFFERS_MAX]; member
Dffv1.h110 int16_t *sample_buffer; member
Dffv1dec.c124 sample[0] = s->sample_buffer + 3; in decode_plane()
125 sample[1] = s->sample_buffer + w + 6 + 3; in decode_plane()
129 memset(s->sample_buffer, 0, 2 * (w + 6) * sizeof(*s->sample_buffer)); in decode_plane()
1038 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()
990 sample[p] = fs->sample_buffer + p*w; in choose_rct_params()
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowfakesrc.cpp115 BYTE *sample_buffer; in PushBuffer() local
116 pSample->GetPointer(&sample_buffer); in PushBuffer()
117 if(sample_buffer) in PushBuffer()
119 memcpy (sample_buffer, buffer, size); in PushBuffer()
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/
Ddshowvideofakesrc.cpp257 BYTE *sample_buffer; in PushBuffer() local
281 pSample->GetPointer(&sample_buffer); in PushBuffer()
286 if(sample_buffer) in PushBuffer()
292 CopyToDestinationBuffer (data, sample_buffer); in PushBuffer()
/third_party/ffmpeg/libavcodec/x86/
Dmlpdsp_init.c135 int blocksize, int32_t *sample_buffer) in mlp_filter_channel_x86() argument
175 /* 2*/"+r"(sample_buffer), in mlp_filter_channel_x86()
/third_party/ffmpeg/libavcodec/arm/
Dmlpdsp_init_arm.c31 int blocksize, int32_t *sample_buffer);