Home
last modified time | relevance | path

Searched refs:max_frame_size (Results 1 – 25 of 34) sorted by relevance

12

/third_party/grpc/src/core/tsi/
Dtransport_security_grpc.cc69 tsi_zero_copy_grpc_protector* self, size_t* max_frame_size) { in tsi_zero_copy_grpc_protector_max_frame_size() argument
70 if (self == nullptr || max_frame_size == nullptr) return TSI_INVALID_ARGUMENT; in tsi_zero_copy_grpc_protector_max_frame_size()
71 if (self->vtable->max_frame_size == nullptr) return TSI_UNIMPLEMENTED; in tsi_zero_copy_grpc_protector_max_frame_size()
72 return self->vtable->max_frame_size(self, max_frame_size); in tsi_zero_copy_grpc_protector_max_frame_size()
Dtransport_security_grpc.h61 tsi_zero_copy_grpc_protector* self, size_t* max_frame_size);
72 tsi_result (*max_frame_size)(tsi_zero_copy_grpc_protector* self, member
73 size_t* max_frame_size);
Dfake_transport_security.cc75 size_t max_frame_size; member
81 size_t max_frame_size; member
291 store32_little_endian(static_cast<uint32_t>(impl->max_frame_size), in fake_protector_protect()
419 GPR_MIN(impl->max_frame_size, in fake_zero_copy_grpc_protector_protect()
772 impl->max_frame_size = (max_protected_frame_size == nullptr) in tsi_create_fake_frame_protector()
786 impl->max_frame_size = (max_protected_frame_size == nullptr) in tsi_create_fake_zero_copy_grpc_protector()
/third_party/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc69 size_t max_frame_size; member
83 size_t max_frame_size; member
171 size_t max_frame_size = kTsiAltsMinFrameSize; in handshaker_result_create_zero_copy_grpc_protector() local
172 if (result->max_frame_size) { in handshaker_result_create_zero_copy_grpc_protector()
173 size_t peer_max_frame_size = result->max_frame_size; in handshaker_result_create_zero_copy_grpc_protector()
174 max_frame_size = std::min<size_t>(peer_max_frame_size, in handshaker_result_create_zero_copy_grpc_protector()
178 max_frame_size = std::max<size_t>(max_frame_size, kTsiAltsMinFrameSize); in handshaker_result_create_zero_copy_grpc_protector()
180 max_output_protected_frame_size = &max_frame_size; in handshaker_result_create_zero_copy_grpc_protector()
317 sresult->max_frame_size = grpc_gcp_HandshakerResult_max_frame_size(hresult); in alts_tsi_handshaker_result_create()
428 handshaker->max_frame_size); in alts_tsi_handshaker_continue_handshaker_next()
[all …]
Dalts_handshaker_client.cc108 size_t max_frame_size; member
519 start_client, static_cast<uint32_t>(client->max_frame_size)); in get_serialized_start_client()
575 start_server, static_cast<uint32_t>(client->max_frame_size)); in get_serialized_start_server()
692 bool is_client, size_t max_frame_size) { in alts_grpc_handshaker_client_create() argument
714 client->max_frame_size = max_frame_size; in alts_grpc_handshaker_client_create()
Dalts_handshaker_client.h148 bool is_client, size_t max_frame_size);
/third_party/ffmpeg/libavcodec/
Dralf.c54 int max_frame_size; member
156 ctx->max_frame_size = AV_RB32(avctx->extradata + 16); in decode_init()
157 if (ctx->max_frame_size > (1 << 20) || !ctx->max_frame_size) { in decode_init()
159 ctx->max_frame_size); in decode_init()
161 ctx->max_frame_size = FFMAX(ctx->max_frame_size, avctx->sample_rate); in decode_init()
355 if (ctx->sample_offset + len > ctx->max_frame_size) { in decode_block()
466 frame->nb_samples = ctx->max_frame_size; in decode_frame()
Dmpegaudioenc_template.c514 int i, ch, b, max_smr, max_ch, max_sb, current_frame_size, max_frame_size; in compute_bit_allocation() local
525 max_frame_size = s->frame_size; in compute_bit_allocation()
530 max_frame_size += 8; in compute_bit_allocation()
560 current_frame_size, max_frame_size, max_sb, max_ch, in compute_bit_allocation()
581 if (current_frame_size + incr <= max_frame_size) { in compute_bit_allocation()
597 *padding = max_frame_size - current_frame_size; in compute_bit_allocation()
Dqsvenc.h90 { "max_frame_size", "Maximum encoded frame size in bytes", OFFSET(qsv.max_frame_size), AV_OPT_TY…
168 int max_frame_size; member
Dalacenc.c608 int out_bytes, max_frame_size, ret; in alac_encode_frame() local
613 max_frame_size = get_max_frame_size(s->frame_size, avctx->channels, in alac_encode_frame()
616 max_frame_size = s->max_coded_frame_size; in alac_encode_frame()
618 if ((ret = ff_alloc_packet2(avctx, avpkt, 4 * max_frame_size, 0)) < 0) in alac_encode_frame()
632 if (out_bytes > max_frame_size) { in alac_encode_frame()
Dwmalosslessdec.c77 int max_frame_size; ///< max bitstream size member
200 s->max_frame_size = MAX_FRAMESIZE * avctx->channels; in decode_init()
201 s->frame_data = av_mallocz(s->max_frame_size + AV_INPUT_BUFFER_PADDING_SIZE); in decode_init()
207 init_put_bits(&s->pb, s->frame_data, s->max_frame_size); in decode_init()
1150 init_put_bits(&s->pb, s->frame_data, s->max_frame_size); in save_bits()
1155 if (len <= 0 || buflen > s->max_frame_size) { in save_bits()
1252 init_put_bits(&s->pb, s->frame_data, s->max_frame_size); in decode_packet()
1313 init_put_bits(&s->pb, s->frame_data, s->max_frame_size); in flush()
/third_party/grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector.cc237 tsi_zero_copy_grpc_protector* self, size_t* max_frame_size) { in alts_zero_copy_grpc_protector_max_frame_size() argument
238 if (self == nullptr || max_frame_size == nullptr) return TSI_INVALID_ARGUMENT; in alts_zero_copy_grpc_protector_max_frame_size()
241 *max_frame_size = protector->max_protected_frame_size; in alts_zero_copy_grpc_protector_max_frame_size()
/third_party/grpc/test/core/end2end/tests/
Dinvoke_large_request.cc95 int max_frame_size, int lookahead_bytes) { in test_invoke_large_request() argument
98 max_frame_size, lookahead_bytes); in test_invoke_large_request()
103 args[0].value.integer = max_frame_size; in test_invoke_large_request()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc278 size_t max_frame_size; member
313 GPR_DEBUG_ASSERT(frame_size <= st->max_frame_size); in current_frame_size()
359 if (GPR_LIKELY(current_frame_size(st) + need_bytes <= st->max_frame_size)) { in ensure_space()
370 remaining = st->max_frame_size - current_frame_size(st); in add_header_data()
854 st.max_frame_size = options->max_frame_size; in grpc_chttp2_encode_header()
Dhpack_encoder.h97 size_t max_frame_size; member
Dflow_control.h78 uint32_t max_frame_size() const { return max_frame_size_; } in max_frame_size() function
/third_party/grpc/src/proto/grpc/gcp/
Dhandshaker.proto110 uint32 max_frame_size = 10; field
151 uint32 max_frame_size = 7; field
201 uint32 max_frame_size = 8; field
/third_party/FreeBSD/sys/dev/usb/
Dusb_transfer.c141 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size()
589 if ((xfer->max_frame_size == 0) || in usbd_transfer_setup_sub()
620 parm->bufsize = xfer->max_frame_size; in usbd_transfer_setup_sub()
635 parm->bufsize += (xfer->max_frame_size - 1); in usbd_transfer_setup_sub()
637 if (parm->bufsize < xfer->max_frame_size) { in usbd_transfer_setup_sub()
644 parm->bufsize -= (parm->bufsize % xfer->max_frame_size); in usbd_transfer_setup_sub()
802 (parm->hc_max_frame_size % xfer->max_frame_size)); in usbd_transfer_setup_sub()
835 xfer->max_frame_size = 1; in usbd_transfer_setup_sub()
2206 return (xfer->max_frame_size); in usbd_xfer_max_framelen()
Dusb_core.h167 uint16_t max_frame_size; member
Dusb_generic.c112 f->xfer[0]->max_frame_size, in ugen_transfer_setup()
497 offset += xfer->max_frame_size; in ugen_isoc_read_callback()
504 usbd_xfer_set_frame_len(xfer, n, xfer->max_frame_size); in ugen_isoc_read_callback()
534 xfer->max_frame_size, &actlen, 1)) { in ugen_isoc_write_callback()
1575 f->fs_xfer[u.popen->ep_index]->max_frame_size; in ugen_ioctl()
1702 *(int *)addr = f->xfer[0]->max_frame_size; in ugen_get_frame_size()
Dusb_device.h121 uint16_t max_frame_size; member
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkenc.h145 guint max_frame_size; member
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci.c100 uint16_t max_frame_size; member
1533 if (temp->len % temp->max_frame_size) { in ehci_setup_standard_chain_sub()
1595 if (((average + temp->max_frame_size - 1) / in ehci_setup_standard_chain_sub()
1596 temp->max_frame_size) & 1) { in ehci_setup_standard_chain_sub()
1716 temp.max_frame_size = xfer->max_frame_size; in ehci_setup_standard_chain()
2509 if (*plen > xfer->max_frame_size) { in ehci_device_isoc_fs_enter()
2516 xfer->max_frame_size); in ehci_device_isoc_fs_enter()
2519 *plen = xfer->max_frame_size; in ehci_device_isoc_fs_enter()
2820 if (*plen > xfer->max_frame_size) {
2826 __FUNCTION__, *plen, xfer->max_frame_size);
[all …]
/third_party/nghttp2/lib/
Dnghttp2_session.h165 uint32_t max_frame_size; member
/third_party/node/deps/nghttp2/lib/
Dnghttp2_session.h165 uint32_t max_frame_size; member

12