#include "vpx_config.h"
extern "C" {
-#include "vp9/encoder/variance.h"
+#include "vp9/encoder/vp9_variance.h"
#include "vpx/vpx_integer.h"
#include "vp9_rtcd.h"
}
#include "third_party/googletest/src/include/gtest/gtest.h"
extern "C" {
-#include "vp9/encoder/boolhuff.h"
-#include "vp9/decoder/dboolhuff.h"
+#include "vp9/encoder/vp9_boolhuff.h"
+#include "vp9/decoder/vp9_dboolhuff.h"
}
#include "acm_random.h"
#include "vpx_ports/config.h"
#include "vp9/common/recon.h"
-#include "vp9/common/blockd.h"
+#include "vp9/common/vp9_blockd.h"
extern void vp8_recon16x16mb_neon(unsigned char *pred_ptr, short *diff_ptr, unsigned char *dst_ptr, int ystride, unsigned char *udst_ptr, unsigned char *vdst_ptr);
#include "vpx_ports/config.h"
#include "vpx_ports/arm.h"
-#include "vp9/common/pragmas.h"
-#include "vp9/common/subpixel.h"
-#include "vp9/common/loopfilter.h"
+#include "vp9/common/vp9_pragmas.h"
+#include "vp9/common/vp9_subpixel.h"
+#include "vp9/common/vp9_loopfilter.h"
#include "vp9/common/recon.h"
-#include "vp9/common/onyxc_int.h"
+#include "vp9/common/vp9_onyxc_int.h"
void vp9_arch_arm_common_init(VP9_COMMON *ctx) {
#if CONFIG_RUNTIME_CPU_DETECT
#include <math.h>
-#include "vp9/common/filter.h"
-#include "vp9/common/subpixel.h"
-#include "bilinearfilter_arm.h"
+#include "vp9/common/vp9_filter.h"
+#include "vp9/common/vp9_subpixel.h"
+#include "vp9_bilinearfilter_arm.h"
void vp9_filter_block2d_bil_armv6
(
#include "vpx_ports/config.h"
#include <math.h>
-#include "vp9/common/filter.h"
-#include "vp9/common/subpixel.h"
+#include "vp9/common/vp9_filter.h"
+#include "vp9/common/vp9_subpixel.h"
#include "vpx_ports/mem.h"
extern void vp9_filter_block2d_first_pass_armv6
#include "vpx_config.h"
-#include "vp9/common/loopfilter.h"
-#include "vp9/common/onyxc_int.h"
+#include "vp9/common/vp9_loopfilter.h"
+#include "vp9/common/vp9_onyxc_int.h"
#if HAVE_ARMV6
extern prototype_loopfilter(vp9_loop_filter_horizontal_edge_armv6);
#include "vpx_ports/config.h"
-#include "vp9/common/blockd.h"
-#include "vp9/common/reconintra.h"
+#include "vp9/common/vp9_blockd.h"
+#include "vp9/common/vp9_reconintra.h"
#include "vpx_mem/vpx_mem.h"
#include "vp9/common/recon.h"
#include "vpx_ports/config.h"
#include "vp9_rtcd.h"
-#include "vp9/common/subpixel.h"
-#include "vp9/common/loopfilter.h"
-#include "vp9/common/onyxc_int.h"
+#include "vp9/common/vp9_subpixel.h"
+#include "vp9/common/vp9_loopfilter.h"
+#include "vp9/common/vp9_onyxc_int.h"
extern void vp9_arch_x86_common_init(VP9_COMMON *ctx);
extern void vp9_arch_arm_common_init(VP9_COMMON *ctx);
*/
-#include "loopfilter.h"
-#include "onyxc_int.h"
+#include "vp9_loopfilter.h"
+#include "vp9_onyxc_int.h"
typedef void loop_filter_function_y_ppc
(
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "subpixel.h"
-#include "loopfilter.h"
+#include "vp9_subpixel.h"
+#include "vp9_loopfilter.h"
#include "recon.h"
-#include "onyxc_int.h"
+#include "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);
#include "vpx_ports/config.h"
-#include "blockd.h"
+#include "vp9_blockd.h"
#include "vpx_mem/vpx_mem.h"
-#include "onyxc_int.h"
-#include "findnearmv.h"
-#include "entropymode.h"
-#include "entropymv.h"
-#include "systemdependent.h"
+#include "vp9_onyxc_int.h"
+#include "vp9_findnearmv.h"
+#include "vp9_entropymode.h"
+#include "vp9_entropymv.h"
+#include "vp9_systemdependent.h"
void vp9_update_mode_info_border(VP9_COMMON *cpi, MODE_INFO *mi_base) {
#ifndef __INC_ALLOCCOMMON_H
#define __INC_ALLOCCOMMON_H
-#include "onyxc_int.h"
+#include "vp9_onyxc_int.h"
void vp9_create_common(VP9_COMMON *oci);
void vp9_remove_common(VP9_COMMON *oci);
*/
-#include "blockd.h"
+#include "vp9_blockd.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/config.h"
#include "vpx_scale/yv12config.h"
-#include "mv.h"
-#include "treecoder.h"
-#include "subpixel.h"
+#include "vp9_mv.h"
+#include "vp9_treecoder.h"
+#include "vp9_subpixel.h"
#include "vpx_ports/mem.h"
-#include "common.h"
+#include "vp9_common.h"
#define TRUE 1
#define FALSE 0
/* Update probabilities for the nodes in the token entropy tree.
- Generated file included by entropy.c */
+ Generated file included by vp9_entropy.c */
#define COEF_UPDATE_PROB 252
#define COEF_UPDATE_PROB_8X8 252
#define COEF_UPDATE_PROB_16X16 252
#include "vpx_mem/vpx_mem.h"
-#include "common_types.h"
+#include "vp9_common_types.h"
/* Only need this for fixed-size arrays, for structs just assign. */
*/
-#include "entropy.h"
+#include "vp9_entropy.h"
/* *** GENERATED FILE: DO NOT EDIT *** */
*/
#include <stdio.h>
-#include "blockd.h"
+#include "vp9_blockd.h"
void vp9_print_modes_and_motion_vectors(MODE_INFO *mi, int rows, int cols,
int frame) {
*/
-/*Generated file, included by entropy.c*/
+/*Generated file, included by vp9_entropy.c*/
static const vp9_prob default_coef_probs [BLOCK_TYPES]
#include <stdio.h>
-#include "entropy.h"
+#include "vp9_entropy.h"
#include "string.h"
-#include "blockd.h"
-#include "onyxc_int.h"
-#include "entropymode.h"
+#include "vp9_blockd.h"
+#include "vp9_onyxc_int.h"
+#include "vp9_entropymode.h"
#include "vpx_mem/vpx_mem.h"
#define uchar unsigned char /* typedefs can clash */
typedef vp9_prob Prob;
-#include "coefupdateprobs.h"
+#include "vp9_coefupdateprobs.h"
const int vp9_i8x8_block[4] = {0, 2, 8, 10};
{ 0, 0, 0, 0}
};
-#include "default_coef_probs.h"
+#include "vp9_default_coef_probs.h"
void vp9_default_coef_probs(VP9_COMMON *pc) {
vpx_memcpy(pc->fc.coef_probs, default_coef_probs,
#ifndef __INC_ENTROPY_H
#define __INC_ENTROPY_H
-#include "treecoder.h"
-#include "blockd.h"
-#include "common.h"
-#include "coefupdateprobs.h"
+#include "vp9_treecoder.h"
+#include "vp9_blockd.h"
+#include "vp9_common.h"
+#include "vp9_coefupdateprobs.h"
extern const int vp9_i8x8_block[4];
*/
-#include "onyxc_int.h"
-#include "modecont.h"
+#include "vp9_onyxc_int.h"
+#include "vp9_modecont.h"
#include "vpx_mem/vpx_mem.h"
}
#ifdef MODE_STATS
-#include "vp9/common/modecont.h"
+#include "vp9/common/vp9_modecont.h"
void print_mode_contexts(VP9_COMMON *pc) {
int j, i;
printf("\n====================\n");
#ifndef __INC_ENTROPYMODE_H
#define __INC_ENTROPYMODE_H
-#include "blockd.h"
-#include "treecoder.h"
+#include "vp9_blockd.h"
+#include "vp9_treecoder.h"
#define SUBMVREF_COUNT 5
#define VP9_NUMMBSPLITS 4
*/
-#include "onyxc_int.h"
-#include "entropymv.h"
+#include "vp9_onyxc_int.h"
+#include "vp9_entropymv.h"
//#define MV_COUNT_TESTING
#ifndef __INC_ENTROPYMV_H
#define __INC_ENTROPYMV_H
-#include "treecoder.h"
+#include "vp9_treecoder.h"
#include "vpx_config.h"
-#include "blockd.h"
+#include "vp9_blockd.h"
struct VP9Common;
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "extend.h"
+#include "vp9_extend.h"
#include "vpx_mem/vpx_mem.h"
static void copy_and_extend_plane(unsigned char *s, /* source */
#include <stdlib.h>
-#include "filter.h"
+#include "vp9_filter.h"
#include "vpx_ports/mem.h"
#include "vp9_rtcd.h"
*/
-#include "findnearmv.h"
-#include "vp9/common/sadmxn.h"
-#include "vp9/common/subpelvar.h"
+#include "vp9_findnearmv.h"
+#include "vp9/common/vp9_sadmxn.h"
+#include "vp9/common/vp9_subpelvar.h"
#include <limits.h>
const unsigned char vp9_mbsplit_offset[4][16] = {
#ifndef __INC_FINDNEARMV_H
#define __INC_FINDNEARMV_H
-#include "mv.h"
-#include "blockd.h"
-#include "treecoder.h"
-#include "onyxc_int.h"
+#include "vp9_mv.h"
+#include "vp9_blockd.h"
+#include "vp9_treecoder.h"
+#include "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
#include <assert.h>
#include <math.h>
#include "vpx_ports/config.h"
-#include "vp9/common/systemdependent.h"
+#include "vp9/common/vp9_systemdependent.h"
-#include "vp9/common/blockd.h"
+#include "vp9/common/vp9_blockd.h"
static const int cospi8sqrt2minus1 = 20091;
static const int sinpi8sqrt2 = 35468;
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "vp9/common/onyxc_int.h"
+#include "vp9/common/vp9_onyxc_int.h"
#define MAX_REGIONS 24000
#ifndef NULL
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "invtrans.h"
+#include "vp9_invtrans.h"
#include "./vp9_rtcd.h"
static void recon_dcblock(MACROBLOCKD *xd) {
#define __INC_INVTRANS_H
#include "vpx_ports/config.h"
-#include "blockd.h"
+#include "vp9_blockd.h"
extern void vp9_inverse_transform_b_4x4(MACROBLOCKD *xd, int block, int pitch);
*/
#include "vpx_config.h"
-#include "loopfilter.h"
-#include "onyxc_int.h"
+#include "vp9_loopfilter.h"
+#include "vp9_onyxc_int.h"
#include "vpx_mem/vpx_mem.h"
-#include "vp9/common/seg_common.h"
+#include "vp9/common/vp9_seg_common.h"
static void lf_init_lut(loop_filter_info_n *lfi) {
int filt_lvl;
#include "vpx_ports/mem.h"
#include "vpx_config.h"
-#include "blockd.h"
+#include "vp9_blockd.h"
#define MAX_LOOP_FILTER 63
void sym(unsigned char *y, int ystride, const unsigned char *blimit)
#if ARCH_X86 || ARCH_X86_64
-#include "x86/loopfilter_x86.h"
+#include "x86/vp9_loopfilter_x86.h"
#endif
#if ARCH_ARM
-#include "arm/loopfilter_arm.h"
+#include "arm/vp9_loopfilter_arm.h"
#endif
typedef void loop_filter_uvfunction(unsigned char *u, /* source pointer */
#include <stdlib.h>
#include "vpx_config.h"
-#include "loopfilter.h"
-#include "onyxc_int.h"
+#include "vp9_loopfilter.h"
+#include "vp9_onyxc_int.h"
typedef unsigned char uc;
/*
============================================================================
- Name : maskingmv.c
+ Name : vp9_maskingmv.c
Author : jimbankoski
Version :
Copyright : Your copyright notice
*/
-#include "blockd.h"
+#include "vp9_blockd.h"
typedef enum {
PRED = 0,
*/
-#include "entropy.h"
+#include "vp9_entropy.h"
const int vp9_default_mode_contexts[INTER_MODE_CONTEXTS][4] = {
{223, 1, 1, 237}, // 0,0 best: Only candidate
*/
-#include "entropymode.h"
+#include "vp9_entropymode.h"
const unsigned int vp9_kf_default_bmode_counts[VP9_KF_BINTRAMODES]
[VP9_KF_BINTRAMODES]
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "mvref_common.h"
+#include "vp9_mvref_common.h"
#define MVREF_NEIGHBOURS 8
static int mb_mv_ref_search[MVREF_NEIGHBOURS][2] = {
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "onyxc_int.h"
-#include "blockd.h"
+#include "vp9_onyxc_int.h"
+#include "vp9_blockd.h"
#ifndef __INC_MVREF_COMMON_H
#include "vpx/internal/vpx_codec_internal.h"
#include "vpx/vp8cx.h"
#include "vpx_scale/yv12config.h"
-#include "type_aliases.h"
-#include "ppflags.h"
+#include "vp9_type_aliases.h"
+#include "vp9_ppflags.h"
typedef int *VP9_PTR;
/* Create/destroy static data structures. */
#include "vpx_config.h"
#include "vpx/internal/vpx_codec_internal.h"
#include "vp9_rtcd.h"
-#include "loopfilter.h"
-#include "entropymv.h"
-#include "entropy.h"
-#include "entropymode.h"
+#include "vp9_loopfilter.h"
+#include "vp9_entropymv.h"
+#include "vp9_entropy.h"
+#include "vp9_entropymode.h"
#if CONFIG_POSTPROC
-#include "postproc.h"
+#include "vp9_postproc.h"
#endif
/*#ifdef PACKET_TESTING*/
-#include "header.h"
+#include "vp9_header.h"
/*#endif*/
/* Create/destroy static data structures. */
extern "C"
{
#endif
-#include "type_aliases.h"
+#include "vp9_type_aliases.h"
#include "vpx_scale/yv12config.h"
-#include "ppflags.h"
+#include "vp9_ppflags.h"
#include "vpx_ports/mem.h"
#include "vpx/vpx_codec.h"
#include "vpx_ports/config.h"
#include "vpx_scale/yv12config.h"
-#include "postproc.h"
-#include "vp9/common/textblit.h"
+#include "vp9_postproc.h"
+#include "vp9/common/vp9_textblit.h"
#include "vpx_scale/vpxscale.h"
-#include "systemdependent.h"
+#include "vp9_systemdependent.h"
#include <math.h>
#include <stdlib.h>
int y1, int u1, int v1, int alpha, int stride)
#if ARCH_X86 || ARCH_X86_64
-#include "x86/postproc_x86.h"
+#include "x86/vp9_postproc_x86.h"
#endif
#ifndef vp9_postproc_down
DECLARE_ALIGNED(16, char, whiteclamp[16]);
DECLARE_ALIGNED(16, char, bothclamp[16]);
};
-#include "onyxc_int.h"
-#include "ppflags.h"
+#include "vp9_onyxc_int.h"
+#include "vp9_ppflags.h"
int vp9_post_proc_frame(struct VP9Common *oci, YV12_BUFFER_CONFIG *dest,
vp9_ppflags_t *flags);
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "vp9/common/pred_common.h"
-#include "vp9/common/seg_common.h"
+#include "vp9/common/vp9_pred_common.h"
+#include "vp9/common/vp9_seg_common.h"
// TBD prediction functions for various bitstream signals
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "type_aliases.h"
-#include "onyxc_int.h"
-#include "vp9/common/blockd.h"
+#include "vp9_type_aliases.h"
+#include "vp9_onyxc_int.h"
+#include "vp9/common/vp9_blockd.h"
#ifndef __INC_PRED_COMMON_H__
#define __INC_PRED_COMMON_H__ 1
*/
-#include "quant_common.h"
+#include "vp9_quant_common.h"
static int dc_qlookup[QINDEX_RANGE];
static int ac_qlookup[QINDEX_RANGE];
#include "string.h"
-#include "blockd.h"
-#include "onyxc_int.h"
+#include "vp9_blockd.h"
+#include "vp9_onyxc_int.h"
extern void vp9_init_quant_tables();
extern int vp9_ac_yquant(int QIndex);
#include "vpx_ports/config.h"
#include "vp9_rtcd.h"
-#include "blockd.h"
+#include "vp9_blockd.h"
void vp9_recon_b_c
(
#include "vpx_ports/config.h"
#include "vpx/vpx_integer.h"
-#include "blockd.h"
-#include "reconinter.h"
-#include "vp9/common/reconintra.h"
+#include "vp9_blockd.h"
+#include "vp9_reconinter.h"
+#include "vp9/common/vp9_reconintra.h"
#if CONFIG_RUNTIME_CPU_DETECT
-#include "onyxc_int.h"
+#include "vp9_onyxc_int.h"
#endif
void vp9_setup_interp_filters(MACROBLOCKD *xd,
}
}
#else
-// Based on vp9_post_proc_down_and_across_c (postproc.c)
+// Based on vp9_post_proc_down_and_across_c (vp9_postproc.c)
void filter_mb(unsigned char *src, int src_stride,
unsigned char *dst, int dst_stride,
int width, int height) {
#ifndef __INC_RECONINTER_H
#define __INC_RECONINTER_H
-#include "onyxc_int.h"
+#include "vp9_onyxc_int.h"
extern void vp9_build_1st_inter16x16_predictors_mby(MACROBLOCKD *xd,
unsigned char *dst_y,
#include <stdio.h>
#include "vpx_ports/config.h"
#include "vp9_rtcd.h"
-#include "reconintra.h"
+#include "vp9_reconintra.h"
#include "vpx_mem/vpx_mem.h"
/* For skip_recon_mb(), add vp9_build_intra_predictors_mby_s(MACROBLOCKD *xd)
#ifndef __INC_RECONINTRA_H
#define __INC_RECONINTRA_H
-#include "blockd.h"
+#include "vp9_blockd.h"
extern void vp9_recon_intra_mbuv(MACROBLOCKD *xd);
extern B_PREDICTION_MODE vp9_find_dominant_direction(unsigned char *ptr,
#include "vpx_ports/config.h"
#include "vpx_mem/vpx_mem.h"
-#include "reconintra.h"
+#include "vp9_reconintra.h"
#include "vp9_rtcd.h"
#if CONFIG_NEWBINTRAMODES
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "vp9/common/seg_common.h"
+#include "vp9/common/vp9_seg_common.h"
static const int segfeaturedata_signed[SEG_LVL_MAX] = { 1, 1, 0, 0, 0, 0 };
static const int seg_feature_data_bits[SEG_LVL_MAX] =
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "type_aliases.h"
-#include "onyxc_int.h"
-#include "vp9/common/blockd.h"
+#include "vp9_type_aliases.h"
+#include "vp9_onyxc_int.h"
+#include "vp9/common/vp9_blockd.h"
#ifndef __INC_SEG_COMMON_H__
#define __INC_SEG_COMMON_H__ 1
*/
-#include "setupintrarecon.h"
+#include "vp9_setupintrarecon.h"
#include "vpx_mem/vpx_mem.h"
void vp9_setup_intra_recon(YV12_BUFFER_CONFIG *ybf) {
*/
-#include "vp9/common/filter.h"
+#include "vp9/common/vp9_filter.h"
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "swapyv12buffer.h"
+#include "vp9_swapyv12buffer.h"
void vp9_swap_yv12_buffer(YV12_BUFFER_CONFIG *new_frame,
YV12_BUFFER_CONFIG *last_frame) {
#include <stdlib.h>
-#include "vp9/common/textblit.h"
+#include "vp9/common/vp9_textblit.h"
void vp9_blit_text(const char *msg, unsigned char *address, const int pitch) {
int letter_bitmap;
#endif
#include <stdio.h>
-#include "treecoder.h"
+#include "vp9_treecoder.h"
static void tree2tok(
struct vp9_token_struct *const p,
/****************************************************************************
*
-* Module Title : type_aliases.h
+* Module Title : vp9_type_aliases.h
*
* Description : Standard type aliases
*
#include <assert.h> // for alignment checks
#include <emmintrin.h> // SSE2
-#include "vp9/common/filter.h"
+#include "vp9/common/vp9_filter.h"
#include "vpx_ports/mem.h" // for DECLARE_ALIGNED
#include "vp9_rtcd.h"
#include <assert.h> // for alignment checks
#include <smmintrin.h> // SSE4.1
-#include "vp9/common/filter.h"
+#include "vp9/common/vp9_filter.h"
#include "vpx_ports/mem.h" // for DECLARE_ALIGNED
#include "vp9_rtcd.h"
#include <emmintrin.h> // SSE2
#include "vpx_config.h"
-#include "vp9/common/loopfilter.h"
+#include "vp9/common/vp9_loopfilter.h"
prototype_loopfilter(vp9_loop_filter_vertical_edge_mmx);
prototype_loopfilter(vp9_loop_filter_horizontal_edge_mmx);
#include "vpx_ports/config.h"
#include "vpx_mem/vpx_mem.h"
-#include "vp9/common/blockd.h"
+#include "vp9/common/vp9_blockd.h"
#define build_intra_predictors_mbuv_prototype(sym) \
void sym(unsigned char *dst, int dst_stride, \
#include "vpx_ports/config.h"
#include "vpx_ports/mem.h"
-#include "vp9/common/subpixel.h"
+#include "vp9/common/vp9_subpixel.h"
extern const short vp9_six_tap_mmx[16][6 * 8];
#include "vpx_config.h"
#include "vpx_ports/x86.h"
-#include "vp9/common/loopfilter.h"
-#include "vp9/common/pragmas.h"
-#include "vp9/common/onyxc_int.h"
+#include "vp9/common/vp9_loopfilter.h"
+#include "vp9/common/vp9_pragmas.h"
+#include "vp9/common/vp9_onyxc_int.h"
void vp9_arch_x86_common_init(VP9_COMMON *ctx) {
#if CONFIG_RUNTIME_CPU_DETECT
*/
#include "vpx_ports/config.h"
-#include "vp9/common/blockd.h"
-#include "vp9/decoder/dequantize.h"
+#include "vp9/common/vp9_blockd.h"
+#include "vp9/decoder/vp9_dequantize.h"
void vp8_dequant_dc_idct_add_y_block_v6(short *q, short *dq,
unsigned char *pre,
*/
#include "vpx_ports/config.h"
-#include "vp9/common/blockd.h"
-#include "vp9/decoder/dequantize.h"
+#include "vp9/common/vp9_blockd.h"
+#include "vp9/decoder/vp9_dequantize.h"
/* place these declarations here because we don't want to maintain them
* outside of this scope
#include "vpx_ports/config.h"
-#include "vp9/decoder/dequantize.h"
-#include "vp9/common/blockd.h"
+#include "vp9/decoder/vp9_dequantize.h"
+#include "vp9/common/vp9_blockd.h"
#include "vpx_mem/vpx_mem.h"
#if HAVE_ARMV7
#include "vpx_ports/asm_offsets.h"
-#include "onyxd_int.h"
+#include "vp9_onyxd_int.h"
BEGIN
*/
-#include "dboolhuff.h"
+#include "vp9_dboolhuff.h"
#include "vpx_ports/mem.h"
#include "vpx_mem/vpx_mem.h"
*/
-#include "treereader.h"
-#include "vp9/common/entropymv.h"
-#include "vp9/common/entropymode.h"
-#include "onyxd_int.h"
-#include "vp9/common/findnearmv.h"
-
-#include "vp9/common/seg_common.h"
-#include "vp9/common/pred_common.h"
-#include "vp9/common/entropy.h"
-#include "vp9/decoder/decodemv.h"
-#include "vp9/common/mvref_common.h"
+#include "vp9_treereader.h"
+#include "vp9/common/vp9_entropymv.h"
+#include "vp9/common/vp9_entropymode.h"
+#include "vp9_onyxd_int.h"
+#include "vp9/common/vp9_findnearmv.h"
+
+#include "vp9/common/vp9_seg_common.h"
+#include "vp9/common/vp9_pred_common.h"
+#include "vp9/common/vp9_entropy.h"
+#include "vp9/decoder/vp9_decodemv.h"
+#include "vp9/common/vp9_mvref_common.h"
#if CONFIG_DEBUG
#include <assert.h>
#endif
*/
-#include "onyxd_int.h"
+#include "vp9_onyxd_int.h"
void vp9_decode_mb_mode_mv(VP9D_COMP* const pbi,
MACROBLOCKD* const xd,
*/
-#include "onyxd_int.h"
-#include "vp9/common/header.h"
-#include "vp9/common/reconintra.h"
-#include "vp9/common/reconintra4x4.h"
-#include "vp9/common/reconinter.h"
-#include "vp9/decoder/decodframe.h"
-#include "detokenize.h"
-#include "vp9/common/invtrans.h"
-#include "vp9/common/alloccommon.h"
-#include "vp9/common/entropymode.h"
-#include "vp9/common/quant_common.h"
+#include "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/common/vp9_invtrans.h"
+#include "vp9/common/vp9_alloccommon.h"
+#include "vp9/common/vp9_entropymode.h"
+#include "vp9/common/vp9_quant_common.h"
#include "vpx_scale/vpxscale.h"
-#include "vp9/common/setupintrarecon.h"
+#include "vp9/common/vp9_setupintrarecon.h"
-#include "decodemv.h"
-#include "vp9/common/extend.h"
-#include "vp9/common/modecont.h"
+#include "vp9_decodemv.h"
+#include "vp9/common/vp9_extend.h"
+#include "vp9/common/vp9_modecont.h"
#include "vpx_mem/vpx_mem.h"
-#include "dboolhuff.h"
+#include "vp9_dboolhuff.h"
-#include "vp9/common/seg_common.h"
-#include "vp9/common/entropy.h"
+#include "vp9/common/vp9_seg_common.h"
+#include "vp9/common/vp9_entropy.h"
#include "vp9_rtcd.h"
#include <assert.h>
#include "vp9_rtcd.h"
-#include "dequantize.h"
+#include "vp9_dequantize.h"
#include "vpx_mem/vpx_mem.h"
-#include "onyxd_int.h"
+#include "vp9_onyxd_int.h"
#ifdef DEC_DEBUG
extern int dec_debug;
#ifndef DEQUANTIZE_H
#define DEQUANTIZE_H
-#include "vp9/common/blockd.h"
+#include "vp9/common/vp9_blockd.h"
#if CONFIG_LOSSLESS
extern void vp9_dequant_idct_add_lossless_c(short *input, const short *dq,
*/
-#include "vp9/common/type_aliases.h"
-#include "vp9/common/blockd.h"
-#include "onyxd_int.h"
+#include "vp9/common/vp9_type_aliases.h"
+#include "vp9/common/vp9_blockd.h"
+#include "vp9_onyxd_int.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/mem.h"
-#include "detokenize.h"
+#include "vp9_detokenize.h"
-#include "vp9/common/seg_common.h"
+#include "vp9/common/vp9_seg_common.h"
#define EOB_CONTEXT_NODE 0
#define ZERO_CONTEXT_NODE 1
#ifndef DETOKENIZE_H
#define DETOKENIZE_H
-#include "onyxd_int.h"
+#include "vp9_onyxd_int.h"
void vp9_reset_mb_tokens_context(MACROBLOCKD* const);
*/
#include "vp9_rtcd.h"
-#include "vp9/common/blockd.h"
+#include "vp9/common/vp9_blockd.h"
void vp9_dequant_dc_idct_add_y_block_c(short *q, const short *dq,
unsigned char *pre,
*/
-#include "vp9/common/onyxc_int.h"
+#include "vp9/common/vp9_onyxc_int.h"
#if CONFIG_POSTPROC
-#include "vp9/common/postproc.h"
+#include "vp9/common/vp9_postproc.h"
#endif
-#include "vp9/common/onyxd.h"
-#include "onyxd_int.h"
+#include "vp9/common/vp9_onyxd.h"
+#include "vp9_onyxd_int.h"
#include "vpx_mem/vpx_mem.h"
-#include "vp9/common/alloccommon.h"
-#include "vp9/common/loopfilter.h"
-#include "vp9/common/swapyv12buffer.h"
+#include "vp9/common/vp9_alloccommon.h"
+#include "vp9/common/vp9_loopfilter.h"
+#include "vp9/common/vp9_swapyv12buffer.h"
#include <stdio.h>
#include <assert.h>
-#include "vp9/common/quant_common.h"
+#include "vp9/common/vp9_quant_common.h"
#include "vpx_scale/vpxscale.h"
-#include "vp9/common/systemdependent.h"
+#include "vp9/common/vp9_systemdependent.h"
#include "vpx_ports/vpx_timer.h"
-#include "vp9/decoder/decodframe.h"
-#include "detokenize.h"
+#include "vp9/decoder/vp9_decodframe.h"
+#include "vp9_detokenize.h"
#if ARCH_ARM
#include "vpx_ports/arm.h"
#endif
#ifndef __INC_ONYXD_INT_H
#define __INC_ONYXD_INT_H
#include "vpx_ports/config.h"
-#include "vp9/common/onyxd.h"
-#include "treereader.h"
-#include "vp9/common/onyxc_int.h"
-#include "dequantize.h"
+#include "vp9/common/vp9_onyxd.h"
+#include "vp9_treereader.h"
+#include "vp9/common/vp9_onyxc_int.h"
+#include "vp9_dequantize.h"
// #define DEC_DEBUG
#ifndef tree_reader_h
#define tree_reader_h 1
-#include "vp9/common/treecoder.h"
+#include "vp9/common/vp9_treecoder.h"
-#include "dboolhuff.h"
+#include "vp9_dboolhuff.h"
typedef BOOL_DECODER vp9_reader;
*/
#include "vpx_ports/config.h"
-#include "vp9/common/blockd.h"
-#include "vp9/decoder/dequantize.h"
+#include "vp9/common/vp9_blockd.h"
+#include "vp9/decoder/vp9_dequantize.h"
void vp9_dequant_dc_idct_add_y_block_mmx(short *q, const short *dq,
unsigned char *pre,
*/
#include "vpx_ports/config.h"
-#include "vp9/common/blockd.h"
-#include "vp9/decoder/dequantize.h"
+#include "vp9/common/vp9_blockd.h"
+#include "vp9/decoder/vp9_dequantize.h"
void vp9_idct_dequant_dc_0_2x_sse2(short *q, const short *dq,
unsigned char *pre, unsigned char *dst,
#include "vpx_ports/config.h"
#include "vpx_ports/x86.h"
-#include "vp9/decoder/onyxd_int.h"
+#include "vp9/decoder/vp9_onyxd_int.h"
#if HAVE_MMX
void vp9_dequantize_b_impl_mmx(short *sq, short *dq, short *q);
ENDP
-; default inverse zigzag table is defined in vp9/common/entropy.c
+; default inverse zigzag table is defined in vp9/common/vp9_entropy.c
_inv_zig_zag_
DCD inv_zig_zag
*/
-#include "vp9/common/onyxc_int.h"
-#include "vp9/encoder/onyx_int.h"
-#include "vp9/encoder/quantize.h"
+#include "vp9/common/vp9_onyxc_int.h"
+#include "vp9/encoder/vp9_onyx_int.h"
+#include "vp9/encoder/vp9_quantize.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_scale/vpxscale.h"
-#include "vp9/common/alloccommon.h"
+#include "vp9/common/vp9_alloccommon.h"
extern void vp8_memcpy_neon(unsigned char *dst_ptr, unsigned char *src_ptr, int sz);
#include "vpx_ports/config.h"
#include "vpx_ports/arm.h"
-#include "vp9/encoder/variance.h"
-#include "vp9/encoder/onyx_int.h"
+#include "vp9/encoder/vp9_variance.h"
+#include "vp9/encoder/vp9_onyx_int.h"
extern void (*vp9_yv12_copy_partial_frame_ptr)(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc, int Fraction);
extern void vp9_yv12_copy_partial_frame(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc, int Fraction);
*/
-#include "vp9/encoder/boolhuff.h"
-#include "vp9/common/blockd.h"
+#include "vp9/encoder/vp9_boolhuff.h"
+#include "vp9/common/vp9_blockd.h"
const unsigned int vp9_prob_cost[256] = {
2047, 2047, 1791, 1641, 1535, 1452, 1385, 1328, 1279, 1235, 1196, 1161, 1129, 1099, 1072, 1046,
#include <math.h>
#include "vpx_mem/vpx_mem.h"
-#include "vp9/encoder/quantize.h"
-#include "vp9/common/entropy.h"
+#include "vp9/encoder/vp9_quantize.h"
+#include "vp9/common/vp9_entropy.h"
#if HAVE_ARMV7
/* vp8_quantize_mbX functions here differs from corresponding ones in
- * quantize.c only by using quantize_b_pair function pointer instead of
+ * vp9_quantize.c only by using quantize_b_pair function pointer instead of
* the regular quantize_b function pointer */
void vp8_quantize_mby_neon(MACROBLOCK *x) {
int i;
*/
#include "vpx_config.h"
-#include "vp9/encoder/variance.h"
-#include "vp9/common/filter.h"
-#include "vp9/common/arm/bilinearfilter_arm.h"
+#include "vp9/encoder/vp9_variance.h"
+#include "vp9/common/vp9_filter.h"
+#include "vp9/common/arm/vp9_bilinearfilter_arm.h"
#define HALFNDX 8
#include "vpx_ports/config.h"
-#include "vp9/encoder/variance.h"
-#include "vp9/encoder/onyx_int.h"
+#include "vp9/encoder/vp9_variance.h"
+#include "vp9/encoder/vp9_onyx_int.h"
void vp9_cmachine_specific_config(VP9_COMP *cpi) {
*/
-#include "vp9/encoder/variance.h"
-#include "vp9/encoder/onyx_int.h"
+#include "vp9/encoder/vp9_variance.h"
+#include "vp9/encoder/vp9_onyx_int.h"
SADFunction *vp9_sad16x16;
SADFunction *vp9_sad16x8;
#include "vpx_ports/asm_offsets.h"
#include "vpx_config.h"
-#include "block.h"
-#include "vp9/common/blockd.h"
-#include "onyx_int.h"
-#include "treewriter.h"
-#include "tokenize.h"
+#include "vp9_block.h"
+#include "vp9/common/vp9_blockd.h"
+#include "vp9_onyx_int.h"
+#include "vp9_treewriter.h"
+#include "vp9_tokenize.h"
BEGIN
*/
-#include "vp9/common/header.h"
-#include "encodemv.h"
-#include "vp9/common/entropymode.h"
-#include "vp9/common/findnearmv.h"
-#include "mcomp.h"
-#include "vp9/common/systemdependent.h"
+#include "vp9/common/vp9_header.h"
+#include "vp9_encodemv.h"
+#include "vp9/common/vp9_entropymode.h"
+#include "vp9/common/vp9_findnearmv.h"
+#include "vp9_mcomp.h"
+#include "vp9/common/vp9_systemdependent.h"
#include <assert.h>
#include <stdio.h>
#include <limits.h>
-#include "vp9/common/pragmas.h"
+#include "vp9/common/vp9_pragmas.h"
#include "vpx/vpx_encoder.h"
#include "vpx_mem/vpx_mem.h"
-#include "bitstream.h"
-#include "segmentation.h"
-
-#include "vp9/common/seg_common.h"
-#include "vp9/common/pred_common.h"
-#include "vp9/common/entropy.h"
-#include "vp9/encoder/encodemv.h"
-#include "vp9/common/entropymv.h"
-#include "vp9/common/mvref_common.h"
+#include "vp9_bitstream.h"
+#include "vp9_segmentation.h"
+
+#include "vp9/common/vp9_seg_common.h"
+#include "vp9/common/vp9_pred_common.h"
+#include "vp9/common/vp9_entropy.h"
+#include "vp9/encoder/vp9_encodemv.h"
+#include "vp9/common/vp9_entropymv.h"
+#include "vp9/common/vp9_mvref_common.h"
#if defined(SECTIONBITS_OUTPUT)
unsigned __int64 Sectionbits[500];
#ifndef __INC_BLOCK_H
#define __INC_BLOCK_H
-#include "vp9/common/onyx.h"
-#include "vp9/common/entropymv.h"
-#include "vp9/common/entropy.h"
+#include "vp9/common/vp9_onyx.h"
+#include "vp9/common/vp9_entropymv.h"
+#include "vp9/common/vp9_entropy.h"
#include "vpx_ports/mem.h"
-#include "vp9/common/onyxc_int.h"
+#include "vp9/common/vp9_onyxc_int.h"
// motion search site
typedef struct {
*/
-#include "boolhuff.h"
+#include "vp9_boolhuff.h"
#if defined(SECTIONBITS_OUTPUT)
unsigned __int64 Sectionbits[500];
/****************************************************************************
*
-* Module Title : boolhuff.h
+* Module Title : vp9_boolhuff.h
*
* Description : Bool Coder header file.
*
#include <assert.h>
#include <math.h>
#include "vpx_ports/config.h"
-#include "vp9/common/systemdependent.h"
+#include "vp9/common/vp9_systemdependent.h"
-#include "vp9/common/blockd.h"
+#include "vp9/common/vp9_blockd.h"
// TODO: these transforms can be converted into integer forms to reduce
// the complexity
#include "vpx_ports/config.h"
-#include "vp9/encoder/encodeframe.h"
-#include "encodemb.h"
-#include "encodemv.h"
-#include "vp9/common/common.h"
-#include "onyx_int.h"
-#include "vp9/common/extend.h"
-#include "vp9/common/entropymode.h"
-#include "vp9/common/quant_common.h"
-#include "segmentation.h"
-#include "vp9/common/setupintrarecon.h"
-#include "vp9/common/reconintra4x4.h"
-#include "encodeintra.h"
-#include "vp9/common/reconinter.h"
-#include "vp9/common/invtrans.h"
-#include "rdopt.h"
-#include "vp9/common/findnearmv.h"
-#include "vp9/common/reconintra.h"
-#include "vp9/common/seg_common.h"
-#include "vp9/encoder/tokenize.h"
+#include "vp9/encoder/vp9_encodeframe.h"
+#include "vp9_encodemb.h"
+#include "vp9_encodemv.h"
+#include "vp9/common/vp9_common.h"
+#include "vp9_onyx_int.h"
+#include "vp9/common/vp9_extend.h"
+#include "vp9/common/vp9_entropymode.h"
+#include "vp9/common/vp9_quant_common.h"
+#include "vp9_segmentation.h"
+#include "vp9/common/vp9_setupintrarecon.h"
+#include "vp9/common/vp9_reconintra4x4.h"
+#include "vp9_encodeintra.h"
+#include "vp9/common/vp9_reconinter.h"
+#include "vp9/common/vp9_invtrans.h"
+#include "vp9_rdopt.h"
+#include "vp9/common/vp9_findnearmv.h"
+#include "vp9/common/vp9_reconintra.h"
+#include "vp9/common/vp9_seg_common.h"
+#include "vp9/encoder/vp9_tokenize.h"
#include "vp9_rtcd.h"
#include <stdio.h>
#include <math.h>
#include <limits.h>
#include "vpx_ports/vpx_timer.h"
-#include "vp9/common/pred_common.h"
-#include "vp9/common/mvref_common.h"
+#include "vp9/common/vp9_pred_common.h"
+#include "vp9/common/vp9_mvref_common.h"
#define DBG_PRNT_SEGMAP 0
#include "vpx_ports/config.h"
#include "vp9_rtcd.h"
-#include "quantize.h"
-#include "vp9/common/reconintra.h"
-#include "vp9/common/reconintra4x4.h"
-#include "encodemb.h"
-#include "vp9/common/invtrans.h"
-#include "encodeintra.h"
+#include "vp9_quantize.h"
+#include "vp9/common/vp9_reconintra.h"
+#include "vp9/common/vp9_reconintra4x4.h"
+#include "vp9_encodemb.h"
+#include "vp9/common/vp9_invtrans.h"
+#include "vp9_encodeintra.h"
#if CONFIG_RUNTIME_CPU_DETECT
#define IF_RTCD(x) (x)
#ifndef __ENCODEINTRA_H_
#define __ENCODEINTRA_H_
-#include "onyx_int.h"
+#include "vp9_onyx_int.h"
int vp9_encode_intra(VP9_COMP *cpi, MACROBLOCK *x, int use_16x16_pred);
void vp9_encode_intra16x16mby(MACROBLOCK *x);
*/
#include "vpx_ports/config.h"
-#include "encodemb.h"
-#include "vp9/common/reconinter.h"
-#include "quantize.h"
-#include "tokenize.h"
-#include "vp9/common/invtrans.h"
-#include "vp9/common/reconintra.h"
+#include "vp9_encodemb.h"
+#include "vp9/common/vp9_reconinter.h"
+#include "vp9_quantize.h"
+#include "vp9_tokenize.h"
+#include "vp9/common/vp9_invtrans.h"
+#include "vp9/common/vp9_reconintra.h"
#include "vpx_mem/vpx_mem.h"
-#include "rdopt.h"
-#include "vp9/common/systemdependent.h"
+#include "vp9_rdopt.h"
+#include "vp9/common/vp9_systemdependent.h"
#include "vp9_rtcd.h"
void vp9_subtract_b_c(BLOCK *be, BLOCKD *bd, int pitch) {
#define __INC_ENCODEMB_H
#include "vpx_ports/config.h"
-#include "block.h"
+#include "vp9_block.h"
typedef struct {
MB_PREDICTION_MODE mode;
-#include "onyx_int.h"
+#include "vp9_onyx_int.h"
struct VP9_ENCODER_RTCD;
void vp9_encode_inter16x16(MACROBLOCK *x);
*/
-#include "vp9/common/common.h"
-#include "encodemv.h"
-#include "vp9/common/entropymode.h"
-#include "vp9/common/systemdependent.h"
+#include "vp9/common/vp9_common.h"
+#include "vp9_encodemv.h"
+#include "vp9/common/vp9_entropymode.h"
+#include "vp9/common/vp9_systemdependent.h"
#include <math.h>
#ifndef __INC_ENCODEMV_H
#define __INC_ENCODEMV_H
-#include "onyx_int.h"
+#include "vp9_onyx_int.h"
void vp9_write_nmv_probs(VP9_COMP* const, int usehp, vp9_writer* const);
void vp9_encode_nmv(vp9_writer* const w, const MV* const mv,
#include "math.h"
#include "limits.h"
-#include "block.h"
-#include "onyx_int.h"
-#include "variance.h"
-#include "encodeintra.h"
-#include "vp9/common/setupintrarecon.h"
-#include "mcomp.h"
-#include "firstpass.h"
+#include "vp9_block.h"
+#include "vp9_onyx_int.h"
+#include "vp9_variance.h"
+#include "vp9_encodeintra.h"
+#include "vp9/common/vp9_setupintrarecon.h"
+#include "vp9_mcomp.h"
+#include "vp9_firstpass.h"
#include "vpx_scale/vpxscale.h"
-#include "vp9/encoder/encodeframe.h"
-#include "encodemb.h"
-#include "vp9/common/extend.h"
-#include "vp9/common/systemdependent.h"
+#include "vp9/encoder/vp9_encodeframe.h"
+#include "vp9_encodemb.h"
+#include "vp9/common/vp9_extend.h"
+#include "vp9/common/vp9_systemdependent.h"
#include "vpx_mem/vpx_mem.h"
-#include "vp9/common/swapyv12buffer.h"
+#include "vp9/common/vp9_swapyv12buffer.h"
#include <stdio.h>
-#include "vp9/encoder/quantize.h"
-#include "rdopt.h"
-#include "ratectrl.h"
-#include "vp9/common/quant_common.h"
-#include "vp9/common/entropymv.h"
-#include "encodemv.h"
+#include "vp9/encoder/vp9_quantize.h"
+#include "vp9_rdopt.h"
+#include "vp9_ratectrl.h"
+#include "vp9/common/vp9_quant_common.h"
+#include "vp9/common/vp9_entropymv.h"
+#include "vp9_encodemv.h"
#define OUTPUT_FPF 0
#include <assert.h>
#include <stdlib.h>
#include "vpx_config.h"
-#include "lookahead.h"
-#include "vp9/common/extend.h"
+#include "vp9_lookahead.h"
+#include "vp9/common/vp9_extend.h"
#define MAX_LAG_BUFFERS 25
*/
#include <limits.h>
-#include <vp9/encoder/encodeintra.h>
-#include <vp9/encoder/rdopt.h>
-#include <vp9/common/setupintrarecon.h>
-#include <vp9/common/blockd.h>
-#include <vp9/common/reconinter.h>
-#include <vp9/common/systemdependent.h>
+#include <vp9/encoder/vp9_encodeintra.h>
+#include <vp9/encoder/vp9_rdopt.h>
+#include <vp9/common/vp9_setupintrarecon.h>
+#include <vp9/common/vp9_blockd.h>
+#include <vp9/common/vp9_reconinter.h>
+#include <vp9/common/vp9_systemdependent.h>
#include <vpx_mem/vpx_mem.h>
-#include <vp9/encoder/segmentation.h>
+#include <vp9/encoder/vp9_segmentation.h>
static unsigned int do_16x16_motion_iteration(VP9_COMP *cpi,
int_mv *ref_mv,
*/
-#include "vp9/encoder/onyx_int.h"
-#include "mcomp.h"
+#include "vp9/encoder/vp9_onyx_int.h"
+#include "vp9_mcomp.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/config.h"
#include <stdio.h>
#include <limits.h>
#include <math.h>
-#include "vp9/common/findnearmv.h"
+#include "vp9/common/vp9_findnearmv.h"
#ifdef ENTROPY_STATS
static int mv_ref_ct [31] [4] [2];
#ifdef ENTROPY_STATS
void print_mode_context(void) {
- FILE *f = fopen("modecont.c", "a");
+ FILE *f = fopen("vp9_modecont.c", "a");
int i, j;
- fprintf(f, "#include \"entropy.h\"\n");
+ fprintf(f, "#include \"vp9_entropy.h\"\n");
fprintf(f, "const int vp9_mode_contexts[6][4] =");
fprintf(f, "{\n");
for (j = 0; j < 6; j++) {
#ifndef __INC_MCOMP_H
#define __INC_MCOMP_H
-#include "block.h"
-#include "variance.h"
+#include "vp9_block.h"
+#include "vp9_variance.h"
#ifdef ENTROPY_STATS
extern void init_mv_ref_counts();
*/
-#include "vp9/common/blockd.h"
-#include "onyx_int.h"
-#include "treewriter.h"
-#include "vp9/common/entropymode.h"
+#include "vp9/common/vp9_blockd.h"
+#include "vp9_onyx_int.h"
+#include "vp9_treewriter.h"
+#include "vp9/common/vp9_entropymode.h"
void vp9_init_mode_costs(VP9_COMP *c) {
#include "vpx_config.h"
-#include "vp9/common/onyxc_int.h"
-#include "onyx_int.h"
-#include "vp9/common/systemdependent.h"
-#include "quantize.h"
-#include "vp9/common/alloccommon.h"
-#include "mcomp.h"
-#include "firstpass.h"
-#include "psnr.h"
+#include "vp9/common/vp9_onyxc_int.h"
+#include "vp9_onyx_int.h"
+#include "vp9/common/vp9_systemdependent.h"
+#include "vp9_quantize.h"
+#include "vp9/common/vp9_alloccommon.h"
+#include "vp9_mcomp.h"
+#include "vp9_firstpass.h"
+#include "vp9_psnr.h"
#include "vpx_scale/vpxscale.h"
-#include "vp9/common/extend.h"
-#include "ratectrl.h"
-#include "vp9/common/quant_common.h"
-#include "segmentation.h"
+#include "vp9/common/vp9_extend.h"
+#include "vp9_ratectrl.h"
+#include "vp9/common/vp9_quant_common.h"
+#include "vp9_segmentation.h"
#include "./vp9_rtcd.h"
#if CONFIG_POSTPROC
-#include "vp9/common/postproc.h"
+#include "vp9/common/vp9_postproc.h"
#endif
#include "vpx_mem/vpx_mem.h"
-#include "vp9/common/swapyv12buffer.h"
+#include "vp9/common/vp9_swapyv12buffer.h"
#include "vpx_ports/vpx_timer.h"
-#include "temporal_filter.h"
+#include "vp9_temporal_filter.h"
-#include "vp9/common/seg_common.h"
-#include "mbgraph.h"
-#include "vp9/common/pred_common.h"
-#include "vp9/encoder/rdopt.h"
-#include "bitstream.h"
-#include "vp9/encoder/picklpf.h"
-#include "ratectrl.h"
-#include "vp9/common/mvref_common.h"
+#include "vp9/common/vp9_seg_common.h"
+#include "vp9_mbgraph.h"
+#include "vp9/common/vp9_pred_common.h"
+#include "vp9/encoder/vp9_rdopt.h"
+#include "vp9_bitstream.h"
+#include "vp9/encoder/vp9_picklpf.h"
+#include "vp9_ratectrl.h"
+#include "vp9/common/vp9_mvref_common.h"
#if ARCH_ARM
#ifdef ENTROPY_STATS
{
int i, j, k;
- FILE *fmode = fopen("modecontext.c", "w");
+ FILE *fmode = fopen("vp9_modecontext.c", "w");
- fprintf(fmode, "\n#include \"entropymode.h\"\n\n");
+ fprintf(fmode, "\n#include \"vp9_entropymode.h\"\n\n");
fprintf(fmode, "const unsigned int vp9_kf_default_bmode_counts ");
fprintf(fmode, "[VP9_KF_BINTRAMODES][VP9_KF_BINTRAMODES]"
"[VP9_KF_BINTRAMODES] =\n{\n");
#include <stdio.h>
#include "vpx_ports/config.h"
-#include "vp9/common/onyx.h"
-#include "treewriter.h"
-#include "tokenize.h"
-#include "vp9/common/onyxc_int.h"
-#include "variance.h"
-#include "encodemb.h"
-#include "quantize.h"
-#include "vp9/common/entropy.h"
-#include "vp9/common/entropymode.h"
+#include "vp9/common/vp9_onyx.h"
+#include "vp9_treewriter.h"
+#include "vp9_tokenize.h"
+#include "vp9/common/vp9_onyxc_int.h"
+#include "vp9_variance.h"
+#include "vp9_encodemb.h"
+#include "vp9_quantize.h"
+#include "vp9/common/vp9_entropy.h"
+#include "vp9/common/vp9_entropymode.h"
#include "vpx_ports/mem.h"
#include "vpx/internal/vpx_codec_internal.h"
-#include "mcomp.h"
-#include "temporal_filter.h"
-#include "vp9/common/findnearmv.h"
-#include "lookahead.h"
+#include "vp9_mcomp.h"
+#include "vp9_temporal_filter.h"
+#include "vp9/common/vp9_findnearmv.h"
+#include "vp9_lookahead.h"
// #define SPEEDSTATS 1
#define MIN_GF_INTERVAL 4
*/
-#include "vp9/common/onyxc_int.h"
-#include "onyx_int.h"
-#include "vp9/encoder/picklpf.h"
-#include "quantize.h"
+#include "vp9/common/vp9_onyxc_int.h"
+#include "vp9_onyx_int.h"
+#include "vp9/encoder/vp9_picklpf.h"
+#include "vp9_quantize.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_scale/vpxscale.h"
-#include "vp9/common/alloccommon.h"
-#include "vp9/common/loopfilter.h"
+#include "vp9/common/vp9_alloccommon.h"
+#include "vp9/common/vp9_loopfilter.h"
#if ARCH_ARM
#include "vpx_ports/arm.h"
#endif
#include "vpx_scale/yv12config.h"
#include "math.h"
-#include "vp9/common/systemdependent.h" /* for vp9_clear_system_state() */
+#include "vp9/common/vp9_systemdependent.h" /* for vp9_clear_system_state() */
#define MAX_PSNR 100
#include <math.h>
#include "vpx_mem/vpx_mem.h"
-#include "onyx_int.h"
-#include "quantize.h"
-#include "vp9/common/quant_common.h"
+#include "vp9_onyx_int.h"
+#include "vp9_quantize.h"
+#include "vp9/common/vp9_quant_common.h"
-#include "vp9/common/seg_common.h"
+#include "vp9/common/vp9_seg_common.h"
#ifdef ENC_DEBUG
extern int enc_debug;
#ifndef __INC_QUANTIZE_H
#define __INC_QUANTIZE_H
-#include "block.h"
+#include "vp9_block.h"
#define prototype_quantize_block(sym) \
void (sym)(BLOCK *b,BLOCKD *d)
void (sym)(MACROBLOCK *x)
#if ARCH_X86 || ARCH_X86_64
-#include "x86/quantize_x86.h"
+#include "x86/vp9_quantize_x86.h"
#endif
#if ARCH_ARM
-#include "arm/quantize_arm.h"
+#include "arm/vp9_quantize_arm.h"
#endif
#define prototype_quantize_block_type(sym) \
#include <assert.h>
#include "math.h"
-#include "vp9/common/alloccommon.h"
-#include "vp9/common/common.h"
-#include "ratectrl.h"
-#include "vp9/common/entropymode.h"
+#include "vp9/common/vp9_alloccommon.h"
+#include "vp9/common/vp9_common.h"
+#include "vp9_ratectrl.h"
+#include "vp9/common/vp9_entropymode.h"
#include "vpx_mem/vpx_mem.h"
-#include "vp9/common/systemdependent.h"
-#include "encodemv.h"
-#include "vp9/common/quant_common.h"
+#include "vp9/common/vp9_systemdependent.h"
+#include "vp9_encodemv.h"
+#include "vp9/common/vp9_quant_common.h"
#define MIN_BPB_FACTOR 0.005
#define MAX_BPB_FACTOR 50
#if !defined __INC_RATECTRL_H
-#include "onyx_int.h"
+#include "vp9_onyx_int.h"
#define FRAME_OVERHEAD_BITS 200
#include <math.h>
#include <limits.h>
#include <assert.h>
-#include "vp9/common/pragmas.h"
-
-#include "tokenize.h"
-#include "treewriter.h"
-#include "onyx_int.h"
-#include "modecosts.h"
-#include "encodeintra.h"
-#include "vp9/common/entropymode.h"
-#include "vp9/common/reconinter.h"
-#include "vp9/common/reconintra.h"
-#include "vp9/common/reconintra4x4.h"
-#include "vp9/common/findnearmv.h"
-#include "vp9/common/quant_common.h"
-#include "encodemb.h"
-#include "quantize.h"
-#include "variance.h"
-#include "mcomp.h"
-#include "rdopt.h"
-#include "ratectrl.h"
+#include "vp9/common/vp9_pragmas.h"
+
+#include "vp9_tokenize.h"
+#include "vp9_treewriter.h"
+#include "vp9_onyx_int.h"
+#include "vp9_modecosts.h"
+#include "vp9_encodeintra.h"
+#include "vp9/common/vp9_entropymode.h"
+#include "vp9/common/vp9_reconinter.h"
+#include "vp9/common/vp9_reconintra.h"
+#include "vp9/common/vp9_reconintra4x4.h"
+#include "vp9/common/vp9_findnearmv.h"
+#include "vp9/common/vp9_quant_common.h"
+#include "vp9_encodemb.h"
+#include "vp9_quantize.h"
+#include "vp9_variance.h"
+#include "vp9_mcomp.h"
+#include "vp9_rdopt.h"
+#include "vp9_ratectrl.h"
#include "vpx_mem/vpx_mem.h"
-#include "vp9/common/systemdependent.h"
-#include "vp9/encoder/encodemv.h"
+#include "vp9/common/vp9_systemdependent.h"
+#include "vp9/encoder/vp9_encodemv.h"
-#include "vp9/common/seg_common.h"
-#include "vp9/common/pred_common.h"
-#include "vp9/common/entropy.h"
+#include "vp9/common/vp9_seg_common.h"
+#include "vp9/common/vp9_pred_common.h"
+#include "vp9/common/vp9_entropy.h"
#include "vp9_rtcd.h"
-#include "vp9/common/mvref_common.h"
+#include "vp9/common/vp9_mvref_common.h"
#if CONFIG_RUNTIME_CPU_DETECT
#define IF_RTCD(x) (x)
#include <stdlib.h>
-#include "vp9/common/sadmxn.h"
+#include "vp9/common/vp9_sadmxn.h"
#include "vpx_ports/config.h"
#include "vpx/vpx_integer.h"
#include "limits.h"
#include "vpx_mem/vpx_mem.h"
-#include "segmentation.h"
-#include "vp9/common/pred_common.h"
+#include "vp9_segmentation.h"
+#include "vp9/common/vp9_pred_common.h"
void vp9_update_gf_useage_maps(VP9_COMP *cpi, VP9_COMMON *cm, MACROBLOCK *x) {
int mb_row, mb_col;
#include "string.h"
-#include "vp9/common/blockd.h"
-#include "onyx_int.h"
+#include "vp9/common/vp9_blockd.h"
+#include "vp9_onyx_int.h"
#ifndef __INC_SEGMENTATION_H__
#define __INC_SEGMENTATION_H__ 1
*/
-#include "onyx_int.h"
+#include "vp9_onyx_int.h"
void vp9_ssim_parms_16x16_c(unsigned char *s, int sp, unsigned char *r,
int rp, unsigned long *sum_s, unsigned long *sum_r,
*/
-#include "vp9/common/onyxc_int.h"
-#include "onyx_int.h"
-#include "vp9/common/systemdependent.h"
-#include "quantize.h"
-#include "vp9/common/alloccommon.h"
-#include "mcomp.h"
-#include "firstpass.h"
-#include "psnr.h"
+#include "vp9/common/vp9_onyxc_int.h"
+#include "vp9_onyx_int.h"
+#include "vp9/common/vp9_systemdependent.h"
+#include "vp9_quantize.h"
+#include "vp9/common/vp9_alloccommon.h"
+#include "vp9_mcomp.h"
+#include "vp9_firstpass.h"
+#include "vp9_psnr.h"
#include "vpx_scale/vpxscale.h"
-#include "vp9/common/extend.h"
-#include "ratectrl.h"
-#include "vp9/common/quant_common.h"
-#include "segmentation.h"
+#include "vp9/common/vp9_extend.h"
+#include "vp9_ratectrl.h"
+#include "vp9/common/vp9_quant_common.h"
+#include "vp9_segmentation.h"
#include "vpx_mem/vpx_mem.h"
-#include "vp9/common/swapyv12buffer.h"
+#include "vp9/common/vp9_swapyv12buffer.h"
#include "vpx_ports/vpx_timer.h"
#include <math.h>
)
#if ARCH_X86 || ARCH_X86_64
-#include "x86/temporal_filter_x86.h"
+#include "x86/vp9_temporal_filter_x86.h"
#endif
#ifndef vp9_temporal_filter_apply
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#include "onyx_int.h"
-#include "tokenize.h"
+#include "vp9_onyx_int.h"
+#include "vp9_tokenize.h"
#include "vpx_mem/vpx_mem.h"
-#include "vp9/common/pred_common.h"
-#include "vp9/common/seg_common.h"
-#include "vp9/common/entropy.h"
+#include "vp9/common/vp9_pred_common.h"
+#include "vp9/common/vp9_seg_common.h"
+#include "vp9/common/vp9_entropy.h"
/* Global event counters used for accumulating statistics across several
- compressions, then generating context.c = initial stats. */
+ compressions, then generating vp9_context.c = initial stats. */
#ifdef ENTROPY_STATS
INT64 context_counters[BLOCK_TYPES] [COEF_BANDS] [PREV_COEF_CONTEXTS] [MAX_ENTROPY_TOKENS];
void print_context_counters() {
int type, band, pt, t;
- FILE *f = fopen("context.c", "w");
+ FILE *f = fopen("vp9_context.c", "w");
- fprintf(f, "#include \"entropy.h\"\n");
+ fprintf(f, "#include \"vp9_entropy.h\"\n");
fprintf(f, "\n/* *** GENERATED FILE: DO NOT EDIT *** */\n\n");
fprintf(f, "static const unsigned int\n"
"vp9_default_coef_counts[BLOCK_TYPES]\n"
#ifndef tokenize_h
#define tokenize_h
-#include "vp9/common/entropy.h"
-#include "block.h"
+#include "vp9/common/vp9_entropy.h"
+#include "vp9_block.h"
void vp9_tokenize_initialize();
*/
-#include "treewriter.h"
+#include "vp9_treewriter.h"
static void cost(
int *const C,
/* Trees map alphabets into huffman-like codes suitable for an arithmetic
bit coder. Timothy S Murphy 11 October 2004 */
-#include "vp9/common/treecoder.h"
+#include "vp9/common/vp9_treecoder.h"
-#include "boolhuff.h" /* for now */
+#include "vp9_boolhuff.h" /* for now */
typedef BOOL_CODER vp9_writer;
*/
-#include "variance.h"
-#include "vp9/common/filter.h"
-#include "vp9/common/subpelvar.h"
+#include "vp9_variance.h"
+#include "vp9/common/vp9_filter.h"
+#include "vp9/common/vp9_subpelvar.h"
#include "vpx/vpx_integer.h"
unsigned int vp9_get_mb_ss_c(const short *src_ptr) {
mov rdx, [rsp + zrun_zbin_boost] ; reset to b->zrun_zbin_boost
.rq_zigzag_loop_%1:
%endmacro
-; in vp9_default_zig_zag1d order: see vp9/common/entropy.c
+; in vp9_default_zig_zag1d order: see vp9/common/vp9_entropy.c
ZIGZAG_LOOP 0
ZIGZAG_LOOP 1
ZIGZAG_LOOP 4
mov rdx, rax ; reset to b->zrun_zbin_boost
.rq_zigzag_loop_%1:
%endmacro
-; in vp9_default_zig_zag1d order: see vp9/common/entropy.c
+; in vp9_default_zig_zag1d order: see vp9/common/vp9_entropy.c
ZIGZAG_LOOP 0, 0, xmm2, xmm6, xmm4
ZIGZAG_LOOP 1, 1, xmm2, xmm6, xmm4
ZIGZAG_LOOP 4, 4, xmm2, xmm6, xmm4
SECTION_RODATA
align 16
-; vp9/common/entropy.c: vp9_default_zig_zag1d
+; vp9/common/vp9_entropy.c: vp9_default_zig_zag1d
zig_zag1d:
db 0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15
*/
#include "vpx_config.h"
-#include "vp9/encoder/variance.h"
-#include "vp9/common/pragmas.h"
+#include "vp9/encoder/vp9_variance.h"
+#include "vp9/common/vp9_pragmas.h"
#include "vpx_ports/mem.h"
extern void filter_block1d_h6_mmx
*/
#include "vpx_config.h"
-#include "vp9/encoder/variance.h"
-#include "vp9/common/pragmas.h"
+#include "vp9/encoder/vp9_variance.h"
+#include "vp9/common/vp9_pragmas.h"
#include "vpx_ports/mem.h"
#define HALFNDX 8
*/
#include "vpx_config.h"
-#include "vp9/encoder/variance.h"
-#include "vp9/common/pragmas.h"
+#include "vp9/encoder/vp9_variance.h"
+#include "vp9/common/vp9_pragmas.h"
#include "vpx_ports/mem.h"
#define HALFNDX 8
#include "vpx_ports/config.h"
#include "vpx_ports/x86.h"
-#include "vp9/encoder/variance.h"
-#include "vp9/encoder/onyx_int.h"
+#include "vp9/encoder/vp9_variance.h"
+#include "vp9/encoder/vp9_onyx_int.h"
// TODO(jimbankoski) Consider rewriting the c to take the same values rather
// than going through these pointer conversions
##
VP9_COMMON_SRCS-yes += vp9_common.mk
-VP9_COMMON_SRCS-yes += common/type_aliases.h
-VP9_COMMON_SRCS-yes += common/pragmas.h
-VP9_COMMON_SRCS-yes += common/ppflags.h
-VP9_COMMON_SRCS-yes += common/onyx.h
-VP9_COMMON_SRCS-yes += common/onyxd.h
-VP9_COMMON_SRCS-yes += common/alloccommon.c
-VP9_COMMON_SRCS-yes += common/asm_com_offsets.c
-VP9_COMMON_SRCS-yes += common/blockd.c
-VP9_COMMON_SRCS-yes += common/coefupdateprobs.h
-VP9_COMMON_SRCS-yes += common/debugmodes.c
-VP9_COMMON_SRCS-yes += common/entropy.c
-VP9_COMMON_SRCS-yes += common/entropymode.c
-VP9_COMMON_SRCS-yes += common/entropymv.c
-VP9_COMMON_SRCS-yes += common/extend.c
-VP9_COMMON_SRCS-yes += common/filter.c
-VP9_COMMON_SRCS-yes += common/filter.h
-VP9_COMMON_SRCS-yes += common/findnearmv.c
-VP9_COMMON_SRCS-yes += common/generic/systemdependent.c
-VP9_COMMON_SRCS-yes += common/idctllm.c
-VP9_COMMON_SRCS-yes += common/alloccommon.h
-VP9_COMMON_SRCS-yes += common/blockd.h
-VP9_COMMON_SRCS-yes += common/common.h
-VP9_COMMON_SRCS-yes += common/common_types.h
-VP9_COMMON_SRCS-yes += common/entropy.h
-VP9_COMMON_SRCS-yes += common/entropymode.h
-VP9_COMMON_SRCS-yes += common/entropymv.h
-VP9_COMMON_SRCS-yes += common/extend.h
-VP9_COMMON_SRCS-yes += common/findnearmv.h
-VP9_COMMON_SRCS-yes += common/header.h
-VP9_COMMON_SRCS-yes += common/invtrans.h
-VP9_COMMON_SRCS-yes += common/loopfilter.h
-VP9_COMMON_SRCS-yes += common/modecont.h
-VP9_COMMON_SRCS-yes += common/mv.h
-VP9_COMMON_SRCS-yes += common/onyxc_int.h
-VP9_COMMON_SRCS-yes += common/pred_common.h
-VP9_COMMON_SRCS-yes += common/pred_common.c
-VP9_COMMON_SRCS-yes += common/quant_common.h
-VP9_COMMON_SRCS-yes += common/reconinter.h
-VP9_COMMON_SRCS-yes += common/reconintra.h
-VP9_COMMON_SRCS-yes += common/reconintra4x4.h
-VP9_COMMON_SRCS-yes += common/rtcd.c
-VP9_COMMON_SRCS-yes += common/rtcd_defs.sh
-VP9_COMMON_SRCS-yes += common/sadmxn.h
-VP9_COMMON_SRCS-yes += common/subpelvar.h
-VP9_COMMON_SRCS-yes += common/seg_common.h
-VP9_COMMON_SRCS-yes += common/seg_common.c
-VP9_COMMON_SRCS-yes += common/setupintrarecon.h
-VP9_COMMON_SRCS-yes += common/subpixel.h
-VP9_COMMON_SRCS-yes += common/swapyv12buffer.h
-VP9_COMMON_SRCS-yes += common/systemdependent.h
-VP9_COMMON_SRCS-yes += common/treecoder.h
-VP9_COMMON_SRCS-yes += common/invtrans.c
-VP9_COMMON_SRCS-yes += common/loopfilter.c
-VP9_COMMON_SRCS-yes += common/loopfilter_filters.c
-VP9_COMMON_SRCS-yes += common/mbpitch.c
-VP9_COMMON_SRCS-yes += common/modecont.c
-VP9_COMMON_SRCS-yes += common/modecontext.c
-VP9_COMMON_SRCS-yes += common/mvref_common.c
-VP9_COMMON_SRCS-yes += common/mvref_common.h
-VP9_COMMON_SRCS-yes += common/quant_common.c
-VP9_COMMON_SRCS-yes += common/recon.c
-VP9_COMMON_SRCS-yes += common/reconinter.c
-VP9_COMMON_SRCS-yes += common/reconintra.c
-VP9_COMMON_SRCS-yes += common/reconintra4x4.c
-VP9_COMMON_SRCS-yes += common/setupintrarecon.c
-VP9_COMMON_SRCS-yes += common/swapyv12buffer.c
-VP9_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/textblit.c
-VP9_COMMON_SRCS-yes += common/treecoder.c
-VP9_COMMON_SRCS-$(CONFIG_IMPLICIT_SEGMENTATION) += common/implicit_segmentation.c
+VP9_COMMON_SRCS-yes += common/vp9_type_aliases.h
+VP9_COMMON_SRCS-yes += common/vp9_pragmas.h
+VP9_COMMON_SRCS-yes += common/vp9_ppflags.h
+VP9_COMMON_SRCS-yes += common/vp9_onyx.h
+VP9_COMMON_SRCS-yes += common/vp9_onyxd.h
+VP9_COMMON_SRCS-yes += common/vp9_alloccommon.c
+VP9_COMMON_SRCS-yes += common/vp9_asm_com_offsets.c
+VP9_COMMON_SRCS-yes += common/vp9_blockd.c
+VP9_COMMON_SRCS-yes += common/vp9_coefupdateprobs.h
+VP9_COMMON_SRCS-yes += common/vp9_debugmodes.c
+VP9_COMMON_SRCS-yes += common/vp9_entropy.c
+VP9_COMMON_SRCS-yes += common/vp9_entropymode.c
+VP9_COMMON_SRCS-yes += common/vp9_entropymv.c
+VP9_COMMON_SRCS-yes += common/vp9_extend.c
+VP9_COMMON_SRCS-yes += common/vp9_filter.c
+VP9_COMMON_SRCS-yes += common/vp9_filter.h
+VP9_COMMON_SRCS-yes += common/vp9_findnearmv.c
+VP9_COMMON_SRCS-yes += common/generic/vp9_systemdependent.c
+VP9_COMMON_SRCS-yes += common/vp9_idctllm.c
+VP9_COMMON_SRCS-yes += common/vp9_alloccommon.h
+VP9_COMMON_SRCS-yes += common/vp9_blockd.h
+VP9_COMMON_SRCS-yes += common/vp9_common.h
+VP9_COMMON_SRCS-yes += common/vp9_common_types.h
+VP9_COMMON_SRCS-yes += common/vp9_entropy.h
+VP9_COMMON_SRCS-yes += common/vp9_entropymode.h
+VP9_COMMON_SRCS-yes += common/vp9_entropymv.h
+VP9_COMMON_SRCS-yes += common/vp9_extend.h
+VP9_COMMON_SRCS-yes += common/vp9_findnearmv.h
+VP9_COMMON_SRCS-yes += common/vp9_header.h
+VP9_COMMON_SRCS-yes += common/vp9_invtrans.h
+VP9_COMMON_SRCS-yes += common/vp9_loopfilter.h
+VP9_COMMON_SRCS-yes += common/vp9_modecont.h
+VP9_COMMON_SRCS-yes += common/vp9_mv.h
+VP9_COMMON_SRCS-yes += common/vp9_onyxc_int.h
+VP9_COMMON_SRCS-yes += common/vp9_pred_common.h
+VP9_COMMON_SRCS-yes += common/vp9_pred_common.c
+VP9_COMMON_SRCS-yes += common/vp9_quant_common.h
+VP9_COMMON_SRCS-yes += common/vp9_reconinter.h
+VP9_COMMON_SRCS-yes += common/vp9_reconintra.h
+VP9_COMMON_SRCS-yes += common/vp9_reconintra4x4.h
+VP9_COMMON_SRCS-yes += common/vp9_rtcd.c
+VP9_COMMON_SRCS-yes += common/vp9_rtcd_defs.sh
+VP9_COMMON_SRCS-yes += common/vp9_sadmxn.h
+VP9_COMMON_SRCS-yes += common/vp9_subpelvar.h
+VP9_COMMON_SRCS-yes += common/vp9_seg_common.h
+VP9_COMMON_SRCS-yes += common/vp9_seg_common.c
+VP9_COMMON_SRCS-yes += common/vp9_setupintrarecon.h
+VP9_COMMON_SRCS-yes += common/vp9_subpixel.h
+VP9_COMMON_SRCS-yes += common/vp9_swapyv12buffer.h
+VP9_COMMON_SRCS-yes += common/vp9_systemdependent.h
+VP9_COMMON_SRCS-yes += common/vp9_treecoder.h
+VP9_COMMON_SRCS-yes += common/vp9_invtrans.c
+VP9_COMMON_SRCS-yes += common/vp9_loopfilter.c
+VP9_COMMON_SRCS-yes += common/vp9_loopfilter_filters.c
+VP9_COMMON_SRCS-yes += common/vp9_mbpitch.c
+VP9_COMMON_SRCS-yes += common/vp9_modecont.c
+VP9_COMMON_SRCS-yes += common/vp9_modecontext.c
+VP9_COMMON_SRCS-yes += common/vp9_mvref_common.c
+VP9_COMMON_SRCS-yes += common/vp9_mvref_common.h
+VP9_COMMON_SRCS-yes += common/vp9_quant_common.c
+VP9_COMMON_SRCS-yes += common/vp9_recon.c
+VP9_COMMON_SRCS-yes += common/vp9_reconinter.c
+VP9_COMMON_SRCS-yes += common/vp9_reconintra.c
+VP9_COMMON_SRCS-yes += common/vp9_reconintra4x4.c
+VP9_COMMON_SRCS-yes += common/vp9_setupintrarecon.c
+VP9_COMMON_SRCS-yes += common/vp9_swapyv12buffer.c
+VP9_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/vp9_textblit.c
+VP9_COMMON_SRCS-yes += common/vp9_treecoder.c
+VP9_COMMON_SRCS-$(CONFIG_IMPLICIT_SEGMENTATION) += common/vp9_implicit_segmentation.c
-VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/idct_x86.h
-VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/subpixel_x86.h
-VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.h
-VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/postproc_x86.h
-VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/x86_systemdependent.c
-VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp8_asm_stubs.c
-VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.c
-VP9_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.h
-VP9_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.c
-VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/idctllm_mmx.asm
-VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/iwalsh_mmx.asm
-VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/recon_mmx.asm
-VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/subpixel_mmx.asm
-VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/loopfilter_mmx.asm
-VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idctllm_sse2.asm
-VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_sse2.asm
-VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_wrapper_sse2.c
-VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/subpixel_sse2.asm
-VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_sse2.asm
-VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/iwalsh_sse2.asm
-VP9_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_8t_ssse3.asm
-VP9_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_ssse3.asm
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_idct_x86.h
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_subpixel_x86.h
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_loopfilter_x86.h
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_postproc_x86.h
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_x86_systemdependent.c
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_vp8_asm_stubs.c
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_loopfilter_x86.c
+VP9_COMMON_SRCS-$(CONFIG_POSTPROC) += common/vp9_postproc.h
+VP9_COMMON_SRCS-$(CONFIG_POSTPROC) += common/vp9_postproc.c
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_idctllm_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_iwalsh_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_recon_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_subpixel_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_loopfilter_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_idctllm_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_recon_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_recon_wrapper_sse2.c
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_subpixel_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_loopfilter_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_iwalsh_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/vp9_subpixel_8t_ssse3.asm
+VP9_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/vp9_subpixel_ssse3.asm
ifeq ($(CONFIG_POSTPROC),yes)
-VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/postproc_mmx.asm
-VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/postproc_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/vp9_postproc_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_postproc_sse2.asm
endif
# common (c)
ifeq ($(CONFIG_CSM),yes)
-VP9_COMMON_SRCS-yes += common/maskingmv.c
-VP9_COMMON_SRCS-$(HAVE_SSE3) += common/x86/mask_sse3.asm
+VP9_COMMON_SRCS-yes += common/vp9_maskingmv.c
+VP9_COMMON_SRCS-$(HAVE_SSE3) += common/x86/vp9_mask_sse3.asm
endif
-VP9_COMMON_SRCS-$(HAVE_SSE4_1) += common/x86/filter_sse4.c
+VP9_COMMON_SRCS-$(HAVE_SSE4_1) += common/x86/vp9_filter_sse4.c
ifeq ($(HAVE_SSE4_1),yes)
-$(call xform_obj_path_o_d,vp9/common/x86/filter_sse4.c): CFLAGS += -msse4
+$(call xform_obj_path_o_d,vp9/common/x86/vp9_filter_sse4.c): CFLAGS += -msse4
endif
-VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/filter_sse2.c
-VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/sadmxn_x86.c
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_filter_sse2.c
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_sadmxn_x86.c
ifeq ($(HAVE_SSE2),yes)
-$(call xform_obj_path_o_d,vp9/common/x86/filter_sse2.c): CFLAGS += -msse2
-$(call xform_obj_path_o_d,vp9/common/x86/loopfilter_x86.c): CFLAGS += -msse2
-$(call xform_obj_path_o_d,vp9/common/x86/sadmxn_x86.c): CFLAGS += -msse2
+$(call xform_obj_path_o_d,vp9/common/x86/vp9_filter_sse2.c): CFLAGS += -msse2
+$(call xform_obj_path_o_d,vp9/common/x86/vp9_loopfilter_x86.c): CFLAGS += -msse2
+$(call xform_obj_path_o_d,vp9/common/x86/vp9_sadmxn_x86.c): CFLAGS += -msse2
endif
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/arm_systemdependent.c
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/bilinearfilter_arm.c
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/bilinearfilter_arm.h
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/filter_arm.c
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/idct_arm.h
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/loopfilter_arm.c
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/loopfilter_arm.h
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/recon_arm.h
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/reconintra_arm.c
-VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/subpixel_arm.h
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_arm_systemdependent.c
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_bilinearfilter_arm.c
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_bilinearfilter_arm.h
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_filter_arm.c
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_idct_arm.h
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_loopfilter_arm.c
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_loopfilter_arm.h
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_recon_arm.h
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_reconintra_arm.c
+VP9_COMMON_SRCS-$(ARCH_ARM) += common/arm/vp9_subpixel_arm.h
# common (armv6)
VP9_COMMON_SRCS-$(HAVE_ARMV6) += common/arm/armv6/bilinearfilter_v6$(ASM)
VP9_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/recon16x16mb_neon$(ASM)
VP9_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/buildintrapredictorsmby_neon$(ASM)
VP9_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/save_neon_reg$(ASM)
-VP9_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/recon_neon.c
+VP9_COMMON_SRCS-$(HAVE_ARMV7) += common/arm/neon/vp9_recon_neon.c
$(eval $(call asm_offsets_template,\
- vp9_asm_com_offsets.asm, $(VP9_PREFIX)common/asm_com_offsets.c))
+ vp9_asm_com_offsets.asm, $(VP9_PREFIX)common/vp9_asm_com_offsets.c))
-$(eval $(call rtcd_h_template,vp9_rtcd,vp9/common/rtcd_defs.sh))
+$(eval $(call rtcd_h_template,vp9_rtcd,vp9/common/vp9_rtcd_defs.sh))
#include "vpx/vpx_codec.h"
#include "vpx/internal/vpx_codec_internal.h"
#include "vpx_version.h"
-#include "vp9/encoder/onyx_int.h"
+#include "vp9/encoder/vp9_onyx_int.h"
#include "vpx/vp8cx.h"
-#include "vp9/encoder/firstpass.h"
-#include "vp9/common/onyx.h"
+#include "vp9/encoder/vp9_firstpass.h"
+#include "vp9/common/vp9_onyx.h"
#include <stdlib.h>
#include <string.h>
#include "vpx/vp8dx.h"
#include "vpx/internal/vpx_codec_internal.h"
#include "vpx_version.h"
-#include "common/onyxd.h"
-#include "decoder/onyxd_int.h"
+#include "common/vp9_onyxd.h"
+#include "decoder/vp9_onyxd_int.h"
#define VP8_CAP_POSTPROC (CONFIG_POSTPROC ? VPX_CODEC_CAP_POSTPROC : 0)
typedef vpx_codec_stream_info_t vp8_stream_info_t;
#INCLUDES += common
#INCLUDES += encoder
-VP9_CX_SRCS-yes += encoder/asm_enc_offsets.c
-VP9_CX_SRCS-yes += encoder/bitstream.c
-VP9_CX_SRCS-yes += encoder/boolhuff.c
-VP9_CX_SRCS-yes += encoder/dct.c
-VP9_CX_SRCS-yes += encoder/encodeframe.c
-VP9_CX_SRCS-yes += encoder/encodeintra.c
-VP9_CX_SRCS-yes += encoder/encodemb.c
-VP9_CX_SRCS-yes += encoder/encodemv.c
-VP9_CX_SRCS-yes += encoder/firstpass.c
-VP9_CX_SRCS-yes += encoder/generic/csystemdependent.c
-VP9_CX_SRCS-yes += encoder/block.h
-VP9_CX_SRCS-yes += encoder/boolhuff.h
-VP9_CX_SRCS-yes += encoder/bitstream.h
-VP9_CX_SRCS-yes += encoder/encodeintra.h
-VP9_CX_SRCS-yes += encoder/encodemb.h
-VP9_CX_SRCS-yes += encoder/encodemv.h
-VP9_CX_SRCS-yes += encoder/firstpass.h
-VP9_CX_SRCS-yes += encoder/lookahead.c
-VP9_CX_SRCS-yes += encoder/lookahead.h
-VP9_CX_SRCS-yes += encoder/mcomp.h
-VP9_CX_SRCS-yes += encoder/modecosts.h
-VP9_CX_SRCS-yes += encoder/onyx_int.h
-VP9_CX_SRCS-yes += encoder/psnr.h
-VP9_CX_SRCS-yes += encoder/quantize.h
-VP9_CX_SRCS-yes += encoder/ratectrl.h
-VP9_CX_SRCS-yes += encoder/rdopt.h
-VP9_CX_SRCS-yes += encoder/tokenize.h
-VP9_CX_SRCS-yes += encoder/treewriter.h
-VP9_CX_SRCS-yes += encoder/variance.h
-VP9_CX_SRCS-yes += encoder/mcomp.c
-VP9_CX_SRCS-yes += encoder/modecosts.c
-VP9_CX_SRCS-yes += encoder/onyx_if.c
-VP9_CX_SRCS-yes += encoder/picklpf.c
-VP9_CX_SRCS-yes += encoder/psnr.c
-VP9_CX_SRCS-yes += encoder/quantize.c
-VP9_CX_SRCS-yes += encoder/ratectrl.c
-VP9_CX_SRCS-yes += encoder/rdopt.c
-VP9_CX_SRCS-yes += encoder/sad_c.c
-VP9_CX_SRCS-yes += encoder/satd_c.c
-VP9_CX_SRCS-yes += encoder/segmentation.c
-VP9_CX_SRCS-yes += encoder/segmentation.h
-VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/ssim.c
-VP9_CX_SRCS-yes += encoder/tokenize.c
-VP9_CX_SRCS-yes += encoder/treewriter.c
-VP9_CX_SRCS-yes += encoder/variance_c.c
+VP9_CX_SRCS-yes += encoder/vp9_asm_enc_offsets.c
+VP9_CX_SRCS-yes += encoder/vp9_bitstream.c
+VP9_CX_SRCS-yes += encoder/vp9_boolhuff.c
+VP9_CX_SRCS-yes += encoder/vp9_dct.c
+VP9_CX_SRCS-yes += encoder/vp9_encodeframe.c
+VP9_CX_SRCS-yes += encoder/vp9_encodeintra.c
+VP9_CX_SRCS-yes += encoder/vp9_encodemb.c
+VP9_CX_SRCS-yes += encoder/vp9_encodemv.c
+VP9_CX_SRCS-yes += encoder/vp9_firstpass.c
+VP9_CX_SRCS-yes += encoder/generic/vp9_csystemdependent.c
+VP9_CX_SRCS-yes += encoder/vp9_block.h
+VP9_CX_SRCS-yes += encoder/vp9_boolhuff.h
+VP9_CX_SRCS-yes += encoder/vp9_bitstream.h
+VP9_CX_SRCS-yes += encoder/vp9_encodeintra.h
+VP9_CX_SRCS-yes += encoder/vp9_encodemb.h
+VP9_CX_SRCS-yes += encoder/vp9_encodemv.h
+VP9_CX_SRCS-yes += encoder/vp9_firstpass.h
+VP9_CX_SRCS-yes += encoder/vp9_lookahead.c
+VP9_CX_SRCS-yes += encoder/vp9_lookahead.h
+VP9_CX_SRCS-yes += encoder/vp9_mcomp.h
+VP9_CX_SRCS-yes += encoder/vp9_modecosts.h
+VP9_CX_SRCS-yes += encoder/vp9_onyx_int.h
+VP9_CX_SRCS-yes += encoder/vp9_psnr.h
+VP9_CX_SRCS-yes += encoder/vp9_quantize.h
+VP9_CX_SRCS-yes += encoder/vp9_ratectrl.h
+VP9_CX_SRCS-yes += encoder/vp9_rdopt.h
+VP9_CX_SRCS-yes += encoder/vp9_tokenize.h
+VP9_CX_SRCS-yes += encoder/vp9_treewriter.h
+VP9_CX_SRCS-yes += encoder/vp9_variance.h
+VP9_CX_SRCS-yes += encoder/vp9_mcomp.c
+VP9_CX_SRCS-yes += encoder/vp9_modecosts.c
+VP9_CX_SRCS-yes += encoder/vp9_onyx_if.c
+VP9_CX_SRCS-yes += encoder/vp9_picklpf.c
+VP9_CX_SRCS-yes += encoder/vp9_psnr.c
+VP9_CX_SRCS-yes += encoder/vp9_quantize.c
+VP9_CX_SRCS-yes += encoder/vp9_ratectrl.c
+VP9_CX_SRCS-yes += encoder/vp9_rdopt.c
+VP9_CX_SRCS-yes += encoder/vp9_sad_c.c
+VP9_CX_SRCS-yes += encoder/vp9_satd_c.c
+VP9_CX_SRCS-yes += encoder/vp9_segmentation.c
+VP9_CX_SRCS-yes += encoder/vp9_segmentation.h
+VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/vp9_ssim.c
+VP9_CX_SRCS-yes += encoder/vp9_tokenize.c
+VP9_CX_SRCS-yes += encoder/vp9_treewriter.c
+VP9_CX_SRCS-yes += encoder/vp9_variance_c.c
ifeq ($(CONFIG_POSTPROC),yes)
-VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.h
-VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.c
+VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.h
+VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.c
endif
-VP9_CX_SRCS-yes += encoder/temporal_filter.c
-VP9_CX_SRCS-yes += encoder/temporal_filter.h
-VP9_CX_SRCS-yes += encoder/mbgraph.c
-VP9_CX_SRCS-yes += encoder/mbgraph.h
+VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.c
+VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.h
+VP9_CX_SRCS-yes += encoder/vp9_mbgraph.c
+VP9_CX_SRCS-yes += encoder/vp9_mbgraph.h
-VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/mcomp_x86.h
-VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_x86.h
-VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/temporal_filter_x86.h
-VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/x86_csystemdependent.c
-VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_mmx.c
-VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_impl_mmx.asm
-VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/sad_mmx.asm
-VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/dct_mmx.asm
-VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm
-VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
-VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_sse2.c
-VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_impl_sse2.asm
-VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/sad_sse2.asm
-VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
-VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.asm
-VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm
-VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
-VP9_CX_SRCS-$(HAVE_SSE3) += encoder/x86/sad_sse3.asm
-VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/sad_ssse3.asm
-VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/variance_ssse3.c
-VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/variance_impl_ssse3.asm
-VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/quantize_ssse3.asm
-VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/sad_sse4.asm
-VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/quantize_sse4.asm
-VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm
-VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm
-VP9_CX_SRCS-$(ARCH_X86_64) += encoder/x86/ssim_opt.asm
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/vp9_mcomp_x86.h
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/vp9_quantize_x86.h
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/vp9_temporal_filter_x86.h
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/vp9_x86_csystemdependent.c
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_variance_mmx.c
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_variance_impl_mmx.asm
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_sad_mmx.asm
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_dct_mmx.asm
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_subtract_mmx.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_variance_sse2.c
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_variance_impl_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_sad_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_fwalsh_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_quantize_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_subtract_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_temporal_filter_apply_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE3) += encoder/x86/vp9_sad_sse3.asm
+VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_sad_ssse3.asm
+VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_variance_ssse3.c
+VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_variance_impl_ssse3.asm
+VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_quantize_ssse3.asm
+VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/vp9_sad_sse4.asm
+VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/vp9_quantize_sse4.asm
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/vp9_quantize_mmx.asm
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/vp9_encodeopt.asm
+VP9_CX_SRCS-$(ARCH_X86_64) += encoder/x86/vp9_ssim_opt.asm
VP9_CX_SRCS-yes := $(filter-out $(VP9_CX_SRCS_REMOVE-yes),$(VP9_CX_SRCS-yes))
$(eval $(call asm_offsets_template,\
- vp9_asm_enc_offsets.asm, $(VP9_PREFIX)encoder/asm_enc_offsets.c))
+ vp9_asm_enc_offsets.asm, $(VP9_PREFIX)encoder/vp9_asm_enc_offsets.c))
#File list for arm
# encoder
-VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/arm_csystemdependent.c
+VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/vp9_arm_csystemdependent.c
-VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/dct_arm.c
-VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/dct_arm.h
-VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/encodemb_arm.h
-VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/quantize_arm.c
-VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/quantize_arm.h
-VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/variance_arm.c
-VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/variance_arm.h
+VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/vp9_dct_arm.c
+VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/vp9_dct_arm.h
+VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/vp9_encodemb_arm.h
+VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/vp9_quantize_arm.c
+VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/vp9_quantize_arm.h
+VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/vp9_variance_arm.c
+VP9_CX_SRCS-$(ARCH_ARM) += encoder/arm/vp9_variance_arm.h
#File list for armv5te
# encoder
-VP9_CX_SRCS-$(HAVE_ARMV5TE) += encoder/arm/boolhuff_arm.c
-VP9_CX_SRCS_REMOVE-$(HAVE_ARMV5TE) += encoder/boolhuff.c
+VP9_CX_SRCS-$(HAVE_ARMV5TE) += encoder/arm/vp9_boolhuff_arm.c
+VP9_CX_SRCS_REMOVE-$(HAVE_ARMV5TE) += encoder/vp9_boolhuff.c
VP9_CX_SRCS-$(HAVE_ARMV5TE) += encoder/arm/armv5te/boolhuff_armv5te$(ASM)
VP9_CX_SRCS-$(HAVE_ARMV5TE) += encoder/arm/armv5te/vp8_packtokens_armv5$(ASM)
VP9_CX_SRCS-$(HAVE_ARMV5TE) += encoder/arm/armv5te/vp8_packtokens_mbrow_armv5$(ASM)
#File list for neon
# encoder
VP9_CX_SRCS-$(HAVE_ARMV7) += encoder/arm/neon/fastquantizeb_neon$(ASM)
-VP9_CX_SRCS-$(HAVE_ARMV7) += encoder/arm/neon/picklpf_arm.c
+VP9_CX_SRCS-$(HAVE_ARMV7) += encoder/arm/neon/vp9_picklpf_arm.c
VP9_CX_SRCS-$(HAVE_ARMV7) += encoder/arm/neon/sad8_neon$(ASM)
VP9_CX_SRCS-$(HAVE_ARMV7) += encoder/arm/neon/sad16_neon$(ASM)
VP9_CX_SRCS-$(HAVE_ARMV7) += encoder/arm/neon/shortfdct_neon$(ASM)
#INCLUDES += common
#INCLUDES += decoder
-VP9_DX_SRCS-yes += decoder/asm_dec_offsets.c
-VP9_DX_SRCS-yes += decoder/dboolhuff.c
-VP9_DX_SRCS-yes += decoder/decodemv.c
-VP9_DX_SRCS-yes += decoder/decodframe.c
-VP9_DX_SRCS-yes += decoder/dequantize.c
-VP9_DX_SRCS-yes += decoder/detokenize.c
-VP9_DX_SRCS-yes += decoder/dboolhuff.h
-VP9_DX_SRCS-yes += decoder/decodemv.h
-VP9_DX_SRCS-yes += decoder/dequantize.h
-VP9_DX_SRCS-yes += decoder/detokenize.h
-VP9_DX_SRCS-yes += decoder/onyxd_int.h
-VP9_DX_SRCS-yes += decoder/treereader.h
-VP9_DX_SRCS-yes += decoder/onyxd_if.c
-VP9_DX_SRCS-yes += decoder/idct_blk.c
+VP9_DX_SRCS-yes += decoder/vp9_asm_dec_offsets.c
+VP9_DX_SRCS-yes += decoder/vp9_dboolhuff.c
+VP9_DX_SRCS-yes += decoder/vp9_decodemv.c
+VP9_DX_SRCS-yes += decoder/vp9_decodframe.c
+VP9_DX_SRCS-yes += decoder/vp9_dequantize.c
+VP9_DX_SRCS-yes += decoder/vp9_detokenize.c
+VP9_DX_SRCS-yes += decoder/vp9_dboolhuff.h
+VP9_DX_SRCS-yes += decoder/vp9_decodemv.h
+VP9_DX_SRCS-yes += decoder/vp9_dequantize.h
+VP9_DX_SRCS-yes += decoder/vp9_detokenize.h
+VP9_DX_SRCS-yes += decoder/vp9_onyxd_int.h
+VP9_DX_SRCS-yes += decoder/vp9_treereader.h
+VP9_DX_SRCS-yes += decoder/vp9_onyxd_if.c
+VP9_DX_SRCS-yes += decoder/vp9_idct_blk.c
VP9_DX_SRCS-yes := $(filter-out $(VP9_DX_SRCS_REMOVE-yes),$(VP9_DX_SRCS-yes))
-VP9_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c
-VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm
-VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/idct_blk_mmx.c
-VP9_DX_SRCS-$(HAVE_SSE2) += decoder/x86/idct_blk_sse2.c
+VP9_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/vp9_x86_dsystemdependent.c
+VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/vp9_dequantize_mmx.asm
+VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/vp9_idct_blk_mmx.c
+VP9_DX_SRCS-$(HAVE_SSE2) += decoder/x86/vp9_idct_blk_sse2.c
$(eval $(call asm_offsets_template,\
- vp9_asm_dec_offsets.asm, $(VP9_PREFIX)decoder/asm_dec_offsets.c))
+ vp9_asm_dec_offsets.asm, $(VP9_PREFIX)decoder/vp9_asm_dec_offsets.c))
#VP8_DX_SRCS list is modified according to different platforms.
-VP8_DX_SRCS-$(ARCH_ARM) += decoder/arm/dequantize_arm.c
+VP8_DX_SRCS-$(ARCH_ARM) += decoder/arm/vp9_dequantize_arm.c
#File list for armv6
VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/armv6/dequant_dc_idct_v6$(ASM)
VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/armv6/dequant_idct_v6$(ASM)
VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/armv6/dequantize_v6$(ASM)
-VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/armv6/idct_blk_v6.c
+VP8_DX_SRCS-$(HAVE_ARMV6) += decoder/arm/armv6/vp9_idct_blk_v6.c
#File list for neon
VP8_DX_SRCS-$(HAVE_ARMV7) += decoder/arm/neon/idct_dequant_dc_full_2x_neon$(ASM)
VP8_DX_SRCS-$(HAVE_ARMV7) += decoder/arm/neon/idct_dequant_full_2x_neon$(ASM)
VP8_DX_SRCS-$(HAVE_ARMV7) += decoder/arm/neon/idct_dequant_0_2x_neon$(ASM)
VP8_DX_SRCS-$(HAVE_ARMV7) += decoder/arm/neon/dequantizeb_neon$(ASM)
-VP8_DX_SRCS-$(HAVE_ARMV7) += decoder/arm/neon/idct_blk_neon.c
+VP8_DX_SRCS-$(HAVE_ARMV7) += decoder/arm/neon/vp9_idct_blk_neon.c