HomeSort by relevance Sort by last modified time
    Searched refs:rgb565 (Results 1 - 3 of 3) sorted by null

  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/
RGB565.java 39 public class RGB565 {
54 public static int RGB565_to_ARGB8(short rgb565){
56 int r = (rgb565 & 0xf800) >> 11;
57 int g = (rgb565 & 0x07e0) >> 5;
58 int b = (rgb565 & 0x001f);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
TextureBlenderDDS.java 8 import jme3tools.converters.RGB565;
58 int col0 = RGB565.RGB565_to_ARGB8(data.getShort());
59 int col1 = RGB565.RGB565_to_ARGB8(data.getShort());
79 short rgb565 = RGB565.ARGB8_to_RGB565(argb8); local
80 newData.putShort(dataIndex, rgb565);
  /development/tools/emulator/system/camera/
Converters.h 45 * RGB565 color masks
81 /* Extract red, green, and blue bytes from RGB565 word. */
85 /* Make 8 bits red, green, and blue, extracted from RGB565 word. */
93 /* Build RGB565 word from red, green, and blue bytes. */
94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r)
98 /* Extract red, green, and blue bytes from RGB565 word. */
102 /* Make 8 bits red, green, and blue, extracted from RGB565 word. */
110 /* Build RGB565 word from red, green, and blue bytes. */
111 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(r) << 6) | g) << 5) | b)
160 /* Converts RGB565 color to YUV. *
    [all...]

Completed in 202 milliseconds