Searched defs:strides (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 73 * @param strides (Optional) Row bytes of each image plane. If yuv contains padding, the stride 74 * of each image must be provided. If strides is null, the method assumes no 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument 96 if (strides == null) { 99 mStrides = strides; 200 int[] strides = null; 202 strides = new int[] {width, width}; 203 return strides; 207 strides = new int[] {width * 2}; 208 return strides; 237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument [all...] |
/frameworks/ml/nn/common/operations/internal/ |
H A D | types.h | 30 int strides[N]; member in struct:android::nn::Dims 52 dims.strides[0] = 1; 54 dims.strides[i] = dims.strides[i-1] * dims.sizes[i-1]; 64 return i0 * dims.strides[0] + i1 * dims.strides[1] + i2 * dims.strides[2] + 65 i3 * dims.strides[3]; 93 max_offset += (dims.sizes[i] - 1) * dims.strides[i]; 102 if (dims.strides[ [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 11 YuvToJpegEncoder* YuvToJpegEncoder::create(int format, int* strides) { argument 15 return new Yuv420SpToJpegEncoder(strides); 17 return new Yuv422IToJpegEncoder(strides); 23 YuvToJpegEncoder::YuvToJpegEncoder(int* strides) : fStrides(strides) { argument 68 Yuv420SpToJpegEncoder::Yuv420SpToJpegEncoder(int* strides) : argument 69 YuvToJpegEncoder(strides) { 144 Yuv422IToJpegEncoder::Yuv422IToJpegEncoder(int* strides) : argument 145 YuvToJpegEncoder(strides) { 223 jintArray strides, jin 221 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, jint format, jint width, jint height, jintArray offsets, jintArray strides, jint jpegQuality, jobject jstream, jbyteArray jstorage) argument [all...] |
/frameworks/ml/nn/common/operations/internal/reference/ |
H A D | reference_ops.h | 85 int strides[N]; member in struct:android::nn::reference_ops::NdArrayDesc 98 return i0 * desc.strides[0] + i1 * desc.strides[1] + i2 * desc.strides[2] + 99 i3 * desc.strides[3]; 135 desc0_out->strides[i] = input0_dims.strides[i]; 137 desc1_out->strides[i] = input1_dims.strides[i]; 148 desc0_out->strides[ [all...] |
/frameworks/ml/nn/common/operations/internal/optimized/ |
H A D | optimized_ops.h | 147 int strides[N]; member in struct:android::nn::optimized_ops::NdArrayDesc 160 return i0 * desc.strides[0] + i1 * desc.strides[1] + i2 * desc.strides[2] + 161 i3 * desc.strides[3]; 197 desc0_out->strides[i] = input0_dims.strides[i]; 199 desc1_out->strides[i] = input1_dims.strides[i]; 210 desc0_out->strides[ [all...] |
Completed in 87 milliseconds