Home
last modified time | relevance | path

Searched refs:index_table (Results 1 – 13 of 13) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxfmux.c199 mux->index_table = g_array_new (FALSE, FALSE, sizeof (MXFIndexTableSegment)); in gst_mxf_mux_init()
217 if (mux->index_table) { in gst_mxf_mux_finalize()
219 for (n = 0; n < mux->index_table->len; ++n) in gst_mxf_mux_finalize()
220 g_free (g_array_index (mux->index_table, MXFIndexTableSegment, in gst_mxf_mux_finalize()
222 g_array_free (mux->index_table, TRUE); in gst_mxf_mux_finalize()
223 mux->index_table = NULL; in gst_mxf_mux_finalize()
270 if (mux->index_table) in gst_mxf_mux_reset()
271 for (n = 0; n < mux->index_table->len; ++n) in gst_mxf_mux_reset()
272 g_free (g_array_index (mux->index_table, MXFIndexTableSegment, in gst_mxf_mux_reset()
274 g_array_set_size (mux->index_table, 0); in gst_mxf_mux_reset()
[all …]
Dmxfmux.h72 GArray *index_table; member
Dmxfdemux.c2176 GstMXFDemuxIndexTable *index_table = NULL; in find_edit_entry() local
2203 index_table = get_track_index_table (demux, etrack); in find_edit_entry()
2205 if (!index_table) { in find_edit_entry()
2215 etrack->position, index_table->max_temporal_offset); in find_edit_entry()
2229 index_table->segments->len); in find_edit_entry()
2230 for (i = 0; i < index_table->segments->len; i++) { in find_edit_entry()
2232 &g_array_index (index_table->segments, MXFIndexTableSegment, i); in find_edit_entry()
2357 if (index_table->reordered_delta_entry == etrack->delta_id) { in find_edit_entry()
2358 if (position >= index_table->reverse_temporal_offsets->len) { in find_edit_entry()
2361 " (max:%d)", position, index_table->reverse_temporal_offsets->len); in find_edit_entry()
[all …]
/third_party/ffmpeg/libavformat/
Dmxfdec.c1660 static int mxf_edit_unit_absolute_offset(MXFContext *mxf, MXFIndexTable *index_table, int64_t edit_… in mxf_edit_unit_absolute_offset() argument
1665 edit_unit = av_rescale_q(edit_unit, index_table->segments[0]->index_edit_rate, edit_rate); in mxf_edit_unit_absolute_offset()
1667 for (i = 0; i < index_table->nb_segments; i++) { in mxf_edit_unit_absolute_offset()
1668 MXFIndexTableSegment *s = index_table->segments[i]; in mxf_edit_unit_absolute_offset()
1683 index_table->index_sid, s->index_start_position); in mxf_edit_unit_absolute_offset()
1693 …return mxf_absolute_bodysid_offset(mxf, index_table->body_sid, offset_temp, offset_out, partition_… in mxf_edit_unit_absolute_offset()
1701 …ailed to map EditUnit %"PRId64" in IndexSID %i to an offset\n", edit_unit, index_table->index_sid); in mxf_edit_unit_absolute_offset()
1706 static int mxf_compute_ptses_fake_index(MXFContext *mxf, MXFIndexTable *index_table) in mxf_compute_ptses_fake_index() argument
1713 for (i = 0; i < index_table->nb_segments; i++) { in mxf_compute_ptses_fake_index()
1714 MXFIndexTableSegment *s = index_table->segments[i]; in mxf_compute_ptses_fake_index()
[all …]
/third_party/ffmpeg/libavcodec/
Dsiren.c33 static const uint8_t index_table[8] = {4, 4, 3, 3, 2, 2, 1, 0}; variable
601 … decoded_value = mlt_quant[category][index & ((1 << index_table[category]) - 1)]; in decode_vector()
602 index >>= index_table[category]; in decode_vector()
/third_party/gstreamer/gstplugins_bad/gst/siren/
Dhuffman_consts.h526 static int index_table[8] = {4, 4, 3, 3, 2, 2, 1, 0}; variable
Dhuffman.c348 mlt_quant[category][index & ((1 << index_table[category]) - 1)]; in decode_vector()
349 index >>= index_table[category]; in decode_vector()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-ids.c358 if (track->index_table) in gst_matroska_track_free()
359 g_array_unref (track->index_table); in gst_matroska_track_free()
Dmatroska-read-common.c640 if (track && track->index_table) { in gst_matroska_read_common_do_index_seek()
641 index = track->index_table; in gst_matroska_read_common_do_index_seek()
742 if (stream->type == GST_MATROSKA_TRACK_TYPE_VIDEO && stream->index_table) in gst_matroska_read_common_get_seek_track()
1971 if (ctx->index_table == NULL) in gst_matroska_read_common_parse_index()
1972 ctx->index_table = in gst_matroska_read_common_parse_index()
1975 g_array_append_vals (ctx->index_table, idx, 1); in gst_matroska_read_common_parse_index()
Dmatroska-ids.h562 GArray *index_table; member
Dmatroska-parse.c1882 stream->index_table && parse->common.segment.rate > 0.0) { in gst_matroska_parse_parse_blockgroup_or_simpleblock()
1900 gst_util_array_binary_search (stream->index_table->data, in gst_matroska_parse_parse_blockgroup_or_simpleblock()
1901 stream->index_table->len, sizeof (GstMatroskaIndex), in gst_matroska_parse_parse_blockgroup_or_simpleblock()
Dmatroska-demux.c3525 if (old_track->index_table && old_track->index_table->len > 0) in gst_matroska_demux_update_tracks()
3526 new_track->index_table = g_array_ref (old_track->index_table); in gst_matroska_demux_update_tracks()
4763 stream->index_table && demux->common.segment.rate > 0.0) { in gst_matroska_demux_parse_blockgroup_or_simpleblock()
4781 gst_util_array_binary_search (stream->index_table->data, in gst_matroska_demux_parse_blockgroup_or_simpleblock()
4782 stream->index_table->len, sizeof (GstMatroskaIndex), in gst_matroska_demux_parse_blockgroup_or_simpleblock()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_wave.c258 const int index_table[16] = { in IMA_ADPCM_nibble() local
296 state->index += index_table[nybble]; in IMA_ADPCM_nibble()