Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Dfmt_conv_unittest.cc60 unsigned int out_frames = 2; in TEST() local
86 out_frames = cras_fmt_conv_convert_frames( in TEST()
87 c, (uint8_t*)in_buf, (uint8_t*)out_buf, &in_frames, out_frames); in TEST()
88 EXPECT_EQ(2, out_frames); in TEST()
92 out_frames = 2; in TEST()
93 out_frames = cras_fmt_conv_convert_frames( in TEST()
94 c, (uint8_t*)in_buf, (uint8_t*)out_buf, &in_frames, out_frames); in TEST()
95 EXPECT_EQ(1, out_frames); in TEST()
122 size_t out_frames; in TEST() local
139 out_frames = cras_fmt_conv_out_frames_to_in(c, buf_size); in TEST()
[all …]
Ddev_stream_unittest.cc69 size_t out_frames; member
282 EXPECT_EQ(kBufferFrames / 4, conv_frames_call.out_frames); in TEST_F()
317 EXPECT_EQ(kBufferFrames * 2, conv_frames_call.out_frames); in TEST_F()
1192 unsigned int out_frames) { in cras_fmt_conv_convert_frames() argument
1199 conv_frames_call.out_frames = out_frames; in cras_fmt_conv_convert_frames()
1200 if (ret > out_frames) { in cras_fmt_conv_convert_frames()
1201 ret = out_frames; in cras_fmt_conv_convert_frames()
1259 size_t out_frames) { in cras_fmt_conv_out_frames_to_in() argument
1260 return cras_frames_at_rate(out_fmt.frame_rate, out_frames, in_fmt.frame_rate); in cras_fmt_conv_out_frames_to_in()
Daudio_thread_unittest_obsolete.cc2182 size_t out_frames) { in cras_fmt_conv_out_frames_to_in() argument
2183 return out_frames; in cras_fmt_conv_out_frames_to_in()
/external/adhd/cras/src/server/
Dcras_fmt_conv.c526 size_t out_frames) in cras_fmt_conv_out_frames_to_in() argument
529 return out_frames; in cras_fmt_conv_out_frames_to_in()
531 out_frames = linear_resampler_out_frames_to_in(conv->resampler, in cras_fmt_conv_out_frames_to_in()
532 out_frames); in cras_fmt_conv_out_frames_to_in()
533 out_frames = cras_frames_at_rate(conv->out_fmt.frame_rate, out_frames, in cras_fmt_conv_out_frames_to_in()
536 out_frames = linear_resampler_out_frames_to_in(conv->resampler, in cras_fmt_conv_out_frames_to_in()
537 out_frames); in cras_fmt_conv_out_frames_to_in()
538 return out_frames; in cras_fmt_conv_out_frames_to_in()
549 unsigned int *in_frames, size_t out_frames) in cras_fmt_conv_convert_frames() argument
570 fr_in = MIN(*in_frames, out_frames); in cras_fmt_conv_convert_frames()
[all …]
Dlinear_resampler.c93 float out_frames; in linear_resampler_in_frames_to_out() local
97 out_frames = lr->f * (lr->src_offset + frames - 1); in linear_resampler_in_frames_to_out()
98 if (out_frames > lr->dst_offset) in linear_resampler_in_frames_to_out()
99 return 1 + (unsigned int)(out_frames - lr->dst_offset); in linear_resampler_in_frames_to_out()
Dcras_fmt_conv.h62 size_t out_frames);
79 unsigned int *in_frames, size_t out_frames);
/external/grpc-grpc-java/alts/src/main/proto/grpc/gcp/
Dhandshaker.proto122 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible
123 // that the peer's out_frames are split into multiple HandshakReq messages.
139 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible
140 // that the peer's out_frames are split into multiple NextHandshakerMessageReq
195 // empty if no out_frames have to be sent to the peer or if in_bytes in the
199 bytes out_frames = 1; field
206 // This is set iff the handshake was successful. out_frames may still be set
/external/grpc-grpc/src/core/tsi/alts/handshaker/proto/
Dhandshaker.proto122 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible
123 // that the peer's out_frames are split into multiple HandshakReq messages.
139 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible
140 // that the peer's out_frames are split into multiple NextHandshakerMessageReq
195 // empty if no out_frames have to be sent to the peer or if in_bytes in the
199 bytes out_frames = 1; field
206 // This is set iff the handshake was successful. out_frames may still be set
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dhandshaker.proto122 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible
123 // that the peer's out_frames are split into multiple HandshakReq messages.
139 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible
140 // that the peer's out_frames are split into multiple NextHandshakerMessageReq
195 // empty if no out_frames have to be sent to the peer or if in_bytes in the
199 bytes out_frames = 1; field
206 // This is set iff the handshake was successful. out_frames may still be set
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_test.cc27 const char out_frames[] = "HELLO WORLD!"; in main() local
115 GPR_ASSERT(grpc_gcp_handshaker_resp_set_out_frames(resp, out_frames, in main()
116 strlen(out_frames))); in main()
Dalts_handshaker_service_api_test_lib.cc227 const char* out_frames, in grpc_gcp_handshaker_resp_set_out_frames() argument
229 if (resp == nullptr || out_frames == nullptr) { in grpc_gcp_handshaker_resp_set_out_frames()
235 grpc_slice* slice = create_slice(out_frames, size); in grpc_gcp_handshaker_resp_set_out_frames()
236 resp->out_frames.arg = slice; in grpc_gcp_handshaker_resp_set_out_frames()
237 resp->out_frames.funcs.encode = encode_string_or_bytes_cb; in grpc_gcp_handshaker_resp_set_out_frames()
623 result &= slice_equals(static_cast<grpc_slice*>(l_resp->out_frames.arg), in grpc_gcp_handshaker_resp_equals()
624 static_cast<grpc_slice*>(r_resp->out_frames.arg)); in grpc_gcp_handshaker_resp_equals()
Dalts_handshaker_service_api_test_lib.h96 const char* out_frames,
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dhandshaker.pb.c90 …IELD( 1, BYTES , OPTIONAL, CALLBACK, FIRST, grpc_gcp_HandshakerResp, out_frames, out_frames, 0),
91 …( 2, UINT32 , OPTIONAL, STATIC , OTHER, grpc_gcp_HandshakerResp, bytes_consumed, out_frames, 0),
Dhandshaker.pb.h94 pb_callback_t out_frames; member
Dalts_handshaker_service_api.cc468 destroy_slice(static_cast<grpc_slice*>(resp->out_frames.arg)); in grpc_gcp_handshaker_resp_destroy()
504 resp->out_frames.funcs.decode = decode_string_or_bytes_cb; in grpc_gcp_handshaker_resp_decode()
Dalts_tsi_handshaker.cc446 grpc_slice* slice = static_cast<grpc_slice*>(resp->out_frames.arg); in alts_tsi_handshaker_handle_response()