Lines Matching refs:bytesPerPixel
458 size_t byteLength = width * height * bytesPerPixel(type, format); in NATIVE_METHOD()
653 flipPixels(vec.data(), width * bytesPerPixel(type, format), height);
662 flipPixels(image.get(), width * bytesPerPixel(type, format), height);
676 flipPixels(image.get(), width * bytesPerPixel(type, format), height);
700 auto empty = std::make_unique<uint8_t>(width * height * bytesPerPixel(type, format)); in __anon33f747aa2602()
701 std::memset(empty.get(), 0, width * height * bytesPerPixel(type, format)); in __anon33f747aa2602()
712 flipPixels(vec.data(), width * bytesPerPixel(type, format), height);
720 flipPixels(image.get(), width * bytesPerPixel(type, format), height);
733 flipPixels(image.get(), width * bytesPerPixel(type, format), height);
780 flipPixels(texelLayer, width * bytesPerPixel(type, format), height); in NATIVE_METHOD()
781 texelLayer += bytesPerPixel(type, format) * width * height; in NATIVE_METHOD()
822 auto empty = std::make_unique<uint8_t>(width * height * depth * bytesPerPixel(type, format)); in NATIVE_METHOD()
823 std::memset(empty.get(), 0, width * height * depth * bytesPerPixel(type, format)); in NATIVE_METHOD()
834 flipPixels(texelLayer, width * bytesPerPixel(type, format), height); in NATIVE_METHOD()
835 texelLayer += bytesPerPixel(type, format) * width * height; in NATIVE_METHOD()