Home
last modified time | relevance | path

Searched refs:bytesPerColor (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/codec/
DSkBmpCodec.cpp180 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()
DSkBmpStandardCodec.h41 uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
DSkBmpStandardCodec.cpp19 uint32_t bytesPerColor, uint32_t offset, in SkBmpStandardCodec() argument
25 , fBytesPerColor(bytesPerColor) in SkBmpStandardCodec()
DSkBmpRLECodec.h39 uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
DSkBmpRLECodec.cpp19 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/
DHeightField.java350 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];