tools/jni/org/jpeg/jpegxl/wrapper/Status.java
raw| 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. |
| 2 | // |
| 3 | // Use of this source code is governed by a BSD-style |
| 4 | // license that can be found in the LICENSE file. |
| 5 | |
| 6 | package org.jpeg.jpegxl.wrapper; |
| 7 | |
| 8 | public enum Status { |
| 9 | /** Operation was successful. */ |
| 10 | OK, |
| 11 | |
| 12 | /** So far stream was valid, but incomplete. */ |
| 13 | NOT_ENOUGH_INPUT, |
| 14 | |
| 15 | /** Stream is corrupted. */ |
| 16 | INVALID_STREAM |
| 17 | } |