/external/tensorflow/tensorflow/examples/android/jni/ |
H A D | imageutils_jni.cc | 36 jint width, jint height, jboolean halfSize); 41 jint uv_row_stride, jint uv_pixel_stride, jboolean halfSize); 64 jint width, jint height, jboolean halfSize) { 71 if (halfSize) { 88 jint uv_row_stride, jint uv_pixel_stride, jboolean halfSize) { 94 if (halfSize) { 62 convertYUV420SPToARGB8888( JNIEnv* env, jclass clazz, jbyteArray input, jintArray output, jint width, jint height, jboolean halfSize) argument 85 convertYUV420ToARGB8888( JNIEnv* env, jclass clazz, jbyteArray y, jbyteArray u, jbyteArray v, jintArray output, jint width, jint height, jint y_row_stride, jint uv_row_stride, jint uv_pixel_stride, jboolean halfSize) argument
|
/external/skia/tests/ |
H A D | CodecPartialTest.cpp | 293 const size_t halfSize = file->size() / 2; local 295 skstd::make_unique<HaltingStream>(std::move(file), halfSize)));
|
/external/skqp/tests/ |
H A D | CodecPartialTest.cpp | 293 const size_t halfSize = file->size() / 2; local 295 skstd::make_unique<HaltingStream>(std::move(file), halfSize)));
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
H A D | ImageUtils.java | 209 * @param halfSize If true, downsample to 50% in each dimension, otherwise not. 212 byte[] input, int[] output, int width, int height, boolean halfSize); 225 * @param halfSize If true, downsample to 50% in each dimension, otherwise not. 238 boolean halfSize); 211 convertYUV420SPToARGB8888( byte[] input, int[] output, int width, int height, boolean halfSize) argument 228 convertYUV420ToARGB8888( byte[] y, byte[] u, byte[] v, int[] output, int width, int height, int yRowStride, int uvRowStride, int uvPixelStride, boolean halfSize) argument
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
H A D | nv50_ir_build_util.cpp | 285 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) argument 289 const DataType fTy = typeOfSize(halfSize * 2); 292 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); 297 h[0]->reg.size = halfSize; 298 h[1]->reg.size = halfSize; 299 h[1]->reg.data.offset += halfSize; 301 h[0] = getSSA(halfSize, val->reg.file); 302 h[1] = getSSA(halfSize, val->reg.file);
|
H A D | nv50_ir_lowering_nv50.cpp | 65 unsigned int halfSize = typeSizeof(hTy); local 89 i[0] = bld->mkSplit(a, halfSize, s[0]); 90 i[1] = bld->mkSplit(b, halfSize, s[1]); 105 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); 116 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); 122 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8));
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_setup.c | 1239 const float halfSize = 0.5F * size; local 1325 if (halfSize <= 0.5 && !round) { 1337 const int ixmin = block((int) (x - halfSize)); 1338 const int ixmax = block((int) (x + halfSize)); 1339 const int iymin = block((int) (y - halfSize)); 1340 const int iymax = block((int) (y + halfSize)); 1341 const float rmin = halfSize - 0.7071F; /* 0.7071 = sqrt(2)/2 */ 1342 const float rmax = halfSize + 0.7071F; 1400 const int xmin = (int) (x + 0.75 - halfSize); 1401 const int ymin = (int) (y + 0.25 - halfSize); [all...] |
/external/deqp/external/openglcts/modules/gles31/ |
H A D | es31cDrawIndirectTests.cpp | 1648 const int halfSize = dataHeight / 2 * dataWidth; local 1657 halfSize * sizeof(unsigned int), GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT); 1667 quarterSize * sizeof(unsigned int), halfSize * sizeof(unsigned int))); 1669 memcpy(buf, &dataRef2[quarterSize], halfSize * sizeof(unsigned int)); 1670 glFlushMappedBufferRange(GL_DRAW_INDIRECT_BUFFER, 0, halfSize * sizeof(unsigned int));
|