Home | History | Annotate | Download | only in etc1tool

Lines Matching full:width

25 int writePNGFile(const char* pOutput, png_uint_32 width, png_uint_32 height,
143 png_uint_32 width = 0;
196 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth,
200 stride = 3 * width;
212 *pWidth = width;
242 png_uint_32 width = 0;
264 width = etc1_pkm_get_width(header);
266 encodedSize = etc1_get_encoded_data_size(width, height);
283 stride = width * 3;
290 etc1_decode_image(pEncodedData, pImageData, width, height, 3, stride);
296 *pWidth = width;
315 etc1_uint32 width = 0;
323 if (read_PNG_File(pInput, &pSourceImage, &width, &height)) {
327 encodedSize = etc1_get_encoded_data_size(width, height);
335 width, height, 3, width * 3, pEncodedData);
344 etc1_pkm_format_header(header, width, height);
369 if (outWidth != width || outHeight != height) {
371 outWidth, outHeight, width, height);
376 etc1_uint32 size = width * height * 3;
405 int writePNGFile(const char* pOutput, png_uint_32 width, png_uint_32 height,
430 png_set_IHDR(png_ptr, info_ptr, width, height, 8, PNG_COLOR_TYPE_RGB,
456 etc1_uint32 width = 0;
459 if (readPKMFile(pInput, &pImageData, &width, &height)) {
463 if (writePNGFile(pOutput, width, height, pImageData, width * 3)) {