Lines Matching refs:offset
618 u32 offset; in CreateSampleImgTexture() local
624 offset = 0; in CreateSampleImgTexture()
660 c += srcdata[offset]; in CreateSampleImgTexture()
661 ++offset; in CreateSampleImgTexture()
674 c = srcdata[offset]; in CreateSampleImgTexture()
678 ++offset; in CreateSampleImgTexture()
689 c = srcdata[offset]; in CreateSampleImgTexture()
693 ++offset; in CreateSampleImgTexture()
841 u32 i, offset, ciSize; in LoadColorMap() local
845 offset = 0; in LoadColorMap()
887 cmo->tlutBuffer[offset] = (u16)data; in LoadColorMap()
888 ++offset; in LoadColorMap()
889 if ( offset >= ciSize ) in LoadColorMap()
934 u32 xp, xb, yp, yb, aw, offset; in PlotOnTexture() local
952 offset = ( yb * aw + xb ) * 32 + ( yp * 4 + xp / 2 ); in PlotOnTexture()
956 u8 m = (u8)( *(to->data + offset) & 0x0F ); in PlotOnTexture()
957 *(to->data + offset) = (u8)( m | ( d * 0x10) ); in PlotOnTexture()
961 u8 m = (u8)( *(to->data + offset) & 0xF0 ); in PlotOnTexture()
962 *(to->data + offset) = (u8)( m | d ); in PlotOnTexture()
975 offset = ( yb * aw + xb ) * 32 + ( yp * 8 + xp ); in PlotOnTexture()
976 *(to->data + offset) = d; in PlotOnTexture()
987 offset = ( yb * aw + xb ) * 32 + ( yp * 4 + xp ) * 2; in PlotOnTexture()
988 *(u16*)(to->data + offset) = d; in PlotOnTexture()