Home
last modified time | relevance | path

Searched refs:rgba (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/media/mca/filterfw/jni/
Djni_native_frame.cpp32 uint8_t rgba[4]; member
190 *(dst_ptr++) = (pixel.rgba[0] + pixel.rgba[1] + pixel.rgba[2]) / 3; in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
197 *(dst_ptr++) = pixel.rgba[0]; in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
198 *(dst_ptr++) = pixel.rgba[1]; in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
199 *(dst_ptr++) = pixel.rgba[2]; in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
239 dst_ptr->rgba[0] = dst_ptr->rgba[1] = dst_ptr->rgba[2] = value; in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
240 dst_ptr->rgba[3] = 255; in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
247 dst_ptr->rgba[0] = *(src_ptr++); in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
248 dst_ptr->rgba[1] = *(src_ptr++); in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
249 dst_ptr->rgba[2] = *(src_ptr++); in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
[all …]
Djni_gl_frame.cpp37 void ConvertRGBAToFloats(const uint8_t* rgba, int length, float* result) { in ConvertRGBAToFloats() argument
39 result[i] = rgba[i] / 255.0; in ConvertRGBAToFloats()
/frameworks/base/media/mca/filterpacks/native/imageproc/
Dbrightness.c31 char rgba[4]; member
86 const short r = (pixel.rgba[0] * factor) / 255; in brightness_process()
87 const short g = (pixel.rgba[1] * factor) / 255; in brightness_process()
88 const short b = (pixel.rgba[2] * factor) / 255; in brightness_process()
93 | (pixel.rgba[3] << 24); in brightness_process()
/frameworks/av/media/libstagefright/timedtext/
DTextDescriptions.cpp151 uint32_t rgba = *(tmpData + 8) << 24 | *(tmpData + 9) << 16 in extract3GPPLocalDescriptions() local
153 parcel->writeInt32(rgba); in extract3GPPLocalDescriptions()
228 uint32_t rgba = *(tmpData) << 24 | *(tmpData + 1) << 16 in extract3GPPLocalDescriptions() local
230 parcel->writeInt32(rgba); in extract3GPPLocalDescriptions()
405 uint32_t rgba = *(tmpData + 6) << 24 | *(tmpData + 7) << 16 in extract3GPPGlobalDescriptions() local
407 parcel->writeInt32(rgba); in extract3GPPGlobalDescriptions()
444 rgba = *(tmpData + 8) << 24 | *(tmpData + 9) << 16 in extract3GPPGlobalDescriptions()
446 parcel->writeInt32(rgba); in extract3GPPGlobalDescriptions()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dblend.rs21 v_out->rgba = convert_uchar4((convert_uint4(v_out->rgba) * alpha) >> (uint4)8);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dblend.rs22 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dblend.rs22 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8);
/frameworks/rs/rsov/compiler/tests/image/
Dblend.rs23 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8);
/frameworks/rs/rsov/compiler/tests/multi_function/
Dblend_mf.rs34 out.rgba = twice(convert_uchar4((convert_uint4(in.rgba) * 37) >> (uint4)8));
/frameworks/native/opengl/libagl/
Dmipmap.cpp120 uint32_t rgba = (rb & 0x00FF00FF) | ((ga & 0x00FF00FF)<<8); in buildAPyramid() local
121 dst[x + y*stride] = rgba; in buildAPyramid()
171 uint32_t rgba = (rbga & 0x0F0F) | ((rbga>>12) & 0xF0F0); in buildAPyramid() local
172 dst[x + y*stride] = rgba; in buildAPyramid()
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
Dyuv.rs86 out->rgba = p;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java512 public void setClearColor(float[] rgba) { in setClearColor() argument
513 mClearColor = rgba; in setClearColor()
/frameworks/ex/framesequence/jni/
DFrameSequence_webp.cpp237 mDecoderConfig.output.u.RGBA.rgba = (uint8_t*)dst; in decodeFrame()
/frameworks/rs/script_api/include/
Drs_value_types.rsh77 * v3 = v3.xas0; // Invalid: can't mix xyzw with rgba nor s0...