| 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 |
#ifndef LIB_JXL_JPEG_DEC_JPEG_DATA_H_ |
| 7 |
#define LIB_JXL_JPEG_DEC_JPEG_DATA_H_ |
| 8 |
|
| 9 |
#include "lib/jxl/base/span.h" |
| 10 |
#include "lib/jxl/base/status.h" |
| 11 |
#include "lib/jxl/jpeg/jpeg_data.h" |
| 12 |
|
| 13 |
namespace jxl { |
| 14 |
namespace jpeg { |
| 15 |
Status DecodeJPEGData(Span<const uint8_t> encoded, JPEGData* jpeg_data); |
| 16 |
} |
| 17 |
} // namespace jxl |
| 18 |
|
| 19 |
#endif // LIB_JXL_JPEG_DEC_JPEG_DATA_H_ |