/third_party/lwip/test/fuzz/ |
H A D | fuzz.c | 121 u16_t frame_len; in input_pkts() local 122 memcpy(&frame_len, ptr, sizeof(u16_t)); in input_pkts() 125 frame_len = htons(frame_len) & 0x7FF; in input_pkts() 126 frame_len = LWIP_MIN(frame_len, max_packet_size); in input_pkts() 127 if (frame_len > rem_len) { in input_pkts() 128 frame_len = (u16_t)rem_len; in input_pkts() 130 if (frame_len != 0) { in input_pkts() 131 input_pkt(netif, ptr, frame_len); in input_pkts() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | binkaudio.c | 57 int frame_len; ///< transform size (samples) member 115 s->frame_len = 1 << frame_len_bits; in decode_init() 116 s->overlap_len = s->frame_len / 16; in decode_init() 117 s->block_size = (s->frame_len - s->overlap_len) * FFMIN(MAX_CHANNELS, s->channels); in decode_init() 120 s->root = 2.0 / (sqrt(s->frame_len) * 32768.0); in decode_init() 122 s->root = s->frame_len / (sqrt(s->frame_len) * 32768.0); in decode_init() 136 s->bands[i] = (ff_wma_critical_freqs[i - 1] * s->frame_len / sample_rate_half) & ~1; in decode_init() 137 s->bands[s->num_bands] = s->frame_len; in decode_init() 211 while (i < s->frame_len) { in decode_block() [all...] |
H A D | wmadec.c | 52 static void wma_lsp_to_curve_init(WMACodecContext *s, int frame_len); 137 wma_lsp_to_curve_init(s, s->frame_len); in wma_decode_init() 141 avctx->internal->skip_samples = s->frame_len * 2; in wma_decode_init() 171 static av_cold void wma_lsp_to_curve_init(WMACodecContext *s, int frame_len) in wma_lsp_to_curve_init() argument 176 wdel = M_PI / frame_len; in wma_lsp_to_curve_init() 177 for (i = 0; i < frame_len; i++) in wma_lsp_to_curve_init() 506 if ((s->block_pos + s->block_len) > s->frame_len) { in wma_decode_block() 507 av_log(s->avctx, AV_LOG_ERROR, "frame_len overflow\n"); in wma_decode_block() 771 index = (s->frame_len / 2) + s->block_pos - n4; in wma_decode_block() 778 if (s->block_pos >= s->frame_len) in wma_decode_block() [all...] |
H A D | wma.c | 106 s->frame_len = 1 << s->frame_len_bits; in ff_wma_init() 140 s->byte_offset_bits = av_log2((int) (bps * s->frame_len / 8.0 + 0.5)) + 2; in ff_wma_init() 204 block_len = s->frame_len >> k; in ff_wma_init() 260 s->coefs_end[k] = (s->frame_len - ((s->frame_len * 9) / 100)) >> k; in ff_wma_init() 288 s->frame_len >> i, in ff_wma_init()
|
H A D | wma.h | 100 int frame_len; ///< frame length in samples member 101 int frame_len_bits; ///< frame_len = 1 << frame_len_bits
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/src/ |
H A D | rtp_codec_aac.cpp | 144 size_t frame_len = AdtsHeader::GetAacFrameLength((uint8_t *)ptr, end - ptr); in InputFrame() local 145 MEDIA_LOGD("aac frame len: %{public}zu frame size: %{public}d.", frame_len, frame->Size()); in InputFrame() 146 if (frame_len < ADTS_HEADER_LEN) { in InputFrame() 149 if (frame_len == frame->Size()) { in InputFrame() 153 ptr += frame_len; in InputFrame()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/ |
H A D | app_promis.c | 32 int hi_promis_recv(void* recv_buf, int frame_len, signed char rssi) in hi_promis_recv() argument 34 hi_at_printf("resv buf: %u , len: %d , rssi: %c\r\n", *(unsigned int*)recv_buf, frame_len, rssi); in hi_promis_recv()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/ |
H A D | fst_session.c | 360 size_t frame_len) in fst_session_handle_setup_request() 369 if (frame_len < IEEE80211_HDRLEN + 1 + sizeof(*req)) { in fst_session_handle_setup_request() 372 frame_len, in fst_session_handle_setup_request() 376 plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_request() 503 size_t frame_len) in fst_session_handle_setup_response() 506 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_response() 607 size_t frame_len) in fst_session_handle_tear_down() 610 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_tear_down() 642 size_t frame_len) in fst_session_handle_ack_request() 645 size_t plen = frame_len in fst_session_handle_ack_request() 358 fst_session_handle_setup_request(struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_setup_request() argument 500 fst_session_handle_setup_response(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_setup_response() argument 604 fst_session_handle_tear_down(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_tear_down() argument 639 fst_session_handle_ack_request(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_ack_request() argument 703 fst_session_handle_ack_response(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_ack_response() argument 1071 fst_session_handle_action(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_action() argument [all...] |
H A D | fst_session.h | 36 size_t frame_len);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/ |
H A D | fst_session.c | 360 size_t frame_len) in fst_session_handle_setup_request() 369 if (frame_len < IEEE80211_HDRLEN + 1 + sizeof(*req)) { in fst_session_handle_setup_request() 372 frame_len, in fst_session_handle_setup_request() 376 plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_request() 503 size_t frame_len) in fst_session_handle_setup_response() 506 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_response() 607 size_t frame_len) in fst_session_handle_tear_down() 610 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_tear_down() 642 size_t frame_len) in fst_session_handle_ack_request() 645 size_t plen = frame_len in fst_session_handle_ack_request() 358 fst_session_handle_setup_request(struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_setup_request() argument 500 fst_session_handle_setup_response(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_setup_response() argument 604 fst_session_handle_tear_down(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_tear_down() argument 639 fst_session_handle_ack_request(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_ack_request() argument 703 fst_session_handle_ack_response(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_ack_response() argument 1071 fst_session_handle_action(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) fst_session_handle_action() argument [all...] |
H A D | fst_session.h | 36 size_t frame_len);
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | wl_cfgp2p.h | 256 wl_cfgp2p_is_pub_action(void *frame, u32 frame_len); 258 wl_cfgp2p_is_p2p_action(void *frame, u32 frame_len); 260 wl_cfgp2p_is_gas_action(void *frame, u32 frame_len); 264 wl_cfgp2p_is_p2p_gas_action(void *frame, u32 frame_len); 266 wl_cfgp2p_print_actframe(bool tx, void *frame, u32 frame_len, u32 channel); 419 wl_cfgp2p_need_wait_actfrmae(struct bcm_cfg80211 *cfg, void *frame, u32 frame_len, bool tx);
|
H A D | wl_cfgp2p.c | 98 bool wl_cfgp2p_is_pub_action(void *frame, u32 frame_len) in wl_cfgp2p_is_pub_action() argument 105 if (frame_len < sizeof(wifi_p2p_pub_act_frame_t) -1) in wl_cfgp2p_is_pub_action() 118 bool wl_cfgp2p_is_p2p_action(void *frame, u32 frame_len) in wl_cfgp2p_is_p2p_action() argument 125 if (frame_len < sizeof(wifi_p2p_action_frame_t) -1) in wl_cfgp2p_is_p2p_action() 169 bool wl_cfgp2p_is_gas_action(void *frame, u32 frame_len) in wl_cfgp2p_is_gas_action() argument 178 if (frame_len < (sizeof(wifi_p2psd_gas_pub_act_frame_t) - 1)) in wl_cfgp2p_is_gas_action() 187 frame_len); in wl_cfgp2p_is_gas_action() 192 frame_len); in wl_cfgp2p_is_gas_action() 209 bool wl_cfgp2p_is_p2p_gas_action(void *frame, u32 frame_len) in wl_cfgp2p_is_p2p_gas_action() argument 218 if (frame_len < (sizeo in wl_cfgp2p_is_p2p_gas_action() 231 wl_cfgp2p_print_actframe(bool tx, void *frame, u32 frame_len, u32 channel) wl_cfgp2p_print_actframe() argument 2757 wl_cfgp2p_need_wait_actfrmae(struct bcm_cfg80211 *cfg, void *frame, u32 frame_len, bool tx) wl_cfgp2p_need_wait_actfrmae() argument [all...] |
H A D | dhd_debug.h | 466 * |frame_len| should be set to 0. 468 size_t frame_len; member 502 * - If frame content is not provided, |frame_len| should be set 536 uint32 frame_len; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | crc32.h | 12 u32 crc32(const u8 *frame, size_t frame_len);
|
H A D | crc32.c | 75 u32 crc32(const u8 *frame, size_t frame_len) in crc32() argument 81 for (i = 0; i < frame_len; i++) in crc32()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | crc32.h | 12 u32 crc32(const u8 *frame, size_t frame_len);
|
H A D | crc32.c | 75 u32 crc32(const u8 *frame, size_t frame_len) in crc32() argument 81 for (i = 0; i < frame_len; i++) in crc32()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_dynaudnorm.c | 61 int frame_len; member 317 s->frame_len = frame_size(inlink->sample_rate, s->frame_len_msec); in config_input() 318 av_log(ctx, AV_LOG_DEBUG, "frame len %d\n", s->frame_len); in config_input() 351 s->window = ff_get_audio_buffer(ctx->outputs[0], s->frame_len * 2); in config_input() 354 s->sample_advance = FFMAX(1, lrint(s->frame_len * (1. - s->overlap))); in config_input() 696 if (s->frame_len != s->sample_advance) { in analyze_frame() 697 const int offset = s->frame_len - s->sample_advance; in analyze_frame() 710 s->frame_len, (*frame)->ch_layout.nb_channels, (*frame)->format); in analyze_frame() 917 s->frame_len = frame_size(inlink->sample_rate, s->frame_len_msec); in process_command() 918 s->sample_advance = FFMAX(1, lrint(s->frame_len * ( in process_command() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | drv_callbacks.c | 1369 if (drv_mgmt->frame_len < IEEE80211_HDRLEN + 2 + 1) in hostapd_action_rx() 1372 plen = drv_mgmt->frame_len - IEEE80211_HDRLEN; in hostapd_action_rx() 1397 ieee802_11_sa_query_action(hapd, mgmt, drv_mgmt->frame_len); in hostapd_action_rx() 1402 ieee802_11_rx_wnm_action_ap(hapd, mgmt, drv_mgmt->frame_len); in hostapd_action_rx() 1408 fst_rx_action(hapd->iface->fst, mgmt, drv_mgmt->frame_len); in hostapd_action_rx() 1423 end = drv_mgmt->frame + drv_mgmt->frame_len; in hostapd_action_rx() 1479 size_t hex_len = 2 * rx_mgmt->frame_len + 1; in hostapd_mgmt_rx() 1484 rx_mgmt->frame_len); in hostapd_mgmt_rx() 1493 bssid = get_hdr_bssid(hdr, rx_mgmt->frame_len); in hostapd_mgmt_rx() 1529 rx_mgmt->frame_len, in hostapd_mgmt_rx() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | drv_callbacks.c | 1153 if (drv_mgmt->frame_len < IEEE80211_HDRLEN + 2 + 1) in hostapd_action_rx() 1156 plen = drv_mgmt->frame_len - IEEE80211_HDRLEN; in hostapd_action_rx() 1182 ieee802_11_sa_query_action(hapd, mgmt, drv_mgmt->frame_len); in hostapd_action_rx() 1188 ieee802_11_rx_wnm_action_ap(hapd, mgmt, drv_mgmt->frame_len); in hostapd_action_rx() 1194 fst_rx_action(hapd->iface->fst, mgmt, drv_mgmt->frame_len); in hostapd_action_rx() 1209 end = drv_mgmt->frame + drv_mgmt->frame_len; in hostapd_action_rx() 1265 size_t hex_len = 2 * rx_mgmt->frame_len + 1; in hostapd_mgmt_rx() 1270 rx_mgmt->frame_len); in hostapd_mgmt_rx() 1279 bssid = get_hdr_bssid(hdr, rx_mgmt->frame_len); in hostapd_mgmt_rx() 1315 rx_mgmt->frame_len, in hostapd_mgmt_rx() [all...] |
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | usbd_video.h | 180 uint32_t frame_len, uint32_t frame_height, uint32_t frame_width);
|
H A D | usbd_video.c | 822 uint32_t frame_len, uint32_t frame_height, uint32_t frame_width) in usb_format_yuv_semiplanar_420() 846 p = (uint32_t *)(frame_mem + frame_len + (i * 4) * width); in usb_format_yuv_semiplanar_420() 847 pp = (uint32_t *)(frame_mem + frame_len + (i * 4 + 2) * width); in usb_format_yuv_semiplanar_420() 821 usb_format_yuv_semiplanar_420(char *buf_virt_y, char *buf_virt_c, uint8_t *frame_mem, uint32_t frame_len, uint32_t frame_height, uint32_t frame_width) usb_format_yuv_semiplanar_420() argument
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_cfg80211_apt.h | 64 typedef hi_s32 (*hisi_upload_frame_cb)(hi_void *recv_buf, hi_s32 frame_len, hi_s8 rssi);
|
H A D | wal_cfg80211_apt.c | 861 hi_s32 frame_len; in hwal_send_others_bss_data() local 876 frame_len = (hi_s32)rx_ctrl->us_frame_len; in hwal_send_others_bss_data() 905 g_upload_frame_func(recv_buf, frame_len, rssi); in hwal_send_others_bss_data()
|