mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
1556d0d377
- convert ARM assembly (NEON) files, - add rtcd for run-time CPU features detection, - modify "system_state.h", - "arm_cpudetect.c" fixes.
45 lines
1.1 KiB
C++
45 lines
1.1 KiB
C++
#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_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_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
|
|
static void setup_rtcd_internal(void)
|
|
{
|
|
//Only MIPS has something here, but it is not supported
|
|
}
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif
|