Add sse2/avx2 version of aom_v_predictor_wxh()
[aom.git] / obudec.h
bloba7c4d1a6a11175a65dbce29cb83e1bbe8e1f5249
1 /*
2 * Copyright (c) 2017, Alliance for Open Media. All rights reserved
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.
11 #ifndef OBUDEC_H_
12 #define OBUDEC_H_
14 #include "./tools_common.h"
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 int file_is_obu(struct AvxInputContext *input_ctx);
22 int obu_read_temporal_unit(FILE *infile, uint8_t **buffer, size_t *bytes_read,
23 #if CONFIG_SCALABILITY
24 size_t *buffer_size, int last_layer_id);
25 #else
26 size_t *buffer_size);
27 #endif
29 #ifdef __cplusplus
30 } /* extern "C" */
31 #endif
33 #endif // OBUDEC_H_