HomeSort by relevance Sort by last modified time
    Searched defs:rgba (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /external/opencv3/modules/cudaimgproc/perf/
perf_mean_shift.cpp 62 cv::Mat rgba; local
63 cv::cvtColor(img, rgba, cv::COLOR_BGR2BGRA);
70 const cv::cuda::GpuMat d_src(rgba);
98 cv::Mat rgba; local
99 cv::cvtColor(img, rgba, cv::COLOR_BGR2BGRA);
106 const cv::cuda::GpuMat d_src(rgba);
132 cv::Mat rgba; local
133 cv::cvtColor(img, rgba, cv::COLOR_BGR2BGRA);
141 const cv::cuda::GpuMat d_src(rgba);
  /external/mesa3d/src/gallium/state_trackers/vega/
api_paint.c 100 void vegaSetColor(VGPaint paint, VGuint rgba)
116 paint_set_colori(p, rgba);
127 VGuint rgba = 0; local
131 return rgba;
136 return rgba;
mask.c 169 int rgba = data[i * stfb->height + j]; local
171 argb = (rgba >> 8);
172 argb |= ((rgba & 0xff) << 24);
505 debug_printf("mask_fill(%d, %d, %d, %d) with rgba(%f, %f, %f, %f)\n",
api_filters.c 677 VGuint rgba = lookupTable[i]; local
679 red = (rgba & 0xff000000)>>24;
680 green = (rgba & 0x00ff0000)>>16;
681 blue = (rgba & 0x0000ff00)>> 8;
682 alpha = (rgba & 0x000000ff)>> 0;
  /development/ndk/platforms/android-18/samples/gles3jni/jni/
gles3jni.h 62 GLubyte rgba[4]; member in struct:Vertex
  /frameworks/av/media/libstagefright/timedtext/
TextDescriptions.cpp 151 uint32_t rgba = *(tmpData + 8) << 24 | *(tmpData + 9) << 16 local
153 parcel->writeInt32(rgba);
219 // 'hclr' box specifies the RGBA color: 8 bits each of
228 uint32_t rgba = *(tmpData) << 24 | *(tmpData + 1) << 16 local
230 parcel->writeInt32(rgba);
405 uint32_t rgba = *(tmpData + 6) << 24 | *(tmpData + 7) << 16 local
407 parcel->writeInt32(rgba);
444 rgba = *(tmpData + 8) << 24 | *(tmpData + 9) << 16
446 parcel->writeInt32(rgba);
  /external/mesa3d/src/mesa/swrast/
s_fragprog.c 86 GLfloat rgba[4]; local
93 &lambda, &rgba);
94 swizzle_texel(rgba, color, texObj->_Swizzle);
127 GLfloat rgba[4]; local
142 &lambda, &rgba);
143 swizzle_texel(rgba, color, texObj->_Swizzle);
s_copypix.c 96 * RGBA copypixels
147 /* read the source image as RGBA/float */
164 GLvoid *rgba = span.array->attribs[FRAG_ATTRIB_COL0]; local
169 memcpy(rgba, p, width * sizeof(GLfloat) * 4);
175 width, srcx, sy, rgba );
180 (GLfloat (*)[4]) rgba);
189 _swrast_write_zoomed_rgba_span(ctx, destx, desty, &span, rgba);
s_drawpix.c 406 * Draw RGBA image.
454 GLfloat *rgba = (GLfloat *) span.array->attribs[FRAG_ATTRIB_COL0]; local
466 /* get image row as float/RGBA */
467 _mesa_unpack_color_span_float(ctx, spanWidth, GL_RGBA, rgba,
480 _swrast_write_zoomed_rgba_span(ctx, imgX, imgY, &span, rgba);
s_span.h 86 GLchan (*rgba)[4]; /** either == rgba8 or rgba16 */ member in struct:sw_span_arrays
205 GLuint n, GLint x, GLint y, GLvoid *rgba);
s_texcombine.c 78 * span->array->rgba: incoming/result fragment colors
95 float4_array ccolor[4], rgba; local
98 GLchan (*rgbaChan)[4] = span->array->rgba;
101 rgba = (float4_array) malloc(4 * n * sizeof(GLfloat));
102 if (!rgba) {
115 free(rgba);
121 rgba[i][RCOMP] = CHAN_TO_FLOAT(rgbaChan[i][RCOMP]);
122 rgba[i][GCOMP] = CHAN_TO_FLOAT(rgbaChan[i][GCOMP]);
123 rgba[i][BCOMP] = CHAN_TO_FLOAT(rgbaChan[i][BCOMP]);
124 rgba[i][ACOMP] = CHAN_TO_FLOAT(rgbaChan[i][ACOMP])
    [all...]
  /frameworks/base/media/mca/filterpacks/native/imageproc/
brightness.c 31 char rgba[4]; member in union:__anon28351
86 const short r = (pixel.rgba[0] * factor) / 255;
87 const short g = (pixel.rgba[1] * factor) / 255;
88 const short b = (pixel.rgba[2] * factor) / 255;
93 | (pixel.rgba[3] << 24);
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_format_yuv.c 290 LLVMValueRef rgba; local
310 rgba = r;
311 rgba = LLVMBuildOr(builder, rgba, g, "");
312 rgba = LLVMBuildOr(builder, rgba, b, "");
313 rgba = LLVMBuildOr(builder, rgba, a, "");
315 rgba = LLVMBuildBitCast(builder, rgba,
333 LLVMValueRef rgba; local
354 LLVMValueRef rgba; local
374 LLVMValueRef rgba; local
393 LLVMValueRef rgba; local
411 LLVMValueRef rgba; local
430 LLVMValueRef rgba; local
454 LLVMValueRef rgba; local
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_test_format.c 94 LLVMValueRef rgba; local
115 rgba = lp_build_fetch_rgba_aos(gallivm, desc, type,
118 LLVMBuildStore(builder, rgba, rgba_ptr);
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_maos_verts.c 54 union emit_union { float f; GLuint ui; radeon_color_t rgba; }; member in union:emit_union
  /external/mesa3d/src/mesa/main/
texcompress_s3tc.c 231 /* convert image to RGBA/GLubyte */
284 /* convert image to RGBA/GLubyte */
336 /* convert image to RGBA/GLubyte */
390 GLubyte rgba[4]; local
391 fetch_texel_2d_rgb_dxt1(texImage, i, j, k, rgba);
392 texel[RCOMP] = UBYTE_TO_FLOAT(rgba[RCOMP]);
393 texel[GCOMP] = UBYTE_TO_FLOAT(rgba[GCOMP]);
394 texel[BCOMP] = UBYTE_TO_FLOAT(rgba[BCOMP]);
395 texel[ACOMP] = UBYTE_TO_FLOAT(rgba[ACOMP]);
419 GLubyte rgba[4] local
448 GLubyte rgba[4]; local
477 GLubyte rgba[4]; local
491 GLubyte rgba[4]; local
504 GLubyte rgba[4]; local
517 GLubyte rgba[4]; local
530 GLubyte rgba[4]; local
    [all...]
readpix.c 221 * Try to do glReadPixels of RGBA data using a simple memcpy or swizzle.
328 void *rgba; local
345 rgba = malloc(width * MAX_PIXEL_BYTES);
346 if (!rgba)
351 _mesa_unpack_uint_rgba_row(rbFormat, width, map, (GLuint (*)[4]) rgba);
352 _mesa_rebase_rgba_uint(width, (GLuint (*)[4]) rgba,
355 _mesa_pack_rgba_span_from_uints(ctx, width, (GLuint (*)[4]) rgba, format,
358 _mesa_pack_rgba_span_from_ints(ctx, width, (GLint (*)[4]) rgba, format,
362 _mesa_unpack_rgba_row(rbFormat, width, map, (GLfloat (*)[4]) rgba);
363 _mesa_rebase_rgba_float(width, (GLfloat (*)[4]) rgba,
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_atom_pixeltransfer.c 119 float rgba[4]; local
120 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize];
121 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize];
122 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize];
123 rgba[3] = ctx->PixelMaps.AtoA.Map[i * aSize / texSize];
124 util_pack_color(rgba, pt->format, &uc);
213 /* TEX temp.rg, colorTemp.rgba, texture[1], 2D; */
  /external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/
OnCameraFrameRender.java 26 return inputFrame.rgba();
37 Mat rgbaFrame = inputFrame.rgba();
52 Mat renderedFrame = new Mat(inputFrame.rgba().size(), inputFrame.rgba().type());
53 Imgproc.undistort(inputFrame.rgba(), renderedFrame,
73 Mat undistortedFrame = new Mat(inputFrame.rgba().size(), inputFrame.rgba().type());
74 Imgproc.undistort(inputFrame.rgba(), undistortedFrame,
77 Mat comparisonFrame = inputFrame.rgba();
  /frameworks/base/media/mca/filterfw/jni/
jni_native_frame.cpp 32 uint8_t rgba[4]; member in union:__anon28346
186 case 1: { // RGBA -> GRAY
189 *(dst_ptr++) = (pixel.rgba[0] + pixel.rgba[1] + pixel.rgba[2]) / 3;
193 case 3: { // RGBA -> RGB
196 *(dst_ptr++) = pixel.rgba[0];
197 *(dst_ptr++) = pixel.rgba[1];
198 *(dst_ptr++) = pixel.rgba[2];
202 case 4: { // RGBA -> RGB
    [all...]
  /frameworks/native/opengl/libagl/
mipmap.cpp 120 uint32_t rgba = (rb & 0x00FF00FF) | ((ga & 0x00FF00FF)<<8); local
121 dst[x + y*stride] = rgba;
171 uint32_t rgba = (rbga & 0x0F0F) | ((rbga>>12) & 0xF0F0); local
172 dst[x + y*stride] = rgba;
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_state_validate.c 181 float *rgba = nv30->blend_colour.color; local
188 PUSH_DATA (push, (util_float_to_half(rgba[0]) << 0) |
189 (util_float_to_half(rgba[1]) << 16));
191 PUSH_DATA (push, (util_float_to_half(rgba[2]) << 0) |
192 (util_float_to_half(rgba[3]) << 16));
200 PUSH_DATA (push, (float_to_ubyte(rgba[3]) << 24) |
201 (float_to_ubyte(rgba[0]) << 16) |
202 (float_to_ubyte(rgba[1]) << 8) |
203 (float_to_ubyte(rgba[2]) << 0));
  /external/mesa3d/src/gallium/state_trackers/egl/common/
egl_g3d.c 232 uint rgba[4], depth_stencil[2], buffer_size; local
240 rgba[i] = util_format_get_component_bits(nconf->color_format,
242 buffer_size += rgba[i];
275 if (pre_alpha && rgba[3]) {
284 conf->RedSize = rgba[0];
285 conf->GreenSize = rgba[1];
286 conf->BlueSize = rgba[2];
287 conf->AlphaSize = rgba[3];
307 if (rgba[3])
  /external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
LwjglGraphics.java 198 Pixmap rgba = new Pixmap(pixmap.getWidth(), pixmap.getHeight(), Format.RGBA8888); local
199 rgba.drawPixmap(pixmap, 0, 0);
200 pixmap = rgba;
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
ImageProcessor.java 265 static private String splitError (int x, int y, int[] rgba, String name) {
266 throw new RuntimeException("Invalid " + name + " ninepatch split pixel at " + x + ", " + y + ", rgba: " + rgba[0] + ", "
267 + rgba[1] + ", " + rgba[2] + ", " + rgba[3]);
386 int[] rgba = new int[4]; local
400 raster.getPixel(x, y, rgba);
401 if (rgba[3] == breakA) return next;
403 if (!startPoint && (rgba[0] != 0 || rgba[1] != 0 || rgba[2] != 0 || rgba[3] != 255)) splitError(x, y, rgba, name)
    [all...]

Completed in 725 milliseconds

1 2 3 4