2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
15 #include "vpx_scale/yv12config.h"
16 void vp8cx_horizontal_line_4_5_scale_c(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
17 void vp8cx_vertical_band_4_5_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
18 void vp8cx_last_vertical_band_4_5_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
19 void vp8cx_horizontal_line_2_3_scale_c(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
20 void vp8cx_vertical_band_2_3_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
21 void vp8cx_last_vertical_band_2_3_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
22 void vp8cx_horizontal_line_3_5_scale_c(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
23 void vp8cx_vertical_band_3_5_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
24 void vp8cx_last_vertical_band_3_5_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
25 void vp8cx_horizontal_line_3_4_scale_c(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
26 void vp8cx_vertical_band_3_4_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
27 void vp8cx_last_vertical_band_3_4_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
28 void vp8cx_horizontal_line_1_2_scale_c(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
29 void vp8cx_vertical_band_1_2_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
30 void vp8cx_last_vertical_band_1_2_scale_c(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
31 void vp8cx_horizontal_line_5_4_scale_c(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
32 void vp8cx_vertical_band_5_4_scale_c(unsigned char *source
, unsigned int src_pitch
, unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
33 void vp8cx_horizontal_line_5_3_scale_c(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
34 void vp8cx_vertical_band_5_3_scale_c(unsigned char *source
, unsigned int src_pitch
, unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
35 void vp8cx_horizontal_line_2_1_scale_c(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
36 void vp8cx_vertical_band_2_1_scale_c(unsigned char *source
, unsigned int src_pitch
, unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
37 void vp8cx_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
);
40 extern void (*vp8_vertical_band_4_5_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
41 extern void (*vp8_last_vertical_band_4_5_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
42 extern void (*vp8_vertical_band_2_3_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
43 extern void (*vp8_last_vertical_band_2_3_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
44 extern void (*vp8_vertical_band_3_5_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
45 extern void (*vp8_last_vertical_band_3_5_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
46 extern void (*vp8_vertical_band_3_4_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
47 extern void (*vp8_last_vertical_band_3_4_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
48 extern void (*vp8_horizontal_line_1_2_scale
)(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
49 extern void (*vp8_horizontal_line_3_4_scale
)(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
50 extern void (*vp8_horizontal_line_3_5_scale
)(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
51 extern void (*vp8_horizontal_line_2_3_scale
)(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
52 extern void (*vp8_horizontal_line_4_5_scale
)(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
53 extern void (*vp8_vertical_band_1_2_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
54 extern void (*vp8_last_vertical_band_1_2_scale
)(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
55 extern void (*vp8_vertical_band_5_4_scale
)(unsigned char *source
, unsigned int src_pitch
, unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
56 extern void (*vp8_vertical_band_5_3_scale
)(unsigned char *source
, unsigned int src_pitch
, unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
57 extern void (*vp8_vertical_band_2_1_scale
)(unsigned char *source
, unsigned int src_pitch
, unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
58 extern void (*vp8_vertical_band_2_1_scale_i
)(unsigned char *source
, unsigned int src_pitch
, unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
59 extern void (*vp8_horizontal_line_2_1_scale
)(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
60 extern void (*vp8_horizontal_line_5_3_scale
)(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
61 extern void (*vp8_horizontal_line_5_4_scale
)(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
63 void horizontal_line_4_5_scale_armv4(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
64 void horizontal_line_2_3_scale_armv4(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
65 void horizontal_line_3_5_scale_armv4(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
66 void horizontal_line_3_4_scale_armv4(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
67 void horizontal_line_1_2_scale_armv4(const unsigned char *source
, unsigned int source_width
, unsigned char *dest
, unsigned int dest_width
);
68 void vertical_band_4_5_scale_armv4(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
69 void vertical_band_2_3_scale_armv4(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
70 void vertical_band_3_5_scale_armv4(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
71 void vertical_band_3_4_scale_armv4(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
72 void vertical_band_1_2_scale_armv4(unsigned char *dest
, unsigned int dest_pitch
, unsigned int dest_width
);
75 extern void dmachine_specific_config(int mmx_enabled
, int xmm_enabled
, int wmt_enabled
);
76 extern void vp8_yv12_scale_or_center
78 YV12_BUFFER_CONFIG
*src_yuv_config
,
79 YV12_BUFFER_CONFIG
*dst_yuv_config
,
80 int expanded_frame_width
,
81 int expanded_frame_height
,
88 extern void vp8_scale_frame
90 YV12_BUFFER_CONFIG
*src
,
91 YV12_BUFFER_CONFIG
*dst
,
92 unsigned char *temp_area
,
93 unsigned char temp_height
,
98 unsigned int interlaced
100 extern void vp8_scale_machine_specific_config(void);
102 extern void (*vp8_yv12_extend_frame_borders_ptr
)(YV12_BUFFER_CONFIG
*ybf
);
103 extern void vp8_yv12_extend_frame_borders(YV12_BUFFER_CONFIG
*ybf
);
104 extern void vp8_yv12_extend_frame_borders_neon(YV12_BUFFER_CONFIG
*ybf
);
106 extern void (*vp8_yv12_copy_frame_yonly_ptr
)(YV12_BUFFER_CONFIG
*src_ybc
, YV12_BUFFER_CONFIG
*dst_ybc
);
107 extern void vp8_yv12_copy_frame_yonly(YV12_BUFFER_CONFIG
*src_ybc
, YV12_BUFFER_CONFIG
*dst_ybc
);
108 extern void vp8_yv12_copy_frame_yonly_neon(YV12_BUFFER_CONFIG
*src_ybc
, YV12_BUFFER_CONFIG
*dst_ybc
);
110 extern void (*vp8_yv12_copy_frame_ptr
)(YV12_BUFFER_CONFIG
*src_ybc
, YV12_BUFFER_CONFIG
*dst_ybc
);
111 extern void vp8_yv12_copy_frame(YV12_BUFFER_CONFIG
*src_ybc
, YV12_BUFFER_CONFIG
*dst_ybc
);
112 extern void vp8_yv12_copy_frame_neon(YV12_BUFFER_CONFIG
*src_ybc
, YV12_BUFFER_CONFIG
*dst_ybc
);