Home
last modified time | relevance | path

Searched refs:k2 (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Ddct.cpp41 Int k0, k1, k2, k3, k4, k5, k6, k7; in BlockDCT_AANwSub() local
65 k2 = mask & (tmp >> 7); in BlockDCT_AANwSub()
66 k1 = k2 - (k1 << 1); in BlockDCT_AANwSub()
67 k2 = (tmp2 >> 16) & 0xFF; in BlockDCT_AANwSub()
69 k2 = k3 - (k2 << 1); in BlockDCT_AANwSub()
95 k2 = k2 + k5; in BlockDCT_AANwSub()
96 k5 = k2 - (k5 << 1); in BlockDCT_AANwSub()
102 k1 = k1 + k2; in BlockDCT_AANwSub()
103 k2 = k1 - (k2 << 1); in BlockDCT_AANwSub()
114 k2 = k2 + k3; in BlockDCT_AANwSub()
[all …]
Ddct_inline.h82 __inline int32 sum_abs(int32 k0, int32 k1, int32 k2, int32 k3, in sum_abs() argument
91 carry = k2 >> 31; in sum_abs()
92 abs_sum += (k2 ^ carry) - carry; in sum_abs()
241 __inline int32 sum_abs(int32 k0, int32 k1, int32 k2, int32 k3, in sum_abs() argument
250 eors carry, k2, k2, asr #31 ; in sum_abs() local
347 __inline int32 sum_abs(int32 k0, int32 k1, int32 k2, int32 k3, in sum_abs() argument
354 register int32 cc = (int32)k2; in sum_abs()
Dmotion_comp.cpp1910 Int k1 = lx - MB_SIZE, k2 = lx_uv - B_SIZE; in get_MB() local
1925 c_prev_u += k2; in get_MB()
1926 c_prev_v += k2; in get_MB()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dshadows.rs37 static const int k2=HSCALE << ABITS;
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
84 if (rh >= k2) rh -= k2;
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
105 int k2=HSCALE<<ABITS;
127 H = (6*ih)/k2;
128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rs37 static const int k2=HSCALE << ABITS;
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
84 if (rh >= k2) rh -= k2;
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
105 int k2=HSCALE<<ABITS;
127 H = (6*ih)/k2;
128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rs37 static const int k2=HSCALE << ABITS;
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
84 if (rh >= k2) rh -= k2;
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
105 int k2=HSCALE<<ABITS;
127 H = (6*ih)/k2;
128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dshadows.rs37 static const int k2=HSCALE << ABITS;
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
84 if (rh >= k2) rh -= k2;
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
105 int k2=HSCALE<<ABITS;
127 H = (6*ih)/k2;
128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DUtils.java132 Keyframe k2 = Keyframe.ofFloat(0.69f, increaseRatio); in getPulseAnimator() local
135 PropertyValuesHolder scaleX = PropertyValuesHolder.ofKeyframe("scaleX", k0, k1, k2, k3); in getPulseAnimator()
136 PropertyValuesHolder scaleY = PropertyValuesHolder.ofKeyframe("scaleY", k0, k1, k2, k3); in getPulseAnimator()
/frameworks/ml/nn/runtime/test/generated/models/
Dtopk_v2.model.cpp327 auto k2 = model->addOperand(&type1); in CreateModel_3() local
332 model->setOperandValue(k2, k2_init, sizeof(int32_t) * 1); in CreateModel_3()
333 model->addOperation(ANEURALNETWORKS_TOPK_V2, {input2, k2}, {out_values2, out_indices2}); in CreateModel_3()
353 auto k2 = model->addOperand(&type1); in CreateModel_relaxed_3() local
358 model->setOperandValue(k2, k2_init, sizeof(int32_t) * 1); in CreateModel_relaxed_3()
359 model->addOperation(ANEURALNETWORKS_TOPK_V2, {input2, k2}, {out_values2, out_indices2}); in CreateModel_relaxed_3()
381 auto k2 = model->addOperand(&type1); in CreateModel_float16_3() local
386 model->setOperandValue(k2, k2_init, sizeof(int32_t) * 1); in CreateModel_float16_3()
387 model->addOperation(ANEURALNETWORKS_TOPK_V2, {input2, k2}, {out_values2, out_indices2}); in CreateModel_float16_3()
407 auto k2 = model->addOperand(&type1); in CreateModel_dynamic_output_shape_3() local
[all …]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java816 int k2 = KeyEvent.KEYCODE_2;
829 Node minuteFirstDigit = new Node(k0, k1, k2, k3, k4, k5);
830 Node minuteSecondDigit = new Node(k0, k1, k2, k3, k4, k5, k6, k7, k8, k9);
839 Node secondDigit = new Node(k0, k1, k2, k3, k4, k5);
856 firstDigit = new Node(k2);
860 secondDigit = new Node(k0, k1, k2, k3);
888 Node secondDigit = new Node(k0, k1, k2);
894 Node thirdDigit = new Node(k0, k1, k2, k3, k4, k5);
901 Node fourthDigit = new Node(k0, k1, k2, k3, k4, k5, k6, k7, k8, k9);
917 thirdDigit = new Node(k0, k1, k2, k3, k4, k5, k6, k7, k8, k9);
[all …]
/frameworks/native/services/sensorservice/
DFusion.cpp473 const float k2 = cosf(hlwedT); in predict() local
475 const mat33_t O33(crossMatrix(-psi, k2)); in predict()
480 O[3].xyz = psi; O[3].w = k2; in predict()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c4088 typedef bool eqlfunc_t(upb_tabkey k1, lookupkey_t k2);
4272 static upb_tabkey strcopy(lookupkey_t k2) { in strcopy() argument
4273 char *str = malloc(k2.str.len + sizeof(uint32_t) + 1); in strcopy()
4275 memcpy(str, &k2.str.len, sizeof(uint32_t)); in strcopy()
4276 memcpy(str + sizeof(uint32_t), k2.str.str, k2.str.len + 1); in strcopy()
4286 static bool streql(upb_tabkey k1, lookupkey_t k2) { in streql() argument
4289 return len == k2.str.len && memcmp(str, k2.str.str, len) == 0; in streql()
4418 static bool inteql(upb_tabkey k1, lookupkey_t k2) { in inteql() argument
4419 return k1 == k2.num; in inteql()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.c4319 typedef bool eqlfunc_t(upb_tabkey k1, lookupkey_t k2);
4514 static upb_tabkey strcopy(lookupkey_t k2, upb_alloc *a) { in strcopy() argument
4515 char *str = upb_malloc(a, k2.str.len + sizeof(uint32_t) + 1); in strcopy()
4517 memcpy(str, &k2.str.len, sizeof(uint32_t)); in strcopy()
4518 memcpy(str + sizeof(uint32_t), k2.str.str, k2.str.len + 1); in strcopy()
4528 static bool streql(upb_tabkey k1, lookupkey_t k2) { in streql() argument
4531 return len == k2.str.len && memcmp(str, k2.str.str, len) == 0; in streql()
4665 static bool inteql(upb_tabkey k1, lookupkey_t k2) { in inteql() argument
4666 return k1 == k2.num; in inteql()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp993 const float k2 = distortion[2]; in undistort() local
998 double kr = k0 + ((k3 * r2 + k2) * r2 + k1) * r2; in undistort()
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr70 �N̩�<KiEm��c��pM��c��5�k2�'����<?t�������+4��t��<��Z���&P<EuM�Ja�
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_test.cc314 static int k2 = 1321555333; variable
545 frog *= k2; in TEST_P()