15ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang/* 25ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang * Copyright (c) 2013 The WebM project authors. All Rights Reserved. 35ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang * 45ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang * Use of this source code is governed by a BSD-style license 55ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang * that can be found in the LICENSE file in the root of the source 65ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang * tree. An additional intellectual property rights grant can be found 75ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang * in the file PATENTS. All contributing project authors may 85ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang * be found in the AUTHORS file in the root of the source tree. 95ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang */ 10b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifndef IVFDEC_H_ 11b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define IVFDEC_H_ 125ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang 13b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#include "./tools_common.h" 145ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang 15b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifdef __cplusplus 16b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianextern "C" { 17b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif 185ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang 19b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint file_is_ivf(struct VpxInputContext *input); 205ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang 21b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint ivf_read_frame(FILE *infile, uint8_t **buffer, 22b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian size_t *bytes_read, size_t *buffer_size); 235ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang 24b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifdef __cplusplus 25b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian} /* extern "C" */ 26b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif 275ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang 28b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif // IVFDEC_H_ 29