Home
last modified time | relevance | path

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

/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()
Dqsvenc.c707 if (q->max_frame_size >= 0) in init_video_param()
708 q->extco2.MaxFrameSize = q->max_frame_size; in init_video_param()
/third_party/nghttp2/src/
Dh2load_http2_session.cc230 if (config->max_frame_size != 16_k) { in on_connect()
232 iv[niv].value = config->max_frame_size; in on_connect()
Dh2load.h98 size_t max_frame_size; member
Dh2load.cc114 max_frame_size(16_k), in Config()
2140 << util::utos_unit(config.max_frame_size) << R"( in print_help()
2449 config.max_frame_size = n; in main()
/third_party/FreeBSD/sys/dev/usb/
Dusb_transfer.c139 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size()
579 if ((xfer->max_frame_size == 0) || in usbd_transfer_setup_sub()
607 parm->bufsize = xfer->max_frame_size; in usbd_transfer_setup_sub()
621 parm->bufsize += (xfer->max_frame_size - 1); in usbd_transfer_setup_sub()
623 if (parm->bufsize < xfer->max_frame_size) { in usbd_transfer_setup_sub()
630 parm->bufsize -= (parm->bufsize % xfer->max_frame_size); in usbd_transfer_setup_sub()
785 (parm->hc_max_frame_size % xfer->max_frame_size)); in usbd_transfer_setup_sub()
817 xfer->max_frame_size = 1; in usbd_transfer_setup_sub()
2178 return (xfer->max_frame_size); in usbd_xfer_max_framelen()
Dusb_core.h166 uint16_t max_frame_size; member
Dusb_generic.c109 f->xfer[0]->max_frame_size, in ugen_transfer_setup()
494 offset += xfer->max_frame_size; in ugen_isoc_read_callback()
501 usbd_xfer_set_frame_len(xfer, n, xfer->max_frame_size); in ugen_isoc_read_callback()
531 xfer->max_frame_size, &actlen, 1)) { in ugen_isoc_write_callback()
1514 f->fs_xfer[u.popen->ep_index]->max_frame_size; in ugen_ioctl()
1641 *(int *)addr = f->xfer[0]->max_frame_size; in ugen_get_frame_size()
Dusb_device.h121 uint16_t max_frame_size; member
Dusb_hub.c2007 xfer->max_frame_size, USB_HS_MICRO_FRAMES_MAX, mask); in usb_hs_bandwidth_alloc()
2039 xfer->max_frame_size, USB_HS_MICRO_FRAMES_MAX, mask); in usb_hs_bandwidth_alloc()
2088 -xfer->max_frame_size, slot, mask >> slot); in usb_hs_bandwidth_free()
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci.c100 uint16_t max_frame_size; member
1525 if (temp->len % temp->max_frame_size) { in ehci_setup_standard_chain_sub()
1582 if (((average + temp->max_frame_size - 1) / in ehci_setup_standard_chain_sub()
1583 temp->max_frame_size) & 1) { in ehci_setup_standard_chain_sub()
1703 temp.max_frame_size = xfer->max_frame_size; in ehci_setup_standard_chain()
2487 if (*plen > xfer->max_frame_size) { in ehci_device_isoc_fs_enter()
2494 xfer->max_frame_size); in ehci_device_isoc_fs_enter()
2497 *plen = xfer->max_frame_size; in ehci_device_isoc_fs_enter()
2796 if (*plen > xfer->max_frame_size) {
2802 __FUNCTION__, *plen, xfer->max_frame_size);
[all …]
Dxhci.c2151 if (temp.len > xfer->max_frame_size) in xhci_setup_generic_chain()
2152 temp.len = xfer->max_frame_size; in xhci_setup_generic_chain()
2298 uint16_t max_frame_size, uint8_t ep_mode) in xhci_configure_endpoint() argument
2430 temp = XHCI_EPCTX_4_MAX_ESIT_PAYLOAD_SET(max_frame_size) | in xhci_configure_endpoint()
2432 max_frame_size)); in xhci_configure_endpoint()
2492 xfer->max_frame_size, xfer->endpoint->ep_mode)); in xhci_configure_endpoint_by_xfer()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkenc.h145 guint max_frame_size; member
Dgstmsdkenc.c204 option2->MaxFrameSize = thiz->max_frame_size * 1000; in ensure_bitrate_control()
2107 thiz->max_frame_size = PROP_MAX_FRAME_SIZE_DEFAULT; in gst_msdkenc_init()
2175 thiz->max_frame_size = g_value_get_uint (value); in gst_msdkenc_set_common_property()
2278 g_value_set_uint (value, thiz->max_frame_size); in gst_msdkenc_get_common_property()
/third_party/node/deps/nghttp2/lib/
Dnghttp2_session.h165 uint32_t max_frame_size; member
Dnghttp2_session.c386 settings->max_frame_size = NGHTTP2_MAX_FRAME_SIZE_MIN; in init_settings()
1795 session->remote_window_size, session->remote_settings.max_frame_size, in nghttp2_session_enforce_flow_control_limits()
1801 (int32_t)session->remote_settings.max_frame_size); in nghttp2_session_enforce_flow_control_limits()
4379 session->local_settings.max_frame_size = iv[i].value; in nghttp2_session_update_local_settings()
4518 session->remote_settings.max_frame_size = entry->value; in nghttp2_session_on_settings_received()
5481 if (iframe->frame.hd.length > session->local_settings.max_frame_size) { in nghttp2_session_mem_recv()
5483 session->local_settings.max_frame_size); in nghttp2_session_mem_recv()
7133 stream->remote_window_size, session->remote_settings.max_frame_size, in nghttp2_session_pack_data()
7416 return session->remote_settings.max_frame_size; in nghttp2_session_get_remote_settings()
7439 return session->local_settings.max_frame_size; in nghttp2_session_get_local_settings()
/third_party/nghttp2/lib/
Dnghttp2_session.h175 uint32_t max_frame_size; member
Dnghttp2_session.c401 settings->max_frame_size = NGHTTP2_MAX_FRAME_SIZE_MIN; in init_settings()
2135 session->remote_window_size, session->remote_settings.max_frame_size, in nghttp2_session_enforce_flow_control_limits()
2141 (int32_t)session->remote_settings.max_frame_size); in nghttp2_session_enforce_flow_control_limits()
4795 session->local_settings.max_frame_size = iv[i].value; in nghttp2_session_update_local_settings()
4937 session->remote_settings.max_frame_size = entry->value; in nghttp2_session_on_settings_received()
6013 if (iframe->frame.hd.length > session->local_settings.max_frame_size) { in nghttp2_session_mem_recv()
6015 session->local_settings.max_frame_size); in nghttp2_session_mem_recv()
7756 stream->remote_window_size, session->remote_settings.max_frame_size, in nghttp2_session_pack_data()
8039 return session->remote_settings.max_frame_size; in nghttp2_session_get_remote_settings()
8064 return session->local_settings.max_frame_size; in nghttp2_session_get_local_settings()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c1499 usb_frlength_t max_frame = xfer->max_frame_size; in usb_linux_isoc_callback()
/third_party/nghttp2/tests/
Dnghttp2_session_test.c2580 session->local_settings.max_frame_size = NGHTTP2_MAX_FRAME_SIZE_MIN - 1; in test_nghttp2_session_recv_altsvc()
5285 session->remote_settings.max_frame_size = NGHTTP2_MAX_FRAME_SIZE_MAX; in test_nghttp2_submit_data_read_length_too_large()