Home
last modified time | relevance | path

Searched refs:chan_pos (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dalsdec.c180 int *chan_pos; ///< original channel positions member
382 … if (!(sconf->chan_pos = av_malloc_array(avctx->ch_layout.nb_channels, sizeof(*sconf->chan_pos)))) in read_specific_config()
388 sconf->chan_pos[i] = -1; in read_specific_config()
395 if (idx >= avctx->ch_layout.nb_channels || sconf->chan_pos[idx] != -1) { in read_specific_config()
400 sconf->chan_pos[idx] = i; in read_specific_config()
1858 *dest++ = raw_samples[sconf->chan_pos[c]*raw_step + sample] * (1U << shift);\ in decode_frame()
1941 av_freep(&ctx->sconf.chan_pos); in decode_end()
/third_party/pulseaudio/src/modules/
Dmodule-stream-restore.c364 dbus_uint32_t chan_pos; in get_volume_arg() local
369 dbus_message_iter_get_basic(&struct_iter, &chan_pos); in get_volume_arg()
371 if (chan_pos >= PA_CHANNEL_POSITION_MAX) { in get_volume_arg()
372 … pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid channel position: %u", chan_pos); in get_volume_arg()
385 map->map[map->channels] = chan_pos; in get_volume_arg()