Home
last modified time | relevance | path

Searched refs:band (Results 26 - 50 of 260) sorted by relevance

1234567891011

/foundation/communication/wifi/wifi/test/wifi_standard/native/
H A Dwifi_c_hotspot_test.cpp61 result.band = g_mode; in GetHotspotConfigTests()
111 config.band = g_mode; in HWTEST_F()
142 config.band = g_mode; in HWTEST_F()
158 config.band = g_mode; in HWTEST_F()
174 config.band = g_mode; in HWTEST_F()
/third_party/ffmpeg/libavcodec/
H A Dcfhdenc.c224 SubBand band[DWT_LEVELS][4]; member
301 for (int k = 0; k < FF_ARRAY_ELEMS(s->plane[i].band[j]); k++) { in cfhd_encode_init()
302 s->plane[i].band[j][k].width = (width / 8) << j; in cfhd_encode_init()
303 s->plane[i].band[j][k].height = (height / 8) << j; in cfhd_encode_init()
304 s->plane[i].band[j][k].a_width = w8 << j; in cfhd_encode_init()
305 s->plane[i].band[j][k].a_height = h8 << j; in cfhd_encode_init()
436 int width = s->plane[plane].band[2][0].width; in cfhd_encode_frame()
437 int a_width = s->plane[plane].band[2][0].a_width; in cfhd_encode_frame()
438 int height = s->plane[plane].band[2][0].height; in cfhd_encode_frame()
459 low_stride = s->plane[plane].band[ in cfhd_encode_frame()
[all...]
H A Dg722.h41 * The band[0] and band[1] correspond respectively to the lower band and higher band.
53 } band[2]; member
73 void ff_g722_update_low_predictor(struct G722Band *band, const int ilow);
75 void ff_g722_update_high_predictor(struct G722Band *band, const int dhigh,
H A Daaccoder.c75 * Encode band info for single window group bands.
122 FFPsyBand *band = &s->psy.ch[s->cur_channel].psy_bands[(win+w)*16+swb]; in encode_window_bands_info() local
126 lambda / band->threshold, INFINITY, NULL, NULL, 0); in encode_window_bands_info()
167 //perform actual band info encoding in encode_window_bands_info()
314 FFPsyBand *band = &s->psy.ch[s->cur_channel].psy_bands[(w+w2)*16+g]; in search_for_quantizers_anmr() local
315 if (band->energy <= band->threshold || band->threshold == 0.0f) { in search_for_quantizers_anmr()
347 FFPsyBand *band = &s->psy.ch[s->cur_channel].psy_bands[(w+w2)*16+g]; in search_for_quantizers_anmr() local
349 q + q0, cb, lambda / band in search_for_quantizers_anmr()
419 FFPsyBand *band = &s->psy.ch[s->cur_channel].psy_bands[(w+w2)*16+g]; search_for_quantizers_fast() local
544 FFPsyBand *band; search_for_pns() local
686 FFPsyBand *band; mark_pns() local
[all...]
H A Dg722enc.c66 c->band[0].scale_factor = 8; in g722_encode_init()
67 c->band[1].scale_factor = 2; in g722_encode_init()
186 nodes[i][0]->state = c->band[i]; in g722_encode_trellis()
318 c->band[0] = nodes[0][0]->state; in g722_encode_trellis()
319 c->band[1] = nodes[1][0]->state; in g722_encode_trellis()
327 ihigh = encode_high(&c->band[1], xhigh); in encode_byte()
328 ilow = encode_low (&c->band[0], xlow); in encode_byte()
329 ff_g722_update_high_predictor(&c->band[1], c->band[1].scale_factor * in encode_byte()
331 ff_g722_update_low_predictor(&c->band[ in encode_byte()
[all...]
H A Dopus_pvq.c432 the final normalised signal in the current band. */
485 const int band, float *X, in quant_band_template()
530 int tf_change = f->tf_change[band]; in quant_band_template()
571 /* If we need 1.5 more bit than we can produce, split the band in two. */ in quant_band_template()
573 ff_celt_cache_index[(duration + 1) * CELT_MAX_BANDS + band]; in quant_band_template()
595 pulse_cap = ff_celt_log_freq_range[band] + duration * 8; in quant_band_template()
598 qn = (stereo && band >= f->intensity_stereo) ? 1 : in quant_band_template()
616 celt_stereo_is_decouple(X, Y, f->block[0].lin_energy[band], in quant_band_template()
617 f->block[1].lin_energy[band], N); in quant_band_template()
637 celt_stereo_is_decouple(X, Y, f->block[0].lin_energy[band], in quant_band_template()
483 quant_band_template(CeltPVQ *pvq, CeltFrame *f, OpusRangeCoder *rc, const int band, float *X, float *Y, int N, int b, uint32_t blocks, float *lowband, int duration, float *lowband_out, int level, float gain, float *lowband_scratch, int fill, int quant) quant_band_template() argument
[all...]
H A Dopusenc_psy.c28 static float pvq_band_cost(CeltPVQ *pvq, CeltFrame *f, OpusRangeCoder *rc, int band, in pvq_band_cost() argument
33 const int band_size = ff_celt_freq_range[band] << f->size; in pvq_band_cost()
37 float *X_orig = f->block[0].coeffs + (ff_celt_freq_bands[band] << f->size); in pvq_band_cost()
39 float *Y_orig = f->block[1].coeffs + (ff_celt_freq_bands[band] << f->size); in pvq_band_cost()
47 if (band <= f->coded_bands - 1) { in pvq_band_cost()
48 int curr_balance = f->remaining / FFMIN(3, f->coded_bands - band); in pvq_band_cost()
49 b = av_clip_uintp2(FFMIN(f->remaining2 + 1, f->pulses[band] + curr_balance), 14); in pvq_band_cost()
53 pvq->quant_band(pvq, f, rc, band, X, NULL, band_size, b / 2, f->blocks, NULL, in pvq_band_cost()
56 pvq->quant_band(pvq, f, rc, band, Y, NULL, band_size, b / 2, f->blocks, NULL, in pvq_band_cost()
59 pvq->quant_band(pvq, f, rc, band, in pvq_band_cost()
[all...]
/foundation/communication/wifi/wifi/frameworks/native/interfaces/
H A Dwifi_ap_msg.h70 BAND_ANY = 5, /* Dual-mode frequency band */
83 band = BandType::BAND_2GHZ; in HotspotConfig()
119 band = newBand; in SetBand()
123 return band; in GetBand()
175 BandType band; member
H A Dwifi_scan_msg.h102 SCAN_BAND_24_GHZ = 1, /* 2.4 GHz band */
103 SCAN_BAND_5_GHZ = 2, /* 5 GHz band without DFS channels */
105 SCAN_BAND_5_GHZ_DFS_ONLY = 4, /* 5 GHz band with DFS channels */
106 SCAN_BAND_5_GHZ_WITH_DFS = 6, /* 5 GHz band with DFS channels */
130 unsigned int band; member
135 band = 0; in WifiScanParams()
154 int band; /* ap band: 1 - 2.4GHZ, 2 - 5GHZ */ member
173 band = 0; in WifiScanInfo()
H A Dinter_scan_info.h62 int band; /* ap band, 1: 2.4G, 2: 5G */ member
83 band(0), in InterScanInfo()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dmock_wifi_hdi_wpa_ap_impl.cpp76 int __real_HdiSetApBand(int band, int id);
77 int __wrap_HdiSetApBand(int band, int id) in __wrap_HdiSetApBand() argument
80 return MockWifiHdiWpaApImpl::GetInstance().HdiSetApBand(band, id); in __wrap_HdiSetApBand()
82 return __real_HdiSetApBand(band, id); in __wrap_HdiSetApBand()
H A Dwifi_hdi_util_test.cpp114 extern "C" int ConvertChanToFreqMhz(int channel, int band);
117 int band = 1; in HWTEST_F() local
119 int ret = ConvertChanToFreqMhz(channel, band); in HWTEST_F()
122 ret = ConvertChanToFreqMhz(channel, band); in HWTEST_F()
125 ret = ConvertChanToFreqMhz(channel, band); in HWTEST_F()
131 int band = 2; in HWTEST_F() local
133 int ret = ConvertChanToFreqMhz(channel, band); in HWTEST_F()
136 ret = ConvertChanToFreqMhz(channel, band); in HWTEST_F()
139 ret = ConvertChanToFreqMhz(channel, band); in HWTEST_F()
145 int band in HWTEST_F() local
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_service.cpp225 ErrCode ApService::GetValidChannels(BandType band, std::vector<int32_t> &validChannel) in GetValidChannels() argument
235 auto it = channelsInfo.find(band); in GetValidChannels()
237 validChannel = channelsInfo[band]; in GetValidChannels()
238 WIFI_LOGI("%{public}s, get valid channel size:%{public}d, band:%{public}d from WifiSettings.", in GetValidChannels()
239 __func__, (int)validChannel.size(), band); in GetValidChannels()
267 if (band == BandType::BAND_2GHZ || band == BandType::BAND_5GHZ) { in GetValidChannels()
268 validChannel = ChanTbs[band]; in GetValidChannels()
270 WIFI_LOGE("%{public}s, invalid band: %{public}d", __func__, band); in GetValidChannels()
[all...]
H A Dap_interface.cpp89 ErrCode ApInterface::GetValidChannels(BandType band, std::vector<int32_t> &validChannel) in GetValidChannels() argument
91 return m_ApService.GetValidChannels(band, validChannel); in GetValidChannels()
/foundation/communication/wifi_lite/interfaces/wifiservice/
H A Dwifi_hotspot_config.h92 /** Frequency band */
93 int band; member
101 * @brief Sets the frequency band for this hotspot.
103 * @param band Indicates the frequency band to set.
104 * @return Returns {@link WIFI_SUCCESS} if the frequency band is set; returns an error code defined in
108 WifiErrorCode SetBand(int band);
111 * @brief Obtains the frequency band of this hotspot.
113 * @param result Indicates the obtained frequency band.
114 * @return Returns {@link WIFI_SUCCESS} if the frequency band i
[all...]
/third_party/ffmpeg/libavcodec/mips/
H A Dac3dsp_mips.c69 int band, band_end, cond; in ac3_bit_alloc_calc_bap_mips() local
81 band = ff_ac3_bin_to_band_tab[start]; in ac3_bit_alloc_calc_bap_mips()
84 m = (FFMAX(mask[band] - snr_offset - floor, 0) & 0x1FE0) + floor; in ac3_bit_alloc_calc_bap_mips()
85 band_end = ff_ac3_band_start_tab[++band]; in ac3_bit_alloc_calc_bap_mips()
/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_hotspot_config.h92 /** Frequency band */
93 int band; member
104 /* band width */
109 * @brief Sets the frequency band for this hotspot.
111 * @param band Indicates the frequency band to set.
112 * @return Returns {@link WIFI_SUCCESS} if the frequency band is set; returns an error code defined in
116 WifiErrorCode SetBand(int band);
119 * @brief Obtains the frequency band of this hotspot.
121 * @param result Indicates the obtained frequency band
[all...]
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wificdevice_fuzzer/
H A Dwificdevice_fuzzer.cpp112 params.band = static_cast<int>(data[index++]); in AdvanceScanTest()
120 int band = 0; in GetSignalLevelTest() local
124 band = static_cast<int>(data[index++]); in GetSignalLevelTest()
126 GetSignalLevel(rssi, band); in GetSignalLevelTest()
144 result.band = static_cast<int>(data[index++]); in GetScanInfoListTest()
228 result.band = static_cast<int>(data[index++]); in GetLinkedInfoTest()
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dcost_enc.c61 int ctype, band, ctx; in VP8CalculateLevelCosts() local
67 for (band = 0; band < NUM_BANDS; ++band) { in VP8CalculateLevelCosts()
69 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; in VP8CalculateLevelCosts()
70 uint16_t* const table = proba->level_cost_[ctype][band][ctx]; in VP8CalculateLevelCosts()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_service_test.cpp171 config.band = BAND; in StaServiceConnectToWifiDeviceConfigSuccess()
192 config.band = BAND; in StaServiceConnectToWifiDeviceConfigFail1()
213 config.band = BAND; in StaServiceConnectToWifiDeviceConfigFail2()
233 config.band = BAND; in StaServiceConnectToWifiDeviceConfigFail3()
271 config.band = 1; in StaServiceAddDeviceConfigSuccess()
296 config.band = BAND; in StaServiceAddDeviceConfigFail1()
317 config.band = BAND; in StaServiceAddDeviceConfigFail2()
337 config.band = BAND; in StaServiceAddDeviceConfigFail3()
356 config.band = 2; in StaServiceUpdateDeviceConfigSuccess()
494 config.band in StaServiceAddCandidateConfigTestSucc()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/network_select/
H A Dwifi_filter_impl.cpp226 int currentSignalLevel = WifiSettings::GetInstance().GetSignalLevel(interScanInfo.rssi, interScanInfo.band); in Filter()
374 int32_t signalLevel = WifiSettings::GetInstance().GetSignalLevel(interScanInfo.rssi, interScanInfo.band); in Filter()
415 int32_t curSignalLevel = WifiSettings::GetInstance().GetSignalLevel(linkedInfo.rssi, linkedInfo.band); in Filter()
417 int32_t targetSignalLevel = WifiSettings::GetInstance().GetSignalLevel(scanInfo.rssi, scanInfo.band); in Filter()
441 if (networkCandidate.interScanInfo.band == static_cast<int>(BandType::BAND_2GHZ)) { in Filter()
545 int32_t curSignalLevel = WifiSettings::GetInstance().GetSignalLevel(linkedInfo.rssi, linkedInfo.band); in Filter()
547 if (linkedInfo.band == static_cast<int>(BandType::BAND_5GHZ) && curSignalLevel == SIGNAL_LEVEL_THREE && in Filter()
548 interScanInfo.band == static_cast<int>(BandType::BAND_2GHZ)) { in Filter()
/third_party/ffmpeg/libavcodec/arm/
H A Dac3dsp_armv6.S34 add r0, r0, r4, lsl #1 @ mask + band
38 ldrsh r9, [r0], #2 @ mask[band]
41 ldrb r10, [r4, #1]! @ band_start_tab[++band]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/
H A Dwifi_hal_hostapd_test.cpp88 conf.band = AP_2GHZ_BAND; in HWTEST_F()
90 conf.band = AP_5GHZ_BAND; in HWTEST_F()
92 conf.band = -1; in HWTEST_F()
94 conf.band = AP_DFS_BAND; in HWTEST_F()
/third_party/lame/libmp3lame/
H A Dnewmdct.c956 int band; in mdct_sub48() local
969 for (band = 1; band < 32; band += 2) { in mdct_sub48()
970 samp[band - 32] *= -1; in mdct_sub48()
978 for (band = 0; band < 32; band++, mdct_enc += 18) { in mdct_sub48()
980 FLOAT const *const band0 = esv->sb_sample[ch][gr][0] + order[band]; in mdct_sub48()
981 FLOAT *const band1 = esv->sb_sample[ch][1 - gr][0] + order[band]; in mdct_sub48()
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/
H A Dmock_wifi_settings.h44 virtual void SetDefaultFrequenciesByCountryBand(const BandType band, std::vector<int> &frequencies,
61 MOCK_METHOD3(SetDefaultFrequenciesByCountryBand, void(const BandType band, std::vector<int> &frequencies, int));

Completed in 17 milliseconds

1234567891011