| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef INCLUDE_LIBYUV_MJPEG_DECODER_H_ // NOLINT | 11 #ifndef INCLUDE_LIBYUV_MJPEG_DECODER_H_ |
| 12 #define INCLUDE_LIBYUV_MJPEG_DECODER_H_ | 12 #define INCLUDE_LIBYUV_MJPEG_DECODER_H_ |
| 13 | 13 |
| 14 #include "libyuv/basic_types.h" | 14 #include "libyuv/basic_types.h" |
| 15 | 15 |
| 16 #ifdef __cplusplus | 16 #ifdef __cplusplus |
| 17 // NOTE: For a simplified public API use convert.h MJPGToI420(). | 17 // NOTE: For a simplified public API use convert.h MJPGToI420(). |
| 18 | 18 |
| 19 struct jpeg_common_struct; | 19 struct jpeg_common_struct; |
| 20 struct jpeg_decompress_struct; | 20 struct jpeg_decompress_struct; |
| 21 struct jpeg_source_mgr; | 21 struct jpeg_source_mgr; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 int* scanlines_sizes_; | 182 int* scanlines_sizes_; |
| 183 // Temporary buffer used for decoding when we can't decode directly to the | 183 // Temporary buffer used for decoding when we can't decode directly to the |
| 184 // output buffers. Large enough for just one iMCU row. | 184 // output buffers. Large enough for just one iMCU row. |
| 185 uint8** databuf_; | 185 uint8** databuf_; |
| 186 int* databuf_strides_; | 186 int* databuf_strides_; |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 } // namespace libyuv | 189 } // namespace libyuv |
| 190 | 190 |
| 191 #endif // __cplusplus | 191 #endif // __cplusplus |
| 192 #endif // INCLUDE_LIBYUV_MJPEG_DECODER_H_ NOLINT | 192 #endif // INCLUDE_LIBYUV_MJPEG_DECODER_H_ |
| OLD | NEW |