Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2025 The WebM project authors. All Rights Reserved. |
3 | | * |
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. |
9 | | */ |
10 | | |
11 | | // This file is generated. Do not edit. |
12 | | #ifndef VP9_RTCD_H_ |
13 | | #define VP9_RTCD_H_ |
14 | | |
15 | | #ifdef RTCD_C |
16 | | #define RTCD_EXTERN |
17 | | #else |
18 | | #define RTCD_EXTERN extern |
19 | | #endif |
20 | | |
21 | | /* |
22 | | * VP9 |
23 | | */ |
24 | | |
25 | | #include "vpx/vpx_integer.h" |
26 | | #include "vp9/common/vp9_common.h" |
27 | | #include "vp9/common/vp9_enums.h" |
28 | | #include "vp9/common/vp9_filter.h" |
29 | | #if !CONFIG_REALTIME_ONLY && CONFIG_VP9_ENCODER |
30 | | #include "vp9/encoder/vp9_temporal_filter.h" |
31 | | #endif |
32 | | |
33 | | struct macroblockd; |
34 | | |
35 | | /* Encoder forward decls */ |
36 | | struct macroblock; |
37 | | struct macroblock_plane; |
38 | | struct vp9_sad_table; |
39 | | struct ScanOrder; |
40 | | struct search_site_config; |
41 | | struct mv; |
42 | | union int_mv; |
43 | | struct yv12_buffer_config; |
44 | | |
45 | | #ifdef __cplusplus |
46 | | extern "C" { |
47 | | #endif |
48 | | |
49 | | void vp9_highbd_iht16x16_256_add_c(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
50 | | void vp9_highbd_iht16x16_256_add_sse4_1(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
51 | | RTCD_EXTERN void (*vp9_highbd_iht16x16_256_add)(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
52 | | |
53 | | void vp9_highbd_iht4x4_16_add_c(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
54 | | void vp9_highbd_iht4x4_16_add_sse4_1(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
55 | | RTCD_EXTERN void (*vp9_highbd_iht4x4_16_add)(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
56 | | |
57 | | void vp9_highbd_iht8x8_64_add_c(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
58 | | void vp9_highbd_iht8x8_64_add_sse4_1(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
59 | | RTCD_EXTERN void (*vp9_highbd_iht8x8_64_add)(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
60 | | |
61 | | void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
62 | | void vp9_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
63 | 108k | #define vp9_iht16x16_256_add vp9_iht16x16_256_add_sse2 |
64 | | |
65 | | void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
66 | | void vp9_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
67 | 381k | #define vp9_iht4x4_16_add vp9_iht4x4_16_add_sse2 |
68 | | |
69 | | void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
70 | | void vp9_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
71 | 212k | #define vp9_iht8x8_64_add vp9_iht8x8_64_add_sse2 |
72 | | |
73 | | void vp9_rtcd(void); |
74 | | |
75 | | #ifdef RTCD_C |
76 | | #include "vpx_ports/x86.h" |
77 | | static void setup_rtcd_internal(void) |
78 | 1 | { |
79 | 1 | int flags = x86_simd_caps(); |
80 | | |
81 | 1 | (void)flags; |
82 | | |
83 | 1 | vp9_highbd_iht16x16_256_add = vp9_highbd_iht16x16_256_add_c; |
84 | 1 | if (flags & HAS_SSE4_1) vp9_highbd_iht16x16_256_add = vp9_highbd_iht16x16_256_add_sse4_1; |
85 | 1 | vp9_highbd_iht4x4_16_add = vp9_highbd_iht4x4_16_add_c; |
86 | 1 | if (flags & HAS_SSE4_1) vp9_highbd_iht4x4_16_add = vp9_highbd_iht4x4_16_add_sse4_1; |
87 | 1 | vp9_highbd_iht8x8_64_add = vp9_highbd_iht8x8_64_add_c; |
88 | 1 | if (flags & HAS_SSE4_1) vp9_highbd_iht8x8_64_add = vp9_highbd_iht8x8_64_add_sse4_1; |
89 | 1 | } |
90 | | #endif |
91 | | |
92 | | #ifdef __cplusplus |
93 | | } // extern "C" |
94 | | #endif |
95 | | |
96 | | #endif // VP9_RTCD_H_ |