Skip to content

Commit 22abafc

Browse files
vigneshvgandi34
authored andcommitted
DO NOT MERGE - libvpx: Pull from upstream
Current HEAD: 7105df53d7dc13d5e575bc8df714ec8d1da36b06 BUG=23452792 Change-Id: I9a88924d22e90c21c6ae711e26e6ddf191c1b502
1 parent 9b35249 commit 22abafc

File tree

1,405 files changed

+274467
-218666
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,405 files changed

+274467
-218666
lines changed

armv7a-neon/libvpx_srcs.txt

Lines changed: 136 additions & 144 deletions
Large diffs are not rendered by default.

armv7a-neon/vp8_rtcd.h

Lines changed: 142 additions & 303 deletions
Large diffs are not rendered by default.

armv7a-neon/vp9_rtcd.h

Lines changed: 18 additions & 278 deletions
Large diffs are not rendered by default.

armv7a-neon/vpx_config.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
/* tree. An additional intellectual property rights grant can be found */
66
/* in the file PATENTS. All contributing project authors may */
77
/* be found in the AUTHORS file in the root of the source tree. */
8-
static const char* const cfg = "--target=armv7-android-gcc --disable-runtime-cpu-detect --sdk-path=/usr/local/google/home/hkuang/Downloads/android-ndk-r8e --disable-vp9-encoder --disable-examples --disable-docs --enable-realtime-only";
8+
#include "vpx/vpx_codec.h"
9+
static const char* const cfg = "--target=armv7-android-gcc --disable-runtime-cpu-detect --sdk-path=/usr/local/google/home/vigneshv/Downloads/android-ndk-r10 --disable-vp9-encoder --disable-examples --disable-docs --enable-realtime-only --disable-webm-io";
910
const char *vpx_codec_build_config(void) {return cfg;}

armv7a-neon/vpx_config.h

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@
99
#ifndef VPX_CONFIG_H
1010
#define VPX_CONFIG_H
1111
#define RESTRICT
12-
#define INLINE __inline__ __attribute__((always_inline))
12+
#define INLINE inline
1313
#define ARCH_ARM 1
1414
#define ARCH_MIPS 0
1515
#define ARCH_X86 0
1616
#define ARCH_X86_64 0
17-
#define ARCH_PPC32 0
18-
#define ARCH_PPC64 0
19-
#define HAVE_EDSP 1
17+
#define HAVE_EDSP 0
2018
#define HAVE_MEDIA 1
2119
#define HAVE_NEON 1
20+
#define HAVE_NEON_ASM 1
2221
#define HAVE_MIPS32 0
2322
#define HAVE_DSPR2 0
23+
#define HAVE_MSA 0
24+
#define HAVE_MIPS64 0
2425
#define HAVE_MMX 0
2526
#define HAVE_SSE 0
2627
#define HAVE_SSE2 0
@@ -29,19 +30,18 @@
2930
#define HAVE_SSE4_1 0
3031
#define HAVE_AVX 0
3132
#define HAVE_AVX2 0
32-
#define HAVE_ALTIVEC 0
3333
#define HAVE_VPX_PORTS 1
3434
#define HAVE_STDINT_H 1
35-
#define HAVE_ALT_TREE_LAYOUT 0
3635
#define HAVE_PTHREAD_H 1
3736
#define HAVE_SYS_MMAN_H 1
3837
#define HAVE_UNISTD_H 1
38+
#define CONFIG_DEPENDENCY_TRACKING 1
3939
#define CONFIG_EXTERNAL_BUILD 0
40-
#define CONFIG_INSTALL_DOCS 0
40+
#define CONFIG_INSTALL_DOCS 1
4141
#define CONFIG_INSTALL_BINS 1
4242
#define CONFIG_INSTALL_LIBS 1
4343
#define CONFIG_INSTALL_SRCS 0
44-
#define CONFIG_USE_X86INC 1
44+
#define CONFIG_USE_X86INC 0
4545
#define CONFIG_DEBUG 0
4646
#define CONFIG_GPROF 0
4747
#define CONFIG_GCOV 0
@@ -52,11 +52,6 @@
5252
#define CONFIG_BIG_ENDIAN 0
5353
#define CONFIG_CODEC_SRCS 0
5454
#define CONFIG_DEBUG_LIBS 0
55-
#define CONFIG_FAST_UNALIGNED 1
56-
#define CONFIG_MEM_MANAGER 0
57-
#define CONFIG_MEM_TRACKER 0
58-
#define CONFIG_MEM_CHECKS 0
59-
#define CONFIG_MD5 1
6055
#define CONFIG_DEQUANT_TOKENS 0
6156
#define CONFIG_DC_RECON 0
6257
#define CONFIG_RUNTIME_CPU_DETECT 0
@@ -68,8 +63,11 @@
6863
#define CONFIG_VP8_DECODER 1
6964
#define CONFIG_VP9_ENCODER 0
7065
#define CONFIG_VP9_DECODER 1
66+
#define CONFIG_VP10_ENCODER 0
67+
#define CONFIG_VP10_DECODER 0
7168
#define CONFIG_VP8 1
7269
#define CONFIG_VP9 1
70+
#define CONFIG_VP10 0
7371
#define CONFIG_ENCODERS 1
7472
#define CONFIG_DECODERS 1
7573
#define CONFIG_STATIC_MSVCRT 0
@@ -83,11 +81,18 @@
8381
#define CONFIG_POSTPROC_VISUALIZER 0
8482
#define CONFIG_OS_SUPPORT 1
8583
#define CONFIG_UNIT_TESTS 0
84+
#define CONFIG_WEBM_IO 0
85+
#define CONFIG_LIBYUV 1
86+
#define CONFIG_DECODE_PERF_TESTS 0
87+
#define CONFIG_ENCODE_PERF_TESTS 0
8688
#define CONFIG_MULTI_RES_ENCODING 0
8789
#define CONFIG_TEMPORAL_DENOISING 1
90+
#define CONFIG_VP9_TEMPORAL_DENOISING 0
91+
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
92+
#define CONFIG_VP9_HIGHBITDEPTH 0
8893
#define CONFIG_EXPERIMENTAL 0
89-
#define CONFIG_DECRYPT 0
90-
#define CONFIG_MULTIPLE_ARF 0
91-
#define CONFIG_NON420 0
92-
#define CONFIG_ALPHA 0
94+
#define CONFIG_SIZE_LIMIT 0
95+
#define CONFIG_SPATIAL_SVC 0
96+
#define CONFIG_FP_MB_STATS 0
97+
#define CONFIG_EMULATE_HARDWARE 0
9398
#endif /* VPX_CONFIG_H */

armv7a-neon/vpx_dsp_rtcd.h

Lines changed: 730 additions & 0 deletions
Large diffs are not rendered by default.

armv7a-neon/vpx_scale_rtcd.h

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,46 +9,48 @@
99

1010
struct yv12_buffer_config;
1111

12-
void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
13-
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
12+
#ifdef __cplusplus
13+
extern "C" {
14+
#endif
1415

15-
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);
16-
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
16+
void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
17+
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
1718

1819
void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
1920
#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
2021

21-
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);
22-
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
23-
24-
void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
25-
#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
22+
void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
23+
#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
2624

2725
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);
2826
#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
2927

3028
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);
3129
#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
3230

33-
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
34-
void vp8_yv12_extend_frame_borders_neon(struct yv12_buffer_config *ybf);
35-
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_neon
31+
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);
32+
#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
33+
34+
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);
35+
#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
3636

3737
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
38-
void vp8_yv12_copy_frame_neon(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
39-
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_neon
38+
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
4039

41-
void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
42-
void vpx_yv12_copy_y_neon(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
43-
#define vpx_yv12_copy_y vpx_yv12_copy_y_neon
40+
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
41+
#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
4442

45-
void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsampling_y);
46-
#define vp9_extend_frame_borders vp9_extend_frame_borders_c
43+
void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
44+
#define vpx_extend_frame_borders vpx_extend_frame_borders_c
4745

48-
void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsampling_y);
49-
#define vp9_extend_frame_inner_borders vp9_extend_frame_inner_borders_c
46+
void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
47+
#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
48+
49+
void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
50+
#define vpx_yv12_copy_y vpx_yv12_copy_y_c
5051

5152
void vpx_scale_rtcd(void);
53+
5254
#include "vpx_config.h"
5355

5456
#ifdef RTCD_C
@@ -59,7 +61,11 @@ static void setup_rtcd_internal(void)
5961

6062
(void)flags;
6163

62-
6364
}
6465
#endif
66+
67+
#ifdef __cplusplus
68+
} // extern "C"
69+
#endif
70+
6571
#endif

armv7a-neon/vpx_version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#define VERSION_MAJOR 1
2-
#define VERSION_MINOR 2
2+
#define VERSION_MINOR 4
33
#define VERSION_PATCH 0
4-
#define VERSION_EXTRA "5082-g58f7543"
4+
#define VERSION_EXTRA ""
55
#define VERSION_PACKED ((VERSION_MAJOR<<16)|(VERSION_MINOR<<8)|(VERSION_PATCH))
6-
#define VERSION_STRING_NOSP "v1.2.0-5082-g58f7543"
7-
#define VERSION_STRING " v1.2.0-5082-g58f7543"
6+
#define VERSION_STRING_NOSP "v1.4.0"
7+
#define VERSION_STRING " v1.4.0"

0 commit comments

Comments
 (0)