diff options
Diffstat (limited to 'vp8/common')
33 files changed, 57 insertions, 214 deletions
diff --git a/vp8/common/arm/armv6/idct_blk_v6.c b/vp8/common/arm/armv6/idct_blk_v6.c index 6002c0f12..c94f84a62 100644 --- a/vp8/common/arm/armv6/idct_blk_v6.c +++ b/vp8/common/arm/armv6/idct_blk_v6.c @@ -9,7 +9,7 @@ */ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" void vp8_dequant_idct_add_y_block_v6(short *q, short *dq, diff --git a/vp8/common/arm/bilinearfilter_arm.c b/vp8/common/arm/bilinearfilter_arm.c index c63073c77..799c8bd96 100644 --- a/vp8/common/arm/bilinearfilter_arm.c +++ b/vp8/common/arm/bilinearfilter_arm.c @@ -9,7 +9,7 @@ */ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include <math.h> #include "vp8/common/filter.h" #include "bilinearfilter_arm.h" diff --git a/vp8/common/arm/filter_arm.c b/vp8/common/arm/filter_arm.c index 148951a92..7fe39674e 100644 --- a/vp8/common/arm/filter_arm.c +++ b/vp8/common/arm/filter_arm.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include <math.h> #include "vp8/common/filter.h" #include "vpx_ports/mem.h" diff --git a/vp8/common/arm/loopfilter_arm.c b/vp8/common/arm/loopfilter_arm.c index b8f9bd90e..3bdc9675e 100644 --- a/vp8/common/arm/loopfilter_arm.c +++ b/vp8/common/arm/loopfilter_arm.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vp8/common/loopfilter.h" #include "vp8/common/onyxc_int.h" diff --git a/vp8/common/arm/neon/idct_blk_neon.c b/vp8/common/arm/neon/idct_blk_neon.c index ee7f223b5..fb327a726 100644 --- a/vp8/common/arm/neon/idct_blk_neon.c +++ b/vp8/common/arm/neon/idct_blk_neon.c @@ -9,7 +9,7 @@ */ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" /* place these declarations here because we don't want to maintain them * outside of this scope diff --git a/vp8/common/arm/reconintra_arm.c b/vp8/common/arm/reconintra_arm.c index 121e090e1..2874896e8 100644 --- a/vp8/common/arm/reconintra_arm.c +++ b/vp8/common/arm/reconintra_arm.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vp8/common/blockd.h" #include "vpx_mem/vpx_mem.h" diff --git a/vp8/common/arm/variance_arm.c b/vp8/common/arm/variance_arm.c index 891d767f0..467a50942 100644 --- a/vp8/common/arm/variance_arm.c +++ b/vp8/common/arm/variance_arm.c @@ -9,7 +9,7 @@ */ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vp8/common/variance.h" #include "vp8/common/filter.h" diff --git a/vp8/common/asm_com_offsets.c b/vp8/common/asm_com_offsets.c index ae22b5f6b..7bab90f82 100644 --- a/vp8/common/asm_com_offsets.c +++ b/vp8/common/asm_com_offsets.c @@ -12,7 +12,6 @@ #include "vpx_config.h" #include "vpx/vpx_codec.h" #include "vpx_ports/asm_offsets.h" -#include "vpx_scale/yv12config.h" #include "vp8/common/blockd.h" #if CONFIG_POSTPROC @@ -21,19 +20,6 @@ BEGIN -/* vpx_scale */ -DEFINE(yv12_buffer_config_y_width, offsetof(YV12_BUFFER_CONFIG, y_width)); -DEFINE(yv12_buffer_config_y_height, offsetof(YV12_BUFFER_CONFIG, y_height)); -DEFINE(yv12_buffer_config_y_stride, offsetof(YV12_BUFFER_CONFIG, y_stride)); -DEFINE(yv12_buffer_config_uv_width, offsetof(YV12_BUFFER_CONFIG, uv_width)); -DEFINE(yv12_buffer_config_uv_height, offsetof(YV12_BUFFER_CONFIG, uv_height)); -DEFINE(yv12_buffer_config_uv_stride, offsetof(YV12_BUFFER_CONFIG, uv_stride)); -DEFINE(yv12_buffer_config_y_buffer, offsetof(YV12_BUFFER_CONFIG, y_buffer)); -DEFINE(yv12_buffer_config_u_buffer, offsetof(YV12_BUFFER_CONFIG, u_buffer)); -DEFINE(yv12_buffer_config_v_buffer, offsetof(YV12_BUFFER_CONFIG, v_buffer)); -DEFINE(yv12_buffer_config_border, offsetof(YV12_BUFFER_CONFIG, border)); -DEFINE(VP8BORDERINPIXELS_VAL, VP8BORDERINPIXELS); - #if CONFIG_POSTPROC /* mfqe.c / filter_by_weight */ DEFINE(MFQE_PRECISION_VAL, MFQE_PRECISION); @@ -58,11 +44,6 @@ ct_assert(B_HD_PRED, B_HD_PRED == 8); ct_assert(B_HU_PRED, B_HU_PRED == 9); #endif -#if HAVE_NEON -/* vp8_yv12_extend_frame_borders_neon makes several assumptions based on this */ -ct_assert(VP8BORDERINPIXELS_VAL, VP8BORDERINPIXELS == 32) -#endif - #if HAVE_SSE2 #if CONFIG_POSTPROC /* vp8_filter_by_weight16x16 and 8x8 */ diff --git a/vp8/common/dequantize.c b/vp8/common/dequantize.c index 8eda48623..6e2f69a77 100644 --- a/vp8/common/dequantize.c +++ b/vp8/common/dequantize.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vp8/common/blockd.h" #include "vpx_mem/vpx_mem.h" diff --git a/vp8/common/generic/systemdependent.c b/vp8/common/generic/systemdependent.c index 5a6ac7b0e..2de019d70 100644 --- a/vp8/common/generic/systemdependent.c +++ b/vp8/common/generic/systemdependent.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #if ARCH_ARM #include "vpx_ports/arm.h" #elif ARCH_X86 || ARCH_X86_64 diff --git a/vp8/common/idct_blk.c b/vp8/common/idct_blk.c index 0b058c76a..8edfffbed 100644 --- a/vp8/common/idct_blk.c +++ b/vp8/common/idct_blk.c @@ -9,7 +9,7 @@ */ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *dest, int stride); diff --git a/vp8/common/invtrans.h b/vp8/common/invtrans.h index d048665b9..9262640d5 100644 --- a/vp8/common/invtrans.h +++ b/vp8/common/invtrans.h @@ -13,7 +13,7 @@ #define __INC_INVTRANS_H #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "blockd.h" #include "onyxc_int.h" diff --git a/vp8/common/loopfilter.c b/vp8/common/loopfilter.c index 41b4f1214..8681b7a6a 100644 --- a/vp8/common/loopfilter.c +++ b/vp8/common/loopfilter.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "loopfilter.h" #include "onyxc_int.h" #include "vpx_mem/vpx_mem.h" @@ -567,46 +567,28 @@ void vp8_loop_filter_partial_frame int mb_cols = post->y_width >> 4; int mb_rows = post->y_height >> 4; - int linestocopy, i; + int linestocopy; loop_filter_info_n *lfi_n = &cm->lf_info; loop_filter_info lfi; int filter_level; - int alt_flt_enabled = mbd->segmentation_enabled; FRAME_TYPE frame_type = cm->frame_type; const MODE_INFO *mode_info_context; - int lvl_seg[MAX_MB_SEGMENTS]; +#if 0 + if(default_filt_lvl == 0) /* no filter applied */ + return; +#endif + + /* Initialize the loop filter for this frame. */ + vp8_loop_filter_frame_init( cm, mbd, default_filt_lvl); /* number of MB rows to use in partial filtering */ linestocopy = mb_rows / PARTIAL_FRAME_FRACTION; linestocopy = linestocopy ? linestocopy << 4 : 16; /* 16 lines per MB */ - /* Note the baseline filter values for each segment */ - /* See vp8_loop_filter_frame_init. Rather than call that for each change - * to default_filt_lvl, copy the relevant calculation here. - */ - if (alt_flt_enabled) - { - for (i = 0; i < MAX_MB_SEGMENTS; i++) - { /* Abs value */ - if (mbd->mb_segement_abs_delta == SEGMENT_ABSDATA) - { - lvl_seg[i] = mbd->segment_feature_data[MB_LVL_ALT_LF][i]; - } - /* Delta Value */ - else - { - lvl_seg[i] = default_filt_lvl - + mbd->segment_feature_data[MB_LVL_ALT_LF][i]; - lvl_seg[i] = (lvl_seg[i] > 0) ? - ((lvl_seg[i] > 63) ? 63: lvl_seg[i]) : 0; - } - } - } - /* Set up the buffer pointers; partial image starts at ~middle of frame */ y_ptr = post->y_buffer + ((post->y_height >> 5) * 16) * post->y_stride; mode_info_context = cm->mi + (post->y_height >> 5) * (mb_cols + 1); @@ -620,10 +602,12 @@ void vp8_loop_filter_partial_frame mode_info_context->mbmi.mode != SPLITMV && mode_info_context->mbmi.mb_skip_coeff); - if (alt_flt_enabled) - filter_level = lvl_seg[mode_info_context->mbmi.segment_id]; - else - filter_level = default_filt_lvl; + const int mode_index = + lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; + const int seg = mode_info_context->mbmi.segment_id; + const int ref_frame = mode_info_context->mbmi.ref_frame; + + filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; if (filter_level) { diff --git a/vp8/common/loopfilter.h b/vp8/common/loopfilter.h index b3af2d650..1e47f3490 100644 --- a/vp8/common/loopfilter.h +++ b/vp8/common/loopfilter.h @@ -14,7 +14,7 @@ #include "vpx_ports/mem.h" #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #define MAX_LOOP_FILTER 63 /* fraction of total macroblock rows to be used in fast filter level picking */ diff --git a/vp8/common/mfqe.c b/vp8/common/mfqe.c index 3dff1505b..8a8f92f68 100644 --- a/vp8/common/mfqe.c +++ b/vp8/common/mfqe.c @@ -20,7 +20,7 @@ #include "postproc.h" #include "variance.h" #include "vpx_mem/vpx_mem.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vpx_scale/yv12config.h" #include <limits.h> diff --git a/vp8/common/mips/dspr2/dequantize_dspr2.c b/vp8/common/mips/dspr2/dequantize_dspr2.c index 682332573..619ee808d 100644 --- a/vp8/common/mips/dspr2/dequantize_dspr2.c +++ b/vp8/common/mips/dspr2/dequantize_dspr2.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vpx_mem/vpx_mem.h" #if HAVE_DSPR2 diff --git a/vp8/common/mips/dspr2/filter_dspr2.c b/vp8/common/mips/dspr2/filter_dspr2.c index 71fdcd715..ace5d400c 100644 --- a/vp8/common/mips/dspr2/filter_dspr2.c +++ b/vp8/common/mips/dspr2/filter_dspr2.c @@ -10,7 +10,7 @@ #include <stdlib.h> -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vpx_ports/mem.h" #if HAVE_DSPR2 diff --git a/vp8/common/mips/dspr2/idct_blk_dspr2.c b/vp8/common/mips/dspr2/idct_blk_dspr2.c index 1e0ebd161..ab938cd6a 100644 --- a/vp8/common/mips/dspr2/idct_blk_dspr2.c +++ b/vp8/common/mips/dspr2/idct_blk_dspr2.c @@ -9,7 +9,7 @@ */ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #if HAVE_DSPR2 diff --git a/vp8/common/mips/dspr2/idctllm_dspr2.c b/vp8/common/mips/dspr2/idctllm_dspr2.c index 25b793643..2eff71069 100644 --- a/vp8/common/mips/dspr2/idctllm_dspr2.c +++ b/vp8/common/mips/dspr2/idctllm_dspr2.c @@ -8,7 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #if HAVE_DSPR2 #define CROP_WIDTH 256 diff --git a/vp8/common/mips/dspr2/loopfilter_filters_dspr2.c b/vp8/common/mips/dspr2/loopfilter_filters_dspr2.c index b8e5e4d07..9ae6bc8f9 100644 --- a/vp8/common/mips/dspr2/loopfilter_filters_dspr2.c +++ b/vp8/common/mips/dspr2/loopfilter_filters_dspr2.c @@ -10,7 +10,7 @@ #include <stdlib.h> -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vp8/common/onyxc_int.h" #if HAVE_DSPR2 diff --git a/vp8/common/mips/dspr2/reconinter_dspr2.c b/vp8/common/mips/dspr2/reconinter_dspr2.c index a5239a3c8..a14b397d8 100644 --- a/vp8/common/mips/dspr2/reconinter_dspr2.c +++ b/vp8/common/mips/dspr2/reconinter_dspr2.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vpx/vpx_integer.h" #if HAVE_DSPR2 diff --git a/vp8/common/onyxc_int.h b/vp8/common/onyxc_int.h index 5325bace4..03c97187a 100644 --- a/vp8/common/onyxc_int.h +++ b/vp8/common/onyxc_int.h @@ -13,7 +13,7 @@ #define __INC_VP8C_INT_H #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vpx/internal/vpx_codec_internal.h" #include "loopfilter.h" #include "entropymv.h" diff --git a/vp8/common/postproc.c b/vp8/common/postproc.c index 80fa530ed..c6442c92e 100644 --- a/vp8/common/postproc.c +++ b/vp8/common/postproc.c @@ -10,7 +10,8 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" +#include "vpx_scale_rtcd.h" #include "vpx_scale/yv12config.h" #include "postproc.h" #include "common.h" diff --git a/vp8/common/ppc/systemdependent.c b/vp8/common/ppc/systemdependent.c index 87f4cac72..6899c0e71 100644 --- a/vp8/common/ppc/systemdependent.c +++ b/vp8/common/ppc/systemdependent.c @@ -12,13 +12,8 @@ #include "subpixel.h" #include "loopfilter.h" #include "recon.h" -#include "idct.h" #include "onyxc_int.h" -void (*vp8_short_idct4x4)(short *input, short *output, int pitch); -void (*vp8_short_idct4x4_1)(short *input, short *output, int pitch); -void (*vp8_dc_only_idct)(short input_dc, short *output, int pitch); - extern void (*vp8_post_proc_down_and_across_mb_row)( unsigned char *src_ptr, unsigned char *dst_ptr, diff --git a/vp8/common/reconinter.c b/vp8/common/reconinter.c index 3da3bc74f..43f84d01b 100644 --- a/vp8/common/reconinter.c +++ b/vp8/common/reconinter.c @@ -11,7 +11,7 @@ #include <limits.h> #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vpx/vpx_integer.h" #include "blockd.h" #include "reconinter.h" diff --git a/vp8/common/reconintra.c b/vp8/common/reconintra.c index 4067a6851..a85121579 100644 --- a/vp8/common/reconintra.c +++ b/vp8/common/reconintra.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vpx_mem/vpx_mem.h" #include "blockd.h" diff --git a/vp8/common/reconintra4x4.c b/vp8/common/reconintra4x4.c index 7bb8d0ac1..3d4f2c404 100644 --- a/vp8/common/reconintra4x4.c +++ b/vp8/common/reconintra4x4.c @@ -10,17 +10,17 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "blockd.h" void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left_stride, - B_PREDICTION_MODE b_mode, + int _b_mode, unsigned char *dst, int dst_stride, unsigned char top_left) { int i, r, c; - + B_PREDICTION_MODE b_mode = (B_PREDICTION_MODE)_b_mode; unsigned char Left[4]; Left[0] = yleft[0]; Left[1] = yleft[left_stride]; diff --git a/vp8/common/rtcd.c b/vp8/common/rtcd.c index 01dad4691..0b371b094 100644 --- a/vp8/common/rtcd.c +++ b/vp8/common/rtcd.c @@ -9,97 +9,13 @@ */ #include "vpx_config.h" #define RTCD_C -#include "vpx_rtcd.h" - -#if CONFIG_MULTITHREAD && defined(_WIN32) -#include <windows.h> -#include <stdlib.h> -static void once(void (*func)(void)) -{ - static CRITICAL_SECTION *lock; - static LONG waiters; - static int done; - void *lock_ptr = &lock; - - /* If the initialization is complete, return early. This isn't just an - * optimization, it prevents races on the destruction of the global - * lock. - */ - if(done) - return; - - InterlockedIncrement(&waiters); - - /* Get a lock. We create one and try to make it the one-true-lock, - * throwing it away if we lost the race. - */ - - { - /* Scope to protect access to new_lock */ - CRITICAL_SECTION *new_lock = malloc(sizeof(CRITICAL_SECTION)); - InitializeCriticalSection(new_lock); - if (InterlockedCompareExchangePointer(lock_ptr, new_lock, NULL) != NULL) - { - DeleteCriticalSection(new_lock); - free(new_lock); - } - } - - /* At this point, we have a lock that can be synchronized on. We don't - * care which thread actually performed the allocation. - */ - - EnterCriticalSection(lock); - - if (!done) - { - func(); - done = 1; - } - - LeaveCriticalSection(lock); - - /* Last one out should free resources. The destructed objects are - * protected by checking if(done) above. - */ - if(!InterlockedDecrement(&waiters)) - { - DeleteCriticalSection(lock); - free(lock); - lock = NULL; - } -} - - -#elif CONFIG_MULTITHREAD && HAVE_PTHREAD_H -#include <pthread.h> -static void once(void (*func)(void)) -{ - static pthread_once_t lock = PTHREAD_ONCE_INIT; - pthread_once(&lock, func); -} - - -#else -/* No-op version that performs no synchronization. vpx_rtcd() is idempotent, - * so as long as your platform provides atomic loads/stores of pointers - * no synchronization is strictly necessary. - */ - -static void once(void (*func)(void)) -{ - static int done; - - if(!done) - { - func(); - done = 1; - } -} -#endif +#include "vp8_rtcd.h" +#include "vpx_ports/vpx_once.h" +extern void vpx_scale_rtcd(void); -void vpx_rtcd() +void vp8_rtcd() { + vpx_scale_rtcd(); once(setup_rtcd_internal); } diff --git a/vp8/common/rtcd_defs.sh b/vp8/common/rtcd_defs.sh index 0f950f8ab..4eb96b743 100644 --- a/vp8/common/rtcd_defs.sh +++ b/vp8/common/rtcd_defs.sh @@ -1,6 +1,8 @@ -common_forward_decls() { +vp8_common_forward_decls() { cat <<EOF -#include "vp8/common/blockd.h" +/* + * VP8 + */ struct blockd; struct macroblockd; @@ -14,7 +16,7 @@ union int_mv; struct yv12_buffer_config; EOF } -forward_decls common_forward_decls +forward_decls vp8_common_forward_decls # # Dequant @@ -146,7 +148,7 @@ specialize vp8_build_intra_predictors_mby_s sse2 ssse3 prototype void vp8_build_intra_predictors_mbuv_s "struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride" specialize vp8_build_intra_predictors_mbuv_s sse2 ssse3 -prototype void vp8_intra4x4_predict "unsigned char *Above, unsigned char *yleft, int left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsigned char top_left" +prototype void vp8_intra4x4_predict "unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left" specialize vp8_intra4x4_predict media vp8_intra4x4_predict_media=vp8_intra4x4_predict_armv6 @@ -530,39 +532,3 @@ fi # End of encoder only functions fi - -# Scaler functions -if [ "CONFIG_SPATIAL_RESAMPLING" != "yes" ]; then - prototype void vp8_horizontal_line_4_5_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width" - prototype void vp8_vertical_band_4_5_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_last_vertical_band_4_5_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_horizontal_line_2_3_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width" - prototype void vp8_vertical_band_2_3_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_last_vertical_band_2_3_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_horizontal_line_3_5_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width" - prototype void vp8_vertical_band_3_5_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_last_vertical_band_3_5_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_horizontal_line_3_4_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width" - prototype void vp8_vertical_band_3_4_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_last_vertical_band_3_4_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_horizontal_line_1_2_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width" - prototype void vp8_vertical_band_1_2_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_last_vertical_band_1_2_scale "unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_horizontal_line_5_4_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width" - prototype void vp8_vertical_band_5_4_scale "unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_horizontal_line_5_3_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width" - prototype void vp8_vertical_band_5_3_scale "unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_horizontal_line_2_1_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width" - prototype void vp8_vertical_band_2_1_scale "unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" - prototype void vp8_vertical_band_2_1_scale_i "unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width" -fi - -prototype void vp8_yv12_extend_frame_borders "struct yv12_buffer_config *ybf" -specialize vp8_yv12_extend_frame_borders neon - -prototype void vp8_yv12_copy_frame "struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc" -specialize vp8_yv12_copy_frame neon - -prototype void vp8_yv12_copy_y "struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc" -specialize vp8_yv12_copy_y neon - diff --git a/vp8/common/x86/idct_blk_mmx.c b/vp8/common/x86/idct_blk_mmx.c index 4adf3f5f9..49b2013ae 100644 --- a/vp8/common/x86/idct_blk_mmx.c +++ b/vp8/common/x86/idct_blk_mmx.c @@ -9,7 +9,7 @@ */ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vp8/common/blockd.h" extern void vp8_dequantize_b_impl_mmx(short *sq, short *dq, short *q); diff --git a/vp8/common/x86/idct_blk_sse2.c b/vp8/common/x86/idct_blk_sse2.c index 056e05215..ae96ec858 100644 --- a/vp8/common/x86/idct_blk_sse2.c +++ b/vp8/common/x86/idct_blk_sse2.c @@ -9,7 +9,7 @@ */ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" void vp8_idct_dequant_0_2x_sse2 (short *q, short *dq , diff --git a/vp8/common/x86/recon_wrapper_sse2.c b/vp8/common/x86/recon_wrapper_sse2.c index b482faa3f..65f4251a9 100644 --- a/vp8/common/x86/recon_wrapper_sse2.c +++ b/vp8/common/x86/recon_wrapper_sse2.c @@ -9,7 +9,7 @@ */ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vpx_mem/vpx_mem.h" #include "vp8/common/blockd.h" diff --git a/vp8/common/x86/vp8_asm_stubs.c b/vp8/common/x86/vp8_asm_stubs.c index 3437a2367..c0416b7e6 100644 --- a/vp8/common/x86/vp8_asm_stubs.c +++ b/vp8/common/x86/vp8_asm_stubs.c @@ -10,7 +10,7 @@ #include "vpx_config.h" -#include "vpx_rtcd.h" +#include "vp8_rtcd.h" #include "vpx_ports/mem.h" #include "filter_x86.h" |