Repo created
This commit is contained in:
parent
81b91f4139
commit
f8c34fa5ee
22732 changed files with 4815320 additions and 2 deletions
713
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vp8_rtcd.h
vendored
Normal file
713
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vp8_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,713 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP8_RTCD_H_
|
||||
#define VP8_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP8
|
||||
*/
|
||||
|
||||
struct blockd;
|
||||
struct macroblockd;
|
||||
struct loop_filter_info;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct block;
|
||||
struct macroblock;
|
||||
struct variance_vtable;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_bilinear_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_bilinear_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_bilinear_predict4x4)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_bilinear_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_bilinear_predict8x4)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_bilinear_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_blend_b_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_b vp8_blend_b_c
|
||||
|
||||
void vp8_blend_mb_inner_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_inner vp8_blend_mb_inner_c
|
||||
|
||||
void vp8_blend_mb_outer_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_outer vp8_blend_mb_outer_c
|
||||
|
||||
int vp8_block_error_c(short* coeff, short* dqcoeff);
|
||||
#define vp8_block_error vp8_block_error_c
|
||||
|
||||
void vp8_copy32xn_c(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
#define vp8_copy32xn vp8_copy32xn_c
|
||||
|
||||
void vp8_copy_mem16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem16x16_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
RTCD_EXTERN void (*vp8_copy_mem16x16)(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
|
||||
void vp8_copy_mem8x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x4_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
RTCD_EXTERN void (*vp8_copy_mem8x4)(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
|
||||
void vp8_copy_mem8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x8_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
RTCD_EXTERN void (*vp8_copy_mem8x8)(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
|
||||
void vp8_dc_only_idct_add_c(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_dc_only_idct_add_neon(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
RTCD_EXTERN void (*vp8_dc_only_idct_add)(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
|
||||
int vp8_denoiser_filter_c(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_neon(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
RTCD_EXTERN int (*vp8_denoiser_filter)(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
|
||||
int vp8_denoiser_filter_uv_c(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_uv_neon(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
RTCD_EXTERN int (*vp8_denoiser_filter_uv)(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
|
||||
void vp8_dequant_idct_add_c(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
void vp8_dequant_idct_add_neon(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
RTCD_EXTERN void (*vp8_dequant_idct_add)(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
|
||||
void vp8_dequant_idct_add_uv_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_uv_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
RTCD_EXTERN void (*vp8_dequant_idct_add_uv_block)(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
|
||||
void vp8_dequant_idct_add_y_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_y_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
RTCD_EXTERN void (*vp8_dequant_idct_add_y_block)(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
|
||||
void vp8_dequantize_b_c(struct blockd*, short* DQC);
|
||||
void vp8_dequantize_b_neon(struct blockd*, short* DQC);
|
||||
RTCD_EXTERN void (*vp8_dequantize_b)(struct blockd*, short* DQC);
|
||||
|
||||
int vp8_diamond_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_diamond_search_sad vp8_diamond_search_sad_c
|
||||
|
||||
void vp8_fast_quantize_b_c(struct block*, struct blockd*);
|
||||
void vp8_fast_quantize_b_neon(struct block*, struct blockd*);
|
||||
RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block*, struct blockd*);
|
||||
|
||||
void vp8_filter_by_weight16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
|
||||
|
||||
void vp8_filter_by_weight4x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
|
||||
|
||||
void vp8_filter_by_weight8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
|
||||
|
||||
int vp8_full_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_full_search_sad vp8_full_search_sad_c
|
||||
|
||||
void vp8_loop_filter_bh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
RTCD_EXTERN void (*vp8_loop_filter_bh)(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
|
||||
void vp8_loop_filter_bv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
RTCD_EXTERN void (*vp8_loop_filter_bv)(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
|
||||
void vp8_loop_filter_mbh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
RTCD_EXTERN void (*vp8_loop_filter_mbh)(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
|
||||
void vp8_loop_filter_mbv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
RTCD_EXTERN void (*vp8_loop_filter_mbv)(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
|
||||
void vp8_loop_filter_bhs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
RTCD_EXTERN void (*vp8_loop_filter_simple_bh)(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
|
||||
void vp8_loop_filter_bvs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
RTCD_EXTERN void (*vp8_loop_filter_simple_bv)(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
|
||||
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
RTCD_EXTERN void (*vp8_loop_filter_simple_mbh)(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
|
||||
void vp8_loop_filter_simple_vertical_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
RTCD_EXTERN void (*vp8_loop_filter_simple_mbv)(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
|
||||
int vp8_mbblock_error_c(struct macroblock* mb, int dc);
|
||||
#define vp8_mbblock_error vp8_mbblock_error_c
|
||||
|
||||
int vp8_mbuverror_c(struct macroblock* mb);
|
||||
#define vp8_mbuverror vp8_mbuverror_c
|
||||
|
||||
int vp8_refining_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_refining_search_sad vp8_refining_search_sad_c
|
||||
|
||||
void vp8_regular_quantize_b_c(struct block*, struct blockd*);
|
||||
#define vp8_regular_quantize_b vp8_regular_quantize_b_c
|
||||
|
||||
void vp8_short_fdct4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct4x4_neon(short* input, short* output, int pitch);
|
||||
RTCD_EXTERN void (*vp8_short_fdct4x4)(short* input, short* output, int pitch);
|
||||
|
||||
void vp8_short_fdct8x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct8x4_neon(short* input, short* output, int pitch);
|
||||
RTCD_EXTERN void (*vp8_short_fdct8x4)(short* input, short* output, int pitch);
|
||||
|
||||
void vp8_short_idct4x4llm_c(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_short_idct4x4llm_neon(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
RTCD_EXTERN void (*vp8_short_idct4x4llm)(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
|
||||
void vp8_short_inv_walsh4x4_c(short* input, short* mb_dqcoeff);
|
||||
void vp8_short_inv_walsh4x4_neon(short* input, short* mb_dqcoeff);
|
||||
RTCD_EXTERN void (*vp8_short_inv_walsh4x4)(short* input, short* mb_dqcoeff);
|
||||
|
||||
void vp8_short_inv_walsh4x4_1_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
|
||||
|
||||
void vp8_short_walsh4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_walsh4x4_neon(short* input, short* output, int pitch);
|
||||
RTCD_EXTERN void (*vp8_short_walsh4x4)(short* input, short* output, int pitch);
|
||||
|
||||
void vp8_sixtap_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_sixtap_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_sixtap_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_sixtap_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
|
||||
vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_neon;
|
||||
vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_neon;
|
||||
vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_neon;
|
||||
vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_neon;
|
||||
vp8_copy_mem16x16 = vp8_copy_mem16x16_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_copy_mem16x16 = vp8_copy_mem16x16_neon;
|
||||
vp8_copy_mem8x4 = vp8_copy_mem8x4_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_copy_mem8x4 = vp8_copy_mem8x4_neon;
|
||||
vp8_copy_mem8x8 = vp8_copy_mem8x8_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_copy_mem8x8 = vp8_copy_mem8x8_neon;
|
||||
vp8_dc_only_idct_add = vp8_dc_only_idct_add_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_dc_only_idct_add = vp8_dc_only_idct_add_neon;
|
||||
vp8_denoiser_filter = vp8_denoiser_filter_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_denoiser_filter = vp8_denoiser_filter_neon;
|
||||
vp8_denoiser_filter_uv = vp8_denoiser_filter_uv_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_denoiser_filter_uv = vp8_denoiser_filter_uv_neon;
|
||||
vp8_dequant_idct_add = vp8_dequant_idct_add_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_dequant_idct_add = vp8_dequant_idct_add_neon;
|
||||
vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_neon;
|
||||
vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_neon;
|
||||
vp8_dequantize_b = vp8_dequantize_b_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_dequantize_b = vp8_dequantize_b_neon;
|
||||
vp8_fast_quantize_b = vp8_fast_quantize_b_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_fast_quantize_b = vp8_fast_quantize_b_neon;
|
||||
vp8_loop_filter_bh = vp8_loop_filter_bh_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_loop_filter_bh = vp8_loop_filter_bh_neon;
|
||||
vp8_loop_filter_bv = vp8_loop_filter_bv_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_loop_filter_bv = vp8_loop_filter_bv_neon;
|
||||
vp8_loop_filter_mbh = vp8_loop_filter_mbh_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_loop_filter_mbh = vp8_loop_filter_mbh_neon;
|
||||
vp8_loop_filter_mbv = vp8_loop_filter_mbv_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_loop_filter_mbv = vp8_loop_filter_mbv_neon;
|
||||
vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_neon;
|
||||
vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_neon;
|
||||
vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_loop_filter_simple_mbh = vp8_loop_filter_mbhs_neon;
|
||||
vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_loop_filter_simple_mbv = vp8_loop_filter_mbvs_neon;
|
||||
vp8_short_fdct4x4 = vp8_short_fdct4x4_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_short_fdct4x4 = vp8_short_fdct4x4_neon;
|
||||
vp8_short_fdct8x4 = vp8_short_fdct8x4_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_short_fdct8x4 = vp8_short_fdct8x4_neon;
|
||||
vp8_short_idct4x4llm = vp8_short_idct4x4llm_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_short_idct4x4llm = vp8_short_idct4x4llm_neon;
|
||||
vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_neon;
|
||||
vp8_short_walsh4x4 = vp8_short_walsh4x4_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_short_walsh4x4 = vp8_short_walsh4x4_neon;
|
||||
vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_neon;
|
||||
vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_neon;
|
||||
vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_neon;
|
||||
vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_neon;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
287
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h
vendored
Normal file
287
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,287 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP9_RTCD_H_
|
||||
#define VP9_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP9
|
||||
*/
|
||||
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_enums.h"
|
||||
#include "vp9/common/vp9_filter.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
struct macroblockd;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct macroblock;
|
||||
struct vp9_variance_vtable;
|
||||
struct search_site_config;
|
||||
struct mv;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int64_t vp9_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
#define vp9_block_error vp9_block_error_c
|
||||
|
||||
int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
int64_t vp9_block_error_fp_neon(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
RTCD_EXTERN int64_t (*vp9_block_error_fp)(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
|
||||
int vp9_denoiser_filter_c(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
int vp9_denoiser_filter_neon(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
RTCD_EXTERN int (*vp9_denoiser_filter)(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
|
||||
int vp9_diamond_search_sad_c(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
#define vp9_diamond_search_sad vp9_diamond_search_sad_c
|
||||
|
||||
void vp9_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht16x16 vp9_fht16x16_c
|
||||
|
||||
void vp9_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht4x4 vp9_fht4x4_c
|
||||
|
||||
void vp9_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht8x8 vp9_fht8x8_c
|
||||
|
||||
void vp9_filter_by_weight16x16_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
|
||||
|
||||
void vp9_filter_by_weight8x8_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c
|
||||
|
||||
void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_fwht4x4 vp9_fwht4x4_c
|
||||
|
||||
void vp9_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht16x16_256_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
RTCD_EXTERN void (*vp9_iht16x16_256_add)(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
|
||||
void vp9_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht4x4_16_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
RTCD_EXTERN void (*vp9_iht4x4_16_add)(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
|
||||
void vp9_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht8x8_64_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
RTCD_EXTERN void (*vp9_iht8x8_64_add)(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
|
||||
void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
|
||||
void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_32x32_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
RTCD_EXTERN void (*vp9_quantize_fp_32x32)(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
|
||||
void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
void vp9_scale_and_extend_frame_neon(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
RTCD_EXTERN void (*vp9_scale_and_extend_frame)(
|
||||
const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
|
||||
void vp9_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
|
||||
vp9_block_error_fp = vp9_block_error_fp_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp9_block_error_fp = vp9_block_error_fp_neon;
|
||||
vp9_denoiser_filter = vp9_denoiser_filter_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp9_denoiser_filter = vp9_denoiser_filter_neon;
|
||||
vp9_iht16x16_256_add = vp9_iht16x16_256_add_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp9_iht16x16_256_add = vp9_iht16x16_256_add_neon;
|
||||
vp9_iht4x4_16_add = vp9_iht4x4_16_add_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp9_iht4x4_16_add = vp9_iht4x4_16_add_neon;
|
||||
vp9_iht8x8_64_add = vp9_iht8x8_64_add_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp9_iht8x8_64_add = vp9_iht8x8_64_add_neon;
|
||||
vp9_quantize_fp = vp9_quantize_fp_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp9_quantize_fp = vp9_quantize_fp_neon;
|
||||
vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_neon;
|
||||
vp9_scale_and_extend_frame = vp9_scale_and_extend_frame_c;
|
||||
if (flags & HAS_NEON)
|
||||
vp9_scale_and_extend_frame = vp9_scale_and_extend_frame_neon;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_config.asm
vendored
Normal file
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_config.asm
vendored
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
@ This file was created from a .asm file
|
||||
@ using the ads2gas.pl script.
|
||||
.syntax unified
|
||||
.equ VPX_ARCH_ARM , 1
|
||||
.equ ARCH_ARM , 1
|
||||
.equ VPX_ARCH_MIPS , 0
|
||||
.equ ARCH_MIPS , 0
|
||||
.equ VPX_ARCH_X86 , 0
|
||||
.equ ARCH_X86 , 0
|
||||
.equ VPX_ARCH_X86_64 , 0
|
||||
.equ ARCH_X86_64 , 0
|
||||
.equ VPX_ARCH_PPC , 0
|
||||
.equ ARCH_PPC , 0
|
||||
.equ HAVE_NEON , 1
|
||||
.equ HAVE_NEON_ASM , 1
|
||||
.equ HAVE_MIPS32 , 0
|
||||
.equ HAVE_DSPR2 , 0
|
||||
.equ HAVE_MSA , 0
|
||||
.equ HAVE_MIPS64 , 0
|
||||
.equ HAVE_MMX , 0
|
||||
.equ HAVE_SSE , 0
|
||||
.equ HAVE_SSE2 , 0
|
||||
.equ HAVE_SSE3 , 0
|
||||
.equ HAVE_SSSE3 , 0
|
||||
.equ HAVE_SSE4_1 , 0
|
||||
.equ HAVE_AVX , 0
|
||||
.equ HAVE_AVX2 , 0
|
||||
.equ HAVE_AVX512 , 0
|
||||
.equ HAVE_VSX , 0
|
||||
.equ HAVE_MMI , 0
|
||||
.equ HAVE_VPX_PORTS , 1
|
||||
.equ HAVE_PTHREAD_H , 1
|
||||
.equ HAVE_UNISTD_H , 0
|
||||
.equ CONFIG_DEPENDENCY_TRACKING , 1
|
||||
.equ CONFIG_EXTERNAL_BUILD , 1
|
||||
.equ CONFIG_INSTALL_DOCS , 0
|
||||
.equ CONFIG_INSTALL_BINS , 1
|
||||
.equ CONFIG_INSTALL_LIBS , 1
|
||||
.equ CONFIG_INSTALL_SRCS , 0
|
||||
.equ CONFIG_DEBUG , 0
|
||||
.equ CONFIG_GPROF , 0
|
||||
.equ CONFIG_GCOV , 0
|
||||
.equ CONFIG_RVCT , 0
|
||||
.equ CONFIG_GCC , 1
|
||||
.equ CONFIG_MSVS , 0
|
||||
.equ CONFIG_PIC , 0
|
||||
.equ CONFIG_BIG_ENDIAN , 0
|
||||
.equ CONFIG_CODEC_SRCS , 0
|
||||
.equ CONFIG_DEBUG_LIBS , 0
|
||||
.equ CONFIG_DEQUANT_TOKENS , 0
|
||||
.equ CONFIG_DC_RECON , 0
|
||||
.equ CONFIG_RUNTIME_CPU_DETECT , 1
|
||||
.equ CONFIG_POSTPROC , 1
|
||||
.equ CONFIG_VP9_POSTPROC , 1
|
||||
.equ CONFIG_MULTITHREAD , 1
|
||||
.equ CONFIG_INTERNAL_STATS , 0
|
||||
.equ CONFIG_VP8_ENCODER , 1
|
||||
.equ CONFIG_VP8_DECODER , 1
|
||||
.equ CONFIG_VP9_ENCODER , 1
|
||||
.equ CONFIG_VP9_DECODER , 1
|
||||
.equ CONFIG_VP8 , 1
|
||||
.equ CONFIG_VP9 , 1
|
||||
.equ CONFIG_ENCODERS , 1
|
||||
.equ CONFIG_DECODERS , 1
|
||||
.equ CONFIG_STATIC_MSVCRT , 0
|
||||
.equ CONFIG_SPATIAL_RESAMPLING , 1
|
||||
.equ CONFIG_REALTIME_ONLY , 1
|
||||
.equ CONFIG_ONTHEFLY_BITPACKING , 0
|
||||
.equ CONFIG_ERROR_CONCEALMENT , 0
|
||||
.equ CONFIG_SHARED , 0
|
||||
.equ CONFIG_STATIC , 1
|
||||
.equ CONFIG_SMALL , 0
|
||||
.equ CONFIG_POSTPROC_VISUALIZER , 0
|
||||
.equ CONFIG_OS_SUPPORT , 1
|
||||
.equ CONFIG_UNIT_TESTS , 1
|
||||
.equ CONFIG_WEBM_IO , 1
|
||||
.equ CONFIG_LIBYUV , 0
|
||||
.equ CONFIG_DECODE_PERF_TESTS , 0
|
||||
.equ CONFIG_ENCODE_PERF_TESTS , 0
|
||||
.equ CONFIG_MULTI_RES_ENCODING , 1
|
||||
.equ CONFIG_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_VP9_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_CONSISTENT_RECODE , 0
|
||||
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
|
||||
.equ CONFIG_VP9_HIGHBITDEPTH , 0
|
||||
.equ CONFIG_BETTER_HW_COMPATIBILITY , 0
|
||||
.equ CONFIG_EXPERIMENTAL , 0
|
||||
.equ CONFIG_SIZE_LIMIT , 1
|
||||
.equ CONFIG_ALWAYS_ADJUST_BPM , 0
|
||||
.equ CONFIG_BITSTREAM_DEBUG , 0
|
||||
.equ CONFIG_MISMATCH_DEBUG , 0
|
||||
.equ CONFIG_FP_MB_STATS , 0
|
||||
.equ CONFIG_EMULATE_HARDWARE , 0
|
||||
.equ CONFIG_NON_GREEDY_MV , 0
|
||||
.equ CONFIG_RATE_CTRL , 0
|
||||
.equ DECODE_WIDTH_LIMIT , 16384
|
||||
.equ DECODE_HEIGHT_LIMIT , 16384
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_config.c
vendored
Normal file
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_config.c
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
#include "vpx/vpx_codec.h"
|
||||
static const char* const cfg = "--target=armv7-linux-gcc --enable-runtime-cpu-detect --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv";
|
||||
const char *vpx_codec_build_config(void) {return cfg;}
|
||||
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_config.h
vendored
Normal file
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_config.h
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#ifndef VPX_CONFIG_H
|
||||
#define VPX_CONFIG_H
|
||||
#define RESTRICT
|
||||
#define INLINE inline
|
||||
#define VPX_ARCH_ARM 1
|
||||
#define ARCH_ARM 1
|
||||
#define VPX_ARCH_MIPS 0
|
||||
#define ARCH_MIPS 0
|
||||
#define VPX_ARCH_X86 0
|
||||
#define ARCH_X86 0
|
||||
#define VPX_ARCH_X86_64 0
|
||||
#define ARCH_X86_64 0
|
||||
#define VPX_ARCH_PPC 0
|
||||
#define ARCH_PPC 0
|
||||
#define HAVE_NEON 1
|
||||
#define HAVE_NEON_ASM 1
|
||||
#define HAVE_MIPS32 0
|
||||
#define HAVE_DSPR2 0
|
||||
#define HAVE_MSA 0
|
||||
#define HAVE_MIPS64 0
|
||||
#define HAVE_MMX 0
|
||||
#define HAVE_SSE 0
|
||||
#define HAVE_SSE2 0
|
||||
#define HAVE_SSE3 0
|
||||
#define HAVE_SSSE3 0
|
||||
#define HAVE_SSE4_1 0
|
||||
#define HAVE_AVX 0
|
||||
#define HAVE_AVX2 0
|
||||
#define HAVE_AVX512 0
|
||||
#define HAVE_VSX 0
|
||||
#define HAVE_MMI 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_PTHREAD_H 1
|
||||
#define HAVE_UNISTD_H 0
|
||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
||||
#define CONFIG_EXTERNAL_BUILD 1
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 0
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
#define CONFIG_CODEC_SRCS 0
|
||||
#define CONFIG_DEBUG_LIBS 0
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||
#define CONFIG_POSTPROC 1
|
||||
#define CONFIG_VP9_POSTPROC 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
#define CONFIG_VP8_DECODER 1
|
||||
#define CONFIG_VP9_ENCODER 1
|
||||
#define CONFIG_VP9_DECODER 1
|
||||
#define CONFIG_VP8 1
|
||||
#define CONFIG_VP9 1
|
||||
#define CONFIG_ENCODERS 1
|
||||
#define CONFIG_DECODERS 1
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 1
|
||||
#define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
#define CONFIG_ERROR_CONCEALMENT 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_STATIC 1
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_UNIT_TESTS 1
|
||||
#define CONFIG_WEBM_IO 1
|
||||
#define CONFIG_LIBYUV 0
|
||||
#define CONFIG_DECODE_PERF_TESTS 0
|
||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
||||
#define CONFIG_MULTI_RES_ENCODING 1
|
||||
#define CONFIG_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_CONSISTENT_RECODE 0
|
||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
#define CONFIG_VP9_HIGHBITDEPTH 0
|
||||
#define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
#define CONFIG_EXPERIMENTAL 0
|
||||
#define CONFIG_SIZE_LIMIT 1
|
||||
#define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
#define CONFIG_BITSTREAM_DEBUG 0
|
||||
#define CONFIG_MISMATCH_DEBUG 0
|
||||
#define CONFIG_FP_MB_STATS 0
|
||||
#define CONFIG_EMULATE_HARDWARE 0
|
||||
#define CONFIG_NON_GREEDY_MV 0
|
||||
#define CONFIG_RATE_CTRL 0
|
||||
#define DECODE_WIDTH_LIMIT 16384
|
||||
#define DECODE_HEIGHT_LIMIT 16384
|
||||
#endif /* VPX_CONFIG_H */
|
||||
3788
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h
vendored
Normal file
3788
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_scale_rtcd.h
vendored
Normal file
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_scale_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VPX_SCALE_RTCD_H_
|
||||
#define VPX_SCALE_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_horizontal_line_2_1_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_3_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_4_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_i_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
|
||||
|
||||
void vp8_vertical_band_5_3_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
|
||||
|
||||
void vp8_vertical_band_5_4_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
|
||||
|
||||
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
|
||||
|
||||
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
|
||||
|
||||
void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
|
||||
|
||||
void vpx_yv12_copy_y_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
|
||||
|
||||
void vpx_scale_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
505
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vp8_rtcd.h
vendored
Normal file
505
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vp8_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,505 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP8_RTCD_H_
|
||||
#define VP8_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP8
|
||||
*/
|
||||
|
||||
struct blockd;
|
||||
struct macroblockd;
|
||||
struct loop_filter_info;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct block;
|
||||
struct macroblock;
|
||||
struct variance_vtable;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_bilinear_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_neon
|
||||
|
||||
void vp8_bilinear_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_neon
|
||||
|
||||
void vp8_bilinear_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_neon
|
||||
|
||||
void vp8_bilinear_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_neon
|
||||
|
||||
void vp8_blend_b_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_b vp8_blend_b_c
|
||||
|
||||
void vp8_blend_mb_inner_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_inner vp8_blend_mb_inner_c
|
||||
|
||||
void vp8_blend_mb_outer_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_outer vp8_blend_mb_outer_c
|
||||
|
||||
int vp8_block_error_c(short* coeff, short* dqcoeff);
|
||||
#define vp8_block_error vp8_block_error_c
|
||||
|
||||
void vp8_copy32xn_c(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
#define vp8_copy32xn vp8_copy32xn_c
|
||||
|
||||
void vp8_copy_mem16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem16x16_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem16x16 vp8_copy_mem16x16_neon
|
||||
|
||||
void vp8_copy_mem8x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x4_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x4 vp8_copy_mem8x4_neon
|
||||
|
||||
void vp8_copy_mem8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x8_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x8 vp8_copy_mem8x8_neon
|
||||
|
||||
void vp8_dc_only_idct_add_c(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_dc_only_idct_add_neon(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_dc_only_idct_add vp8_dc_only_idct_add_neon
|
||||
|
||||
int vp8_denoiser_filter_c(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_neon(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter vp8_denoiser_filter_neon
|
||||
|
||||
int vp8_denoiser_filter_uv_c(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_uv_neon(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_neon
|
||||
|
||||
void vp8_dequant_idct_add_c(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
void vp8_dequant_idct_add_neon(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
#define vp8_dequant_idct_add vp8_dequant_idct_add_neon
|
||||
|
||||
void vp8_dequant_idct_add_uv_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_uv_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_neon
|
||||
|
||||
void vp8_dequant_idct_add_y_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_y_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_neon
|
||||
|
||||
void vp8_dequantize_b_c(struct blockd*, short* DQC);
|
||||
void vp8_dequantize_b_neon(struct blockd*, short* DQC);
|
||||
#define vp8_dequantize_b vp8_dequantize_b_neon
|
||||
|
||||
int vp8_diamond_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_diamond_search_sad vp8_diamond_search_sad_c
|
||||
|
||||
void vp8_fast_quantize_b_c(struct block*, struct blockd*);
|
||||
void vp8_fast_quantize_b_neon(struct block*, struct blockd*);
|
||||
#define vp8_fast_quantize_b vp8_fast_quantize_b_neon
|
||||
|
||||
void vp8_filter_by_weight16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
|
||||
|
||||
void vp8_filter_by_weight4x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
|
||||
|
||||
void vp8_filter_by_weight8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
|
||||
|
||||
int vp8_full_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_full_search_sad vp8_full_search_sad_c
|
||||
|
||||
void vp8_loop_filter_bh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bh vp8_loop_filter_bh_neon
|
||||
|
||||
void vp8_loop_filter_bv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bv vp8_loop_filter_bv_neon
|
||||
|
||||
void vp8_loop_filter_mbh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbh vp8_loop_filter_mbh_neon
|
||||
|
||||
void vp8_loop_filter_mbv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbv vp8_loop_filter_mbv_neon
|
||||
|
||||
void vp8_loop_filter_bhs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_neon
|
||||
|
||||
void vp8_loop_filter_bvs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_neon
|
||||
|
||||
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbh vp8_loop_filter_mbhs_neon
|
||||
|
||||
void vp8_loop_filter_simple_vertical_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbv vp8_loop_filter_mbvs_neon
|
||||
|
||||
int vp8_mbblock_error_c(struct macroblock* mb, int dc);
|
||||
#define vp8_mbblock_error vp8_mbblock_error_c
|
||||
|
||||
int vp8_mbuverror_c(struct macroblock* mb);
|
||||
#define vp8_mbuverror vp8_mbuverror_c
|
||||
|
||||
int vp8_refining_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_refining_search_sad vp8_refining_search_sad_c
|
||||
|
||||
void vp8_regular_quantize_b_c(struct block*, struct blockd*);
|
||||
#define vp8_regular_quantize_b vp8_regular_quantize_b_c
|
||||
|
||||
void vp8_short_fdct4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct4x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct4x4 vp8_short_fdct4x4_neon
|
||||
|
||||
void vp8_short_fdct8x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct8x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct8x4 vp8_short_fdct8x4_neon
|
||||
|
||||
void vp8_short_idct4x4llm_c(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_short_idct4x4llm_neon(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_short_idct4x4llm vp8_short_idct4x4llm_neon
|
||||
|
||||
void vp8_short_inv_walsh4x4_c(short* input, short* mb_dqcoeff);
|
||||
void vp8_short_inv_walsh4x4_neon(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_neon
|
||||
|
||||
void vp8_short_inv_walsh4x4_1_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
|
||||
|
||||
void vp8_short_walsh4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_walsh4x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_walsh4x4 vp8_short_walsh4x4_neon
|
||||
|
||||
void vp8_sixtap_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_neon
|
||||
|
||||
void vp8_sixtap_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_neon
|
||||
|
||||
void vp8_sixtap_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_neon
|
||||
|
||||
void vp8_sixtap_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_neon
|
||||
|
||||
void vp8_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
342
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vp9_rtcd.h
vendored
Normal file
342
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vp9_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,342 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP9_RTCD_H_
|
||||
#define VP9_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP9
|
||||
*/
|
||||
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_enums.h"
|
||||
#include "vp9/common/vp9_filter.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
struct macroblockd;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct macroblock;
|
||||
struct vp9_variance_vtable;
|
||||
struct search_site_config;
|
||||
struct mv;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int64_t vp9_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
#define vp9_block_error vp9_block_error_c
|
||||
|
||||
int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
#define vp9_block_error_fp vp9_block_error_fp_c
|
||||
|
||||
int vp9_denoiser_filter_c(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
int vp9_denoiser_filter_neon(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
#define vp9_denoiser_filter vp9_denoiser_filter_neon
|
||||
|
||||
int vp9_diamond_search_sad_c(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
#define vp9_diamond_search_sad vp9_diamond_search_sad_c
|
||||
|
||||
void vp9_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht16x16 vp9_fht16x16_c
|
||||
|
||||
void vp9_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht4x4 vp9_fht4x4_c
|
||||
|
||||
void vp9_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht8x8 vp9_fht8x8_c
|
||||
|
||||
void vp9_filter_by_weight16x16_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
|
||||
|
||||
void vp9_filter_by_weight8x8_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c
|
||||
|
||||
void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_fwht4x4 vp9_fwht4x4_c
|
||||
|
||||
int64_t vp9_highbd_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz,
|
||||
int bd);
|
||||
#define vp9_highbd_block_error vp9_highbd_block_error_c
|
||||
|
||||
void vp9_highbd_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht16x16 vp9_highbd_fht16x16_c
|
||||
|
||||
void vp9_highbd_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht4x4 vp9_highbd_fht4x4_c
|
||||
|
||||
void vp9_highbd_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht8x8 vp9_highbd_fht8x8_c
|
||||
|
||||
void vp9_highbd_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_highbd_fwht4x4 vp9_highbd_fwht4x4_c
|
||||
|
||||
void vp9_highbd_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht16x16_256_add_neon(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
#define vp9_highbd_iht16x16_256_add vp9_highbd_iht16x16_256_add_neon
|
||||
|
||||
void vp9_highbd_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht4x4_16_add_neon(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
#define vp9_highbd_iht4x4_16_add vp9_highbd_iht4x4_16_add_neon
|
||||
|
||||
void vp9_highbd_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht8x8_64_add_neon(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
#define vp9_highbd_iht8x8_64_add vp9_highbd_iht8x8_64_add_neon
|
||||
|
||||
void vp9_highbd_mbpost_proc_across_ip_c(uint16_t* src,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_across_ip vp9_highbd_mbpost_proc_across_ip_c
|
||||
|
||||
void vp9_highbd_mbpost_proc_down_c(uint16_t* dst,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_down vp9_highbd_mbpost_proc_down_c
|
||||
|
||||
void vp9_highbd_post_proc_down_and_across_c(const uint16_t* src_ptr,
|
||||
uint16_t* dst_ptr,
|
||||
int src_pixels_per_line,
|
||||
int dst_pixels_per_line,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_post_proc_down_and_across \
|
||||
vp9_highbd_post_proc_down_and_across_c
|
||||
|
||||
void vp9_highbd_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp vp9_highbd_quantize_fp_c
|
||||
|
||||
void vp9_highbd_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp_32x32 vp9_highbd_quantize_fp_32x32_c
|
||||
|
||||
void vp9_highbd_temporal_filter_apply_c(const uint8_t* frame1,
|
||||
unsigned int stride,
|
||||
const uint8_t* frame2,
|
||||
unsigned int block_width,
|
||||
unsigned int block_height,
|
||||
int strength,
|
||||
int* blk_fw,
|
||||
int use_32x32,
|
||||
uint32_t* accumulator,
|
||||
uint16_t* count);
|
||||
#define vp9_highbd_temporal_filter_apply vp9_highbd_temporal_filter_apply_c
|
||||
|
||||
void vp9_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht16x16_256_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht16x16_256_add vp9_iht16x16_256_add_neon
|
||||
|
||||
void vp9_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht4x4_16_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht4x4_16_add vp9_iht4x4_16_add_neon
|
||||
|
||||
void vp9_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht8x8_64_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon
|
||||
|
||||
void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp vp9_quantize_fp_neon
|
||||
|
||||
void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_32x32_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_neon
|
||||
|
||||
void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
void vp9_scale_and_extend_frame_neon(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
#define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_neon
|
||||
|
||||
void vp9_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_config.asm
vendored
Normal file
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_config.asm
vendored
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
@ This file was created from a .asm file
|
||||
@ using the ads2gas.pl script.
|
||||
.syntax unified
|
||||
.equ VPX_ARCH_ARM , 1
|
||||
.equ ARCH_ARM , 1
|
||||
.equ VPX_ARCH_MIPS , 0
|
||||
.equ ARCH_MIPS , 0
|
||||
.equ VPX_ARCH_X86 , 0
|
||||
.equ ARCH_X86 , 0
|
||||
.equ VPX_ARCH_X86_64 , 0
|
||||
.equ ARCH_X86_64 , 0
|
||||
.equ VPX_ARCH_PPC , 0
|
||||
.equ ARCH_PPC , 0
|
||||
.equ HAVE_NEON , 1
|
||||
.equ HAVE_NEON_ASM , 1
|
||||
.equ HAVE_MIPS32 , 0
|
||||
.equ HAVE_DSPR2 , 0
|
||||
.equ HAVE_MSA , 0
|
||||
.equ HAVE_MIPS64 , 0
|
||||
.equ HAVE_MMX , 0
|
||||
.equ HAVE_SSE , 0
|
||||
.equ HAVE_SSE2 , 0
|
||||
.equ HAVE_SSE3 , 0
|
||||
.equ HAVE_SSSE3 , 0
|
||||
.equ HAVE_SSE4_1 , 0
|
||||
.equ HAVE_AVX , 0
|
||||
.equ HAVE_AVX2 , 0
|
||||
.equ HAVE_AVX512 , 0
|
||||
.equ HAVE_VSX , 0
|
||||
.equ HAVE_MMI , 0
|
||||
.equ HAVE_VPX_PORTS , 1
|
||||
.equ HAVE_PTHREAD_H , 1
|
||||
.equ HAVE_UNISTD_H , 0
|
||||
.equ CONFIG_DEPENDENCY_TRACKING , 1
|
||||
.equ CONFIG_EXTERNAL_BUILD , 1
|
||||
.equ CONFIG_INSTALL_DOCS , 0
|
||||
.equ CONFIG_INSTALL_BINS , 1
|
||||
.equ CONFIG_INSTALL_LIBS , 1
|
||||
.equ CONFIG_INSTALL_SRCS , 0
|
||||
.equ CONFIG_DEBUG , 0
|
||||
.equ CONFIG_GPROF , 0
|
||||
.equ CONFIG_GCOV , 0
|
||||
.equ CONFIG_RVCT , 0
|
||||
.equ CONFIG_GCC , 1
|
||||
.equ CONFIG_MSVS , 0
|
||||
.equ CONFIG_PIC , 0
|
||||
.equ CONFIG_BIG_ENDIAN , 0
|
||||
.equ CONFIG_CODEC_SRCS , 0
|
||||
.equ CONFIG_DEBUG_LIBS , 0
|
||||
.equ CONFIG_DEQUANT_TOKENS , 0
|
||||
.equ CONFIG_DC_RECON , 0
|
||||
.equ CONFIG_RUNTIME_CPU_DETECT , 0
|
||||
.equ CONFIG_POSTPROC , 1
|
||||
.equ CONFIG_VP9_POSTPROC , 1
|
||||
.equ CONFIG_MULTITHREAD , 1
|
||||
.equ CONFIG_INTERNAL_STATS , 0
|
||||
.equ CONFIG_VP8_ENCODER , 1
|
||||
.equ CONFIG_VP8_DECODER , 1
|
||||
.equ CONFIG_VP9_ENCODER , 1
|
||||
.equ CONFIG_VP9_DECODER , 1
|
||||
.equ CONFIG_VP8 , 1
|
||||
.equ CONFIG_VP9 , 1
|
||||
.equ CONFIG_ENCODERS , 1
|
||||
.equ CONFIG_DECODERS , 1
|
||||
.equ CONFIG_STATIC_MSVCRT , 0
|
||||
.equ CONFIG_SPATIAL_RESAMPLING , 1
|
||||
.equ CONFIG_REALTIME_ONLY , 1
|
||||
.equ CONFIG_ONTHEFLY_BITPACKING , 0
|
||||
.equ CONFIG_ERROR_CONCEALMENT , 0
|
||||
.equ CONFIG_SHARED , 0
|
||||
.equ CONFIG_STATIC , 1
|
||||
.equ CONFIG_SMALL , 0
|
||||
.equ CONFIG_POSTPROC_VISUALIZER , 0
|
||||
.equ CONFIG_OS_SUPPORT , 1
|
||||
.equ CONFIG_UNIT_TESTS , 1
|
||||
.equ CONFIG_WEBM_IO , 1
|
||||
.equ CONFIG_LIBYUV , 0
|
||||
.equ CONFIG_DECODE_PERF_TESTS , 0
|
||||
.equ CONFIG_ENCODE_PERF_TESTS , 0
|
||||
.equ CONFIG_MULTI_RES_ENCODING , 1
|
||||
.equ CONFIG_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_VP9_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_CONSISTENT_RECODE , 0
|
||||
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
|
||||
.equ CONFIG_VP9_HIGHBITDEPTH , 1
|
||||
.equ CONFIG_BETTER_HW_COMPATIBILITY , 0
|
||||
.equ CONFIG_EXPERIMENTAL , 0
|
||||
.equ CONFIG_SIZE_LIMIT , 1
|
||||
.equ CONFIG_ALWAYS_ADJUST_BPM , 0
|
||||
.equ CONFIG_BITSTREAM_DEBUG , 0
|
||||
.equ CONFIG_MISMATCH_DEBUG , 0
|
||||
.equ CONFIG_FP_MB_STATS , 0
|
||||
.equ CONFIG_EMULATE_HARDWARE , 0
|
||||
.equ CONFIG_NON_GREEDY_MV , 0
|
||||
.equ CONFIG_RATE_CTRL , 0
|
||||
.equ DECODE_WIDTH_LIMIT , 16384
|
||||
.equ DECODE_HEIGHT_LIMIT , 16384
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_config.c
vendored
Normal file
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_config.c
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
#include "vpx/vpx_codec.h"
|
||||
static const char* const cfg = "--target=armv7-linux-gcc --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv --enable-vp9-highbitdepth";
|
||||
const char *vpx_codec_build_config(void) {return cfg;}
|
||||
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_config.h
vendored
Normal file
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_config.h
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#ifndef VPX_CONFIG_H
|
||||
#define VPX_CONFIG_H
|
||||
#define RESTRICT
|
||||
#define INLINE inline
|
||||
#define VPX_ARCH_ARM 1
|
||||
#define ARCH_ARM 1
|
||||
#define VPX_ARCH_MIPS 0
|
||||
#define ARCH_MIPS 0
|
||||
#define VPX_ARCH_X86 0
|
||||
#define ARCH_X86 0
|
||||
#define VPX_ARCH_X86_64 0
|
||||
#define ARCH_X86_64 0
|
||||
#define VPX_ARCH_PPC 0
|
||||
#define ARCH_PPC 0
|
||||
#define HAVE_NEON 1
|
||||
#define HAVE_NEON_ASM 1
|
||||
#define HAVE_MIPS32 0
|
||||
#define HAVE_DSPR2 0
|
||||
#define HAVE_MSA 0
|
||||
#define HAVE_MIPS64 0
|
||||
#define HAVE_MMX 0
|
||||
#define HAVE_SSE 0
|
||||
#define HAVE_SSE2 0
|
||||
#define HAVE_SSE3 0
|
||||
#define HAVE_SSSE3 0
|
||||
#define HAVE_SSE4_1 0
|
||||
#define HAVE_AVX 0
|
||||
#define HAVE_AVX2 0
|
||||
#define HAVE_AVX512 0
|
||||
#define HAVE_VSX 0
|
||||
#define HAVE_MMI 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_PTHREAD_H 1
|
||||
#define HAVE_UNISTD_H 0
|
||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
||||
#define CONFIG_EXTERNAL_BUILD 1
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 0
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
#define CONFIG_CODEC_SRCS 0
|
||||
#define CONFIG_DEBUG_LIBS 0
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 0
|
||||
#define CONFIG_POSTPROC 1
|
||||
#define CONFIG_VP9_POSTPROC 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
#define CONFIG_VP8_DECODER 1
|
||||
#define CONFIG_VP9_ENCODER 1
|
||||
#define CONFIG_VP9_DECODER 1
|
||||
#define CONFIG_VP8 1
|
||||
#define CONFIG_VP9 1
|
||||
#define CONFIG_ENCODERS 1
|
||||
#define CONFIG_DECODERS 1
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 1
|
||||
#define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
#define CONFIG_ERROR_CONCEALMENT 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_STATIC 1
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_UNIT_TESTS 1
|
||||
#define CONFIG_WEBM_IO 1
|
||||
#define CONFIG_LIBYUV 0
|
||||
#define CONFIG_DECODE_PERF_TESTS 0
|
||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
||||
#define CONFIG_MULTI_RES_ENCODING 1
|
||||
#define CONFIG_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_CONSISTENT_RECODE 0
|
||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
#define CONFIG_VP9_HIGHBITDEPTH 1
|
||||
#define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
#define CONFIG_EXPERIMENTAL 0
|
||||
#define CONFIG_SIZE_LIMIT 1
|
||||
#define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
#define CONFIG_BITSTREAM_DEBUG 0
|
||||
#define CONFIG_MISMATCH_DEBUG 0
|
||||
#define CONFIG_FP_MB_STATS 0
|
||||
#define CONFIG_EMULATE_HARDWARE 0
|
||||
#define CONFIG_NON_GREEDY_MV 0
|
||||
#define CONFIG_RATE_CTRL 0
|
||||
#define DECODE_WIDTH_LIMIT 16384
|
||||
#define DECODE_HEIGHT_LIMIT 16384
|
||||
#endif /* VPX_CONFIG_H */
|
||||
5191
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_dsp_rtcd.h
vendored
Normal file
5191
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_dsp_rtcd.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_scale_rtcd.h
vendored
Normal file
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon-highbd/vpx_scale_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VPX_SCALE_RTCD_H_
|
||||
#define VPX_SCALE_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_horizontal_line_2_1_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_3_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_4_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_i_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
|
||||
|
||||
void vp8_vertical_band_5_3_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
|
||||
|
||||
void vp8_vertical_band_5_4_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
|
||||
|
||||
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
|
||||
|
||||
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
|
||||
|
||||
void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
|
||||
|
||||
void vpx_yv12_copy_y_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
|
||||
|
||||
void vpx_scale_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
505
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vp8_rtcd.h
vendored
Normal file
505
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vp8_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,505 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP8_RTCD_H_
|
||||
#define VP8_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP8
|
||||
*/
|
||||
|
||||
struct blockd;
|
||||
struct macroblockd;
|
||||
struct loop_filter_info;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct block;
|
||||
struct macroblock;
|
||||
struct variance_vtable;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_bilinear_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_neon
|
||||
|
||||
void vp8_bilinear_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_neon
|
||||
|
||||
void vp8_bilinear_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_neon
|
||||
|
||||
void vp8_bilinear_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_neon
|
||||
|
||||
void vp8_blend_b_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_b vp8_blend_b_c
|
||||
|
||||
void vp8_blend_mb_inner_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_inner vp8_blend_mb_inner_c
|
||||
|
||||
void vp8_blend_mb_outer_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_outer vp8_blend_mb_outer_c
|
||||
|
||||
int vp8_block_error_c(short* coeff, short* dqcoeff);
|
||||
#define vp8_block_error vp8_block_error_c
|
||||
|
||||
void vp8_copy32xn_c(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
#define vp8_copy32xn vp8_copy32xn_c
|
||||
|
||||
void vp8_copy_mem16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem16x16_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem16x16 vp8_copy_mem16x16_neon
|
||||
|
||||
void vp8_copy_mem8x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x4_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x4 vp8_copy_mem8x4_neon
|
||||
|
||||
void vp8_copy_mem8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x8_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x8 vp8_copy_mem8x8_neon
|
||||
|
||||
void vp8_dc_only_idct_add_c(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_dc_only_idct_add_neon(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_dc_only_idct_add vp8_dc_only_idct_add_neon
|
||||
|
||||
int vp8_denoiser_filter_c(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_neon(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter vp8_denoiser_filter_neon
|
||||
|
||||
int vp8_denoiser_filter_uv_c(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_uv_neon(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_neon
|
||||
|
||||
void vp8_dequant_idct_add_c(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
void vp8_dequant_idct_add_neon(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
#define vp8_dequant_idct_add vp8_dequant_idct_add_neon
|
||||
|
||||
void vp8_dequant_idct_add_uv_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_uv_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_neon
|
||||
|
||||
void vp8_dequant_idct_add_y_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_y_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_neon
|
||||
|
||||
void vp8_dequantize_b_c(struct blockd*, short* DQC);
|
||||
void vp8_dequantize_b_neon(struct blockd*, short* DQC);
|
||||
#define vp8_dequantize_b vp8_dequantize_b_neon
|
||||
|
||||
int vp8_diamond_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_diamond_search_sad vp8_diamond_search_sad_c
|
||||
|
||||
void vp8_fast_quantize_b_c(struct block*, struct blockd*);
|
||||
void vp8_fast_quantize_b_neon(struct block*, struct blockd*);
|
||||
#define vp8_fast_quantize_b vp8_fast_quantize_b_neon
|
||||
|
||||
void vp8_filter_by_weight16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
|
||||
|
||||
void vp8_filter_by_weight4x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
|
||||
|
||||
void vp8_filter_by_weight8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
|
||||
|
||||
int vp8_full_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_full_search_sad vp8_full_search_sad_c
|
||||
|
||||
void vp8_loop_filter_bh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bh vp8_loop_filter_bh_neon
|
||||
|
||||
void vp8_loop_filter_bv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bv vp8_loop_filter_bv_neon
|
||||
|
||||
void vp8_loop_filter_mbh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbh vp8_loop_filter_mbh_neon
|
||||
|
||||
void vp8_loop_filter_mbv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbv vp8_loop_filter_mbv_neon
|
||||
|
||||
void vp8_loop_filter_bhs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_neon
|
||||
|
||||
void vp8_loop_filter_bvs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_neon
|
||||
|
||||
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbh vp8_loop_filter_mbhs_neon
|
||||
|
||||
void vp8_loop_filter_simple_vertical_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbv vp8_loop_filter_mbvs_neon
|
||||
|
||||
int vp8_mbblock_error_c(struct macroblock* mb, int dc);
|
||||
#define vp8_mbblock_error vp8_mbblock_error_c
|
||||
|
||||
int vp8_mbuverror_c(struct macroblock* mb);
|
||||
#define vp8_mbuverror vp8_mbuverror_c
|
||||
|
||||
int vp8_refining_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_refining_search_sad vp8_refining_search_sad_c
|
||||
|
||||
void vp8_regular_quantize_b_c(struct block*, struct blockd*);
|
||||
#define vp8_regular_quantize_b vp8_regular_quantize_b_c
|
||||
|
||||
void vp8_short_fdct4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct4x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct4x4 vp8_short_fdct4x4_neon
|
||||
|
||||
void vp8_short_fdct8x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct8x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct8x4 vp8_short_fdct8x4_neon
|
||||
|
||||
void vp8_short_idct4x4llm_c(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_short_idct4x4llm_neon(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_short_idct4x4llm vp8_short_idct4x4llm_neon
|
||||
|
||||
void vp8_short_inv_walsh4x4_c(short* input, short* mb_dqcoeff);
|
||||
void vp8_short_inv_walsh4x4_neon(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_neon
|
||||
|
||||
void vp8_short_inv_walsh4x4_1_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
|
||||
|
||||
void vp8_short_walsh4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_walsh4x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_walsh4x4 vp8_short_walsh4x4_neon
|
||||
|
||||
void vp8_sixtap_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_neon
|
||||
|
||||
void vp8_sixtap_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_neon
|
||||
|
||||
void vp8_sixtap_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_neon
|
||||
|
||||
void vp8_sixtap_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_neon
|
||||
|
||||
void vp8_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
219
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vp9_rtcd.h
vendored
Normal file
219
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vp9_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,219 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP9_RTCD_H_
|
||||
#define VP9_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP9
|
||||
*/
|
||||
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_enums.h"
|
||||
#include "vp9/common/vp9_filter.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
struct macroblockd;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct macroblock;
|
||||
struct vp9_variance_vtable;
|
||||
struct search_site_config;
|
||||
struct mv;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int64_t vp9_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
#define vp9_block_error vp9_block_error_c
|
||||
|
||||
int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
int64_t vp9_block_error_fp_neon(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
#define vp9_block_error_fp vp9_block_error_fp_neon
|
||||
|
||||
int vp9_denoiser_filter_c(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
int vp9_denoiser_filter_neon(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
#define vp9_denoiser_filter vp9_denoiser_filter_neon
|
||||
|
||||
int vp9_diamond_search_sad_c(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
#define vp9_diamond_search_sad vp9_diamond_search_sad_c
|
||||
|
||||
void vp9_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht16x16 vp9_fht16x16_c
|
||||
|
||||
void vp9_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht4x4 vp9_fht4x4_c
|
||||
|
||||
void vp9_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht8x8 vp9_fht8x8_c
|
||||
|
||||
void vp9_filter_by_weight16x16_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
|
||||
|
||||
void vp9_filter_by_weight8x8_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c
|
||||
|
||||
void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_fwht4x4 vp9_fwht4x4_c
|
||||
|
||||
void vp9_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht16x16_256_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht16x16_256_add vp9_iht16x16_256_add_neon
|
||||
|
||||
void vp9_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht4x4_16_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht4x4_16_add vp9_iht4x4_16_add_neon
|
||||
|
||||
void vp9_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht8x8_64_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon
|
||||
|
||||
void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp vp9_quantize_fp_neon
|
||||
|
||||
void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_32x32_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_neon
|
||||
|
||||
void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
void vp9_scale_and_extend_frame_neon(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
#define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_neon
|
||||
|
||||
void vp9_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_config.asm
vendored
Normal file
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_config.asm
vendored
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
@ This file was created from a .asm file
|
||||
@ using the ads2gas.pl script.
|
||||
.syntax unified
|
||||
.equ VPX_ARCH_ARM , 1
|
||||
.equ ARCH_ARM , 1
|
||||
.equ VPX_ARCH_MIPS , 0
|
||||
.equ ARCH_MIPS , 0
|
||||
.equ VPX_ARCH_X86 , 0
|
||||
.equ ARCH_X86 , 0
|
||||
.equ VPX_ARCH_X86_64 , 0
|
||||
.equ ARCH_X86_64 , 0
|
||||
.equ VPX_ARCH_PPC , 0
|
||||
.equ ARCH_PPC , 0
|
||||
.equ HAVE_NEON , 1
|
||||
.equ HAVE_NEON_ASM , 1
|
||||
.equ HAVE_MIPS32 , 0
|
||||
.equ HAVE_DSPR2 , 0
|
||||
.equ HAVE_MSA , 0
|
||||
.equ HAVE_MIPS64 , 0
|
||||
.equ HAVE_MMX , 0
|
||||
.equ HAVE_SSE , 0
|
||||
.equ HAVE_SSE2 , 0
|
||||
.equ HAVE_SSE3 , 0
|
||||
.equ HAVE_SSSE3 , 0
|
||||
.equ HAVE_SSE4_1 , 0
|
||||
.equ HAVE_AVX , 0
|
||||
.equ HAVE_AVX2 , 0
|
||||
.equ HAVE_AVX512 , 0
|
||||
.equ HAVE_VSX , 0
|
||||
.equ HAVE_MMI , 0
|
||||
.equ HAVE_VPX_PORTS , 1
|
||||
.equ HAVE_PTHREAD_H , 1
|
||||
.equ HAVE_UNISTD_H , 0
|
||||
.equ CONFIG_DEPENDENCY_TRACKING , 1
|
||||
.equ CONFIG_EXTERNAL_BUILD , 1
|
||||
.equ CONFIG_INSTALL_DOCS , 0
|
||||
.equ CONFIG_INSTALL_BINS , 1
|
||||
.equ CONFIG_INSTALL_LIBS , 1
|
||||
.equ CONFIG_INSTALL_SRCS , 0
|
||||
.equ CONFIG_DEBUG , 0
|
||||
.equ CONFIG_GPROF , 0
|
||||
.equ CONFIG_GCOV , 0
|
||||
.equ CONFIG_RVCT , 0
|
||||
.equ CONFIG_GCC , 1
|
||||
.equ CONFIG_MSVS , 0
|
||||
.equ CONFIG_PIC , 0
|
||||
.equ CONFIG_BIG_ENDIAN , 0
|
||||
.equ CONFIG_CODEC_SRCS , 0
|
||||
.equ CONFIG_DEBUG_LIBS , 0
|
||||
.equ CONFIG_DEQUANT_TOKENS , 0
|
||||
.equ CONFIG_DC_RECON , 0
|
||||
.equ CONFIG_RUNTIME_CPU_DETECT , 0
|
||||
.equ CONFIG_POSTPROC , 1
|
||||
.equ CONFIG_VP9_POSTPROC , 1
|
||||
.equ CONFIG_MULTITHREAD , 1
|
||||
.equ CONFIG_INTERNAL_STATS , 0
|
||||
.equ CONFIG_VP8_ENCODER , 1
|
||||
.equ CONFIG_VP8_DECODER , 1
|
||||
.equ CONFIG_VP9_ENCODER , 1
|
||||
.equ CONFIG_VP9_DECODER , 1
|
||||
.equ CONFIG_VP8 , 1
|
||||
.equ CONFIG_VP9 , 1
|
||||
.equ CONFIG_ENCODERS , 1
|
||||
.equ CONFIG_DECODERS , 1
|
||||
.equ CONFIG_STATIC_MSVCRT , 0
|
||||
.equ CONFIG_SPATIAL_RESAMPLING , 1
|
||||
.equ CONFIG_REALTIME_ONLY , 1
|
||||
.equ CONFIG_ONTHEFLY_BITPACKING , 0
|
||||
.equ CONFIG_ERROR_CONCEALMENT , 0
|
||||
.equ CONFIG_SHARED , 0
|
||||
.equ CONFIG_STATIC , 1
|
||||
.equ CONFIG_SMALL , 0
|
||||
.equ CONFIG_POSTPROC_VISUALIZER , 0
|
||||
.equ CONFIG_OS_SUPPORT , 1
|
||||
.equ CONFIG_UNIT_TESTS , 1
|
||||
.equ CONFIG_WEBM_IO , 1
|
||||
.equ CONFIG_LIBYUV , 0
|
||||
.equ CONFIG_DECODE_PERF_TESTS , 0
|
||||
.equ CONFIG_ENCODE_PERF_TESTS , 0
|
||||
.equ CONFIG_MULTI_RES_ENCODING , 1
|
||||
.equ CONFIG_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_VP9_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_CONSISTENT_RECODE , 0
|
||||
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
|
||||
.equ CONFIG_VP9_HIGHBITDEPTH , 0
|
||||
.equ CONFIG_BETTER_HW_COMPATIBILITY , 0
|
||||
.equ CONFIG_EXPERIMENTAL , 0
|
||||
.equ CONFIG_SIZE_LIMIT , 1
|
||||
.equ CONFIG_ALWAYS_ADJUST_BPM , 0
|
||||
.equ CONFIG_BITSTREAM_DEBUG , 0
|
||||
.equ CONFIG_MISMATCH_DEBUG , 0
|
||||
.equ CONFIG_FP_MB_STATS , 0
|
||||
.equ CONFIG_EMULATE_HARDWARE , 0
|
||||
.equ CONFIG_NON_GREEDY_MV , 0
|
||||
.equ CONFIG_RATE_CTRL , 0
|
||||
.equ DECODE_WIDTH_LIMIT , 16384
|
||||
.equ DECODE_HEIGHT_LIMIT , 16384
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_config.c
vendored
Normal file
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_config.c
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
#include "vpx/vpx_codec.h"
|
||||
static const char* const cfg = "--target=armv7-linux-gcc --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv";
|
||||
const char *vpx_codec_build_config(void) {return cfg;}
|
||||
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_config.h
vendored
Normal file
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_config.h
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#ifndef VPX_CONFIG_H
|
||||
#define VPX_CONFIG_H
|
||||
#define RESTRICT
|
||||
#define INLINE inline
|
||||
#define VPX_ARCH_ARM 1
|
||||
#define ARCH_ARM 1
|
||||
#define VPX_ARCH_MIPS 0
|
||||
#define ARCH_MIPS 0
|
||||
#define VPX_ARCH_X86 0
|
||||
#define ARCH_X86 0
|
||||
#define VPX_ARCH_X86_64 0
|
||||
#define ARCH_X86_64 0
|
||||
#define VPX_ARCH_PPC 0
|
||||
#define ARCH_PPC 0
|
||||
#define HAVE_NEON 1
|
||||
#define HAVE_NEON_ASM 1
|
||||
#define HAVE_MIPS32 0
|
||||
#define HAVE_DSPR2 0
|
||||
#define HAVE_MSA 0
|
||||
#define HAVE_MIPS64 0
|
||||
#define HAVE_MMX 0
|
||||
#define HAVE_SSE 0
|
||||
#define HAVE_SSE2 0
|
||||
#define HAVE_SSE3 0
|
||||
#define HAVE_SSSE3 0
|
||||
#define HAVE_SSE4_1 0
|
||||
#define HAVE_AVX 0
|
||||
#define HAVE_AVX2 0
|
||||
#define HAVE_AVX512 0
|
||||
#define HAVE_VSX 0
|
||||
#define HAVE_MMI 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_PTHREAD_H 1
|
||||
#define HAVE_UNISTD_H 0
|
||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
||||
#define CONFIG_EXTERNAL_BUILD 1
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 0
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
#define CONFIG_CODEC_SRCS 0
|
||||
#define CONFIG_DEBUG_LIBS 0
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 0
|
||||
#define CONFIG_POSTPROC 1
|
||||
#define CONFIG_VP9_POSTPROC 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
#define CONFIG_VP8_DECODER 1
|
||||
#define CONFIG_VP9_ENCODER 1
|
||||
#define CONFIG_VP9_DECODER 1
|
||||
#define CONFIG_VP8 1
|
||||
#define CONFIG_VP9 1
|
||||
#define CONFIG_ENCODERS 1
|
||||
#define CONFIG_DECODERS 1
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 1
|
||||
#define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
#define CONFIG_ERROR_CONCEALMENT 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_STATIC 1
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_UNIT_TESTS 1
|
||||
#define CONFIG_WEBM_IO 1
|
||||
#define CONFIG_LIBYUV 0
|
||||
#define CONFIG_DECODE_PERF_TESTS 0
|
||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
||||
#define CONFIG_MULTI_RES_ENCODING 1
|
||||
#define CONFIG_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_CONSISTENT_RECODE 0
|
||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
#define CONFIG_VP9_HIGHBITDEPTH 0
|
||||
#define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
#define CONFIG_EXPERIMENTAL 0
|
||||
#define CONFIG_SIZE_LIMIT 1
|
||||
#define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
#define CONFIG_BITSTREAM_DEBUG 0
|
||||
#define CONFIG_MISMATCH_DEBUG 0
|
||||
#define CONFIG_FP_MB_STATS 0
|
||||
#define CONFIG_EMULATE_HARDWARE 0
|
||||
#define CONFIG_NON_GREEDY_MV 0
|
||||
#define CONFIG_RATE_CTRL 0
|
||||
#define DECODE_WIDTH_LIMIT 16384
|
||||
#define DECODE_HEIGHT_LIMIT 16384
|
||||
#endif /* VPX_CONFIG_H */
|
||||
2491
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_dsp_rtcd.h
vendored
Normal file
2491
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_dsp_rtcd.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_scale_rtcd.h
vendored
Normal file
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm-neon/vpx_scale_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VPX_SCALE_RTCD_H_
|
||||
#define VPX_SCALE_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_horizontal_line_2_1_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_3_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_4_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_i_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
|
||||
|
||||
void vp8_vertical_band_5_3_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
|
||||
|
||||
void vp8_vertical_band_5_4_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
|
||||
|
||||
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
|
||||
|
||||
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
|
||||
|
||||
void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
|
||||
|
||||
void vpx_yv12_copy_y_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
|
||||
|
||||
void vpx_scale_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
362
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vp8_rtcd.h
vendored
Normal file
362
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vp8_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,362 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP8_RTCD_H_
|
||||
#define VP8_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP8
|
||||
*/
|
||||
|
||||
struct blockd;
|
||||
struct macroblockd;
|
||||
struct loop_filter_info;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct block;
|
||||
struct macroblock;
|
||||
struct variance_vtable;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_bilinear_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_c
|
||||
|
||||
void vp8_bilinear_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c
|
||||
|
||||
void vp8_bilinear_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_c
|
||||
|
||||
void vp8_bilinear_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_c
|
||||
|
||||
void vp8_blend_b_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_b vp8_blend_b_c
|
||||
|
||||
void vp8_blend_mb_inner_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_inner vp8_blend_mb_inner_c
|
||||
|
||||
void vp8_blend_mb_outer_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_outer vp8_blend_mb_outer_c
|
||||
|
||||
int vp8_block_error_c(short* coeff, short* dqcoeff);
|
||||
#define vp8_block_error vp8_block_error_c
|
||||
|
||||
void vp8_copy32xn_c(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
#define vp8_copy32xn vp8_copy32xn_c
|
||||
|
||||
void vp8_copy_mem16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem16x16 vp8_copy_mem16x16_c
|
||||
|
||||
void vp8_copy_mem8x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x4 vp8_copy_mem8x4_c
|
||||
|
||||
void vp8_copy_mem8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x8 vp8_copy_mem8x8_c
|
||||
|
||||
void vp8_dc_only_idct_add_c(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_dc_only_idct_add vp8_dc_only_idct_add_c
|
||||
|
||||
int vp8_denoiser_filter_c(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter vp8_denoiser_filter_c
|
||||
|
||||
int vp8_denoiser_filter_uv_c(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_c
|
||||
|
||||
void vp8_dequant_idct_add_c(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
#define vp8_dequant_idct_add vp8_dequant_idct_add_c
|
||||
|
||||
void vp8_dequant_idct_add_uv_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_c
|
||||
|
||||
void vp8_dequant_idct_add_y_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_c
|
||||
|
||||
void vp8_dequantize_b_c(struct blockd*, short* DQC);
|
||||
#define vp8_dequantize_b vp8_dequantize_b_c
|
||||
|
||||
int vp8_diamond_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_diamond_search_sad vp8_diamond_search_sad_c
|
||||
|
||||
void vp8_fast_quantize_b_c(struct block*, struct blockd*);
|
||||
#define vp8_fast_quantize_b vp8_fast_quantize_b_c
|
||||
|
||||
void vp8_filter_by_weight16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
|
||||
|
||||
void vp8_filter_by_weight4x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
|
||||
|
||||
void vp8_filter_by_weight8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
|
||||
|
||||
int vp8_full_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_full_search_sad vp8_full_search_sad_c
|
||||
|
||||
void vp8_loop_filter_bh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bh vp8_loop_filter_bh_c
|
||||
|
||||
void vp8_loop_filter_bv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bv vp8_loop_filter_bv_c
|
||||
|
||||
void vp8_loop_filter_mbh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbh vp8_loop_filter_mbh_c
|
||||
|
||||
void vp8_loop_filter_mbv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbv vp8_loop_filter_mbv_c
|
||||
|
||||
void vp8_loop_filter_bhs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_c
|
||||
|
||||
void vp8_loop_filter_bvs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_c
|
||||
|
||||
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_c
|
||||
|
||||
void vp8_loop_filter_simple_vertical_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_c
|
||||
|
||||
int vp8_mbblock_error_c(struct macroblock* mb, int dc);
|
||||
#define vp8_mbblock_error vp8_mbblock_error_c
|
||||
|
||||
int vp8_mbuverror_c(struct macroblock* mb);
|
||||
#define vp8_mbuverror vp8_mbuverror_c
|
||||
|
||||
int vp8_refining_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_refining_search_sad vp8_refining_search_sad_c
|
||||
|
||||
void vp8_regular_quantize_b_c(struct block*, struct blockd*);
|
||||
#define vp8_regular_quantize_b vp8_regular_quantize_b_c
|
||||
|
||||
void vp8_short_fdct4x4_c(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct4x4 vp8_short_fdct4x4_c
|
||||
|
||||
void vp8_short_fdct8x4_c(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct8x4 vp8_short_fdct8x4_c
|
||||
|
||||
void vp8_short_idct4x4llm_c(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_short_idct4x4llm vp8_short_idct4x4llm_c
|
||||
|
||||
void vp8_short_inv_walsh4x4_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_c
|
||||
|
||||
void vp8_short_inv_walsh4x4_1_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
|
||||
|
||||
void vp8_short_walsh4x4_c(short* input, short* output, int pitch);
|
||||
#define vp8_short_walsh4x4 vp8_short_walsh4x4_c
|
||||
|
||||
void vp8_sixtap_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_c
|
||||
|
||||
void vp8_sixtap_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_c
|
||||
|
||||
void vp8_sixtap_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_c
|
||||
|
||||
void vp8_sixtap_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_c
|
||||
|
||||
void vp8_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
169
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vp9_rtcd.h
vendored
Normal file
169
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vp9_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,169 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP9_RTCD_H_
|
||||
#define VP9_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP9
|
||||
*/
|
||||
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_enums.h"
|
||||
#include "vp9/common/vp9_filter.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
struct macroblockd;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct macroblock;
|
||||
struct vp9_variance_vtable;
|
||||
struct search_site_config;
|
||||
struct mv;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int64_t vp9_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
#define vp9_block_error vp9_block_error_c
|
||||
|
||||
int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
#define vp9_block_error_fp vp9_block_error_fp_c
|
||||
|
||||
int vp9_denoiser_filter_c(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
#define vp9_denoiser_filter vp9_denoiser_filter_c
|
||||
|
||||
int vp9_diamond_search_sad_c(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
#define vp9_diamond_search_sad vp9_diamond_search_sad_c
|
||||
|
||||
void vp9_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht16x16 vp9_fht16x16_c
|
||||
|
||||
void vp9_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht4x4 vp9_fht4x4_c
|
||||
|
||||
void vp9_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht8x8 vp9_fht8x8_c
|
||||
|
||||
void vp9_filter_by_weight16x16_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
|
||||
|
||||
void vp9_filter_by_weight8x8_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c
|
||||
|
||||
void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_fwht4x4 vp9_fwht4x4_c
|
||||
|
||||
void vp9_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht16x16_256_add vp9_iht16x16_256_add_c
|
||||
|
||||
void vp9_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht4x4_16_add vp9_iht4x4_16_add_c
|
||||
|
||||
void vp9_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht8x8_64_add vp9_iht8x8_64_add_c
|
||||
|
||||
void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp vp9_quantize_fp_c
|
||||
|
||||
void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
|
||||
|
||||
void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
#define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_c
|
||||
|
||||
void vp9_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_config.asm
vendored
Normal file
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_config.asm
vendored
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
@ This file was created from a .asm file
|
||||
@ using the ads2gas.pl script.
|
||||
.syntax unified
|
||||
.equ VPX_ARCH_ARM , 1
|
||||
.equ ARCH_ARM , 1
|
||||
.equ VPX_ARCH_MIPS , 0
|
||||
.equ ARCH_MIPS , 0
|
||||
.equ VPX_ARCH_X86 , 0
|
||||
.equ ARCH_X86 , 0
|
||||
.equ VPX_ARCH_X86_64 , 0
|
||||
.equ ARCH_X86_64 , 0
|
||||
.equ VPX_ARCH_PPC , 0
|
||||
.equ ARCH_PPC , 0
|
||||
.equ HAVE_NEON , 0
|
||||
.equ HAVE_NEON_ASM , 0
|
||||
.equ HAVE_MIPS32 , 0
|
||||
.equ HAVE_DSPR2 , 0
|
||||
.equ HAVE_MSA , 0
|
||||
.equ HAVE_MIPS64 , 0
|
||||
.equ HAVE_MMX , 0
|
||||
.equ HAVE_SSE , 0
|
||||
.equ HAVE_SSE2 , 0
|
||||
.equ HAVE_SSE3 , 0
|
||||
.equ HAVE_SSSE3 , 0
|
||||
.equ HAVE_SSE4_1 , 0
|
||||
.equ HAVE_AVX , 0
|
||||
.equ HAVE_AVX2 , 0
|
||||
.equ HAVE_AVX512 , 0
|
||||
.equ HAVE_VSX , 0
|
||||
.equ HAVE_MMI , 0
|
||||
.equ HAVE_VPX_PORTS , 1
|
||||
.equ HAVE_PTHREAD_H , 1
|
||||
.equ HAVE_UNISTD_H , 0
|
||||
.equ CONFIG_DEPENDENCY_TRACKING , 1
|
||||
.equ CONFIG_EXTERNAL_BUILD , 1
|
||||
.equ CONFIG_INSTALL_DOCS , 0
|
||||
.equ CONFIG_INSTALL_BINS , 1
|
||||
.equ CONFIG_INSTALL_LIBS , 1
|
||||
.equ CONFIG_INSTALL_SRCS , 0
|
||||
.equ CONFIG_DEBUG , 0
|
||||
.equ CONFIG_GPROF , 0
|
||||
.equ CONFIG_GCOV , 0
|
||||
.equ CONFIG_RVCT , 0
|
||||
.equ CONFIG_GCC , 1
|
||||
.equ CONFIG_MSVS , 0
|
||||
.equ CONFIG_PIC , 0
|
||||
.equ CONFIG_BIG_ENDIAN , 0
|
||||
.equ CONFIG_CODEC_SRCS , 0
|
||||
.equ CONFIG_DEBUG_LIBS , 0
|
||||
.equ CONFIG_DEQUANT_TOKENS , 0
|
||||
.equ CONFIG_DC_RECON , 0
|
||||
.equ CONFIG_RUNTIME_CPU_DETECT , 0
|
||||
.equ CONFIG_POSTPROC , 1
|
||||
.equ CONFIG_VP9_POSTPROC , 1
|
||||
.equ CONFIG_MULTITHREAD , 1
|
||||
.equ CONFIG_INTERNAL_STATS , 0
|
||||
.equ CONFIG_VP8_ENCODER , 1
|
||||
.equ CONFIG_VP8_DECODER , 1
|
||||
.equ CONFIG_VP9_ENCODER , 1
|
||||
.equ CONFIG_VP9_DECODER , 1
|
||||
.equ CONFIG_VP8 , 1
|
||||
.equ CONFIG_VP9 , 1
|
||||
.equ CONFIG_ENCODERS , 1
|
||||
.equ CONFIG_DECODERS , 1
|
||||
.equ CONFIG_STATIC_MSVCRT , 0
|
||||
.equ CONFIG_SPATIAL_RESAMPLING , 1
|
||||
.equ CONFIG_REALTIME_ONLY , 1
|
||||
.equ CONFIG_ONTHEFLY_BITPACKING , 0
|
||||
.equ CONFIG_ERROR_CONCEALMENT , 0
|
||||
.equ CONFIG_SHARED , 0
|
||||
.equ CONFIG_STATIC , 1
|
||||
.equ CONFIG_SMALL , 0
|
||||
.equ CONFIG_POSTPROC_VISUALIZER , 0
|
||||
.equ CONFIG_OS_SUPPORT , 1
|
||||
.equ CONFIG_UNIT_TESTS , 1
|
||||
.equ CONFIG_WEBM_IO , 1
|
||||
.equ CONFIG_LIBYUV , 0
|
||||
.equ CONFIG_DECODE_PERF_TESTS , 0
|
||||
.equ CONFIG_ENCODE_PERF_TESTS , 0
|
||||
.equ CONFIG_MULTI_RES_ENCODING , 1
|
||||
.equ CONFIG_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_VP9_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_CONSISTENT_RECODE , 0
|
||||
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
|
||||
.equ CONFIG_VP9_HIGHBITDEPTH , 0
|
||||
.equ CONFIG_BETTER_HW_COMPATIBILITY , 0
|
||||
.equ CONFIG_EXPERIMENTAL , 0
|
||||
.equ CONFIG_SIZE_LIMIT , 1
|
||||
.equ CONFIG_ALWAYS_ADJUST_BPM , 0
|
||||
.equ CONFIG_BITSTREAM_DEBUG , 0
|
||||
.equ CONFIG_MISMATCH_DEBUG , 0
|
||||
.equ CONFIG_FP_MB_STATS , 0
|
||||
.equ CONFIG_EMULATE_HARDWARE , 0
|
||||
.equ CONFIG_NON_GREEDY_MV , 0
|
||||
.equ CONFIG_RATE_CTRL , 0
|
||||
.equ DECODE_WIDTH_LIMIT , 16384
|
||||
.equ DECODE_HEIGHT_LIMIT , 16384
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_config.c
vendored
Normal file
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_config.c
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
#include "vpx/vpx_codec.h"
|
||||
static const char* const cfg = "--target=armv7-linux-gcc --disable-neon --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv";
|
||||
const char *vpx_codec_build_config(void) {return cfg;}
|
||||
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_config.h
vendored
Normal file
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_config.h
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#ifndef VPX_CONFIG_H
|
||||
#define VPX_CONFIG_H
|
||||
#define RESTRICT
|
||||
#define INLINE inline
|
||||
#define VPX_ARCH_ARM 1
|
||||
#define ARCH_ARM 1
|
||||
#define VPX_ARCH_MIPS 0
|
||||
#define ARCH_MIPS 0
|
||||
#define VPX_ARCH_X86 0
|
||||
#define ARCH_X86 0
|
||||
#define VPX_ARCH_X86_64 0
|
||||
#define ARCH_X86_64 0
|
||||
#define VPX_ARCH_PPC 0
|
||||
#define ARCH_PPC 0
|
||||
#define HAVE_NEON 0
|
||||
#define HAVE_NEON_ASM 0
|
||||
#define HAVE_MIPS32 0
|
||||
#define HAVE_DSPR2 0
|
||||
#define HAVE_MSA 0
|
||||
#define HAVE_MIPS64 0
|
||||
#define HAVE_MMX 0
|
||||
#define HAVE_SSE 0
|
||||
#define HAVE_SSE2 0
|
||||
#define HAVE_SSE3 0
|
||||
#define HAVE_SSSE3 0
|
||||
#define HAVE_SSE4_1 0
|
||||
#define HAVE_AVX 0
|
||||
#define HAVE_AVX2 0
|
||||
#define HAVE_AVX512 0
|
||||
#define HAVE_VSX 0
|
||||
#define HAVE_MMI 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_PTHREAD_H 1
|
||||
#define HAVE_UNISTD_H 0
|
||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
||||
#define CONFIG_EXTERNAL_BUILD 1
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 0
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
#define CONFIG_CODEC_SRCS 0
|
||||
#define CONFIG_DEBUG_LIBS 0
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 0
|
||||
#define CONFIG_POSTPROC 1
|
||||
#define CONFIG_VP9_POSTPROC 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
#define CONFIG_VP8_DECODER 1
|
||||
#define CONFIG_VP9_ENCODER 1
|
||||
#define CONFIG_VP9_DECODER 1
|
||||
#define CONFIG_VP8 1
|
||||
#define CONFIG_VP9 1
|
||||
#define CONFIG_ENCODERS 1
|
||||
#define CONFIG_DECODERS 1
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 1
|
||||
#define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
#define CONFIG_ERROR_CONCEALMENT 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_STATIC 1
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_UNIT_TESTS 1
|
||||
#define CONFIG_WEBM_IO 1
|
||||
#define CONFIG_LIBYUV 0
|
||||
#define CONFIG_DECODE_PERF_TESTS 0
|
||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
||||
#define CONFIG_MULTI_RES_ENCODING 1
|
||||
#define CONFIG_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_CONSISTENT_RECODE 0
|
||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
#define CONFIG_VP9_HIGHBITDEPTH 0
|
||||
#define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
#define CONFIG_EXPERIMENTAL 0
|
||||
#define CONFIG_SIZE_LIMIT 1
|
||||
#define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
#define CONFIG_BITSTREAM_DEBUG 0
|
||||
#define CONFIG_MISMATCH_DEBUG 0
|
||||
#define CONFIG_FP_MB_STATS 0
|
||||
#define CONFIG_EMULATE_HARDWARE 0
|
||||
#define CONFIG_NON_GREEDY_MV 0
|
||||
#define CONFIG_RATE_CTRL 0
|
||||
#define DECODE_WIDTH_LIMIT 16384
|
||||
#define DECODE_HEIGHT_LIMIT 16384
|
||||
#endif /* VPX_CONFIG_H */
|
||||
1588
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_dsp_rtcd.h
vendored
Normal file
1588
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_dsp_rtcd.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_scale_rtcd.h
vendored
Normal file
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm/vpx_scale_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VPX_SCALE_RTCD_H_
|
||||
#define VPX_SCALE_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_horizontal_line_2_1_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_3_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_4_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_i_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
|
||||
|
||||
void vp8_vertical_band_5_3_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
|
||||
|
||||
void vp8_vertical_band_5_4_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
|
||||
|
||||
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
|
||||
|
||||
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
|
||||
|
||||
void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
|
||||
|
||||
void vpx_yv12_copy_y_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
|
||||
|
||||
void vpx_scale_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
505
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vp8_rtcd.h
vendored
Normal file
505
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vp8_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,505 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP8_RTCD_H_
|
||||
#define VP8_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP8
|
||||
*/
|
||||
|
||||
struct blockd;
|
||||
struct macroblockd;
|
||||
struct loop_filter_info;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct block;
|
||||
struct macroblock;
|
||||
struct variance_vtable;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_bilinear_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_neon
|
||||
|
||||
void vp8_bilinear_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_neon
|
||||
|
||||
void vp8_bilinear_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_neon
|
||||
|
||||
void vp8_bilinear_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_neon
|
||||
|
||||
void vp8_blend_b_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_b vp8_blend_b_c
|
||||
|
||||
void vp8_blend_mb_inner_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_inner vp8_blend_mb_inner_c
|
||||
|
||||
void vp8_blend_mb_outer_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_outer vp8_blend_mb_outer_c
|
||||
|
||||
int vp8_block_error_c(short* coeff, short* dqcoeff);
|
||||
#define vp8_block_error vp8_block_error_c
|
||||
|
||||
void vp8_copy32xn_c(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
#define vp8_copy32xn vp8_copy32xn_c
|
||||
|
||||
void vp8_copy_mem16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem16x16_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem16x16 vp8_copy_mem16x16_neon
|
||||
|
||||
void vp8_copy_mem8x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x4_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x4 vp8_copy_mem8x4_neon
|
||||
|
||||
void vp8_copy_mem8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x8_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x8 vp8_copy_mem8x8_neon
|
||||
|
||||
void vp8_dc_only_idct_add_c(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_dc_only_idct_add_neon(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_dc_only_idct_add vp8_dc_only_idct_add_neon
|
||||
|
||||
int vp8_denoiser_filter_c(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_neon(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter vp8_denoiser_filter_neon
|
||||
|
||||
int vp8_denoiser_filter_uv_c(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_uv_neon(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_neon
|
||||
|
||||
void vp8_dequant_idct_add_c(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
void vp8_dequant_idct_add_neon(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
#define vp8_dequant_idct_add vp8_dequant_idct_add_neon
|
||||
|
||||
void vp8_dequant_idct_add_uv_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_uv_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_neon
|
||||
|
||||
void vp8_dequant_idct_add_y_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_y_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_neon
|
||||
|
||||
void vp8_dequantize_b_c(struct blockd*, short* DQC);
|
||||
void vp8_dequantize_b_neon(struct blockd*, short* DQC);
|
||||
#define vp8_dequantize_b vp8_dequantize_b_neon
|
||||
|
||||
int vp8_diamond_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_diamond_search_sad vp8_diamond_search_sad_c
|
||||
|
||||
void vp8_fast_quantize_b_c(struct block*, struct blockd*);
|
||||
void vp8_fast_quantize_b_neon(struct block*, struct blockd*);
|
||||
#define vp8_fast_quantize_b vp8_fast_quantize_b_neon
|
||||
|
||||
void vp8_filter_by_weight16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
|
||||
|
||||
void vp8_filter_by_weight4x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
|
||||
|
||||
void vp8_filter_by_weight8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
|
||||
|
||||
int vp8_full_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_full_search_sad vp8_full_search_sad_c
|
||||
|
||||
void vp8_loop_filter_bh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bh vp8_loop_filter_bh_neon
|
||||
|
||||
void vp8_loop_filter_bv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bv vp8_loop_filter_bv_neon
|
||||
|
||||
void vp8_loop_filter_mbh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbh vp8_loop_filter_mbh_neon
|
||||
|
||||
void vp8_loop_filter_mbv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbv vp8_loop_filter_mbv_neon
|
||||
|
||||
void vp8_loop_filter_bhs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_neon
|
||||
|
||||
void vp8_loop_filter_bvs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_neon
|
||||
|
||||
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbh vp8_loop_filter_mbhs_neon
|
||||
|
||||
void vp8_loop_filter_simple_vertical_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbv vp8_loop_filter_mbvs_neon
|
||||
|
||||
int vp8_mbblock_error_c(struct macroblock* mb, int dc);
|
||||
#define vp8_mbblock_error vp8_mbblock_error_c
|
||||
|
||||
int vp8_mbuverror_c(struct macroblock* mb);
|
||||
#define vp8_mbuverror vp8_mbuverror_c
|
||||
|
||||
int vp8_refining_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_refining_search_sad vp8_refining_search_sad_c
|
||||
|
||||
void vp8_regular_quantize_b_c(struct block*, struct blockd*);
|
||||
#define vp8_regular_quantize_b vp8_regular_quantize_b_c
|
||||
|
||||
void vp8_short_fdct4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct4x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct4x4 vp8_short_fdct4x4_neon
|
||||
|
||||
void vp8_short_fdct8x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct8x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct8x4 vp8_short_fdct8x4_neon
|
||||
|
||||
void vp8_short_idct4x4llm_c(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_short_idct4x4llm_neon(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_short_idct4x4llm vp8_short_idct4x4llm_neon
|
||||
|
||||
void vp8_short_inv_walsh4x4_c(short* input, short* mb_dqcoeff);
|
||||
void vp8_short_inv_walsh4x4_neon(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_neon
|
||||
|
||||
void vp8_short_inv_walsh4x4_1_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
|
||||
|
||||
void vp8_short_walsh4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_walsh4x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_walsh4x4 vp8_short_walsh4x4_neon
|
||||
|
||||
void vp8_sixtap_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_neon
|
||||
|
||||
void vp8_sixtap_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_neon
|
||||
|
||||
void vp8_sixtap_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_neon
|
||||
|
||||
void vp8_sixtap_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_neon
|
||||
|
||||
void vp8_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
342
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vp9_rtcd.h
vendored
Normal file
342
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vp9_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,342 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP9_RTCD_H_
|
||||
#define VP9_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP9
|
||||
*/
|
||||
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_enums.h"
|
||||
#include "vp9/common/vp9_filter.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
struct macroblockd;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct macroblock;
|
||||
struct vp9_variance_vtable;
|
||||
struct search_site_config;
|
||||
struct mv;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int64_t vp9_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
#define vp9_block_error vp9_block_error_c
|
||||
|
||||
int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
#define vp9_block_error_fp vp9_block_error_fp_c
|
||||
|
||||
int vp9_denoiser_filter_c(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
int vp9_denoiser_filter_neon(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
#define vp9_denoiser_filter vp9_denoiser_filter_neon
|
||||
|
||||
int vp9_diamond_search_sad_c(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
#define vp9_diamond_search_sad vp9_diamond_search_sad_c
|
||||
|
||||
void vp9_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht16x16 vp9_fht16x16_c
|
||||
|
||||
void vp9_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht4x4 vp9_fht4x4_c
|
||||
|
||||
void vp9_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht8x8 vp9_fht8x8_c
|
||||
|
||||
void vp9_filter_by_weight16x16_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
|
||||
|
||||
void vp9_filter_by_weight8x8_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c
|
||||
|
||||
void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_fwht4x4 vp9_fwht4x4_c
|
||||
|
||||
int64_t vp9_highbd_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz,
|
||||
int bd);
|
||||
#define vp9_highbd_block_error vp9_highbd_block_error_c
|
||||
|
||||
void vp9_highbd_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht16x16 vp9_highbd_fht16x16_c
|
||||
|
||||
void vp9_highbd_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht4x4 vp9_highbd_fht4x4_c
|
||||
|
||||
void vp9_highbd_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht8x8 vp9_highbd_fht8x8_c
|
||||
|
||||
void vp9_highbd_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_highbd_fwht4x4 vp9_highbd_fwht4x4_c
|
||||
|
||||
void vp9_highbd_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht16x16_256_add_neon(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
#define vp9_highbd_iht16x16_256_add vp9_highbd_iht16x16_256_add_neon
|
||||
|
||||
void vp9_highbd_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht4x4_16_add_neon(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
#define vp9_highbd_iht4x4_16_add vp9_highbd_iht4x4_16_add_neon
|
||||
|
||||
void vp9_highbd_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht8x8_64_add_neon(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
#define vp9_highbd_iht8x8_64_add vp9_highbd_iht8x8_64_add_neon
|
||||
|
||||
void vp9_highbd_mbpost_proc_across_ip_c(uint16_t* src,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_across_ip vp9_highbd_mbpost_proc_across_ip_c
|
||||
|
||||
void vp9_highbd_mbpost_proc_down_c(uint16_t* dst,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_down vp9_highbd_mbpost_proc_down_c
|
||||
|
||||
void vp9_highbd_post_proc_down_and_across_c(const uint16_t* src_ptr,
|
||||
uint16_t* dst_ptr,
|
||||
int src_pixels_per_line,
|
||||
int dst_pixels_per_line,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_post_proc_down_and_across \
|
||||
vp9_highbd_post_proc_down_and_across_c
|
||||
|
||||
void vp9_highbd_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp vp9_highbd_quantize_fp_c
|
||||
|
||||
void vp9_highbd_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp_32x32 vp9_highbd_quantize_fp_32x32_c
|
||||
|
||||
void vp9_highbd_temporal_filter_apply_c(const uint8_t* frame1,
|
||||
unsigned int stride,
|
||||
const uint8_t* frame2,
|
||||
unsigned int block_width,
|
||||
unsigned int block_height,
|
||||
int strength,
|
||||
int* blk_fw,
|
||||
int use_32x32,
|
||||
uint32_t* accumulator,
|
||||
uint16_t* count);
|
||||
#define vp9_highbd_temporal_filter_apply vp9_highbd_temporal_filter_apply_c
|
||||
|
||||
void vp9_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht16x16_256_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht16x16_256_add vp9_iht16x16_256_add_neon
|
||||
|
||||
void vp9_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht4x4_16_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht4x4_16_add vp9_iht4x4_16_add_neon
|
||||
|
||||
void vp9_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht8x8_64_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon
|
||||
|
||||
void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp vp9_quantize_fp_neon
|
||||
|
||||
void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_32x32_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_neon
|
||||
|
||||
void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
void vp9_scale_and_extend_frame_neon(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
#define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_neon
|
||||
|
||||
void vp9_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_config.asm
vendored
Normal file
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_config.asm
vendored
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
@ This file was created from a .asm file
|
||||
@ using the ads2gas.pl script.
|
||||
.syntax unified
|
||||
.equ VPX_ARCH_ARM , 1
|
||||
.equ ARCH_ARM , 1
|
||||
.equ VPX_ARCH_MIPS , 0
|
||||
.equ ARCH_MIPS , 0
|
||||
.equ VPX_ARCH_X86 , 0
|
||||
.equ ARCH_X86 , 0
|
||||
.equ VPX_ARCH_X86_64 , 0
|
||||
.equ ARCH_X86_64 , 0
|
||||
.equ VPX_ARCH_PPC , 0
|
||||
.equ ARCH_PPC , 0
|
||||
.equ HAVE_NEON , 1
|
||||
.equ HAVE_NEON_ASM , 0
|
||||
.equ HAVE_MIPS32 , 0
|
||||
.equ HAVE_DSPR2 , 0
|
||||
.equ HAVE_MSA , 0
|
||||
.equ HAVE_MIPS64 , 0
|
||||
.equ HAVE_MMX , 0
|
||||
.equ HAVE_SSE , 0
|
||||
.equ HAVE_SSE2 , 0
|
||||
.equ HAVE_SSE3 , 0
|
||||
.equ HAVE_SSSE3 , 0
|
||||
.equ HAVE_SSE4_1 , 0
|
||||
.equ HAVE_AVX , 0
|
||||
.equ HAVE_AVX2 , 0
|
||||
.equ HAVE_AVX512 , 0
|
||||
.equ HAVE_VSX , 0
|
||||
.equ HAVE_MMI , 0
|
||||
.equ HAVE_VPX_PORTS , 1
|
||||
.equ HAVE_PTHREAD_H , 1
|
||||
.equ HAVE_UNISTD_H , 0
|
||||
.equ CONFIG_DEPENDENCY_TRACKING , 1
|
||||
.equ CONFIG_EXTERNAL_BUILD , 1
|
||||
.equ CONFIG_INSTALL_DOCS , 0
|
||||
.equ CONFIG_INSTALL_BINS , 1
|
||||
.equ CONFIG_INSTALL_LIBS , 1
|
||||
.equ CONFIG_INSTALL_SRCS , 0
|
||||
.equ CONFIG_DEBUG , 0
|
||||
.equ CONFIG_GPROF , 0
|
||||
.equ CONFIG_GCOV , 0
|
||||
.equ CONFIG_RVCT , 0
|
||||
.equ CONFIG_GCC , 1
|
||||
.equ CONFIG_MSVS , 0
|
||||
.equ CONFIG_PIC , 0
|
||||
.equ CONFIG_BIG_ENDIAN , 0
|
||||
.equ CONFIG_CODEC_SRCS , 0
|
||||
.equ CONFIG_DEBUG_LIBS , 0
|
||||
.equ CONFIG_DEQUANT_TOKENS , 0
|
||||
.equ CONFIG_DC_RECON , 0
|
||||
.equ CONFIG_RUNTIME_CPU_DETECT , 0
|
||||
.equ CONFIG_POSTPROC , 1
|
||||
.equ CONFIG_VP9_POSTPROC , 1
|
||||
.equ CONFIG_MULTITHREAD , 1
|
||||
.equ CONFIG_INTERNAL_STATS , 0
|
||||
.equ CONFIG_VP8_ENCODER , 1
|
||||
.equ CONFIG_VP8_DECODER , 1
|
||||
.equ CONFIG_VP9_ENCODER , 1
|
||||
.equ CONFIG_VP9_DECODER , 1
|
||||
.equ CONFIG_VP8 , 1
|
||||
.equ CONFIG_VP9 , 1
|
||||
.equ CONFIG_ENCODERS , 1
|
||||
.equ CONFIG_DECODERS , 1
|
||||
.equ CONFIG_STATIC_MSVCRT , 0
|
||||
.equ CONFIG_SPATIAL_RESAMPLING , 1
|
||||
.equ CONFIG_REALTIME_ONLY , 1
|
||||
.equ CONFIG_ONTHEFLY_BITPACKING , 0
|
||||
.equ CONFIG_ERROR_CONCEALMENT , 0
|
||||
.equ CONFIG_SHARED , 0
|
||||
.equ CONFIG_STATIC , 1
|
||||
.equ CONFIG_SMALL , 0
|
||||
.equ CONFIG_POSTPROC_VISUALIZER , 0
|
||||
.equ CONFIG_OS_SUPPORT , 1
|
||||
.equ CONFIG_UNIT_TESTS , 1
|
||||
.equ CONFIG_WEBM_IO , 1
|
||||
.equ CONFIG_LIBYUV , 0
|
||||
.equ CONFIG_DECODE_PERF_TESTS , 0
|
||||
.equ CONFIG_ENCODE_PERF_TESTS , 0
|
||||
.equ CONFIG_MULTI_RES_ENCODING , 1
|
||||
.equ CONFIG_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_VP9_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_CONSISTENT_RECODE , 0
|
||||
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
|
||||
.equ CONFIG_VP9_HIGHBITDEPTH , 1
|
||||
.equ CONFIG_BETTER_HW_COMPATIBILITY , 0
|
||||
.equ CONFIG_EXPERIMENTAL , 0
|
||||
.equ CONFIG_SIZE_LIMIT , 1
|
||||
.equ CONFIG_ALWAYS_ADJUST_BPM , 0
|
||||
.equ CONFIG_BITSTREAM_DEBUG , 0
|
||||
.equ CONFIG_MISMATCH_DEBUG , 0
|
||||
.equ CONFIG_FP_MB_STATS , 0
|
||||
.equ CONFIG_EMULATE_HARDWARE , 0
|
||||
.equ CONFIG_NON_GREEDY_MV , 0
|
||||
.equ CONFIG_RATE_CTRL , 0
|
||||
.equ DECODE_WIDTH_LIMIT , 16384
|
||||
.equ DECODE_HEIGHT_LIMIT , 16384
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_config.c
vendored
Normal file
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_config.c
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
#include "vpx/vpx_codec.h"
|
||||
static const char* const cfg = "--target=armv8-linux-gcc --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv --enable-vp9-highbitdepth";
|
||||
const char *vpx_codec_build_config(void) {return cfg;}
|
||||
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_config.h
vendored
Normal file
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_config.h
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#ifndef VPX_CONFIG_H
|
||||
#define VPX_CONFIG_H
|
||||
#define RESTRICT
|
||||
#define INLINE inline
|
||||
#define VPX_ARCH_ARM 1
|
||||
#define ARCH_ARM 1
|
||||
#define VPX_ARCH_MIPS 0
|
||||
#define ARCH_MIPS 0
|
||||
#define VPX_ARCH_X86 0
|
||||
#define ARCH_X86 0
|
||||
#define VPX_ARCH_X86_64 0
|
||||
#define ARCH_X86_64 0
|
||||
#define VPX_ARCH_PPC 0
|
||||
#define ARCH_PPC 0
|
||||
#define HAVE_NEON 1
|
||||
#define HAVE_NEON_ASM 0
|
||||
#define HAVE_MIPS32 0
|
||||
#define HAVE_DSPR2 0
|
||||
#define HAVE_MSA 0
|
||||
#define HAVE_MIPS64 0
|
||||
#define HAVE_MMX 0
|
||||
#define HAVE_SSE 0
|
||||
#define HAVE_SSE2 0
|
||||
#define HAVE_SSE3 0
|
||||
#define HAVE_SSSE3 0
|
||||
#define HAVE_SSE4_1 0
|
||||
#define HAVE_AVX 0
|
||||
#define HAVE_AVX2 0
|
||||
#define HAVE_AVX512 0
|
||||
#define HAVE_VSX 0
|
||||
#define HAVE_MMI 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_PTHREAD_H 1
|
||||
#define HAVE_UNISTD_H 0
|
||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
||||
#define CONFIG_EXTERNAL_BUILD 1
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 0
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
#define CONFIG_CODEC_SRCS 0
|
||||
#define CONFIG_DEBUG_LIBS 0
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 0
|
||||
#define CONFIG_POSTPROC 1
|
||||
#define CONFIG_VP9_POSTPROC 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
#define CONFIG_VP8_DECODER 1
|
||||
#define CONFIG_VP9_ENCODER 1
|
||||
#define CONFIG_VP9_DECODER 1
|
||||
#define CONFIG_VP8 1
|
||||
#define CONFIG_VP9 1
|
||||
#define CONFIG_ENCODERS 1
|
||||
#define CONFIG_DECODERS 1
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 1
|
||||
#define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
#define CONFIG_ERROR_CONCEALMENT 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_STATIC 1
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_UNIT_TESTS 1
|
||||
#define CONFIG_WEBM_IO 1
|
||||
#define CONFIG_LIBYUV 0
|
||||
#define CONFIG_DECODE_PERF_TESTS 0
|
||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
||||
#define CONFIG_MULTI_RES_ENCODING 1
|
||||
#define CONFIG_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_CONSISTENT_RECODE 0
|
||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
#define CONFIG_VP9_HIGHBITDEPTH 1
|
||||
#define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
#define CONFIG_EXPERIMENTAL 0
|
||||
#define CONFIG_SIZE_LIMIT 1
|
||||
#define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
#define CONFIG_BITSTREAM_DEBUG 0
|
||||
#define CONFIG_MISMATCH_DEBUG 0
|
||||
#define CONFIG_FP_MB_STATS 0
|
||||
#define CONFIG_EMULATE_HARDWARE 0
|
||||
#define CONFIG_NON_GREEDY_MV 0
|
||||
#define CONFIG_RATE_CTRL 0
|
||||
#define DECODE_WIDTH_LIMIT 16384
|
||||
#define DECODE_HEIGHT_LIMIT 16384
|
||||
#endif /* VPX_CONFIG_H */
|
||||
5191
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_dsp_rtcd.h
vendored
Normal file
5191
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_dsp_rtcd.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_scale_rtcd.h
vendored
Normal file
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64-highbd/vpx_scale_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VPX_SCALE_RTCD_H_
|
||||
#define VPX_SCALE_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_horizontal_line_2_1_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_3_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_4_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_i_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
|
||||
|
||||
void vp8_vertical_band_5_3_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
|
||||
|
||||
void vp8_vertical_band_5_4_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
|
||||
|
||||
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
|
||||
|
||||
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
|
||||
|
||||
void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
|
||||
|
||||
void vpx_yv12_copy_y_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
|
||||
|
||||
void vpx_scale_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
505
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vp8_rtcd.h
vendored
Normal file
505
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vp8_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,505 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP8_RTCD_H_
|
||||
#define VP8_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP8
|
||||
*/
|
||||
|
||||
struct blockd;
|
||||
struct macroblockd;
|
||||
struct loop_filter_info;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct block;
|
||||
struct macroblock;
|
||||
struct variance_vtable;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_bilinear_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_neon
|
||||
|
||||
void vp8_bilinear_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_neon
|
||||
|
||||
void vp8_bilinear_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_neon
|
||||
|
||||
void vp8_bilinear_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_neon
|
||||
|
||||
void vp8_blend_b_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_b vp8_blend_b_c
|
||||
|
||||
void vp8_blend_mb_inner_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_inner vp8_blend_mb_inner_c
|
||||
|
||||
void vp8_blend_mb_outer_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_outer vp8_blend_mb_outer_c
|
||||
|
||||
int vp8_block_error_c(short* coeff, short* dqcoeff);
|
||||
#define vp8_block_error vp8_block_error_c
|
||||
|
||||
void vp8_copy32xn_c(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
#define vp8_copy32xn vp8_copy32xn_c
|
||||
|
||||
void vp8_copy_mem16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem16x16_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem16x16 vp8_copy_mem16x16_neon
|
||||
|
||||
void vp8_copy_mem8x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x4_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x4 vp8_copy_mem8x4_neon
|
||||
|
||||
void vp8_copy_mem8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x8_neon(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x8 vp8_copy_mem8x8_neon
|
||||
|
||||
void vp8_dc_only_idct_add_c(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_dc_only_idct_add_neon(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_dc_only_idct_add vp8_dc_only_idct_add_neon
|
||||
|
||||
int vp8_denoiser_filter_c(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_neon(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter vp8_denoiser_filter_neon
|
||||
|
||||
int vp8_denoiser_filter_uv_c(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_uv_neon(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_neon
|
||||
|
||||
void vp8_dequant_idct_add_c(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
void vp8_dequant_idct_add_neon(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
#define vp8_dequant_idct_add vp8_dequant_idct_add_neon
|
||||
|
||||
void vp8_dequant_idct_add_uv_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_uv_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_neon
|
||||
|
||||
void vp8_dequant_idct_add_y_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_y_block_neon(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_neon
|
||||
|
||||
void vp8_dequantize_b_c(struct blockd*, short* DQC);
|
||||
void vp8_dequantize_b_neon(struct blockd*, short* DQC);
|
||||
#define vp8_dequantize_b vp8_dequantize_b_neon
|
||||
|
||||
int vp8_diamond_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_diamond_search_sad vp8_diamond_search_sad_c
|
||||
|
||||
void vp8_fast_quantize_b_c(struct block*, struct blockd*);
|
||||
void vp8_fast_quantize_b_neon(struct block*, struct blockd*);
|
||||
#define vp8_fast_quantize_b vp8_fast_quantize_b_neon
|
||||
|
||||
void vp8_filter_by_weight16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
|
||||
|
||||
void vp8_filter_by_weight4x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
|
||||
|
||||
void vp8_filter_by_weight8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
|
||||
|
||||
int vp8_full_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_full_search_sad vp8_full_search_sad_c
|
||||
|
||||
void vp8_loop_filter_bh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bh vp8_loop_filter_bh_neon
|
||||
|
||||
void vp8_loop_filter_bv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bv vp8_loop_filter_bv_neon
|
||||
|
||||
void vp8_loop_filter_mbh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbh_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbh vp8_loop_filter_mbh_neon
|
||||
|
||||
void vp8_loop_filter_mbv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbv_neon(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbv vp8_loop_filter_mbv_neon
|
||||
|
||||
void vp8_loop_filter_bhs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_neon
|
||||
|
||||
void vp8_loop_filter_bvs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_neon
|
||||
|
||||
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbhs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbh vp8_loop_filter_mbhs_neon
|
||||
|
||||
void vp8_loop_filter_simple_vertical_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_mbvs_neon(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbv vp8_loop_filter_mbvs_neon
|
||||
|
||||
int vp8_mbblock_error_c(struct macroblock* mb, int dc);
|
||||
#define vp8_mbblock_error vp8_mbblock_error_c
|
||||
|
||||
int vp8_mbuverror_c(struct macroblock* mb);
|
||||
#define vp8_mbuverror vp8_mbuverror_c
|
||||
|
||||
int vp8_refining_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_refining_search_sad vp8_refining_search_sad_c
|
||||
|
||||
void vp8_regular_quantize_b_c(struct block*, struct blockd*);
|
||||
#define vp8_regular_quantize_b vp8_regular_quantize_b_c
|
||||
|
||||
void vp8_short_fdct4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct4x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct4x4 vp8_short_fdct4x4_neon
|
||||
|
||||
void vp8_short_fdct8x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct8x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct8x4 vp8_short_fdct8x4_neon
|
||||
|
||||
void vp8_short_idct4x4llm_c(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_short_idct4x4llm_neon(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_short_idct4x4llm vp8_short_idct4x4llm_neon
|
||||
|
||||
void vp8_short_inv_walsh4x4_c(short* input, short* mb_dqcoeff);
|
||||
void vp8_short_inv_walsh4x4_neon(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_neon
|
||||
|
||||
void vp8_short_inv_walsh4x4_1_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
|
||||
|
||||
void vp8_short_walsh4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_walsh4x4_neon(short* input, short* output, int pitch);
|
||||
#define vp8_short_walsh4x4 vp8_short_walsh4x4_neon
|
||||
|
||||
void vp8_sixtap_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict16x16_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_neon
|
||||
|
||||
void vp8_sixtap_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict4x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_neon
|
||||
|
||||
void vp8_sixtap_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x4_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_neon
|
||||
|
||||
void vp8_sixtap_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x8_neon(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_neon
|
||||
|
||||
void vp8_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
219
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vp9_rtcd.h
vendored
Normal file
219
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vp9_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,219 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP9_RTCD_H_
|
||||
#define VP9_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP9
|
||||
*/
|
||||
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_enums.h"
|
||||
#include "vp9/common/vp9_filter.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
struct macroblockd;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct macroblock;
|
||||
struct vp9_variance_vtable;
|
||||
struct search_site_config;
|
||||
struct mv;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int64_t vp9_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
#define vp9_block_error vp9_block_error_c
|
||||
|
||||
int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
int64_t vp9_block_error_fp_neon(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
#define vp9_block_error_fp vp9_block_error_fp_neon
|
||||
|
||||
int vp9_denoiser_filter_c(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
int vp9_denoiser_filter_neon(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
#define vp9_denoiser_filter vp9_denoiser_filter_neon
|
||||
|
||||
int vp9_diamond_search_sad_c(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
#define vp9_diamond_search_sad vp9_diamond_search_sad_c
|
||||
|
||||
void vp9_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht16x16 vp9_fht16x16_c
|
||||
|
||||
void vp9_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht4x4 vp9_fht4x4_c
|
||||
|
||||
void vp9_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht8x8 vp9_fht8x8_c
|
||||
|
||||
void vp9_filter_by_weight16x16_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
|
||||
|
||||
void vp9_filter_by_weight8x8_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c
|
||||
|
||||
void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_fwht4x4 vp9_fwht4x4_c
|
||||
|
||||
void vp9_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht16x16_256_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht16x16_256_add vp9_iht16x16_256_add_neon
|
||||
|
||||
void vp9_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht4x4_16_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht4x4_16_add vp9_iht4x4_16_add_neon
|
||||
|
||||
void vp9_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht8x8_64_add_neon(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon
|
||||
|
||||
void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp vp9_quantize_fp_neon
|
||||
|
||||
void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_32x32_neon(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_neon
|
||||
|
||||
void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
void vp9_scale_and_extend_frame_neon(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
#define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_neon
|
||||
|
||||
void vp9_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_config.asm
vendored
Normal file
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_config.asm
vendored
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
@ This file was created from a .asm file
|
||||
@ using the ads2gas.pl script.
|
||||
.syntax unified
|
||||
.equ VPX_ARCH_ARM , 1
|
||||
.equ ARCH_ARM , 1
|
||||
.equ VPX_ARCH_MIPS , 0
|
||||
.equ ARCH_MIPS , 0
|
||||
.equ VPX_ARCH_X86 , 0
|
||||
.equ ARCH_X86 , 0
|
||||
.equ VPX_ARCH_X86_64 , 0
|
||||
.equ ARCH_X86_64 , 0
|
||||
.equ VPX_ARCH_PPC , 0
|
||||
.equ ARCH_PPC , 0
|
||||
.equ HAVE_NEON , 1
|
||||
.equ HAVE_NEON_ASM , 0
|
||||
.equ HAVE_MIPS32 , 0
|
||||
.equ HAVE_DSPR2 , 0
|
||||
.equ HAVE_MSA , 0
|
||||
.equ HAVE_MIPS64 , 0
|
||||
.equ HAVE_MMX , 0
|
||||
.equ HAVE_SSE , 0
|
||||
.equ HAVE_SSE2 , 0
|
||||
.equ HAVE_SSE3 , 0
|
||||
.equ HAVE_SSSE3 , 0
|
||||
.equ HAVE_SSE4_1 , 0
|
||||
.equ HAVE_AVX , 0
|
||||
.equ HAVE_AVX2 , 0
|
||||
.equ HAVE_AVX512 , 0
|
||||
.equ HAVE_VSX , 0
|
||||
.equ HAVE_MMI , 0
|
||||
.equ HAVE_VPX_PORTS , 1
|
||||
.equ HAVE_PTHREAD_H , 1
|
||||
.equ HAVE_UNISTD_H , 0
|
||||
.equ CONFIG_DEPENDENCY_TRACKING , 1
|
||||
.equ CONFIG_EXTERNAL_BUILD , 1
|
||||
.equ CONFIG_INSTALL_DOCS , 0
|
||||
.equ CONFIG_INSTALL_BINS , 1
|
||||
.equ CONFIG_INSTALL_LIBS , 1
|
||||
.equ CONFIG_INSTALL_SRCS , 0
|
||||
.equ CONFIG_DEBUG , 0
|
||||
.equ CONFIG_GPROF , 0
|
||||
.equ CONFIG_GCOV , 0
|
||||
.equ CONFIG_RVCT , 0
|
||||
.equ CONFIG_GCC , 1
|
||||
.equ CONFIG_MSVS , 0
|
||||
.equ CONFIG_PIC , 0
|
||||
.equ CONFIG_BIG_ENDIAN , 0
|
||||
.equ CONFIG_CODEC_SRCS , 0
|
||||
.equ CONFIG_DEBUG_LIBS , 0
|
||||
.equ CONFIG_DEQUANT_TOKENS , 0
|
||||
.equ CONFIG_DC_RECON , 0
|
||||
.equ CONFIG_RUNTIME_CPU_DETECT , 0
|
||||
.equ CONFIG_POSTPROC , 1
|
||||
.equ CONFIG_VP9_POSTPROC , 1
|
||||
.equ CONFIG_MULTITHREAD , 1
|
||||
.equ CONFIG_INTERNAL_STATS , 0
|
||||
.equ CONFIG_VP8_ENCODER , 1
|
||||
.equ CONFIG_VP8_DECODER , 1
|
||||
.equ CONFIG_VP9_ENCODER , 1
|
||||
.equ CONFIG_VP9_DECODER , 1
|
||||
.equ CONFIG_VP8 , 1
|
||||
.equ CONFIG_VP9 , 1
|
||||
.equ CONFIG_ENCODERS , 1
|
||||
.equ CONFIG_DECODERS , 1
|
||||
.equ CONFIG_STATIC_MSVCRT , 0
|
||||
.equ CONFIG_SPATIAL_RESAMPLING , 1
|
||||
.equ CONFIG_REALTIME_ONLY , 1
|
||||
.equ CONFIG_ONTHEFLY_BITPACKING , 0
|
||||
.equ CONFIG_ERROR_CONCEALMENT , 0
|
||||
.equ CONFIG_SHARED , 0
|
||||
.equ CONFIG_STATIC , 1
|
||||
.equ CONFIG_SMALL , 0
|
||||
.equ CONFIG_POSTPROC_VISUALIZER , 0
|
||||
.equ CONFIG_OS_SUPPORT , 1
|
||||
.equ CONFIG_UNIT_TESTS , 1
|
||||
.equ CONFIG_WEBM_IO , 1
|
||||
.equ CONFIG_LIBYUV , 0
|
||||
.equ CONFIG_DECODE_PERF_TESTS , 0
|
||||
.equ CONFIG_ENCODE_PERF_TESTS , 0
|
||||
.equ CONFIG_MULTI_RES_ENCODING , 1
|
||||
.equ CONFIG_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_VP9_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_CONSISTENT_RECODE , 0
|
||||
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
|
||||
.equ CONFIG_VP9_HIGHBITDEPTH , 0
|
||||
.equ CONFIG_BETTER_HW_COMPATIBILITY , 0
|
||||
.equ CONFIG_EXPERIMENTAL , 0
|
||||
.equ CONFIG_SIZE_LIMIT , 1
|
||||
.equ CONFIG_ALWAYS_ADJUST_BPM , 0
|
||||
.equ CONFIG_BITSTREAM_DEBUG , 0
|
||||
.equ CONFIG_MISMATCH_DEBUG , 0
|
||||
.equ CONFIG_FP_MB_STATS , 0
|
||||
.equ CONFIG_EMULATE_HARDWARE , 0
|
||||
.equ CONFIG_NON_GREEDY_MV , 0
|
||||
.equ CONFIG_RATE_CTRL , 0
|
||||
.equ DECODE_WIDTH_LIMIT , 16384
|
||||
.equ DECODE_HEIGHT_LIMIT , 16384
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_config.c
vendored
Normal file
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_config.c
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
#include "vpx/vpx_codec.h"
|
||||
static const char* const cfg = "--target=armv8-linux-gcc --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv";
|
||||
const char *vpx_codec_build_config(void) {return cfg;}
|
||||
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_config.h
vendored
Normal file
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_config.h
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#ifndef VPX_CONFIG_H
|
||||
#define VPX_CONFIG_H
|
||||
#define RESTRICT
|
||||
#define INLINE inline
|
||||
#define VPX_ARCH_ARM 1
|
||||
#define ARCH_ARM 1
|
||||
#define VPX_ARCH_MIPS 0
|
||||
#define ARCH_MIPS 0
|
||||
#define VPX_ARCH_X86 0
|
||||
#define ARCH_X86 0
|
||||
#define VPX_ARCH_X86_64 0
|
||||
#define ARCH_X86_64 0
|
||||
#define VPX_ARCH_PPC 0
|
||||
#define ARCH_PPC 0
|
||||
#define HAVE_NEON 1
|
||||
#define HAVE_NEON_ASM 0
|
||||
#define HAVE_MIPS32 0
|
||||
#define HAVE_DSPR2 0
|
||||
#define HAVE_MSA 0
|
||||
#define HAVE_MIPS64 0
|
||||
#define HAVE_MMX 0
|
||||
#define HAVE_SSE 0
|
||||
#define HAVE_SSE2 0
|
||||
#define HAVE_SSE3 0
|
||||
#define HAVE_SSSE3 0
|
||||
#define HAVE_SSE4_1 0
|
||||
#define HAVE_AVX 0
|
||||
#define HAVE_AVX2 0
|
||||
#define HAVE_AVX512 0
|
||||
#define HAVE_VSX 0
|
||||
#define HAVE_MMI 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_PTHREAD_H 1
|
||||
#define HAVE_UNISTD_H 0
|
||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
||||
#define CONFIG_EXTERNAL_BUILD 1
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 0
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
#define CONFIG_CODEC_SRCS 0
|
||||
#define CONFIG_DEBUG_LIBS 0
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 0
|
||||
#define CONFIG_POSTPROC 1
|
||||
#define CONFIG_VP9_POSTPROC 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
#define CONFIG_VP8_DECODER 1
|
||||
#define CONFIG_VP9_ENCODER 1
|
||||
#define CONFIG_VP9_DECODER 1
|
||||
#define CONFIG_VP8 1
|
||||
#define CONFIG_VP9 1
|
||||
#define CONFIG_ENCODERS 1
|
||||
#define CONFIG_DECODERS 1
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 1
|
||||
#define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
#define CONFIG_ERROR_CONCEALMENT 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_STATIC 1
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_UNIT_TESTS 1
|
||||
#define CONFIG_WEBM_IO 1
|
||||
#define CONFIG_LIBYUV 0
|
||||
#define CONFIG_DECODE_PERF_TESTS 0
|
||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
||||
#define CONFIG_MULTI_RES_ENCODING 1
|
||||
#define CONFIG_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_CONSISTENT_RECODE 0
|
||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
#define CONFIG_VP9_HIGHBITDEPTH 0
|
||||
#define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
#define CONFIG_EXPERIMENTAL 0
|
||||
#define CONFIG_SIZE_LIMIT 1
|
||||
#define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
#define CONFIG_BITSTREAM_DEBUG 0
|
||||
#define CONFIG_MISMATCH_DEBUG 0
|
||||
#define CONFIG_FP_MB_STATS 0
|
||||
#define CONFIG_EMULATE_HARDWARE 0
|
||||
#define CONFIG_NON_GREEDY_MV 0
|
||||
#define CONFIG_RATE_CTRL 0
|
||||
#define DECODE_WIDTH_LIMIT 16384
|
||||
#define DECODE_HEIGHT_LIMIT 16384
|
||||
#endif /* VPX_CONFIG_H */
|
||||
2491
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_dsp_rtcd.h
vendored
Normal file
2491
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_dsp_rtcd.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_scale_rtcd.h
vendored
Normal file
101
TMessagesProj/jni/third_party/libvpx/source/config/linux/arm64/vpx_scale_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VPX_SCALE_RTCD_H_
|
||||
#define VPX_SCALE_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_horizontal_line_2_1_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_3_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_4_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_i_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
|
||||
|
||||
void vp8_vertical_band_5_3_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
|
||||
|
||||
void vp8_vertical_band_5_4_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
|
||||
|
||||
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
|
||||
|
||||
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
|
||||
|
||||
void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
|
||||
|
||||
void vpx_yv12_copy_y_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
|
||||
|
||||
void vpx_scale_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/arm.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = arm_cpu_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
357
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vp8_rtcd.h
vendored
Normal file
357
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vp8_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,357 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP8_RTCD_H_
|
||||
#define VP8_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP8
|
||||
*/
|
||||
|
||||
struct blockd;
|
||||
struct macroblockd;
|
||||
struct loop_filter_info;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct block;
|
||||
struct macroblock;
|
||||
struct variance_vtable;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_bilinear_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_c
|
||||
|
||||
void vp8_bilinear_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c
|
||||
|
||||
void vp8_bilinear_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_c
|
||||
|
||||
void vp8_bilinear_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_c
|
||||
|
||||
void vp8_blend_b_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_b vp8_blend_b_c
|
||||
|
||||
void vp8_blend_mb_inner_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_inner vp8_blend_mb_inner_c
|
||||
|
||||
void vp8_blend_mb_outer_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_outer vp8_blend_mb_outer_c
|
||||
|
||||
int vp8_block_error_c(short* coeff, short* dqcoeff);
|
||||
#define vp8_block_error vp8_block_error_c
|
||||
|
||||
void vp8_copy32xn_c(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
#define vp8_copy32xn vp8_copy32xn_c
|
||||
|
||||
void vp8_copy_mem16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem16x16 vp8_copy_mem16x16_c
|
||||
|
||||
void vp8_copy_mem8x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x4 vp8_copy_mem8x4_c
|
||||
|
||||
void vp8_copy_mem8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x8 vp8_copy_mem8x8_c
|
||||
|
||||
void vp8_dc_only_idct_add_c(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_dc_only_idct_add vp8_dc_only_idct_add_c
|
||||
|
||||
int vp8_denoiser_filter_c(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter vp8_denoiser_filter_c
|
||||
|
||||
int vp8_denoiser_filter_uv_c(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_c
|
||||
|
||||
void vp8_dequant_idct_add_c(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
#define vp8_dequant_idct_add vp8_dequant_idct_add_c
|
||||
|
||||
void vp8_dequant_idct_add_uv_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_c
|
||||
|
||||
void vp8_dequant_idct_add_y_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_c
|
||||
|
||||
void vp8_dequantize_b_c(struct blockd*, short* DQC);
|
||||
#define vp8_dequantize_b vp8_dequantize_b_c
|
||||
|
||||
int vp8_diamond_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_diamond_search_sad vp8_diamond_search_sad_c
|
||||
|
||||
void vp8_fast_quantize_b_c(struct block*, struct blockd*);
|
||||
#define vp8_fast_quantize_b vp8_fast_quantize_b_c
|
||||
|
||||
void vp8_filter_by_weight16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
|
||||
|
||||
void vp8_filter_by_weight4x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
|
||||
|
||||
void vp8_filter_by_weight8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
|
||||
|
||||
int vp8_full_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_full_search_sad vp8_full_search_sad_c
|
||||
|
||||
void vp8_loop_filter_bh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bh vp8_loop_filter_bh_c
|
||||
|
||||
void vp8_loop_filter_bv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bv vp8_loop_filter_bv_c
|
||||
|
||||
void vp8_loop_filter_mbh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbh vp8_loop_filter_mbh_c
|
||||
|
||||
void vp8_loop_filter_mbv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbv vp8_loop_filter_mbv_c
|
||||
|
||||
void vp8_loop_filter_bhs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_c
|
||||
|
||||
void vp8_loop_filter_bvs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_c
|
||||
|
||||
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_c
|
||||
|
||||
void vp8_loop_filter_simple_vertical_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_c
|
||||
|
||||
int vp8_mbblock_error_c(struct macroblock* mb, int dc);
|
||||
#define vp8_mbblock_error vp8_mbblock_error_c
|
||||
|
||||
int vp8_mbuverror_c(struct macroblock* mb);
|
||||
#define vp8_mbuverror vp8_mbuverror_c
|
||||
|
||||
int vp8_refining_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_refining_search_sad vp8_refining_search_sad_c
|
||||
|
||||
void vp8_regular_quantize_b_c(struct block*, struct blockd*);
|
||||
#define vp8_regular_quantize_b vp8_regular_quantize_b_c
|
||||
|
||||
void vp8_short_fdct4x4_c(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct4x4 vp8_short_fdct4x4_c
|
||||
|
||||
void vp8_short_fdct8x4_c(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct8x4 vp8_short_fdct8x4_c
|
||||
|
||||
void vp8_short_idct4x4llm_c(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_short_idct4x4llm vp8_short_idct4x4llm_c
|
||||
|
||||
void vp8_short_inv_walsh4x4_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_c
|
||||
|
||||
void vp8_short_inv_walsh4x4_1_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
|
||||
|
||||
void vp8_short_walsh4x4_c(short* input, short* output, int pitch);
|
||||
#define vp8_short_walsh4x4 vp8_short_walsh4x4_c
|
||||
|
||||
void vp8_sixtap_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_c
|
||||
|
||||
void vp8_sixtap_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_c
|
||||
|
||||
void vp8_sixtap_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_c
|
||||
|
||||
void vp8_sixtap_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_c
|
||||
|
||||
void vp8_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
static void setup_rtcd_internal(void) {}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
275
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vp9_rtcd.h
vendored
Normal file
275
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vp9_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,275 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP9_RTCD_H_
|
||||
#define VP9_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP9
|
||||
*/
|
||||
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_enums.h"
|
||||
#include "vp9/common/vp9_filter.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
struct macroblockd;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct macroblock;
|
||||
struct vp9_variance_vtable;
|
||||
struct search_site_config;
|
||||
struct mv;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int64_t vp9_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
#define vp9_block_error vp9_block_error_c
|
||||
|
||||
int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
#define vp9_block_error_fp vp9_block_error_fp_c
|
||||
|
||||
int vp9_denoiser_filter_c(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
#define vp9_denoiser_filter vp9_denoiser_filter_c
|
||||
|
||||
int vp9_diamond_search_sad_c(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
#define vp9_diamond_search_sad vp9_diamond_search_sad_c
|
||||
|
||||
void vp9_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht16x16 vp9_fht16x16_c
|
||||
|
||||
void vp9_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht4x4 vp9_fht4x4_c
|
||||
|
||||
void vp9_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht8x8 vp9_fht8x8_c
|
||||
|
||||
void vp9_filter_by_weight16x16_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
|
||||
|
||||
void vp9_filter_by_weight8x8_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c
|
||||
|
||||
void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_fwht4x4 vp9_fwht4x4_c
|
||||
|
||||
int64_t vp9_highbd_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz,
|
||||
int bd);
|
||||
#define vp9_highbd_block_error vp9_highbd_block_error_c
|
||||
|
||||
void vp9_highbd_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht16x16 vp9_highbd_fht16x16_c
|
||||
|
||||
void vp9_highbd_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht4x4 vp9_highbd_fht4x4_c
|
||||
|
||||
void vp9_highbd_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht8x8 vp9_highbd_fht8x8_c
|
||||
|
||||
void vp9_highbd_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_highbd_fwht4x4 vp9_highbd_fwht4x4_c
|
||||
|
||||
void vp9_highbd_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
#define vp9_highbd_iht16x16_256_add vp9_highbd_iht16x16_256_add_c
|
||||
|
||||
void vp9_highbd_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
#define vp9_highbd_iht4x4_16_add vp9_highbd_iht4x4_16_add_c
|
||||
|
||||
void vp9_highbd_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
#define vp9_highbd_iht8x8_64_add vp9_highbd_iht8x8_64_add_c
|
||||
|
||||
void vp9_highbd_mbpost_proc_across_ip_c(uint16_t* src,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_across_ip vp9_highbd_mbpost_proc_across_ip_c
|
||||
|
||||
void vp9_highbd_mbpost_proc_down_c(uint16_t* dst,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_down vp9_highbd_mbpost_proc_down_c
|
||||
|
||||
void vp9_highbd_post_proc_down_and_across_c(const uint16_t* src_ptr,
|
||||
uint16_t* dst_ptr,
|
||||
int src_pixels_per_line,
|
||||
int dst_pixels_per_line,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_post_proc_down_and_across \
|
||||
vp9_highbd_post_proc_down_and_across_c
|
||||
|
||||
void vp9_highbd_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp vp9_highbd_quantize_fp_c
|
||||
|
||||
void vp9_highbd_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp_32x32 vp9_highbd_quantize_fp_32x32_c
|
||||
|
||||
void vp9_highbd_temporal_filter_apply_c(const uint8_t* frame1,
|
||||
unsigned int stride,
|
||||
const uint8_t* frame2,
|
||||
unsigned int block_width,
|
||||
unsigned int block_height,
|
||||
int strength,
|
||||
int* blk_fw,
|
||||
int use_32x32,
|
||||
uint32_t* accumulator,
|
||||
uint16_t* count);
|
||||
#define vp9_highbd_temporal_filter_apply vp9_highbd_temporal_filter_apply_c
|
||||
|
||||
void vp9_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht16x16_256_add vp9_iht16x16_256_add_c
|
||||
|
||||
void vp9_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht4x4_16_add vp9_iht4x4_16_add_c
|
||||
|
||||
void vp9_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht8x8_64_add vp9_iht8x8_64_add_c
|
||||
|
||||
void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp vp9_quantize_fp_c
|
||||
|
||||
void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
|
||||
|
||||
void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
#define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_c
|
||||
|
||||
void vp9_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
static void setup_rtcd_internal(void) {}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_config.asm
vendored
Normal file
98
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_config.asm
vendored
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
@ This file was created from a .asm file
|
||||
@ using the ads2gas.pl script.
|
||||
.syntax unified
|
||||
.equ VPX_ARCH_ARM , 0
|
||||
.equ ARCH_ARM , 0
|
||||
.equ VPX_ARCH_MIPS , 0
|
||||
.equ ARCH_MIPS , 0
|
||||
.equ VPX_ARCH_X86 , 0
|
||||
.equ ARCH_X86 , 0
|
||||
.equ VPX_ARCH_X86_64 , 0
|
||||
.equ ARCH_X86_64 , 0
|
||||
.equ VPX_ARCH_PPC , 0
|
||||
.equ ARCH_PPC , 0
|
||||
.equ HAVE_NEON , 0
|
||||
.equ HAVE_NEON_ASM , 0
|
||||
.equ HAVE_MIPS32 , 0
|
||||
.equ HAVE_DSPR2 , 0
|
||||
.equ HAVE_MSA , 0
|
||||
.equ HAVE_MIPS64 , 0
|
||||
.equ HAVE_MMX , 0
|
||||
.equ HAVE_SSE , 0
|
||||
.equ HAVE_SSE2 , 0
|
||||
.equ HAVE_SSE3 , 0
|
||||
.equ HAVE_SSSE3 , 0
|
||||
.equ HAVE_SSE4_1 , 0
|
||||
.equ HAVE_AVX , 0
|
||||
.equ HAVE_AVX2 , 0
|
||||
.equ HAVE_AVX512 , 0
|
||||
.equ HAVE_VSX , 0
|
||||
.equ HAVE_MMI , 0
|
||||
.equ HAVE_VPX_PORTS , 1
|
||||
.equ HAVE_PTHREAD_H , 1
|
||||
.equ HAVE_UNISTD_H , 0
|
||||
.equ CONFIG_DEPENDENCY_TRACKING , 1
|
||||
.equ CONFIG_EXTERNAL_BUILD , 1
|
||||
.equ CONFIG_INSTALL_DOCS , 0
|
||||
.equ CONFIG_INSTALL_BINS , 1
|
||||
.equ CONFIG_INSTALL_LIBS , 1
|
||||
.equ CONFIG_INSTALL_SRCS , 0
|
||||
.equ CONFIG_DEBUG , 0
|
||||
.equ CONFIG_GPROF , 0
|
||||
.equ CONFIG_GCOV , 0
|
||||
.equ CONFIG_RVCT , 0
|
||||
.equ CONFIG_GCC , 1
|
||||
.equ CONFIG_MSVS , 0
|
||||
.equ CONFIG_PIC , 0
|
||||
.equ CONFIG_BIG_ENDIAN , 0
|
||||
.equ CONFIG_CODEC_SRCS , 0
|
||||
.equ CONFIG_DEBUG_LIBS , 0
|
||||
.equ CONFIG_DEQUANT_TOKENS , 0
|
||||
.equ CONFIG_DC_RECON , 0
|
||||
.equ CONFIG_RUNTIME_CPU_DETECT , 0
|
||||
.equ CONFIG_POSTPROC , 1
|
||||
.equ CONFIG_VP9_POSTPROC , 1
|
||||
.equ CONFIG_MULTITHREAD , 1
|
||||
.equ CONFIG_INTERNAL_STATS , 0
|
||||
.equ CONFIG_VP8_ENCODER , 1
|
||||
.equ CONFIG_VP8_DECODER , 1
|
||||
.equ CONFIG_VP9_ENCODER , 1
|
||||
.equ CONFIG_VP9_DECODER , 1
|
||||
.equ CONFIG_VP8 , 1
|
||||
.equ CONFIG_VP9 , 1
|
||||
.equ CONFIG_ENCODERS , 1
|
||||
.equ CONFIG_DECODERS , 1
|
||||
.equ CONFIG_STATIC_MSVCRT , 0
|
||||
.equ CONFIG_SPATIAL_RESAMPLING , 1
|
||||
.equ CONFIG_REALTIME_ONLY , 1
|
||||
.equ CONFIG_ONTHEFLY_BITPACKING , 0
|
||||
.equ CONFIG_ERROR_CONCEALMENT , 0
|
||||
.equ CONFIG_SHARED , 0
|
||||
.equ CONFIG_STATIC , 1
|
||||
.equ CONFIG_SMALL , 0
|
||||
.equ CONFIG_POSTPROC_VISUALIZER , 0
|
||||
.equ CONFIG_OS_SUPPORT , 1
|
||||
.equ CONFIG_UNIT_TESTS , 1
|
||||
.equ CONFIG_WEBM_IO , 1
|
||||
.equ CONFIG_LIBYUV , 0
|
||||
.equ CONFIG_DECODE_PERF_TESTS , 0
|
||||
.equ CONFIG_ENCODE_PERF_TESTS , 0
|
||||
.equ CONFIG_MULTI_RES_ENCODING , 1
|
||||
.equ CONFIG_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_VP9_TEMPORAL_DENOISING , 1
|
||||
.equ CONFIG_CONSISTENT_RECODE , 0
|
||||
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
|
||||
.equ CONFIG_VP9_HIGHBITDEPTH , 1
|
||||
.equ CONFIG_BETTER_HW_COMPATIBILITY , 0
|
||||
.equ CONFIG_EXPERIMENTAL , 0
|
||||
.equ CONFIG_SIZE_LIMIT , 1
|
||||
.equ CONFIG_ALWAYS_ADJUST_BPM , 0
|
||||
.equ CONFIG_BITSTREAM_DEBUG , 0
|
||||
.equ CONFIG_MISMATCH_DEBUG , 0
|
||||
.equ CONFIG_FP_MB_STATS , 0
|
||||
.equ CONFIG_EMULATE_HARDWARE , 0
|
||||
.equ CONFIG_NON_GREEDY_MV , 0
|
||||
.equ CONFIG_RATE_CTRL , 0
|
||||
.equ DECODE_WIDTH_LIMIT , 16384
|
||||
.equ DECODE_HEIGHT_LIMIT , 16384
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_config.c
vendored
Normal file
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_config.c
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
#include "vpx/vpx_codec.h"
|
||||
static const char* const cfg = "--target=generic-gnu --enable-vp9-highbitdepth --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv";
|
||||
const char *vpx_codec_build_config(void) {return cfg;}
|
||||
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_config.h
vendored
Normal file
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_config.h
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#ifndef VPX_CONFIG_H
|
||||
#define VPX_CONFIG_H
|
||||
#define RESTRICT
|
||||
#define INLINE inline
|
||||
#define VPX_ARCH_ARM 0
|
||||
#define ARCH_ARM 0
|
||||
#define VPX_ARCH_MIPS 0
|
||||
#define ARCH_MIPS 0
|
||||
#define VPX_ARCH_X86 0
|
||||
#define ARCH_X86 0
|
||||
#define VPX_ARCH_X86_64 0
|
||||
#define ARCH_X86_64 0
|
||||
#define VPX_ARCH_PPC 0
|
||||
#define ARCH_PPC 0
|
||||
#define HAVE_NEON 0
|
||||
#define HAVE_NEON_ASM 0
|
||||
#define HAVE_MIPS32 0
|
||||
#define HAVE_DSPR2 0
|
||||
#define HAVE_MSA 0
|
||||
#define HAVE_MIPS64 0
|
||||
#define HAVE_MMX 0
|
||||
#define HAVE_SSE 0
|
||||
#define HAVE_SSE2 0
|
||||
#define HAVE_SSE3 0
|
||||
#define HAVE_SSSE3 0
|
||||
#define HAVE_SSE4_1 0
|
||||
#define HAVE_AVX 0
|
||||
#define HAVE_AVX2 0
|
||||
#define HAVE_AVX512 0
|
||||
#define HAVE_VSX 0
|
||||
#define HAVE_MMI 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_PTHREAD_H 1
|
||||
#define HAVE_UNISTD_H 0
|
||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
||||
#define CONFIG_EXTERNAL_BUILD 1
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 0
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
#define CONFIG_CODEC_SRCS 0
|
||||
#define CONFIG_DEBUG_LIBS 0
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 0
|
||||
#define CONFIG_POSTPROC 1
|
||||
#define CONFIG_VP9_POSTPROC 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
#define CONFIG_VP8_DECODER 1
|
||||
#define CONFIG_VP9_ENCODER 1
|
||||
#define CONFIG_VP9_DECODER 1
|
||||
#define CONFIG_VP8 1
|
||||
#define CONFIG_VP9 1
|
||||
#define CONFIG_ENCODERS 1
|
||||
#define CONFIG_DECODERS 1
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 1
|
||||
#define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
#define CONFIG_ERROR_CONCEALMENT 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_STATIC 1
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_UNIT_TESTS 1
|
||||
#define CONFIG_WEBM_IO 1
|
||||
#define CONFIG_LIBYUV 0
|
||||
#define CONFIG_DECODE_PERF_TESTS 0
|
||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
||||
#define CONFIG_MULTI_RES_ENCODING 1
|
||||
#define CONFIG_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_CONSISTENT_RECODE 0
|
||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
#define CONFIG_VP9_HIGHBITDEPTH 1
|
||||
#define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
#define CONFIG_EXPERIMENTAL 0
|
||||
#define CONFIG_SIZE_LIMIT 1
|
||||
#define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
#define CONFIG_BITSTREAM_DEBUG 0
|
||||
#define CONFIG_MISMATCH_DEBUG 0
|
||||
#define CONFIG_FP_MB_STATS 0
|
||||
#define CONFIG_EMULATE_HARDWARE 0
|
||||
#define CONFIG_NON_GREEDY_MV 0
|
||||
#define CONFIG_RATE_CTRL 0
|
||||
#define DECODE_WIDTH_LIMIT 16384
|
||||
#define DECODE_HEIGHT_LIMIT 16384
|
||||
#endif /* VPX_CONFIG_H */
|
||||
3868
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_dsp_rtcd.h
vendored
Normal file
3868
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_dsp_rtcd.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
96
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_scale_rtcd.h
vendored
Normal file
96
TMessagesProj/jni/third_party/libvpx/source/config/linux/generic/vpx_scale_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VPX_SCALE_RTCD_H_
|
||||
#define VPX_SCALE_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_horizontal_line_2_1_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_3_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_4_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_i_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
|
||||
|
||||
void vp8_vertical_band_5_3_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
|
||||
|
||||
void vp8_vertical_band_5_4_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
|
||||
|
||||
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
|
||||
|
||||
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
|
||||
|
||||
void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
|
||||
|
||||
void vpx_yv12_copy_y_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
|
||||
|
||||
void vpx_scale_rtcd(void);
|
||||
|
||||
#include "vpx_config.h"
|
||||
|
||||
#ifdef RTCD_C
|
||||
static void setup_rtcd_internal(void) {}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
678
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vp8_rtcd.h
vendored
Normal file
678
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vp8_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,678 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP8_RTCD_H_
|
||||
#define VP8_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP8
|
||||
*/
|
||||
|
||||
struct blockd;
|
||||
struct macroblockd;
|
||||
struct loop_filter_info;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct block;
|
||||
struct macroblock;
|
||||
struct variance_vtable;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_bilinear_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict16x16_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict16x16_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_bilinear_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict4x4_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_sse2
|
||||
|
||||
void vp8_bilinear_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x4_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_sse2
|
||||
|
||||
void vp8_bilinear_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x8_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x8_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_blend_b_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_b vp8_blend_b_c
|
||||
|
||||
void vp8_blend_mb_inner_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_inner vp8_blend_mb_inner_c
|
||||
|
||||
void vp8_blend_mb_outer_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_outer vp8_blend_mb_outer_c
|
||||
|
||||
int vp8_block_error_c(short* coeff, short* dqcoeff);
|
||||
int vp8_block_error_sse2(short* coeff, short* dqcoeff);
|
||||
#define vp8_block_error vp8_block_error_sse2
|
||||
|
||||
void vp8_copy32xn_c(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
void vp8_copy32xn_sse2(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
void vp8_copy32xn_sse3(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
RTCD_EXTERN void (*vp8_copy32xn)(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
|
||||
void vp8_copy_mem16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem16x16_sse2(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem16x16 vp8_copy_mem16x16_sse2
|
||||
|
||||
void vp8_copy_mem8x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x4_mmx(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x4 vp8_copy_mem8x4_mmx
|
||||
|
||||
void vp8_copy_mem8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x8_mmx(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x8 vp8_copy_mem8x8_mmx
|
||||
|
||||
void vp8_dc_only_idct_add_c(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_dc_only_idct_add_mmx(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_dc_only_idct_add vp8_dc_only_idct_add_mmx
|
||||
|
||||
int vp8_denoiser_filter_c(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_sse2(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter vp8_denoiser_filter_sse2
|
||||
|
||||
int vp8_denoiser_filter_uv_c(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_uv_sse2(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_sse2
|
||||
|
||||
void vp8_dequant_idct_add_c(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
void vp8_dequant_idct_add_mmx(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
#define vp8_dequant_idct_add vp8_dequant_idct_add_mmx
|
||||
|
||||
void vp8_dequant_idct_add_uv_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_uv_block_sse2(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_sse2
|
||||
|
||||
void vp8_dequant_idct_add_y_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_y_block_sse2(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_sse2
|
||||
|
||||
void vp8_dequantize_b_c(struct blockd*, short* DQC);
|
||||
void vp8_dequantize_b_mmx(struct blockd*, short* DQC);
|
||||
#define vp8_dequantize_b vp8_dequantize_b_mmx
|
||||
|
||||
int vp8_diamond_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
int vp8_diamond_search_sadx4(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_diamond_search_sad vp8_diamond_search_sadx4
|
||||
|
||||
void vp8_fast_quantize_b_c(struct block*, struct blockd*);
|
||||
void vp8_fast_quantize_b_sse2(struct block*, struct blockd*);
|
||||
void vp8_fast_quantize_b_ssse3(struct block*, struct blockd*);
|
||||
RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block*, struct blockd*);
|
||||
|
||||
void vp8_filter_by_weight16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
void vp8_filter_by_weight16x16_sse2(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_sse2
|
||||
|
||||
void vp8_filter_by_weight4x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
|
||||
|
||||
void vp8_filter_by_weight8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
void vp8_filter_by_weight8x8_sse2(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_sse2
|
||||
|
||||
int vp8_full_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
int vp8_full_search_sadx3(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
int vp8_full_search_sadx8(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
RTCD_EXTERN int (*vp8_full_search_sad)(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
|
||||
void vp8_loop_filter_bh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bh_sse2(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bh vp8_loop_filter_bh_sse2
|
||||
|
||||
void vp8_loop_filter_bv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bv_sse2(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bv vp8_loop_filter_bv_sse2
|
||||
|
||||
void vp8_loop_filter_mbh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbh_sse2(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbh vp8_loop_filter_mbh_sse2
|
||||
|
||||
void vp8_loop_filter_mbv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbv_sse2(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbv vp8_loop_filter_mbv_sse2
|
||||
|
||||
void vp8_loop_filter_bhs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bhs_sse2(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_sse2
|
||||
|
||||
void vp8_loop_filter_bvs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bvs_sse2(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_sse2
|
||||
|
||||
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_simple_horizontal_edge_sse2(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_sse2
|
||||
|
||||
void vp8_loop_filter_simple_vertical_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_simple_vertical_edge_sse2(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_sse2
|
||||
|
||||
int vp8_mbblock_error_c(struct macroblock* mb, int dc);
|
||||
int vp8_mbblock_error_sse2(struct macroblock* mb, int dc);
|
||||
#define vp8_mbblock_error vp8_mbblock_error_sse2
|
||||
|
||||
int vp8_mbuverror_c(struct macroblock* mb);
|
||||
int vp8_mbuverror_sse2(struct macroblock* mb);
|
||||
#define vp8_mbuverror vp8_mbuverror_sse2
|
||||
|
||||
int vp8_refining_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
int vp8_refining_search_sadx4(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_refining_search_sad vp8_refining_search_sadx4
|
||||
|
||||
void vp8_regular_quantize_b_c(struct block*, struct blockd*);
|
||||
void vp8_regular_quantize_b_sse2(struct block*, struct blockd*);
|
||||
void vp8_regular_quantize_b_sse4_1(struct block*, struct blockd*);
|
||||
RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block*, struct blockd*);
|
||||
|
||||
void vp8_short_fdct4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct4x4_sse2(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct4x4 vp8_short_fdct4x4_sse2
|
||||
|
||||
void vp8_short_fdct8x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct8x4_sse2(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct8x4 vp8_short_fdct8x4_sse2
|
||||
|
||||
void vp8_short_idct4x4llm_c(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_short_idct4x4llm_mmx(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_short_idct4x4llm vp8_short_idct4x4llm_mmx
|
||||
|
||||
void vp8_short_inv_walsh4x4_c(short* input, short* mb_dqcoeff);
|
||||
void vp8_short_inv_walsh4x4_sse2(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_sse2
|
||||
|
||||
void vp8_short_inv_walsh4x4_1_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
|
||||
|
||||
void vp8_short_walsh4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_walsh4x4_sse2(short* input, short* output, int pitch);
|
||||
#define vp8_short_walsh4x4 vp8_short_walsh4x4_sse2
|
||||
|
||||
void vp8_sixtap_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict16x16_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict16x16_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_sixtap_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict4x4_mmx(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict4x4_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_sixtap_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x4_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x4_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_sixtap_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x8_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x8_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_rtcd(void);
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/x86.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = x86_simd_caps();
|
||||
|
||||
(void)flags;
|
||||
|
||||
vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ssse3;
|
||||
vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_ssse3;
|
||||
vp8_copy32xn = vp8_copy32xn_sse2;
|
||||
if (flags & HAS_SSE3)
|
||||
vp8_copy32xn = vp8_copy32xn_sse3;
|
||||
vp8_fast_quantize_b = vp8_fast_quantize_b_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3;
|
||||
vp8_full_search_sad = vp8_full_search_sad_c;
|
||||
if (flags & HAS_SSE3)
|
||||
vp8_full_search_sad = vp8_full_search_sadx3;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp8_full_search_sad = vp8_full_search_sadx8;
|
||||
vp8_regular_quantize_b = vp8_regular_quantize_b_sse2;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp8_regular_quantize_b = vp8_regular_quantize_b_sse4_1;
|
||||
vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_ssse3;
|
||||
vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3;
|
||||
vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3;
|
||||
vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
456
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vp9_rtcd.h
vendored
Normal file
456
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vp9_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,456 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP9_RTCD_H_
|
||||
#define VP9_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP9
|
||||
*/
|
||||
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_enums.h"
|
||||
#include "vp9/common/vp9_filter.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
struct macroblockd;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct macroblock;
|
||||
struct vp9_variance_vtable;
|
||||
struct search_site_config;
|
||||
struct mv;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int64_t vp9_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
int64_t vp9_block_error_sse2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
int64_t vp9_block_error_avx2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
RTCD_EXTERN int64_t (*vp9_block_error)(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
|
||||
int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
int64_t vp9_block_error_fp_sse2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
int64_t vp9_block_error_fp_avx2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
RTCD_EXTERN int64_t (*vp9_block_error_fp)(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
|
||||
int vp9_denoiser_filter_c(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
int vp9_denoiser_filter_sse2(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
#define vp9_denoiser_filter vp9_denoiser_filter_sse2
|
||||
|
||||
int vp9_diamond_search_sad_c(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
int vp9_diamond_search_sad_avx(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
RTCD_EXTERN int (*vp9_diamond_search_sad)(
|
||||
const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
|
||||
void vp9_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_fht16x16_sse2(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht16x16 vp9_fht16x16_sse2
|
||||
|
||||
void vp9_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_fht4x4_sse2(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht4x4 vp9_fht4x4_sse2
|
||||
|
||||
void vp9_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_fht8x8_sse2(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht8x8 vp9_fht8x8_sse2
|
||||
|
||||
void vp9_filter_by_weight16x16_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
void vp9_filter_by_weight16x16_sse2(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_sse2
|
||||
|
||||
void vp9_filter_by_weight8x8_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
void vp9_filter_by_weight8x8_sse2(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_sse2
|
||||
|
||||
void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
void vp9_fwht4x4_sse2(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_fwht4x4 vp9_fwht4x4_sse2
|
||||
|
||||
int64_t vp9_highbd_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz,
|
||||
int bd);
|
||||
int64_t vp9_highbd_block_error_sse2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz,
|
||||
int bd);
|
||||
#define vp9_highbd_block_error vp9_highbd_block_error_sse2
|
||||
|
||||
void vp9_highbd_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht16x16 vp9_highbd_fht16x16_c
|
||||
|
||||
void vp9_highbd_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht4x4 vp9_highbd_fht4x4_c
|
||||
|
||||
void vp9_highbd_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht8x8 vp9_highbd_fht8x8_c
|
||||
|
||||
void vp9_highbd_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_highbd_fwht4x4 vp9_highbd_fwht4x4_c
|
||||
|
||||
void vp9_highbd_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht16x16_256_add_sse4_1(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
RTCD_EXTERN void (*vp9_highbd_iht16x16_256_add)(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
|
||||
void vp9_highbd_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht4x4_16_add_sse4_1(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
RTCD_EXTERN void (*vp9_highbd_iht4x4_16_add)(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
|
||||
void vp9_highbd_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht8x8_64_add_sse4_1(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
RTCD_EXTERN void (*vp9_highbd_iht8x8_64_add)(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
|
||||
void vp9_highbd_mbpost_proc_across_ip_c(uint16_t* src,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_across_ip vp9_highbd_mbpost_proc_across_ip_c
|
||||
|
||||
void vp9_highbd_mbpost_proc_down_c(uint16_t* dst,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_down vp9_highbd_mbpost_proc_down_c
|
||||
|
||||
void vp9_highbd_post_proc_down_and_across_c(const uint16_t* src_ptr,
|
||||
uint16_t* dst_ptr,
|
||||
int src_pixels_per_line,
|
||||
int dst_pixels_per_line,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_post_proc_down_and_across \
|
||||
vp9_highbd_post_proc_down_and_across_c
|
||||
|
||||
void vp9_highbd_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp vp9_highbd_quantize_fp_c
|
||||
|
||||
void vp9_highbd_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp_32x32 vp9_highbd_quantize_fp_32x32_c
|
||||
|
||||
void vp9_highbd_temporal_filter_apply_c(const uint8_t* frame1,
|
||||
unsigned int stride,
|
||||
const uint8_t* frame2,
|
||||
unsigned int block_width,
|
||||
unsigned int block_height,
|
||||
int strength,
|
||||
int* blk_fw,
|
||||
int use_32x32,
|
||||
uint32_t* accumulator,
|
||||
uint16_t* count);
|
||||
#define vp9_highbd_temporal_filter_apply vp9_highbd_temporal_filter_apply_c
|
||||
|
||||
void vp9_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht16x16_256_add_sse2(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht16x16_256_add vp9_iht16x16_256_add_sse2
|
||||
|
||||
void vp9_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht4x4_16_add_sse2(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht4x4_16_add vp9_iht4x4_16_add_sse2
|
||||
|
||||
void vp9_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht8x8_64_add_sse2(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht8x8_64_add vp9_iht8x8_64_add_sse2
|
||||
|
||||
void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_sse2(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_avx2(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
|
||||
void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
|
||||
|
||||
void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
void vp9_scale_and_extend_frame_ssse3(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
RTCD_EXTERN void (*vp9_scale_and_extend_frame)(
|
||||
const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
|
||||
void vp9_rtcd(void);
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/x86.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = x86_simd_caps();
|
||||
|
||||
(void)flags;
|
||||
|
||||
vp9_block_error = vp9_block_error_sse2;
|
||||
if (flags & HAS_AVX2)
|
||||
vp9_block_error = vp9_block_error_avx2;
|
||||
vp9_block_error_fp = vp9_block_error_fp_sse2;
|
||||
if (flags & HAS_AVX2)
|
||||
vp9_block_error_fp = vp9_block_error_fp_avx2;
|
||||
vp9_diamond_search_sad = vp9_diamond_search_sad_c;
|
||||
if (flags & HAS_AVX)
|
||||
vp9_diamond_search_sad = vp9_diamond_search_sad_avx;
|
||||
vp9_highbd_iht16x16_256_add = vp9_highbd_iht16x16_256_add_c;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp9_highbd_iht16x16_256_add = vp9_highbd_iht16x16_256_add_sse4_1;
|
||||
vp9_highbd_iht4x4_16_add = vp9_highbd_iht4x4_16_add_c;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp9_highbd_iht4x4_16_add = vp9_highbd_iht4x4_16_add_sse4_1;
|
||||
vp9_highbd_iht8x8_64_add = vp9_highbd_iht8x8_64_add_c;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp9_highbd_iht8x8_64_add = vp9_highbd_iht8x8_64_add_sse4_1;
|
||||
vp9_quantize_fp = vp9_quantize_fp_sse2;
|
||||
if (flags & HAS_AVX2)
|
||||
vp9_quantize_fp = vp9_quantize_fp_avx2;
|
||||
vp9_scale_and_extend_frame = vp9_scale_and_extend_frame_c;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp9_scale_and_extend_frame = vp9_scale_and_extend_frame_ssse3;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
94
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_config.asm
vendored
Normal file
94
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_config.asm
vendored
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
%define VPX_ARCH_ARM 0
|
||||
%define ARCH_ARM 0
|
||||
%define VPX_ARCH_MIPS 0
|
||||
%define ARCH_MIPS 0
|
||||
%define VPX_ARCH_X86 1
|
||||
%define ARCH_X86 1
|
||||
%define VPX_ARCH_X86_64 0
|
||||
%define ARCH_X86_64 0
|
||||
%define VPX_ARCH_PPC 0
|
||||
%define ARCH_PPC 0
|
||||
%define HAVE_NEON 0
|
||||
%define HAVE_NEON_ASM 0
|
||||
%define HAVE_MIPS32 0
|
||||
%define HAVE_DSPR2 0
|
||||
%define HAVE_MSA 0
|
||||
%define HAVE_MIPS64 0
|
||||
%define HAVE_MMX 1
|
||||
%define HAVE_SSE 1
|
||||
%define HAVE_SSE2 1
|
||||
%define HAVE_SSE3 1
|
||||
%define HAVE_SSSE3 1
|
||||
%define HAVE_SSE4_1 1
|
||||
%define HAVE_AVX 1
|
||||
%define HAVE_AVX2 1
|
||||
%define HAVE_AVX512 0
|
||||
%define HAVE_VSX 0
|
||||
%define HAVE_MMI 0
|
||||
%define HAVE_VPX_PORTS 1
|
||||
%define HAVE_PTHREAD_H 1
|
||||
%define HAVE_UNISTD_H 0
|
||||
%define CONFIG_DEPENDENCY_TRACKING 1
|
||||
%define CONFIG_EXTERNAL_BUILD 1
|
||||
%define CONFIG_INSTALL_DOCS 0
|
||||
%define CONFIG_INSTALL_BINS 1
|
||||
%define CONFIG_INSTALL_LIBS 1
|
||||
%define CONFIG_INSTALL_SRCS 0
|
||||
%define CONFIG_DEBUG 0
|
||||
%define CONFIG_GPROF 0
|
||||
%define CONFIG_GCOV 0
|
||||
%define CONFIG_RVCT 0
|
||||
%define CONFIG_GCC 1
|
||||
%define CONFIG_MSVS 0
|
||||
%define CONFIG_PIC 1
|
||||
%define CONFIG_BIG_ENDIAN 0
|
||||
%define CONFIG_CODEC_SRCS 0
|
||||
%define CONFIG_DEBUG_LIBS 0
|
||||
%define CONFIG_DEQUANT_TOKENS 0
|
||||
%define CONFIG_DC_RECON 0
|
||||
%define CONFIG_RUNTIME_CPU_DETECT 1
|
||||
%define CONFIG_POSTPROC 1
|
||||
%define CONFIG_VP9_POSTPROC 1
|
||||
%define CONFIG_MULTITHREAD 1
|
||||
%define CONFIG_INTERNAL_STATS 0
|
||||
%define CONFIG_VP8_ENCODER 1
|
||||
%define CONFIG_VP8_DECODER 1
|
||||
%define CONFIG_VP9_ENCODER 1
|
||||
%define CONFIG_VP9_DECODER 1
|
||||
%define CONFIG_VP8 1
|
||||
%define CONFIG_VP9 1
|
||||
%define CONFIG_ENCODERS 1
|
||||
%define CONFIG_DECODERS 1
|
||||
%define CONFIG_STATIC_MSVCRT 0
|
||||
%define CONFIG_SPATIAL_RESAMPLING 1
|
||||
%define CONFIG_REALTIME_ONLY 1
|
||||
%define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
%define CONFIG_ERROR_CONCEALMENT 0
|
||||
%define CONFIG_SHARED 0
|
||||
%define CONFIG_STATIC 1
|
||||
%define CONFIG_SMALL 0
|
||||
%define CONFIG_POSTPROC_VISUALIZER 0
|
||||
%define CONFIG_OS_SUPPORT 1
|
||||
%define CONFIG_UNIT_TESTS 1
|
||||
%define CONFIG_WEBM_IO 1
|
||||
%define CONFIG_LIBYUV 0
|
||||
%define CONFIG_DECODE_PERF_TESTS 0
|
||||
%define CONFIG_ENCODE_PERF_TESTS 0
|
||||
%define CONFIG_MULTI_RES_ENCODING 1
|
||||
%define CONFIG_TEMPORAL_DENOISING 1
|
||||
%define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
%define CONFIG_CONSISTENT_RECODE 0
|
||||
%define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
%define CONFIG_VP9_HIGHBITDEPTH 1
|
||||
%define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
%define CONFIG_EXPERIMENTAL 0
|
||||
%define CONFIG_SIZE_LIMIT 1
|
||||
%define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
%define CONFIG_BITSTREAM_DEBUG 0
|
||||
%define CONFIG_MISMATCH_DEBUG 0
|
||||
%define CONFIG_FP_MB_STATS 0
|
||||
%define CONFIG_EMULATE_HARDWARE 0
|
||||
%define CONFIG_NON_GREEDY_MV 0
|
||||
%define CONFIG_RATE_CTRL 0
|
||||
%define DECODE_WIDTH_LIMIT 16384
|
||||
%define DECODE_HEIGHT_LIMIT 16384
|
||||
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_config.c
vendored
Normal file
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_config.c
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
#include "vpx/vpx_codec.h"
|
||||
static const char* const cfg = "--target=x86-linux-gcc --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv --enable-pic --as=yasm --disable-avx512 --enable-vp9-highbitdepth";
|
||||
const char *vpx_codec_build_config(void) {return cfg;}
|
||||
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_config.h
vendored
Normal file
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_config.h
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#ifndef VPX_CONFIG_H
|
||||
#define VPX_CONFIG_H
|
||||
#define RESTRICT
|
||||
#define INLINE inline
|
||||
#define VPX_ARCH_ARM 0
|
||||
#define ARCH_ARM 0
|
||||
#define VPX_ARCH_MIPS 0
|
||||
#define ARCH_MIPS 0
|
||||
#define VPX_ARCH_X86 1
|
||||
#define ARCH_X86 1
|
||||
#define VPX_ARCH_X86_64 0
|
||||
#define ARCH_X86_64 0
|
||||
#define VPX_ARCH_PPC 0
|
||||
#define ARCH_PPC 0
|
||||
#define HAVE_NEON 0
|
||||
#define HAVE_NEON_ASM 0
|
||||
#define HAVE_MIPS32 0
|
||||
#define HAVE_DSPR2 0
|
||||
#define HAVE_MSA 0
|
||||
#define HAVE_MIPS64 0
|
||||
#define HAVE_MMX 1
|
||||
#define HAVE_SSE 1
|
||||
#define HAVE_SSE2 1
|
||||
#define HAVE_SSE3 1
|
||||
#define HAVE_SSSE3 1
|
||||
#define HAVE_SSE4_1 1
|
||||
#define HAVE_AVX 1
|
||||
#define HAVE_AVX2 1
|
||||
#define HAVE_AVX512 0
|
||||
#define HAVE_VSX 0
|
||||
#define HAVE_MMI 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_PTHREAD_H 1
|
||||
#define HAVE_UNISTD_H 0
|
||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
||||
#define CONFIG_EXTERNAL_BUILD 1
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 1
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
#define CONFIG_CODEC_SRCS 0
|
||||
#define CONFIG_DEBUG_LIBS 0
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||
#define CONFIG_POSTPROC 1
|
||||
#define CONFIG_VP9_POSTPROC 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
#define CONFIG_VP8_DECODER 1
|
||||
#define CONFIG_VP9_ENCODER 1
|
||||
#define CONFIG_VP9_DECODER 1
|
||||
#define CONFIG_VP8 1
|
||||
#define CONFIG_VP9 1
|
||||
#define CONFIG_ENCODERS 1
|
||||
#define CONFIG_DECODERS 1
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 1
|
||||
#define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
#define CONFIG_ERROR_CONCEALMENT 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_STATIC 1
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_UNIT_TESTS 1
|
||||
#define CONFIG_WEBM_IO 1
|
||||
#define CONFIG_LIBYUV 0
|
||||
#define CONFIG_DECODE_PERF_TESTS 0
|
||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
||||
#define CONFIG_MULTI_RES_ENCODING 1
|
||||
#define CONFIG_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_CONSISTENT_RECODE 0
|
||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
#define CONFIG_VP9_HIGHBITDEPTH 1
|
||||
#define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
#define CONFIG_EXPERIMENTAL 0
|
||||
#define CONFIG_SIZE_LIMIT 1
|
||||
#define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
#define CONFIG_BITSTREAM_DEBUG 0
|
||||
#define CONFIG_MISMATCH_DEBUG 0
|
||||
#define CONFIG_FP_MB_STATS 0
|
||||
#define CONFIG_EMULATE_HARDWARE 0
|
||||
#define CONFIG_NON_GREEDY_MV 0
|
||||
#define CONFIG_RATE_CTRL 0
|
||||
#define DECODE_WIDTH_LIMIT 16384
|
||||
#define DECODE_HEIGHT_LIMIT 16384
|
||||
#endif /* VPX_CONFIG_H */
|
||||
8027
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_dsp_rtcd.h
vendored
Normal file
8027
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_dsp_rtcd.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
99
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_scale_rtcd.h
vendored
Normal file
99
TMessagesProj/jni/third_party/libvpx/source/config/linux/ia32/vpx_scale_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VPX_SCALE_RTCD_H_
|
||||
#define VPX_SCALE_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_horizontal_line_2_1_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_3_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_4_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_i_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
|
||||
|
||||
void vp8_vertical_band_5_3_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
|
||||
|
||||
void vp8_vertical_band_5_4_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
|
||||
|
||||
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
|
||||
|
||||
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
|
||||
|
||||
void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
|
||||
|
||||
void vpx_yv12_copy_y_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
|
||||
|
||||
void vpx_scale_rtcd(void);
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/x86.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = x86_simd_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
678
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vp8_rtcd.h
vendored
Normal file
678
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vp8_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,678 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP8_RTCD_H_
|
||||
#define VP8_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP8
|
||||
*/
|
||||
|
||||
struct blockd;
|
||||
struct macroblockd;
|
||||
struct loop_filter_info;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct block;
|
||||
struct macroblock;
|
||||
struct variance_vtable;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_bilinear_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict16x16_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict16x16_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_bilinear_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict4x4_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_sse2
|
||||
|
||||
void vp8_bilinear_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x4_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_sse2
|
||||
|
||||
void vp8_bilinear_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x8_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_bilinear_predict8x8_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_blend_b_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_b vp8_blend_b_c
|
||||
|
||||
void vp8_blend_mb_inner_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_inner vp8_blend_mb_inner_c
|
||||
|
||||
void vp8_blend_mb_outer_c(unsigned char* y,
|
||||
unsigned char* u,
|
||||
unsigned char* v,
|
||||
int y_1,
|
||||
int u_1,
|
||||
int v_1,
|
||||
int alpha,
|
||||
int stride);
|
||||
#define vp8_blend_mb_outer vp8_blend_mb_outer_c
|
||||
|
||||
int vp8_block_error_c(short* coeff, short* dqcoeff);
|
||||
int vp8_block_error_sse2(short* coeff, short* dqcoeff);
|
||||
#define vp8_block_error vp8_block_error_sse2
|
||||
|
||||
void vp8_copy32xn_c(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
void vp8_copy32xn_sse2(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
void vp8_copy32xn_sse3(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
RTCD_EXTERN void (*vp8_copy32xn)(const unsigned char* src_ptr,
|
||||
int src_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride,
|
||||
int height);
|
||||
|
||||
void vp8_copy_mem16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem16x16_sse2(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem16x16 vp8_copy_mem16x16_sse2
|
||||
|
||||
void vp8_copy_mem8x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x4_mmx(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x4 vp8_copy_mem8x4_mmx
|
||||
|
||||
void vp8_copy_mem8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
void vp8_copy_mem8x8_mmx(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride);
|
||||
#define vp8_copy_mem8x8 vp8_copy_mem8x8_mmx
|
||||
|
||||
void vp8_dc_only_idct_add_c(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_dc_only_idct_add_mmx(short input_dc,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_dc_only_idct_add vp8_dc_only_idct_add_mmx
|
||||
|
||||
int vp8_denoiser_filter_c(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_sse2(unsigned char* mc_running_avg_y,
|
||||
int mc_avg_y_stride,
|
||||
unsigned char* running_avg_y,
|
||||
int avg_y_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter vp8_denoiser_filter_sse2
|
||||
|
||||
int vp8_denoiser_filter_uv_c(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
int vp8_denoiser_filter_uv_sse2(unsigned char* mc_running_avg,
|
||||
int mc_avg_stride,
|
||||
unsigned char* running_avg,
|
||||
int avg_stride,
|
||||
unsigned char* sig,
|
||||
int sig_stride,
|
||||
unsigned int motion_magnitude,
|
||||
int increase_denoising);
|
||||
#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_sse2
|
||||
|
||||
void vp8_dequant_idct_add_c(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
void vp8_dequant_idct_add_mmx(short* input,
|
||||
short* dq,
|
||||
unsigned char* dest,
|
||||
int stride);
|
||||
#define vp8_dequant_idct_add vp8_dequant_idct_add_mmx
|
||||
|
||||
void vp8_dequant_idct_add_uv_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_uv_block_sse2(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst_u,
|
||||
unsigned char* dst_v,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_sse2
|
||||
|
||||
void vp8_dequant_idct_add_y_block_c(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
void vp8_dequant_idct_add_y_block_sse2(short* q,
|
||||
short* dq,
|
||||
unsigned char* dst,
|
||||
int stride,
|
||||
char* eobs);
|
||||
#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_sse2
|
||||
|
||||
void vp8_dequantize_b_c(struct blockd*, short* DQC);
|
||||
void vp8_dequantize_b_mmx(struct blockd*, short* DQC);
|
||||
#define vp8_dequantize_b vp8_dequantize_b_mmx
|
||||
|
||||
int vp8_diamond_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
int vp8_diamond_search_sadx4(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
union int_mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_diamond_search_sad vp8_diamond_search_sadx4
|
||||
|
||||
void vp8_fast_quantize_b_c(struct block*, struct blockd*);
|
||||
void vp8_fast_quantize_b_sse2(struct block*, struct blockd*);
|
||||
void vp8_fast_quantize_b_ssse3(struct block*, struct blockd*);
|
||||
RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block*, struct blockd*);
|
||||
|
||||
void vp8_filter_by_weight16x16_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
void vp8_filter_by_weight16x16_sse2(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_sse2
|
||||
|
||||
void vp8_filter_by_weight4x4_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
|
||||
|
||||
void vp8_filter_by_weight8x8_c(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
void vp8_filter_by_weight8x8_sse2(unsigned char* src,
|
||||
int src_stride,
|
||||
unsigned char* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_sse2
|
||||
|
||||
int vp8_full_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
int vp8_full_search_sadx3(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
int vp8_full_search_sadx8(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
RTCD_EXTERN int (*vp8_full_search_sad)(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int sad_per_bit,
|
||||
int distance,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
|
||||
void vp8_loop_filter_bh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bh_sse2(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bh vp8_loop_filter_bh_sse2
|
||||
|
||||
void vp8_loop_filter_bv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_bv_sse2(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_bv vp8_loop_filter_bv_sse2
|
||||
|
||||
void vp8_loop_filter_mbh_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbh_sse2(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbh vp8_loop_filter_mbh_sse2
|
||||
|
||||
void vp8_loop_filter_mbv_c(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
void vp8_loop_filter_mbv_sse2(unsigned char* y_ptr,
|
||||
unsigned char* u_ptr,
|
||||
unsigned char* v_ptr,
|
||||
int y_stride,
|
||||
int uv_stride,
|
||||
struct loop_filter_info* lfi);
|
||||
#define vp8_loop_filter_mbv vp8_loop_filter_mbv_sse2
|
||||
|
||||
void vp8_loop_filter_bhs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bhs_sse2(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_sse2
|
||||
|
||||
void vp8_loop_filter_bvs_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_bvs_sse2(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_sse2
|
||||
|
||||
void vp8_loop_filter_simple_horizontal_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_simple_horizontal_edge_sse2(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_sse2
|
||||
|
||||
void vp8_loop_filter_simple_vertical_edge_c(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
void vp8_loop_filter_simple_vertical_edge_sse2(unsigned char* y_ptr,
|
||||
int y_stride,
|
||||
const unsigned char* blimit);
|
||||
#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_sse2
|
||||
|
||||
int vp8_mbblock_error_c(struct macroblock* mb, int dc);
|
||||
int vp8_mbblock_error_sse2(struct macroblock* mb, int dc);
|
||||
#define vp8_mbblock_error vp8_mbblock_error_sse2
|
||||
|
||||
int vp8_mbuverror_c(struct macroblock* mb);
|
||||
int vp8_mbuverror_sse2(struct macroblock* mb);
|
||||
#define vp8_mbuverror vp8_mbuverror_sse2
|
||||
|
||||
int vp8_refining_search_sad_c(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
int vp8_refining_search_sadx4(struct macroblock* x,
|
||||
struct block* b,
|
||||
struct blockd* d,
|
||||
union int_mv* ref_mv,
|
||||
int error_per_bit,
|
||||
int search_range,
|
||||
struct variance_vtable* fn_ptr,
|
||||
int* mvcost[2],
|
||||
union int_mv* center_mv);
|
||||
#define vp8_refining_search_sad vp8_refining_search_sadx4
|
||||
|
||||
void vp8_regular_quantize_b_c(struct block*, struct blockd*);
|
||||
void vp8_regular_quantize_b_sse2(struct block*, struct blockd*);
|
||||
void vp8_regular_quantize_b_sse4_1(struct block*, struct blockd*);
|
||||
RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block*, struct blockd*);
|
||||
|
||||
void vp8_short_fdct4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct4x4_sse2(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct4x4 vp8_short_fdct4x4_sse2
|
||||
|
||||
void vp8_short_fdct8x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_fdct8x4_sse2(short* input, short* output, int pitch);
|
||||
#define vp8_short_fdct8x4 vp8_short_fdct8x4_sse2
|
||||
|
||||
void vp8_short_idct4x4llm_c(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
void vp8_short_idct4x4llm_mmx(short* input,
|
||||
unsigned char* pred_ptr,
|
||||
int pred_stride,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_stride);
|
||||
#define vp8_short_idct4x4llm vp8_short_idct4x4llm_mmx
|
||||
|
||||
void vp8_short_inv_walsh4x4_c(short* input, short* mb_dqcoeff);
|
||||
void vp8_short_inv_walsh4x4_sse2(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_sse2
|
||||
|
||||
void vp8_short_inv_walsh4x4_1_c(short* input, short* mb_dqcoeff);
|
||||
#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
|
||||
|
||||
void vp8_short_walsh4x4_c(short* input, short* output, int pitch);
|
||||
void vp8_short_walsh4x4_sse2(short* input, short* output, int pitch);
|
||||
#define vp8_short_walsh4x4 vp8_short_walsh4x4_sse2
|
||||
|
||||
void vp8_sixtap_predict16x16_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict16x16_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict16x16_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_sixtap_predict4x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict4x4_mmx(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict4x4_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_sixtap_predict8x4_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x4_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x4_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_sixtap_predict8x8_c(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x8_sse2(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
void vp8_sixtap_predict8x8_ssse3(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char* src_ptr,
|
||||
int src_pixels_per_line,
|
||||
int xoffset,
|
||||
int yoffset,
|
||||
unsigned char* dst_ptr,
|
||||
int dst_pitch);
|
||||
|
||||
void vp8_rtcd(void);
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/x86.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = x86_simd_caps();
|
||||
|
||||
(void)flags;
|
||||
|
||||
vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ssse3;
|
||||
vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_ssse3;
|
||||
vp8_copy32xn = vp8_copy32xn_sse2;
|
||||
if (flags & HAS_SSE3)
|
||||
vp8_copy32xn = vp8_copy32xn_sse3;
|
||||
vp8_fast_quantize_b = vp8_fast_quantize_b_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3;
|
||||
vp8_full_search_sad = vp8_full_search_sad_c;
|
||||
if (flags & HAS_SSE3)
|
||||
vp8_full_search_sad = vp8_full_search_sadx3;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp8_full_search_sad = vp8_full_search_sadx8;
|
||||
vp8_regular_quantize_b = vp8_regular_quantize_b_sse2;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp8_regular_quantize_b = vp8_regular_quantize_b_sse4_1;
|
||||
vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_ssse3;
|
||||
vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3;
|
||||
vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3;
|
||||
vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
493
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vp9_rtcd.h
vendored
Normal file
493
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vp9_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,493 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VP9_RTCD_H_
|
||||
#define VP9_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VP9
|
||||
*/
|
||||
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_enums.h"
|
||||
#include "vp9/common/vp9_filter.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
struct macroblockd;
|
||||
|
||||
/* Encoder forward decls */
|
||||
struct macroblock;
|
||||
struct vp9_variance_vtable;
|
||||
struct search_site_config;
|
||||
struct mv;
|
||||
union int_mv;
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int64_t vp9_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
int64_t vp9_block_error_sse2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
int64_t vp9_block_error_avx2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
RTCD_EXTERN int64_t (*vp9_block_error)(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz);
|
||||
|
||||
int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
int64_t vp9_block_error_fp_sse2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
int64_t vp9_block_error_fp_avx2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
RTCD_EXTERN int64_t (*vp9_block_error_fp)(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
int block_size);
|
||||
|
||||
int vp9_denoiser_filter_c(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
int vp9_denoiser_filter_sse2(const uint8_t* sig,
|
||||
int sig_stride,
|
||||
const uint8_t* mc_avg,
|
||||
int mc_avg_stride,
|
||||
uint8_t* avg,
|
||||
int avg_stride,
|
||||
int increase_denoising,
|
||||
BLOCK_SIZE bs,
|
||||
int motion_magnitude);
|
||||
#define vp9_denoiser_filter vp9_denoiser_filter_sse2
|
||||
|
||||
int vp9_diamond_search_sad_c(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
int vp9_diamond_search_sad_avx(const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
RTCD_EXTERN int (*vp9_diamond_search_sad)(
|
||||
const struct macroblock* x,
|
||||
const struct search_site_config* cfg,
|
||||
struct mv* ref_mv,
|
||||
struct mv* best_mv,
|
||||
int search_param,
|
||||
int sad_per_bit,
|
||||
int* num00,
|
||||
const struct vp9_variance_vtable* fn_ptr,
|
||||
const struct mv* center_mv);
|
||||
|
||||
void vp9_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_fht16x16_sse2(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht16x16 vp9_fht16x16_sse2
|
||||
|
||||
void vp9_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_fht4x4_sse2(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht4x4 vp9_fht4x4_sse2
|
||||
|
||||
void vp9_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_fht8x8_sse2(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_fht8x8 vp9_fht8x8_sse2
|
||||
|
||||
void vp9_filter_by_weight16x16_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
void vp9_filter_by_weight16x16_sse2(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_sse2
|
||||
|
||||
void vp9_filter_by_weight8x8_c(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
void vp9_filter_by_weight8x8_sse2(const uint8_t* src,
|
||||
int src_stride,
|
||||
uint8_t* dst,
|
||||
int dst_stride,
|
||||
int src_weight);
|
||||
#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_sse2
|
||||
|
||||
void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
void vp9_fwht4x4_sse2(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_fwht4x4 vp9_fwht4x4_sse2
|
||||
|
||||
int64_t vp9_highbd_block_error_c(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz,
|
||||
int bd);
|
||||
int64_t vp9_highbd_block_error_sse2(const tran_low_t* coeff,
|
||||
const tran_low_t* dqcoeff,
|
||||
intptr_t block_size,
|
||||
int64_t* ssz,
|
||||
int bd);
|
||||
#define vp9_highbd_block_error vp9_highbd_block_error_sse2
|
||||
|
||||
void vp9_highbd_fht16x16_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht16x16 vp9_highbd_fht16x16_c
|
||||
|
||||
void vp9_highbd_fht4x4_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht4x4 vp9_highbd_fht4x4_c
|
||||
|
||||
void vp9_highbd_fht8x8_c(const int16_t* input,
|
||||
tran_low_t* output,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_highbd_fht8x8 vp9_highbd_fht8x8_c
|
||||
|
||||
void vp9_highbd_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
|
||||
#define vp9_highbd_fwht4x4 vp9_highbd_fwht4x4_c
|
||||
|
||||
void vp9_highbd_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht16x16_256_add_sse4_1(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
RTCD_EXTERN void (*vp9_highbd_iht16x16_256_add)(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
|
||||
void vp9_highbd_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht4x4_16_add_sse4_1(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
RTCD_EXTERN void (*vp9_highbd_iht4x4_16_add)(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
|
||||
void vp9_highbd_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
void vp9_highbd_iht8x8_64_add_sse4_1(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
RTCD_EXTERN void (*vp9_highbd_iht8x8_64_add)(const tran_low_t* input,
|
||||
uint16_t* dest,
|
||||
int stride,
|
||||
int tx_type,
|
||||
int bd);
|
||||
|
||||
void vp9_highbd_mbpost_proc_across_ip_c(uint16_t* src,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_across_ip vp9_highbd_mbpost_proc_across_ip_c
|
||||
|
||||
void vp9_highbd_mbpost_proc_down_c(uint16_t* dst,
|
||||
int pitch,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_mbpost_proc_down vp9_highbd_mbpost_proc_down_c
|
||||
|
||||
void vp9_highbd_post_proc_down_and_across_c(const uint16_t* src_ptr,
|
||||
uint16_t* dst_ptr,
|
||||
int src_pixels_per_line,
|
||||
int dst_pixels_per_line,
|
||||
int rows,
|
||||
int cols,
|
||||
int flimit);
|
||||
#define vp9_highbd_post_proc_down_and_across \
|
||||
vp9_highbd_post_proc_down_and_across_c
|
||||
|
||||
void vp9_highbd_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp vp9_highbd_quantize_fp_c
|
||||
|
||||
void vp9_highbd_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
#define vp9_highbd_quantize_fp_32x32 vp9_highbd_quantize_fp_32x32_c
|
||||
|
||||
void vp9_highbd_temporal_filter_apply_c(const uint8_t* frame1,
|
||||
unsigned int stride,
|
||||
const uint8_t* frame2,
|
||||
unsigned int block_width,
|
||||
unsigned int block_height,
|
||||
int strength,
|
||||
int* blk_fw,
|
||||
int use_32x32,
|
||||
uint32_t* accumulator,
|
||||
uint16_t* count);
|
||||
#define vp9_highbd_temporal_filter_apply vp9_highbd_temporal_filter_apply_c
|
||||
|
||||
void vp9_iht16x16_256_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht16x16_256_add_sse2(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht16x16_256_add vp9_iht16x16_256_add_sse2
|
||||
|
||||
void vp9_iht4x4_16_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht4x4_16_add_sse2(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht4x4_16_add vp9_iht4x4_16_add_sse2
|
||||
|
||||
void vp9_iht8x8_64_add_c(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
void vp9_iht8x8_64_add_sse2(const tran_low_t* input,
|
||||
uint8_t* dest,
|
||||
int stride,
|
||||
int tx_type);
|
||||
#define vp9_iht8x8_64_add vp9_iht8x8_64_add_sse2
|
||||
|
||||
void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_sse2(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_ssse3(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_avx2(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
|
||||
void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
void vp9_quantize_fp_32x32_ssse3(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
RTCD_EXTERN void (*vp9_quantize_fp_32x32)(const tran_low_t* coeff_ptr,
|
||||
intptr_t n_coeffs,
|
||||
int skip_block,
|
||||
const int16_t* round_ptr,
|
||||
const int16_t* quant_ptr,
|
||||
tran_low_t* qcoeff_ptr,
|
||||
tran_low_t* dqcoeff_ptr,
|
||||
const int16_t* dequant_ptr,
|
||||
uint16_t* eob_ptr,
|
||||
const int16_t* scan,
|
||||
const int16_t* iscan);
|
||||
|
||||
void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
void vp9_scale_and_extend_frame_ssse3(const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
RTCD_EXTERN void (*vp9_scale_and_extend_frame)(
|
||||
const struct yv12_buffer_config* src,
|
||||
struct yv12_buffer_config* dst,
|
||||
INTERP_FILTER filter_type,
|
||||
int phase_scaler);
|
||||
|
||||
void vp9_rtcd(void);
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/x86.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = x86_simd_caps();
|
||||
|
||||
(void)flags;
|
||||
|
||||
vp9_block_error = vp9_block_error_sse2;
|
||||
if (flags & HAS_AVX2)
|
||||
vp9_block_error = vp9_block_error_avx2;
|
||||
vp9_block_error_fp = vp9_block_error_fp_sse2;
|
||||
if (flags & HAS_AVX2)
|
||||
vp9_block_error_fp = vp9_block_error_fp_avx2;
|
||||
vp9_diamond_search_sad = vp9_diamond_search_sad_c;
|
||||
if (flags & HAS_AVX)
|
||||
vp9_diamond_search_sad = vp9_diamond_search_sad_avx;
|
||||
vp9_highbd_iht16x16_256_add = vp9_highbd_iht16x16_256_add_c;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp9_highbd_iht16x16_256_add = vp9_highbd_iht16x16_256_add_sse4_1;
|
||||
vp9_highbd_iht4x4_16_add = vp9_highbd_iht4x4_16_add_c;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp9_highbd_iht4x4_16_add = vp9_highbd_iht4x4_16_add_sse4_1;
|
||||
vp9_highbd_iht8x8_64_add = vp9_highbd_iht8x8_64_add_c;
|
||||
if (flags & HAS_SSE4_1)
|
||||
vp9_highbd_iht8x8_64_add = vp9_highbd_iht8x8_64_add_sse4_1;
|
||||
vp9_quantize_fp = vp9_quantize_fp_sse2;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp9_quantize_fp = vp9_quantize_fp_ssse3;
|
||||
if (flags & HAS_AVX2)
|
||||
vp9_quantize_fp = vp9_quantize_fp_avx2;
|
||||
vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_c;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_ssse3;
|
||||
vp9_scale_and_extend_frame = vp9_scale_and_extend_frame_c;
|
||||
if (flags & HAS_SSSE3)
|
||||
vp9_scale_and_extend_frame = vp9_scale_and_extend_frame_ssse3;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
94
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_config.asm
vendored
Normal file
94
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_config.asm
vendored
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
%define VPX_ARCH_ARM 0
|
||||
%define ARCH_ARM 0
|
||||
%define VPX_ARCH_MIPS 0
|
||||
%define ARCH_MIPS 0
|
||||
%define VPX_ARCH_X86 0
|
||||
%define ARCH_X86 0
|
||||
%define VPX_ARCH_X86_64 1
|
||||
%define ARCH_X86_64 1
|
||||
%define VPX_ARCH_PPC 0
|
||||
%define ARCH_PPC 0
|
||||
%define HAVE_NEON 0
|
||||
%define HAVE_NEON_ASM 0
|
||||
%define HAVE_MIPS32 0
|
||||
%define HAVE_DSPR2 0
|
||||
%define HAVE_MSA 0
|
||||
%define HAVE_MIPS64 0
|
||||
%define HAVE_MMX 1
|
||||
%define HAVE_SSE 1
|
||||
%define HAVE_SSE2 1
|
||||
%define HAVE_SSE3 1
|
||||
%define HAVE_SSSE3 1
|
||||
%define HAVE_SSE4_1 1
|
||||
%define HAVE_AVX 1
|
||||
%define HAVE_AVX2 1
|
||||
%define HAVE_AVX512 0
|
||||
%define HAVE_VSX 0
|
||||
%define HAVE_MMI 0
|
||||
%define HAVE_VPX_PORTS 1
|
||||
%define HAVE_PTHREAD_H 1
|
||||
%define HAVE_UNISTD_H 0
|
||||
%define CONFIG_DEPENDENCY_TRACKING 1
|
||||
%define CONFIG_EXTERNAL_BUILD 1
|
||||
%define CONFIG_INSTALL_DOCS 0
|
||||
%define CONFIG_INSTALL_BINS 1
|
||||
%define CONFIG_INSTALL_LIBS 1
|
||||
%define CONFIG_INSTALL_SRCS 0
|
||||
%define CONFIG_DEBUG 0
|
||||
%define CONFIG_GPROF 0
|
||||
%define CONFIG_GCOV 0
|
||||
%define CONFIG_RVCT 0
|
||||
%define CONFIG_GCC 1
|
||||
%define CONFIG_MSVS 0
|
||||
%define CONFIG_PIC 1
|
||||
%define CONFIG_BIG_ENDIAN 0
|
||||
%define CONFIG_CODEC_SRCS 0
|
||||
%define CONFIG_DEBUG_LIBS 0
|
||||
%define CONFIG_DEQUANT_TOKENS 0
|
||||
%define CONFIG_DC_RECON 0
|
||||
%define CONFIG_RUNTIME_CPU_DETECT 1
|
||||
%define CONFIG_POSTPROC 1
|
||||
%define CONFIG_VP9_POSTPROC 1
|
||||
%define CONFIG_MULTITHREAD 1
|
||||
%define CONFIG_INTERNAL_STATS 0
|
||||
%define CONFIG_VP8_ENCODER 1
|
||||
%define CONFIG_VP8_DECODER 1
|
||||
%define CONFIG_VP9_ENCODER 1
|
||||
%define CONFIG_VP9_DECODER 1
|
||||
%define CONFIG_VP8 1
|
||||
%define CONFIG_VP9 1
|
||||
%define CONFIG_ENCODERS 1
|
||||
%define CONFIG_DECODERS 1
|
||||
%define CONFIG_STATIC_MSVCRT 0
|
||||
%define CONFIG_SPATIAL_RESAMPLING 1
|
||||
%define CONFIG_REALTIME_ONLY 1
|
||||
%define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
%define CONFIG_ERROR_CONCEALMENT 0
|
||||
%define CONFIG_SHARED 0
|
||||
%define CONFIG_STATIC 1
|
||||
%define CONFIG_SMALL 0
|
||||
%define CONFIG_POSTPROC_VISUALIZER 0
|
||||
%define CONFIG_OS_SUPPORT 1
|
||||
%define CONFIG_UNIT_TESTS 1
|
||||
%define CONFIG_WEBM_IO 1
|
||||
%define CONFIG_LIBYUV 0
|
||||
%define CONFIG_DECODE_PERF_TESTS 0
|
||||
%define CONFIG_ENCODE_PERF_TESTS 0
|
||||
%define CONFIG_MULTI_RES_ENCODING 1
|
||||
%define CONFIG_TEMPORAL_DENOISING 1
|
||||
%define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
%define CONFIG_CONSISTENT_RECODE 0
|
||||
%define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
%define CONFIG_VP9_HIGHBITDEPTH 1
|
||||
%define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
%define CONFIG_EXPERIMENTAL 0
|
||||
%define CONFIG_SIZE_LIMIT 1
|
||||
%define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
%define CONFIG_BITSTREAM_DEBUG 0
|
||||
%define CONFIG_MISMATCH_DEBUG 0
|
||||
%define CONFIG_FP_MB_STATS 0
|
||||
%define CONFIG_EMULATE_HARDWARE 0
|
||||
%define CONFIG_NON_GREEDY_MV 0
|
||||
%define CONFIG_RATE_CTRL 0
|
||||
%define DECODE_WIDTH_LIMIT 16384
|
||||
%define DECODE_HEIGHT_LIMIT 16384
|
||||
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_config.c
vendored
Normal file
10
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_config.c
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
#include "vpx/vpx_codec.h"
|
||||
static const char* const cfg = "--target=x86_64-linux-gcc --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv --enable-pic --as=yasm --disable-avx512 --enable-vp9-highbitdepth";
|
||||
const char *vpx_codec_build_config(void) {return cfg;}
|
||||
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_config.h
vendored
Normal file
107
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_config.h
vendored
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
|
||||
/* */
|
||||
/* Use of this source code is governed by a BSD-style license */
|
||||
/* that can be found in the LICENSE file in the root of the source */
|
||||
/* tree. An additional intellectual property rights grant can be found */
|
||||
/* in the file PATENTS. All contributing project authors may */
|
||||
/* be found in the AUTHORS file in the root of the source tree. */
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#ifndef VPX_CONFIG_H
|
||||
#define VPX_CONFIG_H
|
||||
#define RESTRICT
|
||||
#define INLINE inline
|
||||
#define VPX_ARCH_ARM 0
|
||||
#define ARCH_ARM 0
|
||||
#define VPX_ARCH_MIPS 0
|
||||
#define ARCH_MIPS 0
|
||||
#define VPX_ARCH_X86 0
|
||||
#define ARCH_X86 0
|
||||
#define VPX_ARCH_X86_64 1
|
||||
#define ARCH_X86_64 1
|
||||
#define VPX_ARCH_PPC 0
|
||||
#define ARCH_PPC 0
|
||||
#define HAVE_NEON 0
|
||||
#define HAVE_NEON_ASM 0
|
||||
#define HAVE_MIPS32 0
|
||||
#define HAVE_DSPR2 0
|
||||
#define HAVE_MSA 0
|
||||
#define HAVE_MIPS64 0
|
||||
#define HAVE_MMX 1
|
||||
#define HAVE_SSE 1
|
||||
#define HAVE_SSE2 1
|
||||
#define HAVE_SSE3 1
|
||||
#define HAVE_SSSE3 1
|
||||
#define HAVE_SSE4_1 1
|
||||
#define HAVE_AVX 1
|
||||
#define HAVE_AVX2 1
|
||||
#define HAVE_AVX512 0
|
||||
#define HAVE_VSX 0
|
||||
#define HAVE_MMI 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_PTHREAD_H 1
|
||||
#define HAVE_UNISTD_H 0
|
||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
||||
#define CONFIG_EXTERNAL_BUILD 1
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 1
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
#define CONFIG_CODEC_SRCS 0
|
||||
#define CONFIG_DEBUG_LIBS 0
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||
#define CONFIG_POSTPROC 1
|
||||
#define CONFIG_VP9_POSTPROC 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_INTERNAL_STATS 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
#define CONFIG_VP8_DECODER 1
|
||||
#define CONFIG_VP9_ENCODER 1
|
||||
#define CONFIG_VP9_DECODER 1
|
||||
#define CONFIG_VP8 1
|
||||
#define CONFIG_VP9 1
|
||||
#define CONFIG_ENCODERS 1
|
||||
#define CONFIG_DECODERS 1
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 1
|
||||
#define CONFIG_ONTHEFLY_BITPACKING 0
|
||||
#define CONFIG_ERROR_CONCEALMENT 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_STATIC 1
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_UNIT_TESTS 1
|
||||
#define CONFIG_WEBM_IO 1
|
||||
#define CONFIG_LIBYUV 0
|
||||
#define CONFIG_DECODE_PERF_TESTS 0
|
||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
||||
#define CONFIG_MULTI_RES_ENCODING 1
|
||||
#define CONFIG_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_VP9_TEMPORAL_DENOISING 1
|
||||
#define CONFIG_CONSISTENT_RECODE 0
|
||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||
#define CONFIG_VP9_HIGHBITDEPTH 1
|
||||
#define CONFIG_BETTER_HW_COMPATIBILITY 0
|
||||
#define CONFIG_EXPERIMENTAL 0
|
||||
#define CONFIG_SIZE_LIMIT 1
|
||||
#define CONFIG_ALWAYS_ADJUST_BPM 0
|
||||
#define CONFIG_BITSTREAM_DEBUG 0
|
||||
#define CONFIG_MISMATCH_DEBUG 0
|
||||
#define CONFIG_FP_MB_STATS 0
|
||||
#define CONFIG_EMULATE_HARDWARE 0
|
||||
#define CONFIG_NON_GREEDY_MV 0
|
||||
#define CONFIG_RATE_CTRL 0
|
||||
#define DECODE_WIDTH_LIMIT 16384
|
||||
#define DECODE_HEIGHT_LIMIT 16384
|
||||
#endif /* VPX_CONFIG_H */
|
||||
8107
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_dsp_rtcd.h
vendored
Normal file
8107
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_dsp_rtcd.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
99
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_scale_rtcd.h
vendored
Normal file
99
TMessagesProj/jni/third_party/libvpx/source/config/linux/x64/vpx_scale_rtcd.h
vendored
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
// This file is generated. Do not edit.
|
||||
#ifndef VPX_SCALE_RTCD_H_
|
||||
#define VPX_SCALE_RTCD_H_
|
||||
|
||||
#ifdef RTCD_C
|
||||
#define RTCD_EXTERN
|
||||
#else
|
||||
#define RTCD_EXTERN extern
|
||||
#endif
|
||||
|
||||
struct yv12_buffer_config;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void vp8_horizontal_line_2_1_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_3_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
|
||||
|
||||
void vp8_horizontal_line_5_4_scale_c(const unsigned char* source,
|
||||
unsigned int source_width,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_width);
|
||||
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
|
||||
|
||||
void vp8_vertical_band_2_1_scale_i_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
|
||||
|
||||
void vp8_vertical_band_5_3_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
|
||||
|
||||
void vp8_vertical_band_5_4_scale_c(unsigned char* source,
|
||||
unsigned int src_pitch,
|
||||
unsigned char* dest,
|
||||
unsigned int dest_pitch,
|
||||
unsigned int dest_width);
|
||||
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
|
||||
|
||||
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
|
||||
|
||||
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
|
||||
|
||||
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config* ybf);
|
||||
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
|
||||
|
||||
void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_frame vpx_yv12_copy_frame_c
|
||||
|
||||
void vpx_yv12_copy_y_c(const struct yv12_buffer_config* src_ybc,
|
||||
struct yv12_buffer_config* dst_ybc);
|
||||
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
|
||||
|
||||
void vpx_scale_rtcd(void);
|
||||
|
||||
#ifdef RTCD_C
|
||||
#include "vpx_ports/x86.h"
|
||||
static void setup_rtcd_internal(void) {
|
||||
int flags = x86_simd_caps();
|
||||
|
||||
(void)flags;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
9
TMessagesProj/jni/third_party/libvpx/source/config/vpx_version.h
vendored
Normal file
9
TMessagesProj/jni/third_party/libvpx/source/config/vpx_version.h
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// This file is generated. Do not edit.
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 8
|
||||
#define VERSION_PATCH 2
|
||||
#define VERSION_EXTRA "125-g667138e1f"
|
||||
#define VERSION_PACKED \
|
||||
((VERSION_MAJOR << 16) | (VERSION_MINOR << 8) | (VERSION_PATCH))
|
||||
#define VERSION_STRING_NOSP "v1.8.2-125-g667138e1f"
|
||||
#define VERSION_STRING " v1.8.2-125-g667138e1f"
|
||||
Loading…
Add table
Add a link
Reference in a new issue