Lines Matching refs:width

84 static void TCSetLayerDimensions( TCLayer* ly, u32 width, u32 height ); 
98 void TCSetLayerAttributes ( TCLayer* ly, u32 type, u32 width, u32 height ) in TCSetLayerAttributes() argument
101 TCAssertMsg( (width <= 1024), "TCSetLayerAttributes: layer width exceeds 1024 texels\n" ); in TCSetLayerAttributes()
112 TCSetLayerDimensions(ly, width, height); in TCSetLayerAttributes()
130 TCAssertMsg( (ly->width ), "TCSetLayerBuffer: layer width is not set\n" ); in TCSetLayerBuffer()
142 size = ( ly->width * ly->height * 3 ); in TCSetLayerBuffer()
146 size = ( ly->width * ly->height * 2 ); in TCSetLayerBuffer()
150 size = ( ly->width * ly->height ); in TCSetLayerBuffer()
158 size = ( ( ly->width * ly->height * 4 ) >> 3 ); in TCSetLayerBuffer()
192 TCAssertMsg( (ly->width ), "TCSetLayerValue: layer width is not set\n" ); in TCSetLayerValue()
201 offset = ( (y * ly->width) + x ) * 3; in TCSetLayerValue()
210 offset = ((y * ly->width) + x) * 2; // offset in bytes in TCSetLayerValue()
216 offset = (y * ly->width) + x; in TCSetLayerValue()
244 TCAssertMsg( (ly->width ), "TCGetLayerValue: layer width is not set\n" ); in TCGetLayerValue()
254 offset = ( (y * ly->width) + x ) * 3; in TCGetLayerValue()
269 offset = ((y * ly->width) + x) * 2; // offset in bytes in TCGetLayerValue()
275 offset = (y * ly->width) + x; in TCGetLayerValue()
306 newLy->width = dfPtr->lyColor->width; in TCMakeImColorLayer()
315 for( col = 0; col < newLy->width; col++ ) in TCMakeImColorLayer()
335 newLy->width = dfPtr->lyAlpha->width; in TCMakeImAlphaLayer()
344 for( col = 0; col < newLy->width; col++ ) in TCMakeImAlphaLayer()
371 …TCSetLayerAttributes( &lyColor, LY_IMAGE_COLOR_RGB24, imPtr->lyColor.width, imPtr->lyColor.height … in TCConvertCI_To_RGB()
378 for( col = 0; col < imPtr->lyColor.width; col++ ) in TCConvertCI_To_RGB()
419 static void TCSetLayerDimensions( TCLayer* ly, u32 width, u32 height ) in TCSetLayerDimensions() argument
424 if( (width == 0) || (width > 1024) ) in TCSetLayerDimensions()
430 ly->width = width; in TCSetLayerDimensions()
445 dst->width = src->width; in TCCopyLayer()