Lines Matching refs:currentComponent
473 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()
528 if (currentComponent == ',') { // image separator. in parse()
545 const unsigned char* currentComponent = in parse() local
548 size_t bytesInBlock = currentComponent[1]; in parse()
551 switch (*currentComponent) { in parse()
588 const unsigned char currentComponent = this->getOneByte(); in parse() local
589 if (!currentComponent) in parse()
592 GETN(currentComponent, SkGIFSkipBlock); in parse()
602 const unsigned char* currentComponent = in parse() local
607 if (*currentComponent & 0x1) in parse()
608 currentFrame->setTransparentPixel(currentComponent[3]); in parse()
614 int rawDisposalMethod = ((*currentComponent) >> 2) & 0x7; in parse()
631 currentFrame->setDuration(GETINT16(currentComponent + 1) * 10); in parse()
637 const unsigned char currentComponent = this->getOneByte(); in parse() local
638 if (currentComponent) in parse()
639 GETN(currentComponent, SkGIFConsumeComment); in parse()
653 const unsigned char* currentComponent = in parse() local
656 … if (!memcmp(currentComponent, "NETSCAPE2.0", 11) || !memcmp(currentComponent, "ANIMEXTS1.0", 11)) in parse()
667 const int currentComponent = this->getOneByte(); in parse() local
669 if (currentComponent) in parse()
670 GETN(std::max(3, currentComponent), SkGIFConsumeNetscapeExtension); in parse()
678 const unsigned char* currentComponent = in parse() local
681 int netscapeExtension = currentComponent[0] & 7; in parse()
685 m_loopCount = GETINT16(currentComponent + 1); in parse()
715 const unsigned char* currentComponent = in parse() local
719 xOffset = GETINT16(currentComponent); in parse()
720 yOffset = GETINT16(currentComponent + 2); in parse()
723 width = GETINT16(currentComponent + 4); in parse()
724 height = GETINT16(currentComponent + 6); in parse()
760 const bool isLocalColormapDefined = SkToBool(currentComponent[8] & 0x80); in parse()
762 const int numColors = 2 << (currentComponent[8] & 0x7); in parse()
789 currentFrame->setInterlaced(SkToBool(currentComponent[8] & 0x40)); in parse()