• Home
  • Raw
  • Download

Lines Matching refs:currentComponent

503             const char* currentComponent = m_streamBuffer.get();  in parse()  local
506 if (!memcmp(currentComponent, "GIF89a", 6)) in parse()
508 else if (!memcmp(currentComponent, "GIF87a", 6)) in parse()
520 const unsigned char* currentComponent = in parse() local
529 fScreenWidth = GETINT16(currentComponent); in parse()
530 fScreenHeight = GETINT16(currentComponent + 2); in parse()
532 const int globalColorMapColors = 2 << (currentComponent[4] & 0x07); in parse()
534 if ((currentComponent[4] & 0x80) && globalColorMapColors > 0) { /* global map */ in parse()
551 const char currentComponent = m_streamBuffer.get()[0]; in parse() local
553 if (currentComponent == '!') { // extension. in parse()
558 if (currentComponent == ',') { // image separator. in parse()
575 const unsigned char* currentComponent = in parse() local
578 size_t bytesInBlock = currentComponent[1]; in parse()
581 switch (*currentComponent) { in parse()
618 const unsigned char currentComponent = this->getOneByte(); in parse() local
619 if (!currentComponent) in parse()
622 GETN(currentComponent, SkGIFSkipBlock); in parse()
632 const unsigned char* currentComponent = in parse() local
637 if (*currentComponent & 0x1) in parse()
638 currentFrame->setTransparentPixel(currentComponent[3]); in parse()
644 int rawDisposalMethod = ((*currentComponent) >> 2) & 0x7; in parse()
661 currentFrame->setDuration(GETINT16(currentComponent + 1) * 10); in parse()
667 const unsigned char currentComponent = this->getOneByte(); in parse() local
668 if (currentComponent) in parse()
669 GETN(currentComponent, SkGIFConsumeComment); in parse()
683 const unsigned char* currentComponent = in parse() local
686 … if (!memcmp(currentComponent, "NETSCAPE2.0", 11) || !memcmp(currentComponent, "ANIMEXTS1.0", 11)) in parse()
697 const int currentComponent = this->getOneByte(); in parse() local
699 if (currentComponent) in parse()
700 GETN(std::max(3, currentComponent), SkGIFConsumeNetscapeExtension); in parse()
708 const unsigned char* currentComponent = in parse() local
711 int netscapeExtension = currentComponent[0] & 7; in parse()
715 m_loopCount = GETINT16(currentComponent + 1); in parse()
745 const unsigned char* currentComponent = in parse() local
749 xOffset = GETINT16(currentComponent); in parse()
750 yOffset = GETINT16(currentComponent + 2); in parse()
753 width = GETINT16(currentComponent + 4); in parse()
754 height = GETINT16(currentComponent + 6); in parse()
790 const bool isLocalColormapDefined = SkToBool(currentComponent[8] & 0x80); in parse()
792 const int numColors = 2 << (currentComponent[8] & 0x7); in parse()
819 currentFrame->setInterlaced(SkToBool(currentComponent[8] & 0x40)); in parse()