mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Rename all files containing "kvazaar" or "kvz" to "uvg266" and "uvg"
This commit is contained in:
parent
f14ea35ec9
commit
b5dce4c94e
|
@ -7,13 +7,13 @@ test-kvazaar: &test-template
|
||||||
script:
|
script:
|
||||||
- bash .travis-install.bash
|
- bash .travis-install.bash
|
||||||
- export PATH="${HOME}/bin:${PATH}"
|
- export PATH="${HOME}/bin:${PATH}"
|
||||||
- ./autogen.sh
|
- cmake .
|
||||||
- ./configure --enable-werror || (cat config.log && false)
|
- ./configure --enable-werror || (cat config.log && false)
|
||||||
- make --jobs=8
|
- make --jobs=8
|
||||||
- make check --jobs=8 VERBOSE=1
|
- make check --jobs=8 VERBOSE=1
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- src/kvazaar
|
- src/uvg266
|
||||||
- src/.libs
|
- src/.libs
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ HOMEPAGE_URL https://github.com/ultravideo/uvg266
|
||||||
DESCRIPTION "An open-source VVC encoder licensed under 3-clause BSD"
|
DESCRIPTION "An open-source VVC encoder licensed under 3-clause BSD"
|
||||||
VERSION 0.2.3)
|
VERSION 0.2.3)
|
||||||
|
|
||||||
configure_file("${PROJECT_SOURCE_DIR}/src/kvazaar.pc.in" "${PROJECT_SOURCE_DIR}/src/kvazaar.pc" @ONLY)
|
configure_file("${PROJECT_SOURCE_DIR}/src/uvg266.pc.in" "${PROJECT_SOURCE_DIR}/src/uvg266.pc" @ONLY)
|
||||||
|
|
||||||
option(USE_SHARED_LIB "Build using shared uvg266 library" ON)
|
option(USE_SHARED_LIB "Build using shared uvg266 library" ON)
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "videoframe.h"
|
#include "videoframe.h"
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "nal.h"
|
#include "nal.h"
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
#ifdef UVG_DEBUG_PRINT_CABAC
|
#ifdef UVG_DEBUG_PRINT_CABAC
|
||||||
uint32_t uvg_cabac_bins_count = 0;
|
uint32_t uvg_cabac_bins_count = 0;
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
/* Function definitions */
|
/* Function definitions */
|
||||||
uvg_config *uvg_config_alloc(void);
|
uvg_config *uvg_config_alloc(void);
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
typedef struct cmdline_opts_t {
|
typedef struct cmdline_opts_t {
|
||||||
/** \brief Input filename */
|
/** \brief Input filename */
|
||||||
|
|
2
src/cu.h
2
src/cu.h
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
|
|
||||||
//Cu stuff
|
//Cu stuff
|
||||||
|
|
|
@ -57,8 +57,8 @@
|
||||||
#include "cli.h"
|
#include "cli.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "kvazaar_internal.h"
|
#include "uvg266_internal.h"
|
||||||
#include "threads.h"
|
#include "threads.h"
|
||||||
#include "yuv_io.h"
|
#include "yuv_io.h"
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#include "imagelist.h"
|
#include "imagelist.h"
|
||||||
#include "inter.h"
|
#include "inter.h"
|
||||||
#include "intra.h"
|
#include "intra.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "uvg_math.h"
|
#include "uvg_math.h"
|
||||||
#include "strategyselector.h"
|
#include "strategyselector.h"
|
||||||
#include "tables.h"
|
#include "tables.h"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "scalinglist.h"
|
#include "scalinglist.h"
|
||||||
#include "threadqueue.h"
|
#include "threadqueue.h"
|
||||||
#include "fast_coeff_cost.h"
|
#include "fast_coeff_cost.h"
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#include "encoder_state-geometry.h"
|
#include "encoder_state-geometry.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "imagelist.h"
|
#include "imagelist.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "uvg_math.h"
|
#include "uvg_math.h"
|
||||||
#include "nal.h"
|
#include "nal.h"
|
||||||
#include "scalinglist.h"
|
#include "scalinglist.h"
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "imagelist.h"
|
#include "imagelist.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "threadqueue.h"
|
#include "threadqueue.h"
|
||||||
#include "videoframe.h"
|
#include "videoframe.h"
|
||||||
#include "rate_control.h"
|
#include "rate_control.h"
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "imagelist.h"
|
#include "imagelist.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "tables.h"
|
#include "tables.h"
|
||||||
#include "threadqueue.h"
|
#include "threadqueue.h"
|
||||||
#include "videoframe.h"
|
#include "videoframe.h"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "fast_coeff_cost.h"
|
#include "fast_coeff_cost.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
|
|
||||||
// Note: Assumes that costs are non-negative, for pretty obvious reasons
|
// Note: Assumes that costs are non-negative, for pretty obvious reasons
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#define FAST_COEFF_COST_H_
|
#define FAST_COEFF_COST_H_
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
// #include "encoderstate.h"
|
// #include "encoderstate.h"
|
||||||
|
|
||||||
#define MAX_FAST_COEFF_COST_QP 50
|
#define MAX_FAST_COEFF_COST_QP 50
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "transform.h"
|
#include "transform.h"
|
||||||
#include "videoframe.h"
|
#include "videoframe.h"
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <kvazaar.h>
|
#include <uvg266.h>
|
||||||
|
|
||||||
|
|
||||||
static const uvg_gop_config uvg_gop_lowdelay4[4] = {
|
static const uvg_gop_config uvg_gop_lowdelay4[4] = {
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "strategies/optimized_sad_func_ptr_t.h"
|
#include "strategies/optimized_sad_func_ptr_t.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
|
|
||||||
// Forward declaration.
|
// Forward declaration.
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
extern const int8_t uvg_g_imv_to_prec[4];
|
extern const int8_t uvg_g_imv_to_prec[4];
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
// Maximum possible reference line length for intra blocks
|
// Maximum possible reference line length for intra blocks
|
||||||
#define INTRA_REF_LENGTH (2 * 128 + 3 + 33 * MAX_REF_LINE_IDX)
|
#define INTRA_REF_LENGTH (2 * 128 + 3 + 33 * MAX_REF_LINE_IDX)
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "bitstream.h"
|
#include "bitstream.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
|
|
||||||
#define SEI_HASH_MAX_LENGTH 16
|
#define SEI_HASH_MAX_LENGTH 16
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "pthread.h"
|
#include "pthread.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "videoframe.h"
|
#include "videoframe.h"
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "nal.h"
|
#include "nal.h"
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "videoframe.h"
|
#include "videoframe.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "imagelist.h"
|
#include "imagelist.h"
|
||||||
#include "inter.h"
|
#include "inter.h"
|
||||||
#include "intra.h"
|
#include "intra.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "rdo.h"
|
#include "rdo.h"
|
||||||
#include "search_inter.h"
|
#include "search_inter.h"
|
||||||
#include "search_intra.h"
|
#include "search_intra.h"
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "imagelist.h"
|
#include "imagelist.h"
|
||||||
#include "inter.h"
|
#include "inter.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "rdo.h"
|
#include "rdo.h"
|
||||||
#include "search.h"
|
#include "search.h"
|
||||||
#include "strategies/strategies-ipol.h"
|
#include "strategies/strategies-ipol.h"
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "inter.h"
|
#include "inter.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
#define UVG_LUMA_FILTER_TAPS 8
|
#define UVG_LUMA_FILTER_TAPS 8
|
||||||
#define UVG_LUMA_FILTER_OFFSET 3
|
#define UVG_LUMA_FILTER_OFFSET 3
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "intra.h"
|
#include "intra.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "rdo.h"
|
#include "rdo.h"
|
||||||
#include "search.h"
|
#include "search.h"
|
||||||
#include "strategies/strategies-picture.h"
|
#include "strategies/strategies-picture.h"
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#define bool _Bool
|
#define bool _Bool
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "strategyselector.h"
|
#include "strategyselector.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "strategies/avx2/alf-avx2.h"
|
#include "strategies/avx2/alf-avx2.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_AVX2
|
#if COMPILE_INTEL_AVX2
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
|
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
int uvg_strategy_register_alf_avx2(void* opaque, uint8_t bitdepth);
|
int uvg_strategy_register_alf_avx2(void* opaque, uint8_t bitdepth);
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "strategies/avx2/dct-avx2.h"
|
#include "strategies/avx2/dct-avx2.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_AVX2
|
#if COMPILE_INTEL_AVX2
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "strategies/avx2/intra-avx2.h"
|
#include "strategies/avx2/intra-avx2.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_AVX2 && defined X86_64
|
#if COMPILE_INTEL_AVX2 && defined X86_64
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
|
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "search_inter.h"
|
#include "search_inter.h"
|
||||||
#include "strategies/generic/picture-generic.h"
|
#include "strategies/generic/picture-generic.h"
|
||||||
#include "strategies/strategies-ipol.h"
|
#include "strategies/strategies-ipol.h"
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_AVX2
|
#if COMPILE_INTEL_AVX2
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
#include "strategies/avx2/picture-avx2.h"
|
#include "strategies/avx2/picture-avx2.h"
|
||||||
#include "strategies/avx2/reg_sad_pow2_widths-avx2.h"
|
#include "strategies/avx2/reg_sad_pow2_widths-avx2.h"
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "rdo.h"
|
#include "rdo.h"
|
||||||
#include "scalinglist.h"
|
#include "scalinglist.h"
|
||||||
#include "strategies/generic/quant-generic.h"
|
#include "strategies/generic/quant-generic.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#ifndef REG_SAD_POW2_WIDTHS_AVX2_H_
|
#ifndef REG_SAD_POW2_WIDTHS_AVX2_H_
|
||||||
#define REG_SAD_POW2_WIDTHS_AVX2_H_
|
#define REG_SAD_POW2_WIDTHS_AVX2_H_
|
||||||
|
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "strategies/avx2/sao-avx2.h"
|
#include "strategies/avx2/sao-avx2.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_AVX2
|
#if COMPILE_INTEL_AVX2
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
#include <nmmintrin.h>
|
#include <nmmintrin.h>
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "alf.h"
|
#include "alf.h"
|
||||||
#include "strategyselector.h"
|
#include "strategyselector.h"
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "intra.h"
|
#include "intra.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "strategyselector.h"
|
#include "strategyselector.h"
|
||||||
#include "uvg_math.h"
|
#include "uvg_math.h"
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
int uvg_strategy_register_ipol_generic(void* opaque, uint8_t bitdepth);
|
int uvg_strategy_register_ipol_generic(void* opaque, uint8_t bitdepth);
|
||||||
void uvg_sample_quarterpel_luma_generic(const encoder_control_t * const encoder, uvg_pixel *src, int16_t src_stride, int width, int height, uvg_pixel *dst, int16_t dst_stride, int8_t hor_flag, int8_t ver_flag, const int16_t mv[2]);
|
void uvg_sample_quarterpel_luma_generic(const encoder_control_t * const encoder, uvg_pixel *src, int16_t src_stride, int width, int height, uvg_pixel *dst, int16_t dst_stride, int8_t hor_flag, int8_t ver_flag, const int16_t mv[2]);
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "strategies/generic/nal-generic.h"
|
#include "strategies/generic/nal-generic.h"
|
||||||
|
|
||||||
#include "extras/libmd5.h"
|
#include "extras/libmd5.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "nal.h"
|
#include "nal.h"
|
||||||
#include "strategyselector.h"
|
#include "strategyselector.h"
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
int uvg_strategy_register_picture_generic(void* opaque, uint8_t bitdepth);
|
int uvg_strategy_register_picture_generic(void* opaque, uint8_t bitdepth);
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "tables.h"
|
#include "tables.h"
|
||||||
|
|
||||||
#define QUANT_SHIFT 14
|
#define QUANT_SHIFT 14
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "sao.h"
|
#include "sao.h"
|
||||||
#include "strategyselector.h"
|
#include "strategyselector.h"
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
// #include "encoder.h"
|
// #include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "sao.h"
|
#include "sao.h"
|
||||||
|
|
||||||
// Mapping of edge_idx values to eo-classes.
|
// Mapping of edge_idx values to eo-classes.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef OPTIMIZED_SAD_FUNC_T_H_
|
#ifndef OPTIMIZED_SAD_FUNC_T_H_
|
||||||
#define OPTIMIZED_SAD_FUNC_T_H_
|
#define OPTIMIZED_SAD_FUNC_T_H_
|
||||||
|
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \param data1: Picture block pointer
|
* \param data1: Picture block pointer
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "strategies/sse2/picture-sse2.h"
|
#include "strategies/sse2/picture-sse2.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_SSE2
|
#if COMPILE_INTEL_SSE2
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_SSE41
|
#if COMPILE_INTEL_SSE41
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
#include "strategies/sse41/alf-sse41.h"
|
#include "strategies/sse41/alf-sse41.h"
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
int uvg_strategy_register_alf_sse41(void* opaque, uint8_t bitdepth);
|
int uvg_strategy_register_alf_sse41(void* opaque, uint8_t bitdepth);
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_SSE41
|
#if COMPILE_INTEL_SSE41
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
#include "strategies/sse41/picture-sse41.h"
|
#include "strategies/sse41/picture-sse41.h"
|
||||||
#include "strategies/sse41/reg_sad_pow2_widths-sse41.h"
|
#include "strategies/sse41/reg_sad_pow2_widths-sse41.h"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
unsigned uvg_reg_sad_sse41(const uvg_pixel * const data1, const uvg_pixel * const data2,
|
unsigned uvg_reg_sad_sse41(const uvg_pixel * const data1, const uvg_pixel * const data2,
|
||||||
const int width, const int height, const unsigned stride1, const unsigned stride2);
|
const int width, const int height, const unsigned stride1, const unsigned stride2);
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#ifndef REG_SAD_POW2_WIDTHS_SSE41_H_
|
#ifndef REG_SAD_POW2_WIDTHS_SSE41_H_
|
||||||
#define REG_SAD_POW2_WIDTHS_SSE41_H_
|
#define REG_SAD_POW2_WIDTHS_SSE41_H_
|
||||||
|
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
#if UVG_BIT_DEPTH == 8
|
#if UVG_BIT_DEPTH == 8
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "alf.h"
|
#include "alf.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "tables.h"
|
#include "tables.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "intra.h"
|
#include "intra.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
|
|
||||||
typedef void (angular_pred_func)(
|
typedef void (angular_pred_func)(
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "search_inter.h"
|
#include "search_inter.h"
|
||||||
|
|
||||||
// AVX2 implementation of horizontal filter reads and
|
// AVX2 implementation of horizontal filter reads and
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "nal.h"
|
#include "nal.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "inter.h"
|
#include "inter.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "strategies/optimized_sad_func_ptr_t.h"
|
#include "strategies/optimized_sad_func_ptr_t.h"
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "tables.h"
|
#include "tables.h"
|
||||||
|
|
||||||
// Declare function pointers.
|
// Declare function pointers.
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#include "encoder.h"
|
#include "encoder.h"
|
||||||
#include "encoderstate.h"
|
#include "encoderstate.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "sao.h"
|
#include "sao.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "transform.h"
|
#include "transform.h"
|
||||||
|
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "rdo.h"
|
#include "rdo.h"
|
||||||
#include "strategies/strategies-dct.h"
|
#include "strategies/strategies-dct.h"
|
||||||
#include "strategies/strategies-quant.h"
|
#include "strategies/strategies-quant.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
#include "input_frame_buffer.h"
|
#include "input_frame_buffer.h"
|
||||||
#include "kvazaar_internal.h"
|
#include "uvg266_internal.h"
|
||||||
#include "strategyselector.h"
|
#include "strategyselector.h"
|
||||||
#include "threadqueue.h"
|
#include "threadqueue.h"
|
||||||
#include "videoframe.h"
|
#include "videoframe.h"
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
#include "input_frame_buffer.h"
|
#include "input_frame_buffer.h"
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include "cu.h"
|
#include "cu.h"
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "global.h" // IWYU pragma: keep
|
#include "global.h" // IWYU pragma: keep
|
||||||
#include "kvazaar.h"
|
#include "uvg266.h"
|
||||||
|
|
||||||
int yuv_io_read(FILE* file,
|
int yuv_io_read(FILE* file,
|
||||||
unsigned input_width, unsigned input_height,
|
unsigned input_width, unsigned input_height,
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Check for external symbols without kvz_ prefix.
|
# Check for external symbols without uvg_ prefix.
|
||||||
|
|
||||||
set -eu${BASH+o pipefail}
|
set -eu${BASH+o pipefail}
|
||||||
|
|
||||||
if nm -go --defined-only ../src/.libs/libkvazaar.a | grep -v ' kvz_'; then
|
if nm -go --defined-only ../src/.libs/libuvg266.a | grep -v ' uvg_'; then
|
||||||
printf '%s\n' 'Only symbols prefixed with "kvz_" should be exported from libkvazaar.'
|
printf '%s\n' 'Only symbols prefixed with "uvg_" should be exported from libuvg266.'
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue