/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #include <stdlib.h> #include "./vpx_config.h" #include "vpx_dsp/bitreader.h" #include "vpx_dsp/prob.h" #include "vpx_dsp/vpx_dsp_common.h" #include "vpx_ports/mem.h" #include "vpx_mem/vpx_mem.h" #include "vpx_util/endian_inl.h" int vpx_reader_init(vpx_reader *r, const uint8_t *buffer, size_t size, vpx_decrypt_cb decrypt_cb, void *decrypt_state) { … } void vpx_reader_fill(vpx_reader *r) { … } const uint8_t *vpx_reader_find_end(vpx_reader *r) { … }