Searched refs:kiOldSize (Results 1 – 1 of 1) sorted by relevance
107 …tic int32_t IncreasePicBuff (PWelsDecoderContext pCtx, PPicBuff* ppPicBuf, const int32_t kiOldSize, in IncreasePicBuff() argument112 if (kiOldSize <= 0 || kiNewSize <= 0 || kiPicWidth <= 0 || kiPicHeight <= 0) { in IncreasePicBuff()132 for (iPicIdx = kiOldSize; iPicIdx < kiNewSize; ++ iPicIdx) { in IncreasePicBuff()144 memcpy (pPicNewBuf->ppPic, pPicOldBuf->ppPic, kiOldSize * sizeof (PPicture)); in IncreasePicBuff()169 …tic int32_t DecreasePicBuff (PWelsDecoderContext pCtx, PPicBuff* ppPicBuf, const int32_t kiOldSize, in DecreasePicBuff() argument174 if (kiOldSize <= 0 || kiNewSize <= 0 || kiPicWidth <= 0 || kiPicHeight <= 0) { in DecreasePicBuff()197 for (iPrevPicIdx = 0; iPrevPicIdx < kiOldSize; ++iPrevPicIdx) { in DecreasePicBuff()203 if (iPrevPicIdx < kiOldSize && iPrevPicIdx >= kiNewSize) { in DecreasePicBuff()226 for (iPicIdx = iDelIdx; iPicIdx < kiOldSize; iPicIdx++) { in DecreasePicBuff()