Home
last modified time | relevance | path

Searched refs:FixedDiv (Results 1 – 11 of 11) sorted by relevance

/external/libyuv/files/unit_test/
Dmath_test.cc29 EXPECT_EQ(0x10000, libyuv::FixedDiv(1, 1)); in TEST_F()
30 EXPECT_EQ(0x7fff0000, libyuv::FixedDiv(0x7fff, 1)); in TEST_F()
35 EXPECT_EQ(0x20000, libyuv::FixedDiv(640 * 2, 640)); in TEST_F()
36 EXPECT_EQ(0x30000, libyuv::FixedDiv(640 * 3, 640)); in TEST_F()
37 EXPECT_EQ(0x40000, libyuv::FixedDiv(640 * 4, 640)); in TEST_F()
38 EXPECT_EQ(0x50000, libyuv::FixedDiv(640 * 5, 640)); in TEST_F()
39 EXPECT_EQ(0x60000, libyuv::FixedDiv(640 * 6, 640)); in TEST_F()
40 EXPECT_EQ(0x70000, libyuv::FixedDiv(640 * 7, 640)); in TEST_F()
41 EXPECT_EQ(0x80000, libyuv::FixedDiv(640 * 8, 640)); in TEST_F()
42 EXPECT_EQ(0xa0000, libyuv::FixedDiv(640 * 10, 640)); in TEST_F()
[all …]
/external/libyuv/files/docs/
Dfiltering.md70 dx = FixedDiv((src_width << 16) - 0x00010001, (dst << 16) - 0x00010000);
77 #define FIXEDDIV1(src, dst) FixedDiv((src << 16) - 0x00010001, \
95 *dx = FixedDiv(Abs(src_width), dst_width);
96 *dy = FixedDiv(src_height, dst_height);
102 *dx = FixedDiv(Abs(src_width), dst_width);
109 *dy = FixedDiv(src_height, dst_height);
118 *dx = FixedDiv(Abs(src_width), dst_width);
124 *dy = FixedDiv(src_height, dst_height);
128 *dx = FixedDiv(Abs(src_width), dst_width);
129 *dy = FixedDiv(src_height, dst_height);
/external/libyuv/files/source/
Dscale_common.cc1254 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1255 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
1261 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1268 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
1277 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1283 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
1287 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1288 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
Dscale.cc1577 int dy = FixedDiv(src_height, dst_height); in ScalePlane()
1660 int dy = FixedDiv(src_height, dst_height); in ScalePlane_16()
/external/libaom/libaom/third_party/libyuv/source/
Dscale_common.cc1087 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1088 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
1094 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1101 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
1110 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1116 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
1120 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1121 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
Dscale.cc1421 int dy = FixedDiv(src_height, dst_height); in ScalePlane()
1504 int dy = FixedDiv(src_height, dst_height); in ScalePlane_16()
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale_common.cc1244 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1245 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
1251 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1258 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
1267 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1273 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
1277 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1278 *dy = FixedDiv(src_height, dst_height); in ScaleSlope()
Dscale.cc1499 int dy = FixedDiv(src_height, dst_height); in ScalePlane()
1582 int dy = FixedDiv(src_height, dst_height); in ScalePlane_16()
/external/libyuv/files/include/libyuv/
Dscale_row.h174 #define FixedDiv FixedDiv_X86 macro
177 #define FixedDiv FixedDiv_MIPS macro
180 #define FixedDiv FixedDiv_C macro
/external/libaom/libaom/third_party/libyuv/include/libyuv/
Dscale_row.h114 #define FixedDiv FixedDiv_X86 macro
117 #define FixedDiv FixedDiv_C macro
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dscale_row.h154 #define FixedDiv FixedDiv_X86 macro
157 #define FixedDiv FixedDiv_C macro