Home
last modified time | relevance | path

Searched refs:pixels (Results 1 – 22 of 22) sorted by relevance

/development/tools/emulator/opengl/system/renderControl_enc/
DrenderControl.attrib35 dir pixels out
36 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
39 dir pixels in
40 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
41 var_flag pixels isLarge
DrenderControl_entry.cpp32 …olorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
33 …olorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
181 …colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels) in rcReadColorBuffer() argument
184 ctx->rcReadColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels); in rcReadColorBuffer()
187 …colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels) in rcUpdateColorBuffer() argument
190 return ctx->rcUpdateColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels); in rcUpdateColorBuffer()
DrenderControl.in24 …colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void *pixels)
25 …colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void *pixels)
DrenderControl_enc.h48 …olorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
49 …olorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
DREADME127 GLenum type, void* pixels);
129 subregion. It act the same as OpenGL glReadPixels however pixels
134 GLenum type, void* pixels);
136 pixels are always unpacked with alignment of 1.
DrenderControl_enc.cpp453 …colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels) in rcReadColorBuffer_enc() argument
474 stream->readback(pixels, __size_pixels); in rcReadColorBuffer_enc()
477 …colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels) in rcUpdateColorBuffer_enc() argument
499 stream->writeFully(pixels, __size_pixels); in rcUpdateColorBuffer_enc()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapDecode.java93 int[] pixels = new int[w*h]; in SampleView() local
94 mBitmap2.getPixels(pixels, 0, w, 0, 0, w, h); in SampleView()
95 mBitmap3 = Bitmap.createBitmap(pixels, 0, w, w, h, in SampleView()
97 mBitmap4 = Bitmap.createBitmap(pixels, 0, w, w, h, in SampleView()
DShapeDrawable1.java51 int[] pixels = new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF, 0}; in makeTiling() local
52 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2, in makeTiling()
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
Dplasma.c188 static void fill_plasma( AndroidBitmapInfo* info, void* pixels, double t ) in fill_plasma() argument
201 uint16_t* line = (uint16_t*)pixels; in fill_plasma()
265 pixels = (char*)pixels + info->stride; in fill_plasma()
367 void* pixels; in Java_com_example_plasma_PlasmaView_renderPlasma() local
388 if ((ret = AndroidBitmap_lockPixels(env, bitmap, &pixels)) < 0) { in Java_com_example_plasma_PlasmaView_renderPlasma()
395 fill_plasma(&info, pixels, time_ms ); in Java_com_example_plasma_PlasmaView_renderPlasma()
/development/tools/recovery_l10n/src/com/android/recovery_l10n/
DMain.java232 int[] pixels = new int[maxHeight * width];
240 bm.getPixels(pixels, 0, w, 0, 0, w, h);
250 if (pixels[j*w+right-1] != 0xff000000) {
266 if (pixels[j*w+left] != 0xff000000) {
303 out.setPixels(pixels, left, w, 0, p, tw, h);
/development/ndk/platforms/android-9/samples/native-plasma/jni/
Dplasma.c204 void* pixels = buffer->bits; in fill_plasma() local
210 uint16_t* line = (uint16_t*)pixels; in fill_plasma()
274 pixels = (uint16_t*)pixels + buffer->stride; in fill_plasma()
/development/tools/emulator/opengl/system/GLESv2_enc/
Dgl2_entry.cpp101 …ixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
114 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
119 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
157 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
158 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
786 …Pixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) in glReadPixels() argument
789 ctx->glReadPixels(ctx, x, y, width, height, format, type, pixels); in glReadPixels()
864 …mat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) in glTexImage2D() argument
867 …ctx->glTexImage2D(ctx, target, level, internalformat, width, height, border, format, type, pixels); in glTexImage2D()
894 …et, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) in glTexSubImage2D() argument
[all …]
Dgl2_enc.h117 …elf , GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
130 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
135 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
173 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
174 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
Dgl2_enc.cpp1632 …self , GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) in glReadPixels_enc() argument
1652 stream->readback(pixels, __size_pixels); in glReadPixels_enc()
1822 …mat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) in glTexImage2D_enc() argument
1828 …const unsigned int __size_pixels = ((pixels != NULL) ? pixelDataSize(self, width, height, format,… in glTexImage2D_enc()
1845 if (pixels != NULL) stream->writeFully(pixels, __size_pixels); in glTexImage2D_enc()
1920 …et, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) in glTexSubImage2D_enc() argument
1943 stream->writeFully(pixels, __size_pixels); in glTexSubImage2D_enc()
2539 …dth, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) in glTexImage3DOES_enc() argument
2545 …const unsigned int __size_pixels = ((pixels != NULL) ? pixelDataSize3D(self, width, height, depth… in glTexImage3DOES_enc()
2563 if (pixels != NULL) stream->writeFully(pixels, __size_pixels); in glTexImage3DOES_enc()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java537 int type, Buffer pixels) { in glReadPixels() argument
538 mgl.glReadPixels(x, y, width, height, format, type, pixels); in glReadPixels()
624 Buffer pixels) { in glTexImage2D() argument
626 format, type, pixels); in glTexImage2D()
647 Buffer pixels) { in glTexSubImage2D() argument
649 format, type, pixels); in glTexSubImage2D()
/development/ndk/platforms/android-5/include/GLES2/
Dgl2ext.h487 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
488 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
494 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
495 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
Dgl2.h566 …xels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
579 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
584 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
/development/tools/emulator/opengl/tests/gles_android_wrapper/
Dgles.cpp656 …Pixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) in glReadPixels() argument
658 getDispatch()->glReadPixels(x, y, width, height, format, type, pixels); in glReadPixels()
731 …mat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) in glTexImage2D() argument
733 …spatch()->glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels); in glTexImage2D()
756 …et, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) in glTexSubImage2D() argument
758 …tDispatch()->glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); in glTexSubImage2D()
/development/ndk/platforms/android-4/include/GLES/
Dgl.h715 …xels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
730 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
735 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
/development/tools/emulator/opengl/system/GLESv1_enc/
Dgl_entry.cpp128 …ixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
143 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
148 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
1027 …Pixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) in glReadPixels() argument
1030 ctx->glReadPixels(ctx, x, y, width, height, format, type, pixels); in glReadPixels()
1117 …mat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) in glTexImage2D() argument
1120 …ctx->glTexImage2D(ctx, target, level, internalformat, width, height, border, format, type, pixels); in glTexImage2D()
1147 …et, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) in glTexSubImage2D() argument
1150 ctx->glTexSubImage2D(ctx, target, level, xoffset, yoffset, width, height, format, type, pixels); in glTexSubImage2D()
Dgl_enc.h143 …elf , GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
158 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
163 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
Dgl_enc.cpp1995 …self , GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) in glReadPixels_enc() argument
2015 stream->readback(pixels, __size_pixels); in glReadPixels_enc()
2239 …mat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) in glTexImage2D_enc() argument
2245 …const unsigned int __size_pixels = ((pixels != NULL) ? pixelDataSize(self, width, height, format,… in glTexImage2D_enc()
2262 if (pixels != NULL) stream->writeFully(pixels, __size_pixels); in glTexImage2D_enc()
2337 …et, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) in glTexSubImage2D_enc() argument
2360 stream->writeFully(pixels, __size_pixels); in glTexSubImage2D_enc()