/external/libyuv/files/unit_test/ |
D | unit_test.cc | 80 static_cast<double>(Abs(benchmark_width_)) * in LibYUVConvertTest() 81 static_cast<double>(Abs(benchmark_height_)) * in LibYUVConvertTest() 84 static_cast<double>(Abs(benchmark_width_)) * in LibYUVConvertTest() 85 static_cast<double>(Abs(benchmark_height_)) * in LibYUVConvertTest() 132 static_cast<double>(Abs(benchmark_width_)) * in LibYUVColorTest() 133 static_cast<double>(Abs(benchmark_height_)) * in LibYUVColorTest() 136 static_cast<double>(Abs(benchmark_width_)) * in LibYUVColorTest() 137 static_cast<double>(Abs(benchmark_height_)) * in LibYUVColorTest() 184 static_cast<double>(Abs(benchmark_width_)) * in LibYUVScaleTest() 185 static_cast<double>(Abs(benchmark_height_)) * in LibYUVScaleTest() [all …]
|
D | scale_argb_test.cc | 36 int64 src_argb_plane_size = (Abs(src_width) + b * 2) * in ARGBTestFilter() 37 (Abs(src_height) + b * 2) * 4LL; in ARGBTestFilter() 38 int src_stride_argb = (b * 2 + Abs(src_width)) * 4; in ARGBTestFilter() 101 int abs_diff = Abs(dst_argb_c[(i * dst_stride_argb) + j] - in ARGBTestFilter() 154 int64 src_argb_plane_size = (Abs(src_width) + b * 2) * in ARGBClipTestFilter() 155 (Abs(src_height) + b * 2) * 4; in ARGBClipTestFilter() 156 int src_stride_argb = (b * 2 + Abs(src_width)) * 4; in ARGBClipTestFilter() 169 for (i = b; i < (Abs(src_height) + b); ++i) { in ARGBClipTestFilter() 170 for (j = b; j < (Abs(src_width) + b) * 4; ++j) { in ARGBClipTestFilter() 210 int abs_diff = Abs(dst_argb_c[(i * dst_stride_argb) + j] - in ARGBClipTestFilter() [all …]
|
D | scale_test.cc | 34 int src_width_uv = (Abs(src_width) + 1) >> 1; in TestFilter() 35 int src_height_uv = (Abs(src_height) + 1) >> 1; in TestFilter() 37 int64 src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2); in TestFilter() 40 int src_stride_y = b * 2 + Abs(src_width); in TestFilter() 113 int abs_diff = Abs(dst_y_c[(i * dst_stride_y) + j] - in TestFilter() 123 int abs_diff = Abs(dst_u_c[(i * dst_stride_uv) + j] - in TestFilter() 128 abs_diff = Abs(dst_v_c[(i * dst_stride_uv) + j] - in TestFilter() 161 int src_width_uv = (Abs(src_width) + 1) >> 1; in TestFilter_16() 162 int src_height_uv = (Abs(src_height) + 1) >> 1; in TestFilter_16() 164 int64 src_y_plane_size = (Abs(src_width) + b * 2) * in TestFilter_16() [all …]
|
D | rotate_test.cc | 36 int src_i420_y_size = src_width * Abs(src_height); in I420TestRotate() 37 int src_i420_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); in I420TestRotate() 161 int src_nv12_y_size = src_width * Abs(src_height); in NV12TestRotate() 163 ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2) * 2; in NV12TestRotate()
|
/external/libyuv/files/util/ |
D | convert.cc | 40 static __inline uint32 Abs(int32 v) { in Abs() function 152 dst_width = Abs(image_width); in ParseOptions() 153 dst_height = Abs(image_height); in ParseOptions() 221 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB in main() 224 const int y_size = Abs(image_width) * Abs(image_height); in main() 225 const int uv_size = ((Abs(image_width) + 1) / 2) * in main() 226 ((Abs(image_height) + 1) / 2); in main() 287 int src_width = Abs(image_width); in main() 288 int src_height = Abs(image_height); in main() 305 TileARGBScale(ch_org, Abs(image_width) * 4, in main()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 71 struct match_info Abs; member 108 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src() 109 tokens.Abs.Length = match_length(matches, 2); in init_rc_normal_src() 123 if (tokens.Abs.Length > 0) { in init_rc_normal_src() 124 src_reg->Abs = 1; in init_rc_normal_src() 194 src_reg->Negate, src_reg->Abs); in init_rc_normal_src()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_pair_translate.c | 244 pair->RGB.Arg[i].Abs = inst->SrcReg[i].Abs; in set_pair_instruction() 270 pair->Alpha.Arg[i].Abs = inst->SrcReg[i].Abs; in set_pair_instruction()
|
D | radeon_program_print.c | 239 if (src.Abs) in rc_print_src_register() 247 if (src.Abs && !trivial_negate) in rc_print_src_register() 255 if (src.Abs && trivial_negate) in rc_print_src_register() 405 const char* abs = inst->RGB.Arg[arg].Abs ? "|" : ""; in rc_print_pair_instruction() 440 const char* abs = inst->Alpha.Arg[arg].Abs ? "|" : ""; in rc_print_pair_instruction()
|
D | radeon_optimize.c | 54 if (outer.Abs) { in chain_srcregs() 55 combine.Abs = 1; in chain_srcregs() 58 combine.Abs = inner.Abs; in chain_srcregs() 370 if (imm < 0.0 && !newsrc.Abs) in constant_folding() 574 if (inst_add->U.I.SrcReg[0].Abs || inst_add->U.I.SrcReg[1].Abs) in peephole_add_presub_add() 649 || inst_add->U.I.SrcReg[1].Abs in peephole_add_presub_inv()
|
D | radeon_program_pair.h | 67 unsigned int Abs:1; member
|
D | radeon_program.h | 51 unsigned int Abs:1; member
|
D | radeon_inline_literals.c | 113 if (ret == -1 && src_reg->Abs) { in rc_inline_literals()
|
/external/libyuv/files/docs/ |
D | filtering.md | 95 *dx = FixedDiv(Abs(src_width), dst_width); 101 if (dst_width <= Abs(src_width)) { 102 *dx = FixedDiv(Abs(src_width), dst_width); 105 *dx = FIXEDDIV1(Abs(src_width), dst_width); 117 if (dst_width <= Abs(src_width)) { 118 *dx = FixedDiv(Abs(src_width), dst_width); 121 *dx = FIXEDDIV1(Abs(src_width), dst_width); 128 *dx = FixedDiv(Abs(src_width), dst_width);
|
/external/libavc/encoder/arm/ |
D | ime_distortion_metrics_a9q.s | 1003 vabdl.u8 q0, d30, d31 @I Abs diff r1 blk 12 1010 vabdl.u8 q1, d28, d29 @I Abs diff r1 blk 12 1013 vabdl.u8 q2, d26, d27 @I Abs diff r1 blk 12 1015 vabdl.u8 q3, d24, d25 @I Abs diff r1 blk 12 1301 vabal.u8 q0, d30, d28 @I accumulate Abs diff R1 1302 vabal.u8 q1, d31, d29 @I accumulate Abs diff R1 1305 vabal.u8 q0, d26, d24 @I accumulate Abs diff R2 1308 vabal.u8 q1, d27, d25 @I accumulate Abs diff R2 1311 vabal.u8 q0, d22, d20 @I accumulate Abs diff R3 1314 vabal.u8 q1, d23, d21 @I accumulate Abs diff R3 [all …]
|
/external/libweave/third_party/chromium/base/numerics/ |
D | safe_numerics_unittest.cc | 85 CheckedNumeric<Dst>(DstLimits::min()).Abs()); in TestSpecializedArithmetic() 86 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(-1).Abs()); in TestSpecializedArithmetic() 140 CheckedNumeric<Dst>(DstLimits::min()).Abs()); in TestSpecializedArithmetic() 179 CheckedNumeric<Dst>(DstLimits::min()).Abs()); in TestSpecializedArithmetic() 180 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(-1).Abs()); in TestSpecializedArithmetic() 249 TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>().Abs()); in TestArithmetic() 250 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1).Abs()); in TestArithmetic() 252 CheckedNumeric<Dst>(DstLimits::max()).Abs()); in TestArithmetic()
|
/external/libchrome/base/numerics/ |
D | safe_numerics_unittest.cc | 89 CheckedNumeric<Dst>(DstLimits::min()).Abs()); in TestSpecializedArithmetic() 90 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(-1).Abs()); in TestSpecializedArithmetic() 144 CheckedNumeric<Dst>(DstLimits::min()).Abs()); in TestSpecializedArithmetic() 183 CheckedNumeric<Dst>(DstLimits::min()).Abs()); in TestSpecializedArithmetic() 184 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(-1).Abs()); in TestSpecializedArithmetic() 253 TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>().Abs()); in TestArithmetic() 254 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1).Abs()); in TestArithmetic() 256 CheckedNumeric<Dst>(DstLimits::max()).Abs()); in TestArithmetic()
|
/external/libyuv/files/source/ |
D | convert_from.cc | 28 static __inline int Abs(int v) { in Abs() function 41 const int dst_y_width = Abs(src_y_width); in I420ToI4xx() 42 const int dst_y_height = Abs(src_y_height); in I420ToI4xx() 71 const int dst_uv_width = (Abs(width) + 1) >> 1; in I420ToI422() 72 const int dst_uv_height = Abs(height); in I420ToI422() 93 const int dst_uv_width = Abs(width); in I420ToI444() 94 const int dst_uv_height = Abs(height); in I420ToI444() 115 const int dst_uv_width = (Abs(width) + 3) >> 2; in I420ToI411() 116 const int dst_uv_height = Abs(height); in I420ToI411()
|
D | scale.cc | 26 static __inline int Abs(int v) { in Abs() function 744 src_width = Abs(src_width); in ScalePlaneBox() 813 src_width = Abs(src_width); in ScalePlaneBox_16() 875 src_width = Abs(src_width); in ScalePlaneBilinearDown() 971 src_width = Abs(src_width); in ScalePlaneBilinearDown_16() 1064 src_width = Abs(src_width); in ScalePlaneBilinearUp() 1195 src_width = Abs(src_width); in ScalePlaneBilinearUp_16() 1325 src_width = Abs(src_width); in ScalePlaneSimple() 1357 src_width = Abs(src_width); in ScalePlaneSimple_16() 1412 if (dst_width <= Abs(src_width) && dst_height <= src_height) { in ScalePlane() [all …]
|
D | scale_common.cc | 26 static __inline int Abs(int v) { in Abs() function 1109 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope() 1115 if (dst_width <= Abs(src_width)) { in ScaleSlope() 1116 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope() 1119 *dx = FixedDiv1(Abs(src_width), dst_width); in ScaleSlope() 1131 if (dst_width <= Abs(src_width)) { in ScaleSlope() 1132 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope() 1135 *dx = FixedDiv1(Abs(src_width), dst_width); in ScaleSlope() 1142 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
|
/external/mesa3d/src/mesa/program/ |
D | nvfragparse.c | 978 srcReg->Abs = GL_TRUE; in Parse_VectorSrc() 989 srcReg->Abs = GL_FALSE; in Parse_VectorSrc() 994 srcReg->Negate = srcReg->Abs ? negateAbs : negateBase; in Parse_VectorSrc() 1082 if (srcReg->Abs && !Parse_String(parseState, "|")) { in Parse_VectorSrc() 1109 srcReg->Abs = GL_TRUE; in Parse_ScalarSrcReg() 1120 srcReg->Abs = GL_FALSE; in Parse_ScalarSrcReg() 1125 srcReg->Negate = srcReg->Abs ? negateAbs : negateBase; in Parse_ScalarSrcReg() 1214 if (srcReg->Abs && !Parse_String(parseState, "|")) { in Parse_ScalarSrcReg() 1267 inst->SrcReg[0].Abs = GL_FALSE; in Parse_PrintInstruction()
|
D | prog_opt_constant_fold.c | 83 && (a->Abs == b->Abs) in src_regs_are_same() 100 if (r->Abs) { in get_value()
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_from.cc | 28 static __inline int Abs(int v) { in Abs() function 41 const int dst_y_width = Abs(src_y_width); in I420ToI4xx() 42 const int dst_y_height = Abs(src_y_height); in I420ToI4xx() 71 const int dst_uv_width = (Abs(width) + 1) >> 1; in I420ToI422() 72 const int dst_uv_height = Abs(height); in I420ToI422() 93 const int dst_uv_width = Abs(width); in I420ToI444() 94 const int dst_uv_height = Abs(height); in I420ToI444() 115 const int dst_uv_width = (Abs(width) + 3) >> 2; in I420ToI411() 116 const int dst_uv_height = Abs(height); in I420ToI411()
|
D | scale.cc | 26 static __inline int Abs(int v) { in Abs() function 745 src_width = Abs(src_width); in ScalePlaneBox() 814 src_width = Abs(src_width); in ScalePlaneBox_16() 876 src_width = Abs(src_width); in ScalePlaneBilinearDown() 980 src_width = Abs(src_width); in ScalePlaneBilinearDown_16() 1073 src_width = Abs(src_width); in ScalePlaneBilinearUp() 1212 src_width = Abs(src_width); in ScalePlaneBilinearUp_16() 1342 src_width = Abs(src_width); in ScalePlaneSimple() 1374 src_width = Abs(src_width); in ScalePlaneSimple_16() 1429 if (dst_width <= Abs(src_width) && dst_height <= src_height) { in ScalePlane() [all …]
|
D | scale_common.cc | 26 static __inline int Abs(int v) { in Abs() function 1087 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope() 1093 if (dst_width <= Abs(src_width)) { in ScaleSlope() 1094 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope() 1097 *dx = FixedDiv1(Abs(src_width), dst_width); in ScaleSlope() 1109 if (dst_width <= Abs(src_width)) { in ScaleSlope() 1110 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope() 1113 *dx = FixedDiv1(Abs(src_width), dst_width); in ScaleSlope() 1120 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
|
/external/llvm/lib/MC/ |
D | MCAssembler.cpp | 1038 bool Abs = LF.getValue().evaluateKnownAbsolute(Value, Layout); in relaxLEB() local 1039 if (!Abs) in relaxLEB() 1056 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfLineAddr() local 1057 assert(Abs && "We created a line delta with an invalid expression"); in relaxDwarfLineAddr() 1058 (void) Abs; in relaxDwarfLineAddr() 1074 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfCallFrameFragment() local 1075 assert(Abs && "We created call frame with an invalid expression"); in relaxDwarfCallFrameFragment() 1076 (void) Abs; in relaxDwarfCallFrameFragment()
|