blob: 899a35da0659a9ab6694cec5f7b40d9495ed4c31 [file] [log] [blame]
Cyril Concolato6c788832017-10-30 16:30:35 -07001/*
2 * Copyright (c) 2017, Alliance for Open Media. All rights reserved
3 *
4 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10 */
11#ifndef OBUDEC_H_
12#define OBUDEC_H_
13
14#include "./tools_common.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20int file_is_obu(struct AvxInputContext *input_ctx);
21
22int obu_read_temporal_unit(FILE *infile, uint8_t **buffer, size_t *bytes_read,
23 size_t *buffer_size);
24
25#ifdef __cplusplus
26} /* extern "C" */
27#endif
28
29#endif // OBUDEC_H_