Commit c6787398 authored by Jim Bankoski's avatar Jim Bankoski

fixed includes to be fully specified

Change-Id: Ia1cce221f8511561b9cbd8edb7726fbc286ff243
parent 926d95cd
......@@ -12,7 +12,7 @@
#include <math.h>
#include "vp9/common/vp9_filter.h"
#include "vp9/common/vp9_subpixel.h"
#include "vp9_bilinearfilter_arm.h"
#include "vp9/common/arm/vp9_bilinearfilter_arm.h"
void vp9_filter_block2d_bil_armv6
(
......
......@@ -9,8 +9,8 @@
*/
#include "vp9_loopfilter.h"
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_loopfilter.h"
#include "vp9/common/vp9_onyxc_int.h"
typedef void loop_filter_function_y_ppc
(
......
......@@ -8,10 +8,10 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vp9_subpixel.h"
#include "vp9_loopfilter.h"
#include "vp9/common/vp9_subpixel.h"
#include "vp9/common/vp9_loopfilter.h"
#include "recon.h"
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_onyxc_int.h"
void (*vp8_short_idct4x4)(short *input, short *output, int pitch);
void (*vp8_short_idct4x4_1)(short *input, short *output, int pitch);
......
......@@ -10,13 +10,13 @@
#include "vpx_ports/config.h"
#include "vp9_blockd.h"
#include "vp9/common/vp9_blockd.h"
#include "vpx_mem/vpx_mem.h"
#include "vp9_onyxc_int.h"
#include "vp9_findnearmv.h"
#include "vp9_entropymode.h"
#include "vp9_entropymv.h"
#include "vp9_systemdependent.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_findnearmv.h"
#include "vp9/common/vp9_entropymode.h"
#include "vp9/common/vp9_entropymv.h"
#include "vp9/common/vp9_systemdependent.h"
void vp9_update_mode_info_border(VP9_COMMON *cpi, MODE_INFO *mi_base) {
......
......@@ -12,7 +12,7 @@
#ifndef __INC_ALLOCCOMMON_H
#define __INC_ALLOCCOMMON_H
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_onyxc_int.h"
void vp9_create_common(VP9_COMMON *oci);
void vp9_remove_common(VP9_COMMON *oci);
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_blockd.h"
#include "vp9/common/vp9_blockd.h"
#include "vpx_mem/vpx_mem.h"
......
......@@ -16,11 +16,11 @@ void vpx_log(const char *format, ...);
#include "vpx_ports/config.h"
#include "vpx_scale/yv12config.h"
#include "vp9_mv.h"
#include "vp9_treecoder.h"
#include "vp9_subpixel.h"
#include "vp9/common/vp9_mv.h"
#include "vp9/common/vp9_treecoder.h"
#include "vp9/common/vp9_subpixel.h"
#include "vpx_ports/mem.h"
#include "vp9_common.h"
#include "vp9/common/vp9_common.h"
#define TRUE 1
#define FALSE 0
......
......@@ -18,7 +18,7 @@
#include "vpx_mem/vpx_mem.h"
#include "vp9_common_types.h"
#include "vp9/common/vp9_common_types.h"
/* Only need this for fixed-size arrays, for structs just assign. */
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_entropy.h"
#include "vp9/common/vp9_entropy.h"
/* *** GENERATED FILE: DO NOT EDIT *** */
......
......@@ -9,7 +9,7 @@
*/
#include <stdio.h>
#include "vp9_blockd.h"
#include "vp9/common/vp9_blockd.h"
void vp9_print_modes_and_motion_vectors(MODE_INFO *mi, int rows, int cols,
int frame) {
......
......@@ -11,11 +11,11 @@
#include <stdio.h>
#include "vp9_entropy.h"
#include "vp9/common/vp9_entropy.h"
#include "string.h"
#include "vp9_blockd.h"
#include "vp9_onyxc_int.h"
#include "vp9_entropymode.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_entropymode.h"
#include "vpx_mem/vpx_mem.h"
#define uchar unsigned char /* typedefs can clash */
......@@ -26,7 +26,7 @@ typedef const uint cuint;
typedef vp9_prob Prob;
#include "vp9_coefupdateprobs.h"
#include "vp9/common/vp9_coefupdateprobs.h"
const int vp9_i8x8_block[4] = {0, 2, 8, 10};
......@@ -200,7 +200,7 @@ vp9_extra_bit_struct vp9_extra_bits[12] = {
{ 0, 0, 0, 0}
};
#include "vp9_default_coef_probs.h"
#include "vp9/common/vp9_default_coef_probs.h"
void vp9_default_coef_probs(VP9_COMMON *pc) {
vpx_memcpy(pc->fc.coef_probs, default_coef_probs,
......
......@@ -12,10 +12,10 @@
#ifndef __INC_ENTROPY_H
#define __INC_ENTROPY_H
#include "vp9_treecoder.h"
#include "vp9_blockd.h"
#include "vp9_common.h"
#include "vp9_coefupdateprobs.h"
#include "vp9/common/vp9_treecoder.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_coefupdateprobs.h"
extern const int vp9_i8x8_block[4];
......
......@@ -9,8 +9,8 @@
*/
#include "vp9_onyxc_int.h"
#include "vp9_modecont.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_modecont.h"
#include "vpx_mem/vpx_mem.h"
......
......@@ -12,8 +12,8 @@
#ifndef __INC_ENTROPYMODE_H
#define __INC_ENTROPYMODE_H
#include "vp9_blockd.h"
#include "vp9_treecoder.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_treecoder.h"
#define SUBMVREF_COUNT 5
#define VP9_NUMMBSPLITS 4
......
......@@ -9,8 +9,8 @@
*/
#include "vp9_onyxc_int.h"
#include "vp9_entropymv.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_entropymv.h"
//#define MV_COUNT_TESTING
......
......@@ -12,9 +12,9 @@
#ifndef __INC_ENTROPYMV_H
#define __INC_ENTROPYMV_H
#include "vp9_treecoder.h"
#include "vp9/common/vp9_treecoder.h"
#include "vpx_config.h"
#include "vp9_blockd.h"
#include "vp9/common/vp9_blockd.h"
struct VP9Common;
......
......@@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vp9_extend.h"
#include "vp9/common/vp9_extend.h"
#include "vpx_mem/vpx_mem.h"
static void copy_and_extend_plane(unsigned char *s, /* source */
......
......@@ -10,7 +10,7 @@
#include <stdlib.h>
#include "vp9_filter.h"
#include "vp9/common/vp9_filter.h"
#include "vpx_ports/mem.h"
#include "vp9_rtcd.h"
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_findnearmv.h"
#include "vp9/common/vp9_findnearmv.h"
#include "vp9/common/vp9_sadmxn.h"
#include "vp9/common/vp9_subpelvar.h"
#include <limits.h>
......
......@@ -12,10 +12,10 @@
#ifndef __INC_FINDNEARMV_H
#define __INC_FINDNEARMV_H
#include "vp9_mv.h"
#include "vp9_blockd.h"
#include "vp9_treecoder.h"
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_mv.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_treecoder.h"
#include "vp9/common/vp9_onyxc_int.h"
/* check a list of motion vectors by sad score using a number rows of pixels
* above and a number cols of pixels in the left to select the one with best
......
......@@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vp9_invtrans.h"
#include "vp9/common/vp9_invtrans.h"
#include "./vp9_rtcd.h"
static void recon_dcblock(MACROBLOCKD *xd) {
......
......@@ -12,7 +12,7 @@
#define __INC_INVTRANS_H
#include "vpx_ports/config.h"
#include "vp9_blockd.h"
#include "vp9/common/vp9_blockd.h"
extern void vp9_inverse_transform_b_4x4(MACROBLOCKD *xd, int block, int pitch);
......
......@@ -9,8 +9,8 @@
*/
#include "vpx_config.h"
#include "vp9_loopfilter.h"
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_loopfilter.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vpx_mem/vpx_mem.h"
#include "vp9/common/vp9_seg_common.h"
......
......@@ -13,7 +13,7 @@
#include "vpx_ports/mem.h"
#include "vpx_config.h"
#include "vp9_blockd.h"
#include "vp9/common/vp9_blockd.h"
#define MAX_LOOP_FILTER 63
......
......@@ -10,8 +10,8 @@
#include <stdlib.h>
#include "vpx_config.h"
#include "vp9_loopfilter.h"
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_loopfilter.h"
#include "vp9/common/vp9_onyxc_int.h"
typedef unsigned char uc;
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_blockd.h"
#include "vp9/common/vp9_blockd.h"
typedef enum {
PRED = 0,
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_entropy.h"
#include "vp9/common/vp9_entropy.h"
const int vp9_default_mode_contexts[INTER_MODE_CONTEXTS][4] = {
{223, 1, 1, 237}, // 0,0 best: Only candidate
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_entropymode.h"
#include "vp9/common/vp9_entropymode.h"
const unsigned int vp9_kf_default_bmode_counts[VP9_KF_BINTRAMODES]
[VP9_KF_BINTRAMODES]
......
......@@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vp9_mvref_common.h"
#include "vp9/common/vp9_mvref_common.h"
#define MVREF_NEIGHBOURS 8
static int mb_mv_ref_search[MVREF_NEIGHBOURS][2] = {
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vp9_onyxc_int.h"
#include "vp9_blockd.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_blockd.h"
#ifndef __INC_MVREF_COMMON_H
......
......@@ -20,8 +20,8 @@ extern "C"
#include "vpx/internal/vpx_codec_internal.h"
#include "vpx/vp8cx.h"
#include "vpx_scale/yv12config.h"
#include "vp9_type_aliases.h"
#include "vp9_ppflags.h"
#include "vp9/common/vp9_type_aliases.h"
#include "vp9/common/vp9_ppflags.h"
typedef int *VP9_PTR;
/* Create/destroy static data structures. */
......
......@@ -15,16 +15,16 @@
#include "vpx_config.h"
#include "vpx/internal/vpx_codec_internal.h"
#include "vp9_rtcd.h"
#include "vp9_loopfilter.h"
#include "vp9_entropymv.h"
#include "vp9_entropy.h"
#include "vp9_entropymode.h"
#include "vp9/common/vp9_loopfilter.h"
#include "vp9/common/vp9_entropymv.h"
#include "vp9/common/vp9_entropy.h"
#include "vp9/common/vp9_entropymode.h"
#if CONFIG_POSTPROC
#include "vp9_postproc.h"
#include "vp9/common/vp9_postproc.h"
#endif
/*#ifdef PACKET_TESTING*/
#include "vp9_header.h"
#include "vp9/common/vp9_header.h"
/*#endif*/
/* Create/destroy static data structures. */
......
......@@ -18,9 +18,9 @@
extern "C"
{
#endif
#include "vp9_type_aliases.h"
#include "vp9/common/vp9_type_aliases.h"
#include "vpx_scale/yv12config.h"
#include "vp9_ppflags.h"
#include "vp9/common/vp9_ppflags.h"
#include "vpx_ports/mem.h"
#include "vpx/vpx_codec.h"
......
......@@ -11,10 +11,10 @@
#include "vpx_ports/config.h"
#include "vpx_scale/yv12config.h"
#include "vp9_postproc.h"
#include "vp9/common/vp9_postproc.h"
#include "vp9/common/vp9_textblit.h"
#include "vpx_scale/vpxscale.h"
#include "vp9_systemdependent.h"
#include "vp9/common/vp9_systemdependent.h"
#include "./vp9_rtcd.h"
......
......@@ -21,8 +21,8 @@ struct postproc_state {
DECLARE_ALIGNED(16, char, whiteclamp[16]);
DECLARE_ALIGNED(16, char, bothclamp[16]);
};
#include "vp9_onyxc_int.h"
#include "vp9_ppflags.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_ppflags.h"
int vp9_post_proc_frame(struct VP9Common *oci, YV12_BUFFER_CONFIG *dest,
vp9_ppflags_t *flags);
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vp9_type_aliases.h"
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_type_aliases.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_blockd.h"
#ifndef __INC_PRED_COMMON_H__
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_quant_common.h"
#include "vp9/common/vp9_quant_common.h"
static int dc_qlookup[QINDEX_RANGE];
static int ac_qlookup[QINDEX_RANGE];
......
......@@ -10,8 +10,8 @@
#include "string.h"
#include "vp9_blockd.h"
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_onyxc_int.h"
extern void vp9_init_quant_tables();
extern int vp9_ac_yquant(int QIndex);
......
......@@ -11,7 +11,7 @@
#include "vpx_ports/config.h"
#include "vp9_rtcd.h"
#include "vp9_blockd.h"
#include "vp9/common/vp9_blockd.h"
void vp9_recon_b_c
(
......
......@@ -11,11 +11,11 @@
#include "vpx_ports/config.h"
#include "vpx/vpx_integer.h"
#include "vp9_blockd.h"
#include "vp9_reconinter.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_reconinter.h"
#include "vp9/common/vp9_reconintra.h"
#if CONFIG_RUNTIME_CPU_DETECT
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_onyxc_int.h"
#endif
void vp9_setup_interp_filters(MACROBLOCKD *xd,
......
......@@ -11,7 +11,7 @@
#ifndef __INC_RECONINTER_H
#define __INC_RECONINTER_H
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_onyxc_int.h"
extern void vp9_build_1st_inter16x16_predictors_mby(MACROBLOCKD *xd,
unsigned char *dst_y,
......
......@@ -11,7 +11,7 @@
#include <stdio.h>
#include "vpx_ports/config.h"
#include "vp9_rtcd.h"
#include "vp9_reconintra.h"
#include "vp9/common/vp9_reconintra.h"
#include "vpx_mem/vpx_mem.h"
/* For skip_recon_mb(), add vp9_build_intra_predictors_mby_s(MACROBLOCKD *xd)
......
......@@ -11,7 +11,7 @@
#ifndef __INC_RECONINTRA_H
#define __INC_RECONINTRA_H
#include "vp9_blockd.h"
#include "vp9/common/vp9_blockd.h"
extern void vp9_recon_intra_mbuv(MACROBLOCKD *xd);
extern B_PREDICTION_MODE vp9_find_dominant_direction(unsigned char *ptr,
......
......@@ -11,7 +11,7 @@
#include "vpx_ports/config.h"
#include "vpx_mem/vpx_mem.h"
#include "vp9_reconintra.h"
#include "vp9/common/vp9_reconintra.h"
#include "vp9_rtcd.h"
#if CONFIG_NEWBINTRAMODES
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vp9_type_aliases.h"
#include "vp9_onyxc_int.h"
#include "vp9/common/vp9_type_aliases.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_blockd.h"
#ifndef __INC_SEG_COMMON_H__
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_setupintrarecon.h"
#include "vp9/common/vp9_setupintrarecon.h"
#include "vpx_mem/vpx_mem.h"
void vp9_setup_intra_recon(YV12_BUFFER_CONFIG *ybf) {
......
......@@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vp9_swapyv12buffer.h"
#include "vp9/common/vp9_swapyv12buffer.h"
void vp9_swap_yv12_buffer(YV12_BUFFER_CONFIG *new_frame,
YV12_BUFFER_CONFIG *last_frame) {
......
......@@ -16,7 +16,7 @@
#endif
#include <stdio.h>
#include "vp9_treecoder.h"
#include "vp9/common/vp9_treecoder.h"
static void tree2tok(
struct vp9_token_struct *const p,
......
......@@ -10,7 +10,7 @@
#include "vpx_ports/asm_offsets.h"
#include "vp9_onyxd_int.h"
#include "vp9/decoder/vp9_onyxd_int.h"
BEGIN
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_dboolhuff.h"
#include "vp9/decoder/vp9_dboolhuff.h"
#include "vpx_ports/mem.h"
#include "vpx_mem/vpx_mem.h"
......
......@@ -9,10 +9,10 @@
*/
#include "vp9_treereader.h"
#include "vp9/decoder/vp9_treereader.h"
#include "vp9/common/vp9_entropymv.h"
#include "vp9/common/vp9_entropymode.h"
#include "vp9_onyxd_int.h"
#include "vp9/decoder/vp9_onyxd_int.h"
#include "vp9/common/vp9_findnearmv.h"
#include "vp9/common/vp9_seg_common.h"
......
......@@ -9,7 +9,7 @@
*/
#include "vp9_onyxd_int.h"
#include "vp9/decoder/vp9_onyxd_int.h"
void vp9_decode_mb_mode_mv(VP9D_COMP* const pbi,
MACROBLOCKD* const xd,
......
......@@ -9,13 +9,13 @@
*/
#include "vp9_onyxd_int.h"
#include "vp9/decoder/vp9_onyxd_int.h"
#include "vp9/common/vp9_header.h"
#include "vp9/common/vp9_reconintra.h"
#include "vp9/common/vp9_reconintra4x4.h"
#include "vp9/common/vp9_reconinter.h"
#include "vp9/decoder/vp9_decodframe.h"
#include "vp9_detokenize.h"
#include "vp9/decoder/vp9_detokenize.h"
#include "vp9/common/vp9_invtrans.h"
#include "vp9/common/vp9_alloccommon.h"
#include "vp9/common/vp9_entropymode.h"
......@@ -23,11 +23,11 @@
#include "vpx_scale/vpxscale.h"
#include "vp9/common/vp9_setupintrarecon.h"
#include "vp9_decodemv.h"
#include "vp9/decoder/vp9_decodemv.h"
#include "vp9/common/vp9_extend.h"
#include "vp9/common/vp9_modecont.h"
#include "vpx_mem/vpx_mem.h"
#include "vp9_dboolhuff.h"
#include "vp9/decoder/vp9_dboolhuff.h"
#include "vp9/common/vp9_seg_common.h"
#include "vp9/common/vp9_entropy.h"
......
......@@ -10,9 +10,9 @@
#include "vp9_rtcd.h"
#include "vp9_dequantize.h"
#include "vp9/decoder/vp9_dequantize.h"
#include "vpx_mem/vpx_mem.h"
#include "vp9_onyxd_int.h"
#include "vp9/decoder/vp9_onyxd_int.h"
#ifdef DEC_DEBUG
extern int dec_debug;
......
......@@ -11,10 +11,10 @@
#include "vp9/common/vp9_type_aliases.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9_onyxd_int.h"
#include "vp9/decoder/vp9_onyxd_int.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/mem.h"
#include "vp9_detokenize.h"
#include "vp9/decoder/vp9_detokenize.h"
#include "vp9/common/vp9_seg_common.h"
......
......@@ -12,7 +12,7 @@
#ifndef DETOKENIZE_H
#define DETOKENIZE_H
#include "vp9_onyxd_int.h"
#include "vp9/decoder/vp9_onyxd_int.h"
void vp9_reset_mb_tokens_context(MACROBLOCKD* const);
......
......@@ -14,7 +14,7 @@
#include "vp9/common/vp9_postproc.h"
#endif
#include "vp9/common/vp9_onyxd.h"
#include "vp9_onyxd_int.h"
#include "vp9/decoder/vp9_onyxd_int.h"
#include "vpx_mem/vpx_mem.h"
#include "vp9/common/vp9_alloccommon.h"
#include "vp9/common/vp9_loopfilter.h"
......@@ -27,7 +27,7 @@
#include "vp9/common/vp9_systemdependent.h"
#include "vpx_ports/vpx_timer.h"
#include "vp9/decoder/vp9_decodframe.h"
#include "vp9_detokenize.h"
#include "vp9/decoder/vp9_detokenize.h"
#if ARCH_ARM
#include "vpx_ports/arm.h"
#endif
......
......@@ -13,9 +13,9 @@
#define __INC_ONYXD_INT_H
#include "vpx_ports/config.h"
#include "vp9/common/vp9_onyxd.h"
#include "vp9_treereader.h"
#include "vp9/decoder/vp9_treereader.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9_dequantize.h"
#include "vp9/decoder/vp9_dequantize.h"
// #define DEC_DEBUG
......
......@@ -14,7 +14,7 @@
#include "vp9/common/vp9_treecoder.h"
#include "vp9_dboolhuff.h"
#include "vp9/decoder/vp9_dboolhuff.h"
typedef BOOL_DECODER vp9_reader;
......
......@@ -11,11 +11,11 @@
#include "vpx_ports/asm_offsets.h"