Searched refs:rgba (Results 1 – 13 of 13) sorted by relevance
32 uint8_t rgba[4]; member190 *(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 …]
37 void ConvertRGBAToFloats(const uint8_t* rgba, int length, float* result) { in ConvertRGBAToFloats() argument39 result[i] = rgba[i] / 255.0; in ConvertRGBAToFloats()
31 char rgba[4]; member86 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()
151 uint32_t rgba = *(tmpData + 8) << 24 | *(tmpData + 9) << 16 in extract3GPPLocalDescriptions() local153 parcel->writeInt32(rgba); in extract3GPPLocalDescriptions()228 uint32_t rgba = *(tmpData) << 24 | *(tmpData + 1) << 16 in extract3GPPLocalDescriptions() local230 parcel->writeInt32(rgba); in extract3GPPLocalDescriptions()405 uint32_t rgba = *(tmpData + 6) << 24 | *(tmpData + 7) << 16 in extract3GPPGlobalDescriptions() local407 parcel->writeInt32(rgba); in extract3GPPGlobalDescriptions()444 rgba = *(tmpData + 8) << 24 | *(tmpData + 9) << 16 in extract3GPPGlobalDescriptions()446 parcel->writeInt32(rgba); in extract3GPPGlobalDescriptions()
21 v_out->rgba = convert_uchar4((convert_uint4(v_out->rgba) * alpha) >> (uint4)8);
22 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8);
120 uint32_t rgba = (rb & 0x00FF00FF) | ((ga & 0x00FF00FF)<<8); in buildAPyramid() local121 dst[x + y*stride] = rgba; in buildAPyramid()171 uint32_t rgba = (rbga & 0x0F0F) | ((rbga>>12) & 0xF0F0); in buildAPyramid() local172 dst[x + y*stride] = rgba; in buildAPyramid()
1896 long rgba = nativeGetColor(mNativePtr, x, y); in getColor() local1897 float r = Half.toFloat((short) ((rgba >> 0) & 0xffff)); in getColor()1898 float g = Half.toFloat((short) ((rgba >> 16) & 0xffff)); in getColor()1899 float b = Half.toFloat((short) ((rgba >> 32) & 0xffff)); in getColor()1900 float a = Half.toFloat((short) ((rgba >> 48) & 0xffff)); in getColor()
86 out->rgba = p;
512 public void setClearColor(float[] rgba) { in setClearColor() argument513 mClearColor = rgba; in setClearColor()
237 mDecoderConfig.output.u.RGBA.rgba = (uint8_t*)dst; in decodeFrame()
77 * v3 = v3.xas0; // Invalid: can't mix xyzw with rgba nor s0...