Lines Matching refs:ImageDesc
129 int copyHeight, const GifImageDesc& imageDesc, int rowStep,
135 uint32_t* dst = bm->getAddr32(imageDesc.Left, imageDesc.Top + row);
137 src += imageDesc.Width;
141 src += imageDesc.Width * ((imageDesc.Height - row + rowStep - 1) / rowStep);
149 GifWord copyWidth = frame->ImageDesc.Width;
150 if (frame->ImageDesc.Left + copyWidth > width) {
151 copyWidth = width - frame->ImageDesc.Left;
154 GifWord copyHeight = frame->ImageDesc.Height;
155 if (frame->ImageDesc.Top + copyHeight > height) {
156 copyHeight = height - frame->ImageDesc.Top;
163 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 0);
166 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 4);
169 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 4, 2);
171 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 2, 1);
181 uint32_t* dst = bm->getAddr32(frame->ImageDesc.Left, frame->ImageDesc.Top);
182 GifWord copyWidth = frame->ImageDesc.Width;
183 if (frame->ImageDesc.Left + copyWidth > width) {
184 copyWidth = width - frame->ImageDesc.Left;
187 GifWord copyHeight = frame->ImageDesc.Height;
188 if (frame->ImageDesc.Top + copyHeight > height) {
189 copyHeight = height - frame->ImageDesc.Top;
194 src += frame->ImageDesc.Width;
236 if (frame->ImageDesc.ColorMap != NULL) {
238 cmap = frame->ImageDesc.ColorMap;
248 if (frame->ImageDesc.Interlace) {
290 if (target->ImageDesc.Left <= covered->ImageDesc.Left
291 && covered->ImageDesc.Left + covered->ImageDesc.Width <=
292 target->ImageDesc.Left + target->ImageDesc.Width
293 && target->ImageDesc.Top <= covered->ImageDesc.Top
294 && covered->ImageDesc.Top + covered->ImageDesc.Height <=
295 target->ImageDesc.Top + target->ImageDesc.Height) {
318 fillRect(bm, cur->ImageDesc.Left, cur->ImageDesc.Top,
319 cur->ImageDesc.Width, cur->ImageDesc.Height,