Searched refs:rh (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/services/camera/libcameraservice/tests/ |
D | RotateAndCropMapperTest.cpp | 158 int32_t rh = full_crop[3]; in TEST() local 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() 249 int32_t rh = full_crop[3]; in TEST() local 267 rotated_region[0] + rw / 4, rotated_region[1] + rh / 4, in TEST() 268 rotated_region[2] - rw / 4, rotated_region[3] - rh / 4}; in TEST() 275 rotated_region[0] + rw / 4, rotated_region[1] + rh / 4, in TEST() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | RotateAndCropMapper.cpp | 141 float rh = cropAspect >= mRotateAspect ? in updateCaptureRequest() local 147 transformMat[2] = rh / cw; // +x -> +y in updateCaptureRequest() 149 yShift = (ch - rh) / 2; // top edge of crop to top edge of rotated in updateCaptureRequest() 153 transformMat[2] = -rh / cw; // +x -> -y in updateCaptureRequest() 155 yShift = (ch + rh) / 2; // top edge of crop to bottom edge of rotated in updateCaptureRequest() 268 float rh = cropAspect >= mRotateAspect ? in updateCaptureResult() local 272 ry = cy + (ch - rh) / 2; in updateCaptureResult() 276 transformMat[2] = -cw / rh; // +x -> -y in updateCaptureResult() 282 transformMat[2] = cw / rh; // +x -> +y in updateCaptureResult() 284 yShift = (ch - rh) / 2; // top edge of rotated to bottom edge of cropped in updateCaptureResult()
|
/frameworks/base/core/java/android/os/ |
D | RegistrantList.java | 130 Handler rh; in remove() local 132 rh = r.getHandler(); in remove() 137 if (rh == null || rh == h) { in remove()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rscript | 58 short rv,rs,rh; 80 rh = 0; 83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); 84 if (rh >= k2) rh -= k2; 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma)); 94 out.z = rh;
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rscript | 58 short rv,rs,rh; 80 rh = 0; 83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); 84 if (rh >= k2) rh -= k2; 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma)); 94 out.z = rh;
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | shadows.rscript | 58 short rv,rs,rh; 80 rh = 0; 83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); 84 if (rh >= k2) rh -= k2; 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma)); 94 out.z = rh;
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | shadows.rscript | 58 short rv,rs,rh; 80 rh = 0; 83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); 84 if (rh >= k2) rh -= k2; 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma)); 94 out.z = rh;
|
/frameworks/av/media/codec2/core/include/ |
D | C2.h | 529 constexpr bool operator()(const ::c2_cntr_t<T> &lh, const ::c2_cntr_t<T> &rh) const { 530 return lh.peeku() < rh.peeku(); 535 constexpr bool operator()(const ::c2_cntr_t<T> &lh, const ::c2_cntr_t<T> &rh) const { 536 return lh.peeku() <= rh.peeku(); 541 constexpr bool operator()(const ::c2_cntr_t<T> &lh, const ::c2_cntr_t<T> &rh) const { 542 return lh.peeku() > rh.peeku(); 547 constexpr bool operator()(const ::c2_cntr_t<T> &lh, const ::c2_cntr_t<T> &rh) const { 548 return lh.peeku() >= rh.peeku();
|