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

  /external/skia/src/codec/
SkBmpStandardCodec.cpp 66 uint32_t colorBytes = 0;
76 colorBytes = numColorsToRead * fBytesPerColor;
77 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]);
78 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) {
128 if(fOffset < colorBytes) {
139 if (stream()->skip(fOffset - colorBytes) != fOffset - colorBytes) {
SkBmpRLECodec.cpp 67 uint32_t colorBytes = 0;
77 colorBytes = numColorsToRead * fBytesPerColor;
78 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]);
79 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) {
106 if(fOffset < colorBytes) {
117 if (stream()->skip(fOffset - colorBytes) != fOffset - colorBytes) {
SkJpegCodec.cpp 313 const size_t colorBytes = (dinfo->out_color_space == JCS_RGB565) ? 2 :
315 return dinfo->output_width * colorBytes;
    [all...]
  /external/skqp/src/codec/
SkBmpStandardCodec.cpp 66 uint32_t colorBytes = 0;
76 colorBytes = numColorsToRead * fBytesPerColor;
77 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]);
78 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) {
128 if(fOffset < colorBytes) {
139 if (stream()->skip(fOffset - colorBytes) != fOffset - colorBytes) {
SkBmpRLECodec.cpp 67 uint32_t colorBytes = 0;
77 colorBytes = numColorsToRead * fBytesPerColor;
78 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]);
79 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) {
106 if(fOffset < colorBytes) {
117 if (stream()->skip(fOffset - colorBytes) != fOffset - colorBytes) {
SkJpegCodec.cpp 312 const size_t colorBytes = (dinfo->out_color_space == JCS_RGB565) ? 2 :
314 return dinfo->output_width * colorBytes;
    [all...]
  /external/skia/src/gpu/
GrSurface.cpp 39 size_t colorBytes = (size_t) width * height * GrBytesPerPixel(desc.fConfig);
43 //SkASSERT(colorBytes > 0);
45 size = colorValuesPerPixel * colorBytes;
46 size += colorBytes/3; // in case we have to mipmap
  /external/skqp/src/gpu/
GrSurface.cpp 39 size_t colorBytes = (size_t) width * height * GrBytesPerPixel(desc.fConfig);
43 //SkASSERT(colorBytes > 0);
45 size = colorValuesPerPixel * colorBytes;
46 size += colorBytes/3; // in case we have to mipmap

Completed in 256 milliseconds