Searched refs:Abs (Results 1 - 25 of 89) sorted by relevance

1234

/external/libyuv/files/unit_test/
H A Dunit_test.cc94 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 Dscale_argb_test.cc41 (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 Dscale_test.cc38 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 Drotate_test.cc39 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;
H A Dunit_test.h35 static __inline int Abs(int v) { function
/external/libyuv/files/util/
H A Dyuvconvert.cc40 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 Dmathutil.h108 // 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 DEulerSystem.h23 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/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_program.h51 unsigned int Abs:1; member in struct:rc_src_register
53 /** Post-Abs negation. */
H A Dradeon_program_pair.h67 unsigned int Abs:1; member in struct:rc_pair_instruction_arg
H A Dradeon_pair_translate.c244 pair->RGB.Arg[i].Abs = inst->SrcReg[i].Abs;
270 pair->Alpha.Arg[i].Abs = inst->SrcReg[i].Abs;
H A Dradeon_inline_literals.c138 if (ret == -1 && src_reg->Abs) {
H A Dradeon_optimize.c54 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 Dradeon_program_print.c239 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 ? "|" : "";
H A Dr300_fragprog_swizzle.c117 if (reg.Abs || reg.Negate)
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c117 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 Dconvert_from.cc28 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 Dscale_common.cc26 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 DDurationPartial.cs210 AppendNanoseconds(builder, Math.Abs(nanoseconds));
/external/libchrome/base/numerics/
H A Dsafe_numerics_unittest.cc89 TEST_EXPECTED_FAILURE(CheckedNumeric<Dst>(DstLimits::min()).Abs());
90 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(-1).Abs());
134 TEST_EXPECTED_SUCCESS(CheckedNumeric<Dst>(DstLimits::min()).Abs());
168 TEST_EXPECTED_SUCCESS(CheckedNumeric<Dst>(DstLimits::min()).Abs());
169 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(-1).Abs());
232 TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>().Abs());
233 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1).Abs());
235 CheckedNumeric<Dst>(DstLimits::max()).Abs());
/external/llvm/lib/MC/
H A DMCAssembler.cpp790 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 Dime_distortion_metrics_a9q.s1003 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 Dconvert_from.cc28 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);
H A Dscale_common.cc26 static __inline int Abs(int v) { function
1262 *dx = FixedDiv(Abs(src_width), dst_width);
1268 if (dst_width <= Abs(src_width)) {
1269 *dx = FixedDiv(Abs(src_width), dst_width);
1272 *dx = FixedDiv1(Abs(src_width), dst_width);
1284 if (dst_width <= Abs(src_width)) {
1285 *dx = FixedDiv(Abs(src_width), dst_width);
1288 *dx = FixedDiv1(Abs(src_width), dst_width);
1295 *dx = FixedDiv(Abs(src_width), dst_width);
/external/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.h95 SDValue &Neg, SDValue &Abs, SDValue &Sel, SDValue &Imm,

Completed in 669 milliseconds

1234