Home
last modified time | relevance | path

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

/frameworks/ex/framesequence/jni/
DFrameSequence_gif.cpp165 static void getCopySize(const GifImageDesc& imageDesc, int maxWidth, int maxHeight, in getCopySize() argument
167 copyWidth = imageDesc.Width; in getCopySize()
168 if (imageDesc.Left + copyWidth > maxWidth) { in getCopySize()
169 copyWidth = maxWidth - imageDesc.Left; in getCopySize()
171 copyHeight = imageDesc.Height; in getCopySize()
172 if (imageDesc.Top + copyHeight > maxHeight) { in getCopySize()
173 copyHeight = maxHeight - imageDesc.Top; in getCopySize()
/frameworks/base/libs/hwui/jni/
DGIFMovie.cpp134 int copyHeight, const GifImageDesc& imageDesc, int rowStep, in copyInterlaceGroup() argument
140 uint32_t* dst = bm->getAddr32(imageDesc.Left, imageDesc.Top + row); in copyInterlaceGroup()
142 src += imageDesc.Width; in copyInterlaceGroup()
146 src += imageDesc.Width * ((imageDesc.Height - row + rowStep - 1) / rowStep); in copyInterlaceGroup()