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.cc54 unsigned int out_frames = 2; in TEST() local
78 out_frames = cras_fmt_conv_convert_frames(c, (uint8_t *)in_buf, in TEST()
81 out_frames); in TEST()
82 EXPECT_EQ(2, out_frames); in TEST()
86 out_frames = 2; in TEST()
87 out_frames = cras_fmt_conv_convert_frames(c, (uint8_t *)in_buf, in TEST()
90 out_frames); in TEST()
91 EXPECT_EQ(1, out_frames); in TEST()
118 size_t out_frames; in TEST() local
135 out_frames = cras_fmt_conv_out_frames_to_in(c, buf_size); in TEST()
[all …]
Ddev_stream_unittest.cc67 size_t out_frames; member
260 EXPECT_EQ(kBufferFrames / 4, conv_frames_call.out_frames); in TEST_F()
297 EXPECT_EQ(kBufferFrames * 2, conv_frames_call.out_frames); in TEST_F()
1176 unsigned int out_frames) { in cras_fmt_conv_convert_frames() argument
1185 conv_frames_call.out_frames = out_frames; in cras_fmt_conv_convert_frames()
1186 if (ret > out_frames) { in cras_fmt_conv_convert_frames()
1187 ret = out_frames; in cras_fmt_conv_convert_frames()
1248 size_t out_frames) { in cras_fmt_conv_out_frames_to_in() argument
1250 out_frames, in cras_fmt_conv_out_frames_to_in()
Daudio_thread_unittest_obsolete.cc2224 size_t out_frames) in cras_fmt_conv_out_frames_to_in() argument
2226 return out_frames; in cras_fmt_conv_out_frames_to_in()
/external/adhd/cras/src/server/
Dcras_fmt_conv.c777 size_t out_frames) in cras_fmt_conv_out_frames_to_in() argument
780 return out_frames; in cras_fmt_conv_out_frames_to_in()
782 out_frames = linear_resampler_out_frames_to_in( in cras_fmt_conv_out_frames_to_in()
784 out_frames); in cras_fmt_conv_out_frames_to_in()
785 out_frames = cras_frames_at_rate(conv->out_fmt.frame_rate, in cras_fmt_conv_out_frames_to_in()
786 out_frames, in cras_fmt_conv_out_frames_to_in()
789 out_frames = linear_resampler_out_frames_to_in( in cras_fmt_conv_out_frames_to_in()
791 out_frames); in cras_fmt_conv_out_frames_to_in()
792 return out_frames; in cras_fmt_conv_out_frames_to_in()
806 size_t out_frames) in cras_fmt_conv_convert_frames() argument
[all …]
Dlinear_resampler.c94 float out_frames; in linear_resampler_in_frames_to_out() local
98 out_frames = lr->f * (lr->src_offset + frames - 1); in linear_resampler_in_frames_to_out()
99 if (out_frames > lr->dst_offset) in linear_resampler_in_frames_to_out()
100 return 1 + (unsigned int)(out_frames - lr->dst_offset); in linear_resampler_in_frames_to_out()
Dcras_fmt_conv.h64 size_t out_frames);
84 size_t out_frames);
/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/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-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/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()