Searched refs:ALIGN2 (Results 1 – 4 of 4) sorted by relevance
504 mStride = ALIGN2(mWidth); in initDecoder()667 if (mOutBlock && (mOutBlock->width() != ALIGN2(mWidth) || in ensureDecoderState()675 c2_status_t err = pool->fetchGraphicBlock(ALIGN2(mWidth), mHeight, in ensureDecoderState()689 mOutBlock->height(), ALIGN2(mWidth), mHeight); in ensureDecoderState()
32 #define ALIGN2(x) ((((x) + 1) >> 1) << 1) macro
558 mStride = ALIGN2(mWidth); in initDecoder()721 if (mOutBlock && (mOutBlock->width() != ALIGN2(mWidth) || in ensureDecoderState()729 c2_status_t err = pool->fetchGraphicBlock(ALIGN2(mWidth), mHeight, in ensureDecoderState()743 mOutBlock->height(), ALIGN2(mWidth), mHeight); in ensureDecoderState()