mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 19:47:32 +09:00
Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
This commit is contained in:
parent
bb61121b44
commit
48f6d2e034
1087 changed files with 154333 additions and 265310 deletions
110
third_party/aom/aom_dsp/x86/aom_asm_stubs.c
vendored
110
third_party/aom/aom_dsp/x86/aom_asm_stubs.c
vendored
|
|
@ -9,8 +9,9 @@
|
|||
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||
*/
|
||||
|
||||
#include "./aom_config.h"
|
||||
#include "./aom_dsp_rtcd.h"
|
||||
#include "config/aom_config.h"
|
||||
#include "config/aom_dsp_rtcd.h"
|
||||
|
||||
#include "aom_dsp/x86/convolve.h"
|
||||
|
||||
#if HAVE_SSE2
|
||||
|
|
@ -20,12 +21,6 @@ filter8_1dfunction aom_filter_block1d8_v8_sse2;
|
|||
filter8_1dfunction aom_filter_block1d8_h8_sse2;
|
||||
filter8_1dfunction aom_filter_block1d4_v8_sse2;
|
||||
filter8_1dfunction aom_filter_block1d4_h8_sse2;
|
||||
filter8_1dfunction aom_filter_block1d16_v8_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d16_h8_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d8_v8_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d8_h8_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d4_v8_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d4_h8_avg_sse2;
|
||||
|
||||
filter8_1dfunction aom_filter_block1d16_v2_sse2;
|
||||
filter8_1dfunction aom_filter_block1d16_h2_sse2;
|
||||
|
|
@ -33,12 +28,6 @@ filter8_1dfunction aom_filter_block1d8_v2_sse2;
|
|||
filter8_1dfunction aom_filter_block1d8_h2_sse2;
|
||||
filter8_1dfunction aom_filter_block1d4_v2_sse2;
|
||||
filter8_1dfunction aom_filter_block1d4_h2_sse2;
|
||||
filter8_1dfunction aom_filter_block1d16_v2_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d16_h2_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d8_v2_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d8_h2_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d4_v2_avg_sse2;
|
||||
filter8_1dfunction aom_filter_block1d4_h2_avg_sse2;
|
||||
|
||||
// void aom_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride,
|
||||
// uint8_t *dst, ptrdiff_t dst_stride,
|
||||
|
|
@ -50,47 +39,16 @@ filter8_1dfunction aom_filter_block1d4_h2_avg_sse2;
|
|||
// const int16_t *filter_x, int x_step_q4,
|
||||
// const int16_t *filter_y, int y_step_q4,
|
||||
// int w, int h);
|
||||
// void aom_convolve8_avg_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride,
|
||||
// uint8_t *dst, ptrdiff_t dst_stride,
|
||||
// const int16_t *filter_x, int x_step_q4,
|
||||
// const int16_t *filter_y, int y_step_q4,
|
||||
// int w, int h);
|
||||
// void aom_convolve8_avg_vert_sse2(const uint8_t *src, ptrdiff_t src_stride,
|
||||
// uint8_t *dst, ptrdiff_t dst_stride,
|
||||
// const int16_t *filter_x, int x_step_q4,
|
||||
// const int16_t *filter_y, int y_step_q4,
|
||||
// int w, int h);
|
||||
FUN_CONV_1D(horiz, x_step_q4, filter_x, h, src, , sse2);
|
||||
FUN_CONV_1D(vert, y_step_q4, filter_y, v, src - src_stride * 3, , sse2);
|
||||
FUN_CONV_1D(avg_horiz, x_step_q4, filter_x, h, src, avg_, sse2);
|
||||
FUN_CONV_1D(avg_vert, y_step_q4, filter_y, v, src - src_stride * 3, avg_, sse2);
|
||||
|
||||
// void aom_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride,
|
||||
// uint8_t *dst, ptrdiff_t dst_stride,
|
||||
// const int16_t *filter_x, int x_step_q4,
|
||||
// const int16_t *filter_y, int y_step_q4,
|
||||
// int w, int h);
|
||||
// void aom_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride,
|
||||
// uint8_t *dst, ptrdiff_t dst_stride,
|
||||
// const int16_t *filter_x, int x_step_q4,
|
||||
// const int16_t *filter_y, int y_step_q4,
|
||||
// int w, int h);
|
||||
FUN_CONV_2D(, sse2);
|
||||
FUN_CONV_2D(avg_, sse2);
|
||||
|
||||
#if CONFIG_HIGHBITDEPTH && ARCH_X86_64
|
||||
#if ARCH_X86_64
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d16_v8_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d16_h8_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d8_v8_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d8_h8_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d4_v8_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d4_h8_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d16_v8_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d16_h8_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d8_v8_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d8_h8_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d4_v8_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d4_h8_avg_sse2;
|
||||
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d16_v2_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d16_h2_sse2;
|
||||
|
|
@ -98,12 +56,6 @@ highbd_filter8_1dfunction aom_highbd_filter_block1d8_v2_sse2;
|
|||
highbd_filter8_1dfunction aom_highbd_filter_block1d8_h2_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d4_v2_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d4_h2_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d16_v2_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d16_h2_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d8_v2_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d8_h2_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d4_v2_avg_sse2;
|
||||
highbd_filter8_1dfunction aom_highbd_filter_block1d4_h2_avg_sse2;
|
||||
|
||||
// void aom_highbd_convolve8_horiz_sse2(const uint8_t *src,
|
||||
// ptrdiff_t src_stride,
|
||||
|
|
@ -123,60 +75,8 @@ highbd_filter8_1dfunction aom_highbd_filter_block1d4_h2_avg_sse2;
|
|||
// const int16_t *filter_y,
|
||||
// int y_step_q4,
|
||||
// int w, int h, int bd);
|
||||
// void aom_highbd_convolve8_avg_horiz_sse2(const uint8_t *src,
|
||||
// ptrdiff_t src_stride,
|
||||
// uint8_t *dst,
|
||||
// ptrdiff_t dst_stride,
|
||||
// const int16_t *filter_x,
|
||||
// int x_step_q4,
|
||||
// const int16_t *filter_y,
|
||||
// int y_step_q4,
|
||||
// int w, int h, int bd);
|
||||
// void aom_highbd_convolve8_avg_vert_sse2(const uint8_t *src,
|
||||
// ptrdiff_t src_stride,
|
||||
// uint8_t *dst,
|
||||
// ptrdiff_t dst_stride,
|
||||
// const int16_t *filter_x,
|
||||
// int x_step_q4,
|
||||
// const int16_t *filter_y,
|
||||
// int y_step_q4,
|
||||
// int w, int h, int bd);
|
||||
HIGH_FUN_CONV_1D(horiz, x_step_q4, filter_x, h, src, , sse2);
|
||||
HIGH_FUN_CONV_1D(vert, y_step_q4, filter_y, v, src - src_stride * 3, , sse2);
|
||||
HIGH_FUN_CONV_1D(avg_horiz, x_step_q4, filter_x, h, src, avg_, sse2);
|
||||
HIGH_FUN_CONV_1D(avg_vert, y_step_q4, filter_y, v, src - src_stride * 3, avg_,
|
||||
sse2);
|
||||
|
||||
// void aom_highbd_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride,
|
||||
// uint8_t *dst, ptrdiff_t dst_stride,
|
||||
// const int16_t *filter_x, int x_step_q4,
|
||||
// const int16_t *filter_y, int y_step_q4,
|
||||
// int w, int h, int bd);
|
||||
// void aom_highbd_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride,
|
||||
// uint8_t *dst, ptrdiff_t dst_stride,
|
||||
// const int16_t *filter_x, int x_step_q4,
|
||||
// const int16_t *filter_y, int y_step_q4,
|
||||
// int w, int h, int bd);
|
||||
HIGH_FUN_CONV_2D(, sse2);
|
||||
HIGH_FUN_CONV_2D(avg_, sse2);
|
||||
|
||||
#if CONFIG_LOOP_RESTORATION
|
||||
// The SSE2 highbd convolve functions can deal with coefficients up to 32767.
|
||||
// So redirect highbd_convolve8_add_src to regular highbd_convolve8.
|
||||
void aom_highbd_convolve8_add_src_sse2(const uint8_t *src, ptrdiff_t src_stride,
|
||||
uint8_t *dst, ptrdiff_t dst_stride,
|
||||
const int16_t *filter_x, int x_step_q4,
|
||||
const int16_t *filter_y, int y_step_q4,
|
||||
int w, int h, int bd) {
|
||||
assert(x_step_q4 == 16);
|
||||
assert(y_step_q4 == 16);
|
||||
((int16_t *)filter_x)[3] += 128;
|
||||
((int16_t *)filter_y)[3] += 128;
|
||||
aom_highbd_convolve8_sse2(src, src_stride, dst, dst_stride, filter_x,
|
||||
x_step_q4, filter_y, y_step_q4, w, h, bd);
|
||||
((int16_t *)filter_x)[3] -= 128;
|
||||
((int16_t *)filter_y)[3] -= 128;
|
||||
}
|
||||
#endif // CONFIG_LOOP_RESTORATION
|
||||
#endif // CONFIG_HIGHBITDEPTH && ARCH_X86_64
|
||||
#endif // ARCH_X86_64
|
||||
#endif // HAVE_SSE2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue