Home
last modified time | relevance | path

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

12

/frameworks/av/media/libaudioprocessing/
DAudioResampler.cpp64 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
67 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
340 int32_t vl = mVolume[0]; in resampleStereo16() local
378 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); in resampleStereo16()
396 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleStereo16()
402 out[outputIndex++] += vl * Interp(in[inputIndex*2-2], in resampleStereo16()
438 int32_t vl = mVolume[0]; in resampleMono16() local
474 out[outputIndex++] += vl * sample; in resampleMono16()
492 AsmMono16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, in resampleMono16()
500 out[outputIndex++] += vl * sample; in resampleMono16()
[all …]
DAudioMixerBase.cpp815 int32_t vl = prevVolume[0]; in volumeRampStereo() local
834 *out++ += (vl >> 16) * l; in volumeRampStereo()
837 vl += vlInc; in volumeRampStereo()
844 *out++ += (vl >> 16) * (*temp++ >> 12); in volumeRampStereo()
846 vl += vlInc; in volumeRampStereo()
850 prevVolume[0] = vl; in volumeRampStereo()
858 const int16_t vl = volume[0]; in volumeStereo() local
866 out[0] = mulAdd(l, vl, out[0]); in volumeStereo()
877 out[0] = mulAdd(l, vl, out[0]); in volumeStereo()
895 int32_t vl = prevVolume[0]; in track__16BitsStereo() local
[all …]
DAudioResamplerCubic.cpp56 int32_t vl = mVolume[0]; in resampleStereo16() local
82 out[outputIndex++] += vl * interp(&left, x); in resampleStereo16()
123 int32_t vl = mVolume[0]; in resampleMono16() local
151 out[outputIndex++] += vl * sample; in resampleMono16()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc123 state_.cpu.vl = 4; in TestFPExceptions()
131 state_.cpu.vl = 3; in TestFPExceptions()
139 state_.cpu.vl = 4; in TestFPExceptions()
234 for (uint8_t vl = 0; vl <= kElementsCount * kLmul; ++vl) { in TestVectorLoad() local
242 state_.cpu.vl = vl; in TestVectorLoad()
257 EXPECT_EQ(state_.cpu.vl, vl); in TestVectorLoad()
262 if (vstart >= vl) { in TestVectorLoad()
268 } else if (element + index * kElementsCount < std::min(vstart, vl)) { in TestVectorLoad()
272 } else if (element + index * kElementsCount >= vl) { in TestVectorLoad()
318 for (uint8_t vl = 0; vl <= kElementsCount; ++vl) { in TestVlm() local
[all …]
Dinterpreter.h1047 size_t vl = GetCsr<CsrName::kVl>(); variable
1049 vl = AlignUp<CHAR_BIT>(vl) / CHAR_BIT;
1056 if (vstart >= vl) [[unlikely]] {
1060 vstart = std::min(vstart, vl);
1074 if (within_group_id * kElementsCount >= vl) {
1085 (vl < (within_group_id + 1) * kElementsCount && vta == TailProcessing::kUndisturbed) ||
1098 if (vl <= element_index) {
1117 vl = element_index;
1142 auto GetTailMask = [vl, within_group_id] {
1144 (vl <= within_group_id * kElementsCount) ? 0 : vl - within_group_id * kElementsCount));
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h99 [[nodiscard]] inline std::tuple<SIMD128Register> MakeBitmaskFromVlForTests(size_t vl) { in MakeBitmaskFromVlForTests() argument
100 if (vl == 128) { in MakeBitmaskFromVlForTests()
103 return {SIMD128Register((~__int128(0)) << vl)}; in MakeBitmaskFromVlForTests()
108 [[nodiscard]] inline std::tuple<SIMD128Register> MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl() argument
109 return {MakeBitmaskFromVlForTests(vl)}; in MakeBitmaskFromVl()
114 [[nodiscard]] inline std::tuple<SIMD128Register> MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl() argument
115 return MakeBitmaskFromVl(vl * sizeof(ElementType) * CHAR_BIT); in MakeBitmaskFromVl()
234 int vl) { in VectorMasking() argument
239 if (vl < 0) { in VectorMasking()
240 vl = 0; in VectorMasking()
[all …]
/frameworks/libs/binary_translation/decoder/include/berberis/decoder/riscv64/
Dsemantics_player.h894 auto [vl, vtype] = listener_->Vtestvli(vl_orig, vtype_orig, args.vtype); in Vsetivli()
895 SetVlAndVtypeCsr(vl, vtype); in Vsetivli()
897 auto [vl, vtype] = listener_->Vsetvlimax(args.vtype); in Vsetivli()
898 SetVlAndVtypeCsr(vl, vtype); in Vsetivli()
899 listener_->SetReg(args.dst, vl); in Vsetivli()
902 auto [vl, vtype] = listener_->Vsetivli(args.avl, args.vtype); in Vsetivli()
903 SetVlAndVtypeCsr(vl, vtype); in Vsetivli()
904 SetRegOrIgnore(args.dst, vl); in Vsetivli()
913 auto [vl, vtype] = listener_->Vtestvl(vl_orig, vtype_orig, vtype_new); in Vsetvl()
914 SetVlAndVtypeCsr(vl, vtype); in Vsetvl()
[all …]
/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_riscv64.cc295 SIMD128 MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl() argument
296 if (vl == 128) { in MakeBitmaskFromVl()
299 return {(~__int128(0)) << vl}; in MakeBitmaskFromVl()
334 uint64_t vstart, vl; in RunTwoVectorArgsOneRes() local
355 : [vstart] "=&r"(vstart), [vl] "=&r"(vl) in RunTwoVectorArgsOneRes()
391 EXPECT_EQ(vl, vlmax); in RunTwoVectorArgsOneRes()
419 uint64_t vl = vlin; in RunCommonVectorFunc() local
446 : [vstart] "=r"(vstart), [vl] "=r"(vl) in RunCommonVectorFunc()
452 "1"(vl), in RunCommonVectorFunc()
488 EXPECT_EQ(vl, vlin); in RunCommonVectorFunc()
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dvector_intrinsics.h38 [[nodiscard, gnu::pure]] inline std::tuple<SIMD128Register> MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl() argument
41 (vl & 7U) * 32 + 16 - ((vl & (~7ULL)) >> 3)))}; in MakeBitmaskFromVl()
/frameworks/av/media/libaudioclient/
DTrackPlayerBase.cpp77 void TrackPlayerBase::setPlayerVolume(float vl, float vr) { in setPlayerVolume() argument
80 mPlayerVolumeL = vl; in setPlayerVolume()
/frameworks/libs/native_bridge_support/guest_state/include/native_bridge_support/riscv64/guest_state/
Dguest_state_cpu_state.h47 uint8_t vl; member
/frameworks/libs/binary_translation/guest_state/riscv64/include/berberis/guest_state/
Dguest_state_arch.h58 BERBERIS_RISV64_PROCESS_CSR(Vl, vl, 0b11111111) \
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/
DReverbContext.cpp444 float vl = mPrevVolume.left; in process() local
445 float incl = (mVolume.left - vl) / frameCount; in process()
450 outputSamples[FCC_2 * i] *= vl; in process()
453 vl += incl; in process()
/frameworks/av/media/libaudioclient/include/media/
DTrackPlayerBase.h43 void setPlayerVolume(float vl, float vr);
/frameworks/av/media/libaudiohal/impl/
DEffectConversionHelperAidl.cpp368 uint32_t vl = *(uint32_t*)pCmdData; in handleSetVolume() local
372 {.left = (float)vl / unityGain, .right = (float)vr / unityGain}))))); in handleSetVolume()
384 vl = (uint32_t)(appliedVolume.left * unityGain); in handleSetVolume()
389 uint32_t vol_ret[2] = {vl, vr}; in handleSetVolume()
/frameworks/libs/binary_translation/intrinsics/riscv64/
Dvector_intrinsics_test.cc60 for (size_t vl = 0; vl < 128; ++vl) { in TEST() local
61 ASSERT_EQ(MakeBitmaskFromVlForTests(vl), MakeBitmaskFromVl(vl)); in TEST()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteRawStatementTest.java219 long vl = Long.MAX_VALUE - row; in testInsert() local
223 s.bindLong(4, vl); in testInsert()
267 long vl = s.getColumnLong(3); in testInsert() local
273 assertEquals(Long.MAX_VALUE - row, vl); in testInsert()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp431 float vl = (float)pContext->prevLeftVolume / 4096; in process() local
432 float incl = (((float)pContext->leftVolume / 4096) - vl) / frameCount; in process()
437 pContext->OutFrames[FCC_2 * i] *= vl; in process()
440 vl += incl; in process()
/frameworks/base/core/res/geoid_map_assets/
Dexpiration-distance-disk-tile-7.textpb2 …+{\345\320\bc\"\341b\037\316\252\000\370\300\002\204\250\225\313$%\236\313(vl\202 \ndbCM.\203.\303…
/frameworks/compile/slang/
Dslang_rs_reflection.cpp3068 va_list vl; in startFunction() local
3069 va_start(vl, Argc); in startFunction()
3072 const char *ArgType = va_arg(vl, const char *); in startFunction()
3073 const char *ArgName = va_arg(vl, const char *); in startFunction()
3077 va_end(vl); in startFunction()
/frameworks/av/services/audioflinger/
DTracks.cpp1837 float vl = float_from_gain(gain_minifloat_unpack_left(vlr)); in getVolumeLR() local
1840 if (vl > GAIN_FLOAT_UNITY) { in getVolumeLR()
1841 vl = GAIN_FLOAT_UNITY; in getVolumeLR()
1849 vl *= v; in getVolumeLR()
1852 vlr = gain_minifloat_pack(gain_from_float(vl), gain_from_float(vr)); in getVolumeLR()
DThreads.cpp5943 uint32_t vl, vr; // in U8.24 integer format in prepareTracks_l() local
5959 vl = vr = 0; in prepareTracks_l()
5990 vl = (uint32_t) (scaleto8_24 * vlf); in prepareTracks_l()
6011 if (chain != 0 && chain->setVolume(&vl, &vr)) { in prepareTracks_l()
6015 vlf = (float)vl / (1 << 24); in prepareTracks_l()
6750 uint32_t vl = (uint32_t)(left * (1 << 24)); in processVolume_l() local
6753 (void)mEffectChains[0]->setVolume(&vl, &vr); in processVolume_l()
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/
Dindex17269 �{��+$�t y\� 0~���D"�oz�O�� w�8vl�ss&-�s�o�_�"p��^�� ���Q �A0/�ð��=ł��7�0��~C4ia�k�t�…
571 Hb<c�W�d�:\�V_�\�c���NKF�V��ԃ�w��GE�XfT�<����L� �kF�2]�Rvl�����I�j�MZ7y�mUS�Wn�mGZ��y…
Dindex9269 �{��+$�t y\� 0~���D"�oz�O�� w�8vl�ss&-�s�o�_�"p��^�� ���Q �A0/�ð��=ł��7�0��~C4ia�k�t�…
571 Hb<c�W�d�:\�V_�\�c���NKF�V��ԃ�w��GE�XfT�<����L� �kF�2]�Rvl�����I�j�MZ7y�mUS�Wn�mGZ��y…
773 k��z���'���τR�d�;�f�)y�F��3%*�vl�O�+oB*��b.s�΃���׾P�����0D\�ö�
Dindex13268 �{��+$�t y\� 0~���D"�oz�O�� w�8vl�ss&-�s�o�_�"p��^�� ���Q �A0/�ð��=ł��7�0��~C4ia�k�t�…
570 Hb<c�W�d�:\�V_�\�c���NKF�V��ԃ�w��GE�XfT�<����L� �kF�2]�Rvl�����I�j�MZ7y�mUS�Wn�mGZ��y…
772 k��z���'���τR�d�;�f�)y�F��3%*�vl�O�+oB*��b.s�΃���׾P�����0D\�ö�

12