Searched defs:offsets (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_graphics_PixelFormat.cpp37 static offsets_t offsets; member in namespace:android
80 env->SetIntField(pixelFormatObject, offsets.bytesPerPixel, info.bytesPerPixel);
81 env->SetIntField(pixelFormatObject, offsets.bitsPerPixel, info.bitsPerPixel);
99 offsets.bytesPerPixel = env->GetFieldID(clazz, "bytesPerPixel", "I");
100 offsets.bitsPerPixel = env->GetFieldID(clazz, "bitsPerPixel", "I");
H A Dandroid_view_Display.cpp42 static offsets_t offsets; member in namespace:android
61 env->SetIntField(clazz, offsets.pixelFormat,info.pixelFormatInfo.format);
62 env->SetFloatField(clazz, offsets.fps, info.fps);
63 env->SetFloatField(clazz, offsets.density, info.density);
64 env->SetFloatField(clazz, offsets.xdpi, info.xdpi);
65 env->SetFloatField(clazz, offsets.ydpi, info.ydpi);
71 DisplayID dpy = env->GetIntField(clazz, offsets.display);
78 DisplayID dpy = env->GetIntField(clazz, offsets.display);
85 DisplayID dpy = env->GetIntField(clazz, offsets.display);
118 offsets
[all...]
H A Dandroid_util_AssetManager.cpp162 jlong* offsets = (jlong*)env->GetPrimitiveArrayCritical(outOffsets, 0); local
163 if (offsets == NULL) {
168 offsets[0] = startOffset;
169 offsets[1] = length;
171 env->ReleasePrimitiveArrayCritical(outOffsets, offsets, 0);
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top);
142 rectangle.height(), offsets, mStrides, quality, stream,
183 int[] offsets = null;
185 offsets = new int[] {top * mStrides[0] + left,
188 return offsets;
192 offsets = new int[] {top * mStrides[0] + left / 2 * 4};
193 return offsets;
196 return offsets;
238 int format, int width, int height, int[] offsets, int[] strides,
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp25 int height, int* offsets, int jpegQuality) {
43 compress(&cinfo, (uint8_t*) inYuv, offsets);
72 uint8_t* yuv, int* offsets) {
84 uint8_t* yPlanar = yuv + offsets[0];
85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
145 uint8_t* yuv, int* offsets) {
161 uint8_t* yuvOffset = yuv + offsets[0];
214 int format, int width, int height, jintArray offsets,
220 jint* imgOffsets = env->GetIntArrayElements(offsets, NULL);
230 env->ReleaseIntArrayElements(offsets, imgOffset
24 encode(SkWStream* stream, void* inYuv, int width, int height, int* offsets, int jpegQuality) argument
71 compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets) argument
144 compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets) argument
213 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, int format, int width, int height, jintArray offsets, jintArray strides, int jpegQuality, jobject jstream, jbyteArray jstorage) argument
[all...]

Completed in 120 milliseconds