Home
last modified time | relevance | path

Searched refs:rw (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/camera/libcameraservice/tests/
DRotateAndCropMapperTest.cpp157 int32_t rw = full_crop[3] / aspectRatio; in TEST() local
160 full_crop[0] + (full_crop[2] - rw) / 2, full_crop[1], in TEST()
161 full_crop[0] + (full_crop[2] + rw) / 2, full_crop[1] + full_crop[3], in TEST()
176 rotated_region[0] + rw / 4, rotated_region[1] + rh / 4, in TEST()
177 rotated_region[2] - rw / 4, rotated_region[3] - rh / 4}; in TEST()
184 rotated_region[0] + rw / 4, rotated_region[1] + rh / 4, in TEST()
185 rotated_region[0] + rw / 2, rotated_region[1] + rh / 2, in TEST()
186 rotated_region[2] - rw / 4, rotated_region[3] - rh / 4 in TEST()
248 int32_t rw = full_crop[3] / aspectRatio; in TEST() local
251 full_crop[0] + (full_crop[2] - rw) / 2, full_crop[1], in TEST()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DRotateAndCropMapper.cpp124 float rw = cropAspect > mRotateAspect ? in updateCaptureRequest() local
132 transformMat[1] = -rw / ch; // +y -> -x in updateCaptureRequest()
134 xShift = (cw + rw) / 2; // left edge of crop to right edge of rotated in updateCaptureRequest()
138 transformMat[1] = rw / ch; // +y -> +x in updateCaptureRequest()
140 xShift = (cw - rw) / 2; // left edge of crop to left edge of rotated in updateCaptureRequest()
251 float rw = cropAspect > mRotateAspect ? in updateCaptureResult() local
257 rx = cx + (cw - rw) / 2; in updateCaptureResult()
261 transformMat[1] = ch / rw; // +y -> +x in updateCaptureResult()
263 xShift = -(cw - rw) / 2; // left edge of rotated to left edge of cropped in updateCaptureResult()
267 transformMat[1] = -ch / rw; // +y -> -x in updateCaptureResult()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLU.java171 float rw = 1.0f / w; in gluProject() local
175 * (scratch[V2_OFFSET + 0] * rw + 1.0f) in gluProject()
179 * (scratch[V2_OFFSET + 1] * rw + 1.0f) * 0.5f; in gluProject()
180 win[winOffset + 2] = (scratch[V2_OFFSET + 2] * rw + 1.0f) * 0.5f; in gluProject()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dbwfilter.rscript24 void prepareBwFilter(uint32_t rw, uint32_t gw, uint32_t bw) {
26 sr = rw;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dbwfilter.rscript24 void prepareBwFilter(uint32_t rw, uint32_t gw, uint32_t bw) {
26 sr = rw;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dbwfilter.rscript24 void prepareBwFilter(uint32_t rw, uint32_t gw, uint32_t bw) {
26 sr = rw;