Lines Matching refs:bytesPerPixel
451 size_t byteLength = width * height * bytesPerPixel(type, format); in NATIVE_METHOD()
646 flipPixels(vec.data(), width * bytesPerPixel(type, format), height);
655 flipPixels(image.get(), width * bytesPerPixel(type, format), height);
669 flipPixels(image.get(), width * bytesPerPixel(type, format), height);
693 auto empty = std::make_unique<uint8_t>(width * height * bytesPerPixel(type, format)); in __anon176ab9392502()
694 std::memset(empty.get(), 0, width * height * bytesPerPixel(type, format)); in __anon176ab9392502()
705 flipPixels(vec.data(), width * bytesPerPixel(type, format), height);
713 flipPixels(image.get(), width * bytesPerPixel(type, format), height);
726 flipPixels(image.get(), width * bytesPerPixel(type, format), height);
773 flipPixels(texelLayer, width * bytesPerPixel(type, format), height); in NATIVE_METHOD()
774 texelLayer += bytesPerPixel(type, format) * width * height; in NATIVE_METHOD()
815 auto empty = std::make_unique<uint8_t>(width * height * depth * bytesPerPixel(type, format)); in NATIVE_METHOD()
816 std::memset(empty.get(), 0, width * height * depth * bytesPerPixel(type, format)); in NATIVE_METHOD()
827 flipPixels(texelLayer, width * bytesPerPixel(type, format), height); in NATIVE_METHOD()
828 texelLayer += bytesPerPixel(type, format) * width * height; in NATIVE_METHOD()