Port folder renaming changes from AOM
Manually cherry-picked commits:ceef058
libvpx->libaom part23d26d91
libvpx -> libaomcfea7dd
vp10/ -> av1/3a8eff7
Fix a build issue for a testbf4202e
Rename vpx to aom Change-Id: I1b0eb5a40796e3aaf41c58984b4229a439a597dc
This commit is contained in:
Родитель
b1fb998c46
Коммит
c27fc14b02
|
@ -45,8 +45,8 @@
|
|||
/ivfdec.dox
|
||||
/ivfenc
|
||||
/ivfenc.dox
|
||||
/libvpx.so*
|
||||
/libvpx.ver
|
||||
/libaom.so*
|
||||
/libaom.ver
|
||||
/samples.dox
|
||||
/test_intra_pred_speed
|
||||
/test_libvpx
|
||||
|
|
8
README
8
README
|
@ -33,13 +33,13 @@ COMPILING THE APPLICATIONS/LIBRARIES:
|
|||
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ ../libvpx/configure <options>
|
||||
$ ../libaom/configure <options>
|
||||
$ make
|
||||
|
||||
3. Configuration options
|
||||
The 'configure' script supports a number of options. The --help option can be
|
||||
used to get a list of supported options:
|
||||
$ ../libvpx/configure --help
|
||||
$ ../libaom/configure --help
|
||||
|
||||
4. Cross development
|
||||
For cross development, the most notable option is the --target option. The
|
||||
|
@ -108,7 +108,7 @@ COMPILING THE APPLICATIONS/LIBRARIES:
|
|||
toolchain, the following command could be used (note, POSIX SH syntax, adapt
|
||||
to your shell as necessary):
|
||||
|
||||
$ CROSS=mipsel-linux-uclibc- ../libvpx/configure
|
||||
$ CROSS=mipsel-linux-uclibc- ../libaom/configure
|
||||
|
||||
In addition, the executables to be invoked can be overridden by specifying the
|
||||
environment variables: CC, AR, LD, AS, STRIP, NM. Additional flags can be
|
||||
|
@ -125,7 +125,7 @@ VP8/VP9 TEST VECTORS:
|
|||
LIBVPX_TEST_DATA_PATH environment variable can be used.
|
||||
|
||||
$ ./configure --enable-unit-tests
|
||||
$ LIBVPX_TEST_DATA_PATH=../libvpx-test-data make testdata
|
||||
$ LIBVPX_TEST_DATA_PATH=../-test-data make testdata
|
||||
|
||||
CODE STYLE:
|
||||
The coding style used by this project is enforced with clang-format using the
|
||||
|
|
|
@ -219,10 +219,10 @@ typedef vpx_image_t *(*vpx_codec_get_frame_fn_t)(vpx_codec_alg_priv_t *ctx,
|
|||
|
||||
/*!\brief Pass in external frame buffers for the decoder to use.
|
||||
*
|
||||
* Registers functions to be called when libvpx needs a frame buffer
|
||||
* to decode the current frame and a function to be called when libvpx does
|
||||
* Registers functions to be called when libaom needs a frame buffer
|
||||
* to decode the current frame and a function to be called when libaom does
|
||||
* not internally reference the frame buffer. This set function must
|
||||
* be called before the first call to decode or libvpx will assume the
|
||||
* be called before the first call to decode or libaom will assume the
|
||||
* default behavior of allocating frame buffers internally.
|
||||
*
|
||||
* \param[in] ctx Pointer to this instance's context
|
||||
|
@ -231,7 +231,7 @@ typedef vpx_image_t *(*vpx_codec_get_frame_fn_t)(vpx_codec_alg_priv_t *ctx,
|
|||
* \param[in] cb_priv Callback's private data
|
||||
*
|
||||
* \retval #VPX_CODEC_OK
|
||||
* External frame buffers will be used by libvpx.
|
||||
* External frame buffers will be used by libaom.
|
||||
* \retval #VPX_CODEC_INVALID_PARAM
|
||||
* One or more of the callbacks were NULL.
|
||||
* \retval #VPX_CODEC_ERROR
|
|
@ -14,8 +14,8 @@
|
|||
*/
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx/internal/vpx_codec_internal.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom/internal/vpx_codec_internal.h"
|
||||
#include "vpx_version.h"
|
||||
|
||||
#define SAVE_STATUS(ctx, var) (ctx ? (ctx->err = var) : var)
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
*/
|
||||
#include <string.h>
|
||||
#include "vpx/internal/vpx_codec_internal.h"
|
||||
#include "aom/internal/vpx_codec_internal.h"
|
||||
|
||||
#define SAVE_STATUS(ctx, var) (ctx ? (ctx->err = var) : var)
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include "vpx_config.h"
|
||||
#include "vpx/internal/vpx_codec_internal.h"
|
||||
#include "aom/internal/vpx_codec_internal.h"
|
||||
|
||||
#define SAVE_STATUS(ctx, var) (ctx ? (ctx->err = var) : var)
|
||||
|
||||
|
@ -171,7 +171,7 @@ vpx_codec_err_t vpx_codec_enc_config_default(vpx_codec_iface_t *iface,
|
|||
/* On X86, disable the x87 unit's internal 80 bit precision for better
|
||||
* consistency with the SSE unit's 64 bit precision.
|
||||
*/
|
||||
#include "vpx_ports/x86.h"
|
||||
#include "aom_ports/x86.h"
|
||||
#define FLOATING_POINT_INIT() \
|
||||
do { \
|
||||
unsigned short x87_orig_mode = x87_set_double_precision();
|
|
@ -11,9 +11,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "vpx/vpx_image.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_mem/vpx_mem.h"
|
||||
#include "aom/vpx_image.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_mem/vpx_mem.h"
|
||||
|
||||
static vpx_image_t *img_alloc_helper(vpx_image_t *img, vpx_img_fmt_t fmt,
|
||||
unsigned int d_w, unsigned int d_h,
|
|
@ -328,10 +328,10 @@ vpx_codec_err_t vpx_codec_register_put_slice_cb(vpx_codec_ctx_t *ctx,
|
|||
|
||||
/*!\brief Pass in external frame buffers for the decoder to use.
|
||||
*
|
||||
* Registers functions to be called when libvpx needs a frame buffer
|
||||
* to decode the current frame and a function to be called when libvpx does
|
||||
* Registers functions to be called when libaom needs a frame buffer
|
||||
* to decode the current frame and a function to be called when libaom does
|
||||
* not internally reference the frame buffer. This set function must
|
||||
* be called before the first call to decode or libvpx will assume the
|
||||
* be called before the first call to decode or libaom will assume the
|
||||
* default behavior of allocating frame buffers internally.
|
||||
*
|
||||
* \param[in] ctx Pointer to this instance's context
|
||||
|
@ -340,7 +340,7 @@ vpx_codec_err_t vpx_codec_register_put_slice_cb(vpx_codec_ctx_t *ctx,
|
|||
* \param[in] cb_priv Callback's private data
|
||||
*
|
||||
* \retval #VPX_CODEC_OK
|
||||
* External frame buffers will be used by libvpx.
|
||||
* External frame buffers will be used by libaom.
|
||||
* \retval #VPX_CODEC_INVALID_PARAM
|
||||
* One or more of the callbacks were NULL.
|
||||
* \retval #VPX_CODEC_ERROR
|
|
@ -21,7 +21,7 @@ extern "C" {
|
|||
|
||||
#include "./vpx_integer.h"
|
||||
|
||||
/*!\brief The maximum number of work buffers used by libvpx.
|
||||
/*!\brief The maximum number of work buffers used by libaom.
|
||||
* Support maximum 4 threads to decode video in parallel.
|
||||
* Each thread will use one work buffer.
|
||||
* TODO(hkuang): Add support to set number of worker threads dynamically.
|
|
@ -14,8 +14,8 @@
|
|||
#include "./vpx_config.h"
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
void vpx_plane_add_noise_c(uint8_t *start, char *noise, char blackclamp[16],
|
||||
char whiteclamp[16], char bothclamp[16],
|
|
@ -14,7 +14,7 @@
|
|||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "./vpx_config.h"
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
static INLINE unsigned int horizontal_add_u16x8(const uint16x8_t v_16x8) {
|
||||
const uint32x4_t a = vpaddlq_u16(v_16x8);
|
|
@ -11,7 +11,7 @@
|
|||
#include <arm_neon.h>
|
||||
|
||||
#include "./vpx_config.h"
|
||||
#include "vpx_dsp/txfm_common.h"
|
||||
#include "aom_dsp/txfm_common.h"
|
||||
|
||||
void vpx_fdct8x8_neon(const int16_t *input, int16_t *final_output, int stride) {
|
||||
int i;
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
#include <arm_neon.h>
|
||||
|
||||
#include "vpx_dsp/inv_txfm.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_dsp/inv_txfm.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
void vpx_idct16x16_1_add_neon(int16_t *input, uint8_t *dest, int dest_stride) {
|
||||
uint8x8_t d2u8, d3u8, d30u8, d31u8;
|
|
@ -11,7 +11,7 @@
|
|||
#include <arm_neon.h>
|
||||
|
||||
#include "./vpx_config.h"
|
||||
#include "vpx_dsp/txfm_common.h"
|
||||
#include "aom_dsp/txfm_common.h"
|
||||
|
||||
static INLINE void TRANSPOSE8X8(int16x8_t *q8s16, int16x8_t *q9s16,
|
||||
int16x8_t *q10s16, int16x8_t *q11s16,
|
|
@ -8,7 +8,7 @@
|
|||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
|
||||
void vpx_idct16x16_256_add_neon_pass1(const int16_t *input, int16_t *output,
|
||||
int output_stride);
|
|
@ -12,8 +12,8 @@
|
|||
|
||||
#include "./vpx_config.h"
|
||||
|
||||
#include "vpx_dsp/inv_txfm.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_dsp/inv_txfm.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
static INLINE void LD_16x8(uint8_t *d, int d_stride, uint8x16_t *q8u8,
|
||||
uint8x16_t *q9u8, uint8x16_t *q10u8,
|
|
@ -11,7 +11,7 @@
|
|||
#include <arm_neon.h>
|
||||
|
||||
#include "./vpx_config.h"
|
||||
#include "vpx_dsp/txfm_common.h"
|
||||
#include "aom_dsp/txfm_common.h"
|
||||
|
||||
#define LOAD_FROM_TRANSPOSED(prev, first, second) \
|
||||
q14s16 = vld1q_s16(trans_buf + first * 8); \
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
#include <arm_neon.h>
|
||||
|
||||
#include "vpx_dsp/inv_txfm.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_dsp/inv_txfm.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
void vpx_idct4x4_1_add_neon(int16_t *input, uint8_t *dest, int dest_stride) {
|
||||
uint8x8_t d6u8;
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
#include <arm_neon.h>
|
||||
|
||||
#include "vpx_dsp/inv_txfm.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_dsp/inv_txfm.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
void vpx_idct8x8_1_add_neon(int16_t *input, uint8_t *dest, int dest_stride) {
|
||||
uint8x8_t d2u8, d3u8, d30u8, d31u8;
|
|
@ -11,7 +11,7 @@
|
|||
#include <arm_neon.h>
|
||||
|
||||
#include "./vpx_config.h"
|
||||
#include "vpx_dsp/txfm_common.h"
|
||||
#include "aom_dsp/txfm_common.h"
|
||||
|
||||
static INLINE void TRANSPOSE8X8(int16x8_t *q8s16, int16x8_t *q9s16,
|
||||
int16x8_t *q10s16, int16x8_t *q11s16,
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "./vpx_config.h"
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// DC 4x4
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "./vpx_config.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
static INLINE void loop_filter_neon_16(uint8x16_t qblimit, // blimit
|
||||
uint8x16_t qlimit, // limit
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "./vpx_config.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
void vpx_lpf_vertical_4_dual_neon(uint8_t *s, int p, const uint8_t *blimit0,
|
||||
const uint8_t *limit0, const uint8_t *thresh0,
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "./vpx_config.h"
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
static INLINE unsigned int horizontal_long_add_16x8(const uint16x8_t vec_lo,
|
||||
const uint16x8_t vec_hi) {
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "./vpx_config.h"
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
unsigned int vpx_sad8x16_neon(unsigned char *src_ptr, int src_stride,
|
||||
unsigned char *ref_ptr, int ref_stride) {
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
#include "./vpx_config.h"
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
#if HAVE_MEDIA
|
||||
static const int16_t bilinear_filters_media[8][2] = { { 128, 0 }, { 112, 16 },
|
|
@ -12,10 +12,10 @@
|
|||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "./vpx_config.h"
|
||||
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom_ports/mem.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
#include "vpx_dsp/variance.h"
|
||||
#include "aom_dsp/variance.h"
|
||||
|
||||
static const uint8_t bilinear_filters[8][2] = {
|
||||
{ 128, 0 }, { 112, 16 }, { 96, 32 }, { 80, 48 },
|
|
@ -11,7 +11,7 @@
|
|||
#include <arm_neon.h>
|
||||
|
||||
#include "./vpx_config.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
void vpx_subtract_block_neon(int rows, int cols, int16_t *diff,
|
||||
ptrdiff_t diff_stride, const uint8_t *src,
|
|
@ -13,8 +13,8 @@
|
|||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "./vpx_config.h"
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
static INLINE int horizontal_add_s16x8(const int16x8_t v_16x8) {
|
||||
const int32x4_t a = vpaddlq_s16(v_16x8);
|
|
@ -13,8 +13,8 @@
|
|||
|
||||
#include "./vpx_config.h"
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
static INLINE int32x4_t MULTIPLY_BY_Q0(int16x4_t dsrc0, int16x4_t dsrc1,
|
||||
int16x4_t dsrc2, int16x4_t dsrc3,
|
|
@ -13,8 +13,8 @@
|
|||
|
||||
#include "./vpx_config.h"
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
static INLINE int32x4_t MULTIPLY_BY_Q0(int16x4_t dsrc0, int16x4_t dsrc1,
|
||||
int16x4_t dsrc2, int16x4_t dsrc3,
|
|
@ -11,7 +11,7 @@
|
|||
#include <arm_neon.h>
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
void vpx_convolve_avg_neon(const uint8_t *src, // r0
|
||||
ptrdiff_t src_stride, // r1
|
|
@ -11,7 +11,7 @@
|
|||
#include <arm_neon.h>
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
void vpx_convolve_copy_neon(const uint8_t *src, // r0
|
||||
ptrdiff_t src_stride, // r1
|
|
@ -11,8 +11,8 @@
|
|||
#include <assert.h>
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
void vpx_convolve8_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
|
||||
ptrdiff_t dst_stride, const int16_t *filter_x,
|
|
@ -10,7 +10,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
unsigned int vpx_avg_8x8_c(const uint8_t *src, int stride) {
|
||||
int i, j;
|
|
@ -11,12 +11,12 @@
|
|||
|
||||
#include "./vpx_config.h"
|
||||
|
||||
#include "vpx_dsp/bitreader.h"
|
||||
#include "vpx_dsp/prob.h"
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "vpx_mem/vpx_mem.h"
|
||||
#include "vpx_util/endian_inl.h"
|
||||
#include "aom_dsp/bitreader.h"
|
||||
#include "aom_dsp/prob.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
#include "aom_ports/mem.h"
|
||||
#include "aom_mem/vpx_mem.h"
|
||||
#include "aom_util/endian_inl.h"
|
||||
|
||||
int vpx_reader_init(vpx_reader *r, const uint8_t *buffer, size_t size,
|
||||
vpx_decrypt_cb decrypt_cb, void *decrypt_state) {
|
|
@ -21,11 +21,11 @@
|
|||
#include <stdio.h>
|
||||
#endif // CONFIG_BITSTREAM_DEBUG
|
||||
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "vpx/vp8dx.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_dsp/prob.h"
|
||||
#include "vpx_util/debug_util.h"
|
||||
#include "aom_ports/mem.h"
|
||||
#include "aom/vp8dx.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_dsp/prob.h"
|
||||
#include "aom_util/debug_util.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <limits.h>
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -11,9 +11,9 @@
|
|||
#ifndef VPX_DSP_BITWRITER_H_
|
||||
#define VPX_DSP_BITWRITER_H_
|
||||
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "vpx_dsp/prob.h"
|
||||
#include "vpx_util/debug_util.h"
|
||||
#include "aom_ports/mem.h"
|
||||
#include "aom_dsp/prob.h"
|
||||
#include "aom_util/debug_util.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef VPX_DSP_BITWRITER_BUFFER_H_
|
||||
#define VPX_DSP_BITWRITER_BUFFER_H_
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef VPX_DSP_BLEND_H_
|
||||
#define VPX_DSP_BLEND_H_
|
||||
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
// Various blending functions and macros.
|
||||
// See also the vpx_blend_* functions in vpx_dsp_rtcd.h
|
|
@ -10,10 +10,10 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "vpx_dsp/blend.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_ports/mem.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
#include "aom_dsp/blend.h"
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
|
|
@ -10,15 +10,15 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "vpx_dsp/blend.h"
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_ports/mem.h"
|
||||
#include "aom_dsp/blend.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
|
||||
// Blending with alpha mask. Mask values come from the range [0, 64],
|
||||
// as described for VPX_BLEND_A64 in vpx_dsp/blned.h. src0 or src1 can
|
||||
// as described for VPX_BLEND_A64 in aom_dsp/blned.h. src0 or src1 can
|
||||
// be the same as dst, or dst can be different from both sources.
|
||||
|
||||
void vpx_blend_a64_mask_c(uint8_t *dst, uint32_t dst_stride,
|
|
@ -10,10 +10,10 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "vpx_dsp/blend.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
#include "aom_ports/mem.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
#include "aom_dsp/blend.h"
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
const int16_t vpx_rv[] = {
|
||||
8, 5, 2, 2, 8, 12, 4, 9, 8, 3, 0, 3, 9, 0, 0, 0, 8, 3, 14,
|
|
@ -16,8 +16,8 @@
|
|||
#include <string.h>
|
||||
#include "./vpx_config.h"
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx_dsp/ssim.h"
|
||||
#include "vpx_ports/system_state.h"
|
||||
#include "aom_dsp/ssim.h"
|
||||
#include "aom_ports/system_state.h"
|
||||
|
||||
typedef struct fs_level fs_level;
|
||||
typedef struct fs_ctx fs_ctx;
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx_dsp/fwd_txfm.h"
|
||||
#include "aom_dsp/fwd_txfm.h"
|
||||
|
||||
void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride) {
|
||||
// The 2D transform is done with two passes which are actually pretty
|
||||
|
@ -744,7 +744,7 @@ void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *out, int stride) {
|
|||
for (j = 0; j < 32; ++j)
|
||||
// TODO(cd): see quality impact of only doing
|
||||
// output[j * 32 + i] = (temp_out[j] + 1) >> 2;
|
||||
// PS: also change code in vpx_dsp/x86/vpx_dct_sse2.c
|
||||
// PS: also change code in aom_dsp/x86/vpx_dct_sse2.c
|
||||
output[j * 32 + i] = (temp_out[j] + 1 + (temp_out[j] > 0)) >> 2;
|
||||
}
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef VPX_DSP_FWD_TXFM_H_
|
||||
#define VPX_DSP_FWD_TXFM_H_
|
||||
|
||||
#include "vpx_dsp/txfm_common.h"
|
||||
#include "aom_dsp/txfm_common.h"
|
||||
|
||||
static INLINE tran_high_t fdct_round_shift(tran_high_t input) {
|
||||
tran_high_t rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS);
|
|
@ -11,8 +11,8 @@
|
|||
#include "./vpx_config.h"
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "vpx_mem/vpx_mem.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
#include "aom_mem/vpx_mem.h"
|
||||
|
||||
#define DST(x, y) dst[(x) + (y)*stride]
|
||||
#define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2)
|
|
@ -12,7 +12,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx_dsp/inv_txfm.h"
|
||||
#include "aom_dsp/inv_txfm.h"
|
||||
|
||||
void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int stride) {
|
||||
/* 4-point reversible, orthonormal inverse Walsh-Hadamard in 3.5 adds,
|
|
@ -14,8 +14,8 @@
|
|||
#include <assert.h>
|
||||
|
||||
#include "./vpx_config.h"
|
||||
#include "vpx_dsp/txfm_common.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_dsp/txfm_common.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -12,8 +12,8 @@
|
|||
|
||||
#include "./vpx_config.h"
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
static INLINE int8_t signed_char_clamp(int t) {
|
||||
return (int8_t)clamp(t, -128, 127);
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx_dsp/mips/macros_msa.h"
|
||||
#include "aom_dsp/mips/macros_msa.h"
|
||||
|
||||
uint32_t vpx_avg_8x8_msa(const uint8_t *src, int32_t src_stride) {
|
||||
uint32_t sum_out;
|
|
@ -8,7 +8,7 @@
|
|||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "vpx_dsp/mips/common_dspr2.h"
|
||||
#include "aom_dsp/mips/common_dspr2.h"
|
||||
|
||||
#if HAVE_DSPR2
|
||||
uint8_t vpx_ff_cropTbl_a[256 + 2 * CROP_WIDTH];
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include "./vpx_config.h"
|
||||
#include "vpx/vpx_integer.h"
|
||||
#include "aom/vpx_integer.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -21,7 +21,7 @@ extern "C" {
|
|||
#if HAVE_DSPR2
|
||||
#define CROP_WIDTH 512
|
||||
|
||||
extern uint8_t *vpx_ff_cropTbl; // From "vpx_dsp/mips/intrapred4_dspr2.c"
|
||||
extern uint8_t *vpx_ff_cropTbl; // From "aom_dsp/mips/intrapred4_dspr2.c"
|
||||
|
||||
static INLINE void prefetch_load(const unsigned char *src) {
|
||||
__asm__ __volatile__("pref 0, 0(%[src]) \n\t" : : [src] "r"(src));
|
|
@ -12,10 +12,10 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx_dsp/mips/convolve_common_dspr2.h"
|
||||
#include "vpx_dsp/vpx_convolve.h"
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_dsp/mips/convolve_common_dspr2.h"
|
||||
#include "aom_dsp/vpx_convolve.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
#if HAVE_DSPR2
|
||||
static void convolve_bi_avg_vert_4_dspr2(const uint8_t *src, int32_t src_stride,
|
|
@ -12,10 +12,10 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "./vpx_dsp_rtcd.h"
|
||||
#include "vpx_dsp/mips/convolve_common_dspr2.h"
|
||||
#include "vpx_dsp/vpx_convolve.h"
|
||||
#include "vpx_dsp/vpx_dsp_common.h"
|
||||
#include "vpx_ports/mem.h"
|
||||
#include "aom_dsp/mips/convolve_common_dspr2.h"
|
||||
#include "aom_dsp/vpx_convolve.h"
|
||||
#include "aom_dsp/vpx_dsp_common.h"
|
||||
#include "aom_ports/mem.h"
|
||||
|
||||
#if HAVE_DSPR2
|
||||
static void convolve_bi_avg_horiz_4_dspr2(const uint8_t *src,
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче