Home
last modified time | relevance | path

Searched refs:srccomps (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h910 tx_compress_dxt1(int srccomps, int width, int height, in tx_compress_dxt1() argument
929 srcaddr = srcPixData + j * width * srccomps; in tx_compress_dxt1()
933 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps); in tx_compress_dxt1()
935 srcaddr += srccomps * numxpixels; in tx_compress_dxt1()
943 tx_compress_dxt3(int srccomps, int width, int height, in tx_compress_dxt3() argument
959 srcaddr = srcPixData + j * width * srccomps; in tx_compress_dxt3()
963 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps); in tx_compress_dxt3()
973 srcaddr += srccomps * numxpixels; in tx_compress_dxt3()
981 tx_compress_dxt5(int srccomps, int width, int height, in tx_compress_dxt5() argument
997 srcaddr = srcPixData + j * width * srccomps; in tx_compress_dxt5()
[all …]
Dtexcompress_s3tc.c54 int srccomps = srcFormat == GL_RGB ? 3 : 4; in _mesa_texstore_rgb_dxt1() local
62 …_mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) != srccomps * srcWidth * sizeof(G… in _mesa_texstore_rgb_dxt1()
81 srccomps = 3; in _mesa_texstore_rgb_dxt1()
90 tx_compress_dxt1(srccomps, srcWidth, srcHeight, pixels, in _mesa_texstore_rgb_dxt1()