Lines Matching refs:gcb
35 static long getDelayMs(GraphicsControlBlock& gcb) {
36 return gcb.DelayTime * 10;
39 static bool willBeCleared(const GraphicsControlBlock& gcb) {
40 return gcb.DisposalMode == DISPOSE_BACKGROUND || gcb.DisposalMode == DISPOSE_PREVIOUS;
67 GraphicsControlBlock gcb;
87 DGifSavedExtensionToGCB(mGif, i, &gcb);
90 durationMs += getDelayMs(gcb);
95 if (gcb.DisposalMode == DISPOSE_PREVIOUS && lastUnclearedFrame >= 0) {
99 if (!willBeCleared(gcb)) {
108 DGifSavedExtensionToGCB(mGif, i, &gcb);
110 i, mPreservedFrames[i], mRestoringFrames[i], gcb.TransparentColor);
116 GraphicsControlBlock gcb;
117 DGifSavedExtensionToGCB(mGif, 0, &gcb);
118 if (gcb.TransparentColor == NO_TRANSPARENT_COLOR) {
234 GraphicsControlBlock gcb;
250 DGifSavedExtensionToGCB(gif, i, &gcb);
254 bool frameOpaque = gcb.TransparentColor == NO_TRANSPARENT_COLOR;
256 frameNr, i, frameOpaque, gcb.DisposalMode, gcb.DelayTime);
272 bool newFrameOpaque = gcb.TransparentColor == NO_TRANSPARENT_COLOR;
302 bool willBeCleared = gcb.DisposalMode == DISPOSE_BACKGROUND
303 || gcb.DisposalMode == DISPOSE_PREVIOUS;
320 copyLine(dst, src, cmap, gcb.TransparentColor, copyWidth);
330 DGifSavedExtensionToGCB(gif, lastFrame, &gcb);
331 return getDelayMs(gcb);