Lines Matching defs:width
910 tx_compress_dxt1(int srccomps, int width, int height,
922 int dstRowDiff = dstRowStride >= (width * 2) ?
923 dstRowStride - (((width + 3) & ~3) * 2) : 0;
924 /* fprintf(stderr, "dxt1 tex width %d tex height %d dstRowStride %d\n",
925 width, height, dstRowStride); */
929 srcaddr = srcPixData + j * width * srccomps;
930 for (int i = 0; i < width; i += 4) {
931 if (width > i + 3) numxpixels = 4;
932 else numxpixels = width - i;
933 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps);
943 tx_compress_dxt3(int srccomps, int width, int height,
952 int dstRowDiff = dstRowStride >= (width * 4) ?
953 dstRowStride - (((width + 3) & ~3) * 4) : 0;
954 /* fprintf(stderr, "dxt3 tex width %d tex height %d dstRowStride %d\n",
955 width, height, dstRowStride); */
959 srcaddr = srcPixData + j * width * srccomps;
960 for (int i = 0; i < width; i += 4) {
961 if (width > i + 3) numxpixels = 4;
962 else numxpixels = width - i;
963 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps);
981 tx_compress_dxt5(int srccomps, int width, int height,
990 int dstRowDiff = dstRowStride >= (width * 4) ?
991 dstRowStride - (((width + 3) & ~3) * 4) : 0;
992 /* fprintf(stderr, "dxt5 tex width %d tex height %d dstRowStride %d\n",
993 width, height, dstRowStride); */
997 srcaddr = srcPixData + j * width * srccomps;
998 for (int i = 0; i < width; i += 4) {
999 if (width > i + 3) numxpixels = 4;
1000 else numxpixels = width - i;
1001 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps);
1012 tx_compress_dxtn(GLint srccomps, GLint width, GLint height,
1018 tx_compress_dxt1(srccomps, width, height, srcPixData,
1022 tx_compress_dxt1(srccomps, width, height, srcPixData,
1026 tx_compress_dxt3(srccomps, width, height, srcPixData,
1030 tx_compress_dxt5(srccomps, width, height, srcPixData,