/external/libyuv/files/unit_test/ |
H A D | unit_test.cc | 94 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * 95 static_cast<double>(Abs(benchmark_height_)) * 100 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * 101 static_cast<double>(Abs(benchmark_height_)) * 153 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * 154 static_cast<double>(Abs(benchmark_height_)) * 159 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * 160 static_cast<double>(Abs(benchmark_height_)) * 212 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * 213 static_cast<double>(Abs(benchmark_height [all...] |
H A D | scale_argb_test.cc | 41 (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2) * 4LL; 42 int src_stride_argb = (b * 2 + Abs(src_width)) * 4; 102 int abs_diff = Abs(dst_argb_c[(i * dst_stride_argb) + j] - 161 (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2) * 4; 162 int src_stride_argb = (b * 2 + Abs(src_width)) * 4; 175 for (i = b; i < (Abs(src_height) + b); ++i) { 176 for (j = b; j < (Abs(src_width) + b) * 4; ++j) { 215 int abs_diff = Abs(dst_argb_ [all...] |
H A D | scale_test.cc | 38 int src_width_uv = (Abs(src_width) + 1) >> 1; 39 int src_height_uv = (Abs(src_height) + 1) >> 1; 41 int64 src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2); 44 int src_stride_y = b * 2 + Abs(src_width); 114 int abs_diff = Abs(dst_y_c[(i * dst_stride_y) + j] - 124 int abs_diff = Abs(dst_u_c[(i * dst_stride_uv) + j] - 129 abs_diff = Abs(dst_v_c[(i * dst_stride_uv) + j] - 164 int src_width_uv = (Abs(src_width) + 1) >> 1; 165 int src_height_uv = (Abs(src_heigh [all...] |
H A D | rotate_test.cc | 39 int src_i420_y_size = src_width * Abs(src_height); 40 int src_i420_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); 158 int src_nv12_y_size = src_width * Abs(src_height); 160 ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2) * 2;
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
H A D | unary_op_test.cc | 42 auto abs = builder.Abs(arg); 55 auto abs = builder.Abs(arg); 75 auto abs = builder.Abs(arg); 96 auto abs = builder.Abs(arg); 121 auto abs = builder.Abs(arg); 144 auto absi = builder.Abs(argi); 146 auto absf = builder.Abs(argf); 148 auto absf0 = builder.Abs(argf0); 150 auto absc = builder.Abs(argc); 193 auto abs = builder.Abs(ar [all...] |
H A D | reduce_precision_test.cc | 262 // Abs doesn't affect resolution. 263 auto abs = builder.Abs(a); 270 // Insert precision-reduction after the Abs(x) operation, rounding that 292 auto abs = builder.Abs(a); 318 auto abs = builder.Abs(a); 342 auto abs = builder.Abs(a); 367 auto abs = builder.Abs(a);
|
/external/libyuv/files/util/ |
H A D | yuvconvert.cc | 40 static __inline uint32 Abs(int32 v) { function 152 dst_width = Abs(image_width); 153 dst_height = Abs(image_height); 224 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB 227 const int y_size = Abs(image_width) * Abs(image_height); 229 ((Abs(image_width) + 1) / 2) * ((Abs(image_height) + 1) / 2); 290 int src_width = Abs(image_widt [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
H A D | mathutil.h | 108 // Note: 0.0 and -0.0 are not differentiated by Abs (Abs(0.0) is -0.0), 111 static T Abs(const T x) { function in class:google::protobuf::MathUtil 154 T relative_margin = static_cast<T>(fraction * Max(Abs(x), Abs(y)));
|
/external/eigen/unsupported/Eigen/src/EulerAngles/ |
H A D | EulerSystem.h | 23 struct Abs struct in namespace:Eigen::internal 29 struct Abs<Num, false> struct in namespace:Eigen::internal 37 enum { value = Axis != 0 && Abs<Axis>::value <= 3 }; 137 AlphaAxisAbs = internal::Abs<AlphaAxis>::value, /*!< the first rotation axis unsigned */ 138 BetaAxisAbs = internal::Abs<BetaAxis>::value, /*!< the second rotation axis unsigned */ 139 GammaAxisAbs = internal::Abs<GammaAxis>::value, /*!< the third rotation axis unsigned */
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
H A D | quantize_and_dequantize_op.cc | 65 xla::ComputationDataHandle m = b->Max(b->Abs(input_min), b->Abs(input_max));
|
H A D | unary_ops.cc | 44 XLAJIT_MAKE_UNARY(ComplexAbs, b->Abs(x)); 51 XLAJIT_MAKE_UNARY(Abs, b->Abs(x)); 106 XLAJIT_MAKE_UNARY(IsInf, b->Eq(b->Abs(x), 187 b->Add(b->Abs(x), XlaHelpers::One(b, input_type(0)))));
|
H A D | binary_ops.cc | 75 auto abs_x = b->Abs(x); 76 auto abs_y = b->Abs(y); 161 b->Abs(rhs))))); 179 auto abs = b->Abs(b->Sub(ctx->Input(0), ctx->Input(1)));
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program.h | 51 unsigned int Abs:1; member in struct:rc_src_register 53 /** Post-Abs negation. */
|
H A D | radeon_program_pair.h | 67 unsigned int Abs:1; member in struct:rc_pair_instruction_arg
|
H A D | radeon_pair_translate.c | 244 pair->RGB.Arg[i].Abs = inst->SrcReg[i].Abs; 270 pair->Alpha.Arg[i].Abs = inst->SrcReg[i].Abs;
|
H A D | radeon_inline_literals.c | 138 if (ret == -1 && src_reg->Abs) {
|
H A D | radeon_optimize.c | 54 if (outer.Abs) { 55 combine.Abs = 1; 58 combine.Abs = inner.Abs; 167 inst->U.I.SrcReg[0].Abs || 387 if (imm < 0.0 && !newsrc.Abs) 591 if (inst_add->U.I.SrcReg[0].Abs || inst_add->U.I.SrcReg[1].Abs) 666 || inst_add->U.I.SrcReg[1].Abs
|
H A D | radeon_program_print.c | 239 if (src.Abs) 247 if (src.Abs && !trivial_negate) 255 if (src.Abs && trivial_negate) 405 const char* abs = inst->RGB.Arg[arg].Abs ? "|" : ""; 440 const char* abs = inst->Alpha.Arg[arg].Abs ? "|" : "";
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
H A D | rc_test_helpers.c | 117 struct match_info Abs; member in struct:src_tokens 154 tokens.Abs.String = src_str + matches[2].rm_so; 155 tokens.Abs.Length = match_length(matches, 2); 168 /* Abs */ 169 if (tokens.Abs.Length > 0) { 170 src_reg->Abs = 1; 242 src_reg->Negate, src_reg->Abs);
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
H A D | convert_from.cc | 28 static __inline int Abs(int v) { function 41 const int dst_y_width = Abs(src_y_width); 42 const int dst_y_height = Abs(src_y_height); 73 const int dst_uv_width = (Abs(width) + 1) >> 1; 74 const int dst_uv_height = Abs(height); 95 const int dst_uv_width = Abs(width); 96 const int dst_uv_height = Abs(height); 117 const int dst_uv_width = (Abs(width) + 3) >> 2; 118 const int dst_uv_height = Abs(height);
|
H A D | scale_common.cc | 26 static __inline int Abs(int v) { function 1109 *dx = FixedDiv(Abs(src_width), dst_width); 1115 if (dst_width <= Abs(src_width)) { 1116 *dx = FixedDiv(Abs(src_width), dst_width); 1119 *dx = FixedDiv1(Abs(src_width), dst_width); 1131 if (dst_width <= Abs(src_width)) { 1132 *dx = FixedDiv(Abs(src_width), dst_width); 1135 *dx = FixedDiv1(Abs(src_width), dst_width); 1142 *dx = FixedDiv(Abs(src_width), dst_width);
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | DurationPartial.cs | 210 AppendNanoseconds(builder, Math.Abs(nanoseconds));
|
/external/llvm/lib/MC/ |
H A D | MCAssembler.cpp | 790 bool Abs = LF.getValue().evaluateKnownAbsolute(Value, Layout); local 791 if (!Abs) 808 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); local 809 assert(Abs && "We created a line delta with an invalid expression"); 810 (void) Abs; 826 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); local 827 assert(Abs && "We created call frame with an invalid expression"); 828 (void) Abs;
|
/external/libavc/encoder/arm/ |
H A 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 1099 vabdl.u8 q0, d30, d31 @II Abs diff r1 blk 12 1111 vabdl.u8 q1, d28, d29 @II Abs diff r1 blk 12 1120 vabdl.u8 q2, d26, d27 @II Abs diff r1 blk 12 1134 vabdl.u8 q3, d24, d25 @II 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 dif [all...] |
/external/libyuv/files/source/ |
H A D | convert_from.cc | 28 static __inline int Abs(int v) { function 49 const int dst_y_width = Abs(src_y_width); 50 const int dst_y_height = Abs(src_y_height); 85 const int dst_uv_width = (Abs(width) + 1) >> 1; 86 const int dst_uv_height = Abs(height); 110 const int dst_uv_width = Abs(width); 111 const int dst_uv_height = Abs(height);
|