Searched refs:bytesPerColor (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/codec/ |
D | SkBmpCodec.cpp | 180 uint32_t bytesPerColor; in ReadHeader() local 247 bytesPerColor = 4; in ReadHeader() 254 bytesPerColor = 3; in ReadHeader() 503 bytesPerColor, offset - bytesRead, rowOrder, isOpaque, inIco); in ReadHeader() 522 bytesPerColor, offset - bytesRead, rowOrder, RLEBytes); in ReadHeader()
|
D | SkBmpStandardCodec.h | 41 uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
|
D | SkBmpStandardCodec.cpp | 19 uint32_t bytesPerColor, uint32_t offset, in SkBmpStandardCodec() argument 25 , fBytesPerColor(bytesPerColor) in SkBmpStandardCodec()
|
D | SkBmpRLECodec.h | 39 uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
|
D | SkBmpRLECodec.cpp | 19 uint32_t bytesPerColor, uint32_t offset, in SkBmpRLECodec() argument 25 , fBytesPerColor(bytesPerColor) in SkBmpRLECodec()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
D | HeightField.java | 350 final int bytesPerColor = (format == Format.RGB888 ? 3 : (format == Format.RGBA8888 ? 4 : 0)); 351 …if (bytesPerColor == 0) throw new GdxRuntimeException("Unsupported format, should be either RGB8 o… 352 …if (data.remaining() < (width * height * bytesPerColor)) throw new GdxRuntimeException("Incorrect … 361 source = new byte[width * height * bytesPerColor]; 368 int v = source[sourceOffset + i * bytesPerColor];
|