Home
last modified time | relevance | path

Searched refs:current_sample (Results 1 – 10 of 10) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstahssrc.c253 self->current_sample = NULL; in gst_ahs_src_init()
280 if (self->current_sample) { in gst_ahs_src_dispose()
281 g_free (self->current_sample); in gst_ahs_src_dispose()
282 self->current_sample = NULL; in gst_ahs_src_dispose()
390 self->sample_length = self->buffer_size / sizeof (*self->current_sample); in gst_ahs_src_change_sensor_type()
391 self->current_sample = g_realloc (self->current_sample, self->buffer_size); in gst_ahs_src_change_sensor_type()
590 self->current_sample[i] = event->data.values[i]; in gst_ahs_src_update_smoothing()
594 self->current_sample[i] = in gst_ahs_src_update_smoothing()
595 (1 - self->alpha) * self->current_sample[i] + in gst_ahs_src_update_smoothing()
653 memcpy (data, self->current_sample, self->buffer_size); in gst_ahs_src_on_sensor_changed()
Dgstahssrc.h60 gfloat *current_sample; member
/third_party/ffmpeg/libavformat/
Dsegafilm.c61 unsigned int current_sample; member
262 film->current_sample = 0; in film_read_header()
280 if (film->current_sample >= film->sample_count) in film_read_packet()
283 sample = &film->sample_table[film->current_sample]; in film_read_packet()
287 next_sample_id = film->current_sample + 1; in film_read_packet()
313 film->current_sample++; in film_read_packet()
331 film->current_sample = ret; in film_read_seek()
Dmov.c3444 sc->current_sample++; in mov_current_sample_inc()
3456 sc->current_sample--; in mov_current_sample_dec()
3466 static void mov_current_sample_set(MOVStreamContext *sc, int current_sample) in mov_current_sample_set() argument
3470 sc->current_sample = current_sample; in mov_current_sample_set()
3471 sc->current_index = current_sample; in mov_current_sample_set()
3480 if (range_size > current_sample) { in mov_current_sample_set()
3481 sc->current_index = sc->current_index_range->start + current_sample; in mov_current_sample_set()
3484 current_sample -= range_size; in mov_current_sample_set()
3858 unsigned int current_sample = 0; in mov_build_index() local
3928 if (current_sample >= sc->sample_count) { in mov_build_index()
[all …]
Disom.h192 int current_sample; member
/third_party/gstreamer/gstplugins_bad/sys/uvch264/
Dgstuvch264_mjpgdemux.c361 GstUvcH264ClockSample *current_sample = NULL; in _pts_to_timestamp() local
378 current_sample = &self->clock_samples[self->last_sample]; in _pts_to_timestamp()
381 current_sample = &self->clock_samples[next_sample]; in _pts_to_timestamp()
382 current_sample->dev_stc = sample.dev_stc; in _pts_to_timestamp()
383 current_sample->dev_sof = dev_sof; in _pts_to_timestamp()
384 current_sample->host_ts = sample.host_ts.tv_sec * GST_SECOND + in _pts_to_timestamp()
386 current_sample->host_sof = (guint32) (sample.host_sof + 2048) << 16; in _pts_to_timestamp()
397 current_sample->host_ts, GST_TIME_ARGS (current_sample->host_ts)); in _pts_to_timestamp()
/third_party/ffmpeg/libavfilter/
Df_loop.c43 int64_t current_sample; member
100 out = ff_get_audio_buffer(outlink, FFMIN(nb_samples, s->nb_samples - s->current_sample)); in push_samples()
103 … = av_audio_fifo_peek_at(s->fifo, (void **)out->extended_data, out->nb_samples, s->current_sample); in push_samples()
112 s->current_sample += out->nb_samples; in push_samples()
118 if (s->current_sample >= s->nb_samples) { in push_samples()
120 s->current_sample = 0; in push_samples()
Daf_silencedetect.c79 int is_silence, int current_sample, int64_t nb_samples_notify, in update() argument
82 int channel = current_sample % s->independent_channels; in update()
87 …s->start[channel] = insamples->pts + av_rescale_q(current_sample / s->channels + 1 - nb_samples_no… in update()
99 … int64_t end_pts = insamples ? insamples->pts + av_rescale_q(current_sample / s->channels, in update()
/third_party/ffmpeg/libavcodec/
Dadpcm.c1588 int previous_sample, current_sample, next_sample; in adpcm_decode_frame() local
1606 current_sample = sign_extend(bytestream2_get_le16(&gb), 16); in adpcm_decode_frame()
1609 current_sample = c->status[channel].predictor; in adpcm_decode_frame()
1616 current_sample = sign_extend(bytestream2_get_be16(&gb), 16); in adpcm_decode_frame()
1634 next_sample += (current_sample * coeff1) + in adpcm_decode_frame()
1638 previous_sample = current_sample; in adpcm_decode_frame()
1639 current_sample = next_sample; in adpcm_decode_frame()
1640 *samplesC++ = current_sample; in adpcm_decode_frame()
1652 c->status[channel].predictor = current_sample; in adpcm_decode_frame()
/third_party/gstreamer/gstplugins_bad/ext/wildmidi/
Dgstwildmididec.c516 return gst_util_uint64_scale_int (info->current_sample, GST_SECOND, in gst_wildmidi_dec_tell()