Home
last modified time | relevance | path

Searched refs:stream_config (Results 1 – 16 of 16) sorted by relevance

/external/adhd/cras/src/server/
Dserver_stream.c36 static struct cras_rstream_config *stream_config; variable
44 if (!stream_config) in server_stream_add_cb()
47 stream_list_add(stream_list, stream_config, &stream); in server_stream_add_cb()
52 if (stream_config) { in server_stream_create()
54 stream_config->dev_idx); in server_stream_create()
58 stream_config = (struct cras_rstream_config *) in server_stream_create()
59 calloc(1, sizeof(*stream_config)); in server_stream_create()
60 stream_config->format = &format; in server_stream_create()
61 stream_config->stream_id = in server_stream_create()
63 stream_config->stream_type = CRAS_STREAM_TYPE_DEFAULT; in server_stream_create()
[all …]
Dcras_server_metrics.c43 struct cras_server_metrics_stream_config stream_config; member
136 data.stream_config.cb_threshold = (unsigned)config->cb_threshold; in cras_server_metrics_stream_config()
137 data.stream_config.flags = (unsigned)config->flags; in cras_server_metrics_stream_config()
138 data.stream_config.format = (int)config->format->format; in cras_server_metrics_stream_config()
139 data.stream_config.rate = (unsigned)config->format->frame_rate; in cras_server_metrics_stream_config()
194 metrics_stream_config(metrics_msg->data.stream_config); in handle_metrics_message()
Dcras_rclient.c47 struct cras_rstream_config stream_config; in handle_client_stream_connect() local
63 stream_config.stream_id = msg->stream_id; in handle_client_stream_connect()
64 stream_config.stream_type = msg->stream_type; in handle_client_stream_connect()
65 stream_config.direction = msg->direction; in handle_client_stream_connect()
66 stream_config.dev_idx = msg->dev_idx; in handle_client_stream_connect()
67 stream_config.flags = msg->flags; in handle_client_stream_connect()
68 stream_config.effects = msg->effects; in handle_client_stream_connect()
69 stream_config.format = &remote_fmt; in handle_client_stream_connect()
70 stream_config.buffer_frames = msg->buffer_frames; in handle_client_stream_connect()
71 stream_config.cb_threshold = msg->cb_threshold; in handle_client_stream_connect()
[all …]
Dstream_list.h16 typedef int (stream_create_func)(struct cras_rstream_config *stream_config,
31 struct cras_rstream_config *stream_config,
Dstream_list.c78 struct cras_rstream_config *stream_config, in stream_list_add() argument
83 rc = list->stream_create_cb(stream_config, stream); in stream_list_add()
/external/libvpx/libvpx/
Dwarnings.c88 const struct vpx_codec_enc_cfg *stream_config) { in check_encoder_config() argument
93 check_quantizer(stream_config->rc_min_quantizer, in check_encoder_config()
94 stream_config->rc_max_quantizer, &warning_list); in check_encoder_config()
96 stream_config->g_lag_in_frames, global_config->deadline, in check_encoder_config()
97 stream_config->rc_end_usage, &warning_list); in check_encoder_config()
Dwarnings.h27 const struct vpx_codec_enc_cfg *stream_config);
Dvpxenc.c853 struct stream_config { struct
873 struct stream_config config; argument
1137 struct stream_config *config = &stream->config; in parse_stream_params()
/external/webrtc/webrtc/modules/audio_processing/
Daudio_buffer.cc26 int KeyboardChannelIndex(const StreamConfig& stream_config) { in KeyboardChannelIndex() argument
27 if (!stream_config.has_keyboard()) { in KeyboardChannelIndex()
32 return stream_config.num_channels(); in KeyboardChannelIndex()
106 const StreamConfig& stream_config) { in CopyFrom() argument
107 assert(stream_config.num_frames() == input_num_frames_); in CopyFrom()
108 assert(stream_config.num_channels() == num_input_channels_); in CopyFrom()
119 if (stream_config.has_keyboard()) { in CopyFrom()
120 keyboard_data_ = data[KeyboardChannelIndex(stream_config)]; in CopyFrom()
150 void AudioBuffer::CopyTo(const StreamConfig& stream_config, in CopyTo() argument
152 assert(stream_config.num_frames() == output_num_frames_); in CopyTo()
[all …]
Daudio_buffer.h115 void CopyFrom(const float* const* data, const StreamConfig& stream_config);
116 void CopyTo(const StreamConfig& stream_config, float* const* data);
/external/adhd/cras/src/tests/
Dserver_metrics_unittest.cc104 EXPECT_EQ(sent_msg->data.stream_config.cb_threshold, 1024); in TEST()
105 EXPECT_EQ(sent_msg->data.stream_config.flags, BULK_AUDIO_OK); in TEST()
106 EXPECT_EQ(sent_msg->data.stream_config.format, SND_PCM_FORMAT_S16_LE); in TEST()
107 EXPECT_EQ(sent_msg->data.stream_config.rate, 48000); in TEST()
Dstream_list_unittest.cc32 static int create_rstream_cb(struct cras_rstream_config *stream_config, in create_rstream_cb() argument
35 create_config = stream_config; in create_rstream_cb()
Drclient_unittest.cc740 int cras_rstream_create(struct cras_rstream_config *stream_config, in cras_rstream_create() argument
/external/libaom/libaom/common/
Dwarnings.c79 const struct aom_codec_enc_cfg *stream_config) { in check_encoder_config() argument
84 check_quantizer(stream_config->rc_min_quantizer, in check_encoder_config()
85 stream_config->rc_max_quantizer, &warning_list); in check_encoder_config()
Dwarnings.h28 const struct aom_codec_enc_cfg *stream_config);
/external/libaom/libaom/apps/
Daomenc.c1029 struct stream_config { struct
1046 struct stream_config config; argument
1321 static void set_config_arg_ctrls(struct stream_config *config, int key, in set_config_arg_ctrls()
1364 struct stream_config *config = &stream->config; in parse_stream_params()