Commit c27fc14b authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Port folder renaming changes from AOM

Manually cherry-picked commits:
ceef0583 libvpx->libaom part2
3d26d916 libvpx -> libaom
cfea7dd7 vp10/ -> av1/
3a8eff73 Fix a build issue for a test
bf4202ed Rename vpx to aom

Change-Id: I1b0eb5a40796e3aaf41c58984b4229a439a597dc
parent b1fb998c
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
/ivfdec.dox /ivfdec.dox
/ivfenc /ivfenc
/ivfenc.dox /ivfenc.dox
/libvpx.so* /libaom.so*
/libvpx.ver /libaom.ver
/samples.dox /samples.dox
/test_intra_pred_speed /test_intra_pred_speed
/test_libvpx /test_libvpx
......
...@@ -33,13 +33,13 @@ COMPILING THE APPLICATIONS/LIBRARIES: ...@@ -33,13 +33,13 @@ COMPILING THE APPLICATIONS/LIBRARIES:
$ mkdir build $ mkdir build
$ cd build $ cd build
$ ../libvpx/configure <options> $ ../libaom/configure <options>
$ make $ make
3. Configuration options 3. Configuration options
The 'configure' script supports a number of options. The --help option can be The 'configure' script supports a number of options. The --help option can be
used to get a list of supported options: used to get a list of supported options:
$ ../libvpx/configure --help $ ../libaom/configure --help
4. Cross development 4. Cross development
For cross development, the most notable option is the --target option. The For cross development, the most notable option is the --target option. The
...@@ -108,7 +108,7 @@ COMPILING THE APPLICATIONS/LIBRARIES: ...@@ -108,7 +108,7 @@ COMPILING THE APPLICATIONS/LIBRARIES:
toolchain, the following command could be used (note, POSIX SH syntax, adapt toolchain, the following command could be used (note, POSIX SH syntax, adapt
to your shell as necessary): 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 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 environment variables: CC, AR, LD, AS, STRIP, NM. Additional flags can be
...@@ -125,7 +125,7 @@ VP8/VP9 TEST VECTORS: ...@@ -125,7 +125,7 @@ VP8/VP9 TEST VECTORS:
LIBVPX_TEST_DATA_PATH environment variable can be used. LIBVPX_TEST_DATA_PATH environment variable can be used.
$ ./configure --enable-unit-tests $ ./configure --enable-unit-tests
$ LIBVPX_TEST_DATA_PATH=../libvpx-test-data make testdata $ LIBVPX_TEST_DATA_PATH=../-test-data make testdata
CODE STYLE: CODE STYLE:
The coding style used by this project is enforced with clang-format using the 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, ...@@ -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. /*!\brief Pass in external frame buffers for the decoder to use.
* *
* Registers functions to be called when libvpx needs a frame buffer * Registers functions to be called when libaom needs a frame buffer
* to decode the current frame and a function to be called when libvpx does * to decode the current frame and a function to be called when libaom does
* not internally reference the frame buffer. This set function must * 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. * default behavior of allocating frame buffers internally.
* *
* \param[in] ctx Pointer to this instance's context * \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, ...@@ -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 * \param[in] cb_priv Callback's private data
* *
* \retval #VPX_CODEC_OK * \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 * \retval #VPX_CODEC_INVALID_PARAM
* One or more of the callbacks were NULL. * One or more of the callbacks were NULL.
* \retval #VPX_CODEC_ERROR * \retval #VPX_CODEC_ERROR
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
*/ */
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
#include "vpx/vpx_integer.h" #include "aom/vpx_integer.h"
#include "vpx/internal/vpx_codec_internal.h" #include "aom/internal/vpx_codec_internal.h"
#include "vpx_version.h" #include "vpx_version.h"
#define SAVE_STATUS(ctx, var) (ctx ? (ctx->err = var) : var) #define SAVE_STATUS(ctx, var) (ctx ? (ctx->err = var) : var)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* *
*/ */
#include <string.h> #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) #define SAVE_STATUS(ctx, var) (ctx ? (ctx->err = var) : var)
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <limits.h> #include <limits.h>
#include <string.h> #include <string.h>
#include "vpx_config.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) #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, ...@@ -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 /* On X86, disable the x87 unit's internal 80 bit precision for better
* consistency with the SSE unit's 64 bit precision. * consistency with the SSE unit's 64 bit precision.
*/ */
#include "vpx_ports/x86.h" #include "aom_ports/x86.h"
#define FLOATING_POINT_INIT() \ #define FLOATING_POINT_INIT() \
do { \ do { \
unsigned short x87_orig_mode = x87_set_double_precision(); unsigned short x87_orig_mode = x87_set_double_precision();
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "vpx/vpx_image.h" #include "aom/vpx_image.h"
#include "vpx/vpx_integer.h" #include "aom/vpx_integer.h"
#include "vpx_mem/vpx_mem.h" #include "aom_mem/vpx_mem.h"
static vpx_image_t *img_alloc_helper(vpx_image_t *img, vpx_img_fmt_t fmt, static vpx_image_t *img_alloc_helper(vpx_image_t *img, vpx_img_fmt_t fmt,
unsigned int d_w, unsigned int d_h, 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, ...@@ -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. /*!\brief Pass in external frame buffers for the decoder to use.
* *
* Registers functions to be called when libvpx needs a frame buffer * Registers functions to be called when libaom needs a frame buffer
* to decode the current frame and a function to be called when libvpx does * to decode the current frame and a function to be called when libaom does
* not internally reference the frame buffer. This set function must * 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. * default behavior of allocating frame buffers internally.
* *
* \param[in] ctx Pointer to this instance's context * \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, ...@@ -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 * \param[in] cb_priv Callback's private data
* *
* \retval #VPX_CODEC_OK * \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 * \retval #VPX_CODEC_INVALID_PARAM
* One or more of the callbacks were NULL. * One or more of the callbacks were NULL.
* \retval #VPX_CODEC_ERROR * \retval #VPX_CODEC_ERROR
......
...@@ -21,7 +21,7 @@ extern "C" { ...@@ -21,7 +21,7 @@ extern "C" {
#include "./vpx_integer.h" #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. * Support maximum 4 threads to decode video in parallel.
* Each thread will use one work buffer. * Each thread will use one work buffer.
* TODO(hkuang): Add support to set number of worker threads dynamically. * TODO(hkuang): Add support to set number of worker threads dynamically.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment