Home
last modified time | relevance | path

Searched refs:currentComponent (Results 1 – 2 of 2) sorted by relevance

/external/skia/third_party/gif/
DSkGifImageReader.cpp473 const char* currentComponent = m_streamBuffer.get(); in parse() local
476 if (!memcmp(currentComponent, "GIF89a", 6)) in parse()
478 else if (!memcmp(currentComponent, "GIF87a", 6)) in parse()
490 const unsigned char* currentComponent = in parse() local
499 fScreenWidth = GETINT16(currentComponent); in parse()
500 fScreenHeight = GETINT16(currentComponent + 2); in parse()
502 const int globalColorMapColors = 2 << (currentComponent[4] & 0x07); in parse()
504 if ((currentComponent[4] & 0x80) && globalColorMapColors > 0) { /* global map */ in parse()
521 const char currentComponent = m_streamBuffer.get()[0]; in parse() local
523 if (currentComponent == '!') { // extension. in parse()
[all …]
/external/skqp/third_party/gif/
DSkGifImageReader.cpp473 const char* currentComponent = m_streamBuffer.get(); in parse() local
476 if (!memcmp(currentComponent, "GIF89a", 6)) in parse()
478 else if (!memcmp(currentComponent, "GIF87a", 6)) in parse()
490 const unsigned char* currentComponent = in parse() local
499 fScreenWidth = GETINT16(currentComponent); in parse()
500 fScreenHeight = GETINT16(currentComponent + 2); in parse()
502 const int globalColorMapColors = 2 << (currentComponent[4] & 0x07); in parse()
504 if ((currentComponent[4] & 0x80) && globalColorMapColors > 0) { /* global map */ in parse()
521 const char currentComponent = m_streamBuffer.get()[0]; in parse() local
523 if (currentComponent == '!') { // extension. in parse()
[all …]