Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 459) sorted by relevance

12345678910>>...19

/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmlmath.h54 #define atan2(x,y) ml_atan2(x,y) argument
64 #define pow(x,y) ml_pow(x,y) argument
70 #define atan2f(x,y) ml_atan2(x,y) argument
87 #define MIN(x,y) (((x)<(y))?(x):(y)) argument
91 #define MAX(x,y) (((x)>(y))?(x):(y)) argument
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmlmath.h54 #define atan2(x,y) ml_atan2(x,y) argument
64 #define pow(x,y) ml_pow(x,y) argument
70 #define atan2f(x,y) ml_atan2(x,y) argument
87 #define MIN(x,y) (((x)<(y))?(x):(y)) argument
91 #define MAX(x,y) (((x)>(y))?(x):(y)) argument
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DTriStateTest.cpp152 tri_int32_t y, z, w; in TEST() local
154 y = z = a; \ in TEST()
156 y op_c b; \ in TEST()
157 EXPECT_TRUE(y.isSet()); \ in TEST()
158 EXPECT_EQ(y, (a op b)); \ in TEST()
159 EXPECT_EQ(y, (z op b)); \ in TEST()
160 EXPECT_EQ(y, (a op w)); in TEST()
171 y = z = 123; in TEST()
173 y <<= 10; in TEST()
174 EXPECT_TRUE(y.isSet()); in TEST()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_delta_panel.cpp59 int x, y; in deltaPanelRendering() local
72 for(y = 1; y < (height - 1) && y < TABLE_SIZE; y++) in deltaPanelRendering()
74 xStart = X_START_TABLE[y]; in deltaPanelRendering()
75 xEnd = X_LAST - X_START_TABLE[y]; in deltaPanelRendering()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp292 for (uint32_t y = 0; y < info.height; y++) { in TEST_P() local
293 memset(data, y, writeInBytes); in TEST_P()
302 for (uint32_t y = 0; y < info.height; y++) { in TEST_P() local
304 EXPECT_EQ(static_cast<uint8_t>(y), data[i]); in TEST_P()
334 auto yData = static_cast<uint8_t*>(layout.y); in TEST_P()
337 for (uint32_t y = 0; y < info.height; y++) { in TEST_P() local
339 auto val = static_cast<uint8_t>(info.height * y + x); in TEST_P()
341 yData[layout.yStride * y + x] = val; in TEST_P()
342 if (y % 2 == 0 && x % 2 == 0) { in TEST_P()
343 cbData[layout.cStride * y / 2 + x / 2] = val; in TEST_P()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3CropRegionMapper.cpp225 void QCamera3CropRegionMapper::toActiveArray(uint32_t& x, uint32_t& y) in toActiveArray() argument
233 (y > static_cast<uint32_t>(mSensorH))) { in toActiveArray()
235 x, y, mSensorW, mSensorH); in toActiveArray()
239 y = y * mActiveArrayH / mSensorH; in toActiveArray()
254 void QCamera3CropRegionMapper::toSensor(uint32_t& x, uint32_t& y) in toSensor() argument
263 (y > static_cast<uint32_t>(mActiveArrayH))) { in toSensor()
265 x, y, mSensorW, mSensorH); in toSensor()
269 y = y * mSensorH / mActiveArrayH; in toSensor()
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp299 for (uint32_t y = 0; y < info.height; y++) { in TEST_P() local
300 memset(data, y, writeInBytes); in TEST_P()
313 for (uint32_t y = 0; y < info.height; y++) { in TEST_P() local
315 EXPECT_EQ(static_cast<uint8_t>(y), data[i]); in TEST_P()
348 auto yData = static_cast<uint8_t*>(layout.y); in TEST_P()
351 for (uint32_t y = 0; y < info.height; y++) { in TEST_P() local
353 auto val = static_cast<uint8_t>(info.height * y + x); in TEST_P()
355 yData[layout.yStride * y + x] = val; in TEST_P()
356 if (y % 2 == 0 && x % 2 == 0) { in TEST_P()
357 cbData[layout.cStride * y / 2 + x / 2] = val; in TEST_P()
[all …]
/hardware/google/easel/amber/camera/libhdrplusclient/
DHdrPlusClientUtils.cpp30 static status_t getRgb(uint8_t *r, uint8_t *g, uint8_t* b, uint32_t x, uint32_t y, in getRgb() argument
44 uint32_t yIndex = y * streamConfig.image.planes[0].stride + x; in getRgb()
47 (y / 2) * streamConfig.image.planes[1].stride + (x & ~0x1); in getRgb()
68 uint32_t offset = y * streamConfig.image.planes[0].stride + x * 3; in getRgb()
103 for (uint32_t y = 0; y < height; y++) { in writePpm() local
105 status_t res = getRgb(&r, &g, &b, x, y, streamConfig, buffer); in writePpm()
171 for (uint32_t y = 0; y < height; y++) { in comparePpm() local
173 status_t res = getRgb(&r, &g, &b, x, y, streamConfig, buffer); in comparePpm()
/hardware/qcom/sm8150/display/libcopybit/
Dsoftware_converter.h38 #define ALIGN(x, y) (((x) + y - 1) & (~(y - 1))) argument
/hardware/qcom/display/msm8996/libcopybit/
Dsoftware_converter.h38 #define ALIGN(x, y) (((x) + y - 1) & (~(y - 1))) argument
/hardware/qcom/display/msm8998/libcopybit/
Dsoftware_converter.h38 #define ALIGN(x, y) (((x) + y - 1) & (~(y - 1))) argument
/hardware/qcom/sdm845/display/libcopybit/
Dsoftware_converter.h38 #define ALIGN(x, y) (((x) + y - 1) & (~(y - 1))) argument
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dsoftware_converter.h38 #define ALIGN(x, y) (((x) + y - 1) & (~(y - 1))) argument
/hardware/qcom/display/msm8909/libcopybit/
Dsoftware_converter.h38 #define ALIGN(x, y) (((x) + y - 1) & (~(y - 1))) argument
/hardware/qcom/camera/msm8998/
DQCameraParameters.h249 void setTouchIndexAec(int x, int y);
250 void getTouchIndexAec(int *x, int *y) const;
251 void setTouchIndexAf(int x, int y);
252 void getTouchIndexAf(int *x, int *y) const;
253 void getMeteringAreaCenter(int * x, int *y) const;
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcommon.h262 #define min(x, y) ((x) < (y) ? (x) : (y)) argument
263 #define max(x, y) ((x) > (y) ? (x) : (y)) argument
/hardware/qcom/display/msm8994/libqdutils/
Dqd_utils.cpp98 int x =0, y =0; in getAspectRatioPosition() local
113 y = (destHeight - srcHeight) / 2; in getAspectRatioPosition()
115 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition()
118 rect.top = y; in getAspectRatioPosition()
/hardware/qcom/display/msm8226/libqdutils/
Dqd_utils.cpp99 int x =0, y =0; in getAspectRatioPosition() local
114 y = (destHeight - srcHeight) / 2; in getAspectRatioPosition()
116 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition()
119 rect.top = y; in getAspectRatioPosition()
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/wcd9xxx/
DKbuild1 header-y += wcd9xxx_registers.h
2 header-y += wcd9310_registers.h
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h141 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) ///< maximum argument
142 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) ///< minimum argument
143 #define ALIGN(x, y) (((x) + ((y) - 1)) & (~((y) - 1))) argument
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dcommon.h211 #define min(x, y) ((x) < (y) ? (x) : (y)) argument
212 #define max(x, y) ((x) > (y) ? (x) : (y)) argument
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h129 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) ///< maximum argument
130 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) ///< minimum argument
131 #define ALIGN(x, y) (((x) + ((y) - 1)) & (~((y) - 1))) argument
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h136 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) ///< maximum argument
137 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) ///< minimum argument
138 #define ALIGN(x, y) (((x) + ((y) - 1)) & (~((y) - 1))) argument
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h141 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) ///< maximum argument
142 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) ///< minimum argument
143 #define ALIGN(x, y) (((x) + ((y) - 1)) & (~((y) - 1))) argument
/hardware/qcom/sm8150/display/libmemtrack/
Dkgsl.c28 #define min(x, y) ((x) < (y) ? (x) : (y)) argument

12345678910>>...19