Home
last modified time | relevance | path

Searched refs:reorder_map (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacenc.h101 uint8_t reorder_map[16]; ///< maps channels from lavc to aac order member
146 .reorder_map = { 0 },
154 .reorder_map = { 0, 1 },
162 .reorder_map = { 0, 1, 2 },
170 .reorder_map = { 0, 1, 2 },
178 .reorder_map = { 0, 1, 2 },
186 .reorder_map = { 0, 1, 2, 3 },
194 .reorder_map = { 0, 1, 2, 3 },
202 .reorder_map = { 0, 1, 2, 3, 4 },
210 .reorder_map = { 0, 1, 2, 3 },
[all …]
Daacenc.c536 const uint8_t *channel_map = s->reorder_map; in copy_input_samples()
982 s->reorder_map = s->pce.reorder_map; in aac_encode_init()
985 s->reorder_map = aac_chan_maps[s->channels - 1]; in aac_encode_init()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-channels.c210 gint reorder_map[64] = { 0, }; in gst_audio_reorder_channels() local
233 if (!gst_audio_get_channel_reorder_map (channels, from, to, reorder_map)) in gst_audio_reorder_channels()
245 memcpy (ptr + reorder_map[j] * bps, tmp + j * bps, bps); in gst_audio_reorder_channels()
257 gint reorder_map[64] = { 0, }; in gst_audio_meta_reorder_channels() local
267 reorder_map)) in gst_audio_meta_reorder_channels()
272 meta->offsets[reorder_map[i]] = tmp_offsets[i]; in gst_audio_meta_reorder_channels()
451 gint * reorder_map) in gst_audio_get_channel_reorder_map() argument
455 g_return_val_if_fail (reorder_map != NULL, FALSE); in gst_audio_get_channel_reorder_map()
478 reorder_map[i] = j; in gst_audio_get_channel_reorder_map()
Daudio-channels.h169 gint *reorder_map);
Dgstaudioringbuffer.c1415 memcpy (d + reorder_map[i] * bps, s + i * bps, bps); \
1616 gint *reorder_map = buf->channel_reorder_map; in default_commit() local
1830 gint *reorder_map = buf->channel_reorder_map; in gst_audio_ring_buffer_read() local
1835 memcpy (data + i * bpf + reorder_map[j] * bps, ptr + j * bps, bps); in gst_audio_ring_buffer_read()
/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackdec.c395 gint *reorder_map = dec->channel_reorder_map; in gst_wavpack_dec_handle_frame() local
399 *outbuffer++ = (gint8) (dec_data[i + reorder_map[j]]); in gst_wavpack_dec_handle_frame()
403 gint *reorder_map = dec->channel_reorder_map; in gst_wavpack_dec_handle_frame() local
407 *outbuffer++ = (gint16) (dec_data[i + reorder_map[j]]); in gst_wavpack_dec_handle_frame()
411 gint *reorder_map = dec->channel_reorder_map; in gst_wavpack_dec_handle_frame() local
417 (gint32) (dec_data[i + reorder_map[j]] << (width - depth)); in gst_wavpack_dec_handle_frame()
422 *outbuffer++ = (gint32) (dec_data[i + reorder_map[j]]); in gst_wavpack_dec_handle_frame()
/third_party/gstreamer/gstplugins_good/ext/flac/
Dgstflacdec.c687 gint *reorder_map = flacdec->channel_reorder_map; in gst_flac_dec_write() local
692 *outbuffer++ = (gint8) buffer[reorder_map[j]][i]; in gst_flac_dec_write()
697 gint *reorder_map = flacdec->channel_reorder_map; in gst_flac_dec_write() local
703 (gint16) (buffer[reorder_map[j]][i] << (gdepth - depth)); in gst_flac_dec_write()
709 *outbuffer++ = (gint16) buffer[reorder_map[j]][i]; in gst_flac_dec_write()
715 gint *reorder_map = flacdec->channel_reorder_map; in gst_flac_dec_write() local
721 (gint32) (buffer[reorder_map[j]][i] << (gdepth - depth)); in gst_flac_dec_write()
727 *outbuffer++ = (gint32) buffer[reorder_map[j]][i]; in gst_flac_dec_write()
Dgstflacenc.c1378 gint *reorder_map; in gst_flac_enc_handle_frame() local
1388 reorder_map = flacenc->channel_reorder_map; in gst_flac_enc_handle_frame()
1417 data[i * channels + reorder_map[j]] = in gst_flac_enc_handle_frame()
1424 data[i * channels + reorder_map[j]] = in gst_flac_enc_handle_frame()
1435 data[i * channels + reorder_map[j]] = (FLAC__int32) val; in gst_flac_enc_handle_frame()
1442 data[i * channels + reorder_map[j]] = in gst_flac_enc_handle_frame()
/third_party/gstreamer/gstplugins_bad/ext/faad/
Dgstfaad.c470 memset (faad->reorder_map, 0, sizeof (faad->reorder_map)); in gst_faad_update_caps()
473 faad->gst_positions, faad->reorder_map)) { in gst_faad_update_caps()
475 GST_DEBUG_OBJECT (faad, "remap %d -> %d", i, faad->reorder_map[i]); in gst_faad_update_caps()
476 if (faad->reorder_map[i] != i) { in gst_faad_update_caps()
738 dest[faad->reorder_map[j]] = *src++; in gst_faad_handle_frame()
Dgstfaad.h50 gint reorder_map[64]; member
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcaudiodec.h68 gint reorder_map[64]; member
Dgstamcaudiodec.c394 self->reorder_map); in gst_amc_audio_dec_set_src_caps()
528 gint *reorder_map = self->reorder_map; in gst_amc_audio_dec_loop() local
538 dest[i * n_channels + reorder_map[c]] = source[i * n_channels + c]; in gst_amc_audio_dec_loop()
/third_party/gstreamer/gstplugins_bad/ext/dts/
Dgstdtsdec.c628 gint *reorder_map = dts->channel_reorder_map; in gst_dtsdec_handle_frame() local
632 ((sample_t *) ptr)[n * chans + reorder_map[c]] = in gst_dtsdec_handle_frame()
/third_party/gstreamer/gstplugins_base/
DChangeLog15347 At the end of this function, reorder_map is set to
15348 reorder_map[0] = 0
15349 reorder_map[1] = 3
15350 reorder_map[2] = 2
15351 reorder_map[3] = 1
15352 reorder_map[4] = 4
15353 reorder_map[5] = 5
15360 1829 memcpy (data + i * bpf + reorder_map[j] * bps, ptr + j * bps, bps);