clang-format v6.0.1
Change-Id: I83c7e64fe70f7c49aa2492ed2d640c6756b7ebaa
This commit is contained in:
@@ -26,10 +26,10 @@
|
|||||||
#include "vpx/vpx_integer.h"
|
#include "vpx/vpx_integer.h"
|
||||||
#include "vpx_dsp/vpx_dsp_common.h"
|
#include "vpx_dsp/vpx_dsp_common.h"
|
||||||
|
|
||||||
using ::testing::make_tuple;
|
|
||||||
using ::testing::tuple;
|
|
||||||
using libvpx_test::ACMRandom;
|
using libvpx_test::ACMRandom;
|
||||||
using libvpx_test::Buffer;
|
using libvpx_test::Buffer;
|
||||||
|
using ::testing::make_tuple;
|
||||||
|
using ::testing::tuple;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
typedef void (*PartialFdctFunc)(const int16_t *in, tran_low_t *out, int stride);
|
typedef void (*PartialFdctFunc)(const int16_t *in, tran_low_t *out, int stride);
|
||||||
|
|||||||
@@ -26,10 +26,10 @@
|
|||||||
#include "vpx/vpx_integer.h"
|
#include "vpx/vpx_integer.h"
|
||||||
#include "vpx_ports/mem.h"
|
#include "vpx_ports/mem.h"
|
||||||
|
|
||||||
using ::testing::make_tuple;
|
|
||||||
using ::testing::tuple;
|
|
||||||
using libvpx_test::ACMRandom;
|
using libvpx_test::ACMRandom;
|
||||||
using libvpx_test::Buffer;
|
using libvpx_test::Buffer;
|
||||||
|
using ::testing::make_tuple;
|
||||||
|
using ::testing::tuple;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
typedef void (*FdctFunc)(const int16_t *in, tran_low_t *out, int stride);
|
typedef void (*FdctFunc)(const int16_t *in, tran_low_t *out, int stride);
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using ::testing::make_tuple;
|
|
||||||
using libvpx_test::ACMRandom;
|
using libvpx_test::ACMRandom;
|
||||||
|
using ::testing::make_tuple;
|
||||||
|
|
||||||
typedef void (*PredictFunc)(uint8_t *src_ptr, int src_pixels_per_line,
|
typedef void (*PredictFunc)(uint8_t *src_ptr, int src_pixels_per_line,
|
||||||
int xoffset, int yoffset, uint8_t *dst_ptr,
|
int xoffset, int yoffset, uint8_t *dst_ptr,
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ typedef void (*VP8Quantize)(BLOCK *b, BLOCKD *d);
|
|||||||
|
|
||||||
typedef ::testing::tuple<VP8Quantize, VP8Quantize> VP8QuantizeParam;
|
typedef ::testing::tuple<VP8Quantize, VP8Quantize> VP8QuantizeParam;
|
||||||
|
|
||||||
using ::testing::make_tuple;
|
|
||||||
using libvpx_test::ACMRandom;
|
using libvpx_test::ACMRandom;
|
||||||
|
using ::testing::make_tuple;
|
||||||
|
|
||||||
// Create and populate a VP8_COMP instance which has a complete set of
|
// Create and populate a VP8_COMP instance which has a complete set of
|
||||||
// quantization inputs as well as a second MACROBLOCKD for output.
|
// quantization inputs as well as a second MACROBLOCKD for output.
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ static struct vp8_extracfg default_extracfg = {
|
|||||||
#if !(CONFIG_REALTIME_ONLY)
|
#if !(CONFIG_REALTIME_ONLY)
|
||||||
0, /* cpu_used */
|
0, /* cpu_used */
|
||||||
#else
|
#else
|
||||||
4, /* cpu_used */
|
4, /* cpu_used */
|
||||||
#endif
|
#endif
|
||||||
0, /* enable_auto_alt_ref */
|
0, /* enable_auto_alt_ref */
|
||||||
0, /* noise_sensitivity */
|
0, /* noise_sensitivity */
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ extern "C" {
|
|||||||
#if HAVE_DSPR2
|
#if HAVE_DSPR2
|
||||||
#define DCT_CONST_ROUND_SHIFT_TWICE_COSPI_16_64(input) \
|
#define DCT_CONST_ROUND_SHIFT_TWICE_COSPI_16_64(input) \
|
||||||
({ \
|
({ \
|
||||||
\
|
|
||||||
int32_t tmp, out; \
|
int32_t tmp, out; \
|
||||||
int dct_cost_rounding = DCT_CONST_ROUNDING; \
|
int dct_cost_rounding = DCT_CONST_ROUNDING; \
|
||||||
int in = input; \
|
int in = input; \
|
||||||
|
|||||||
@@ -111,7 +111,6 @@ void vpx_subtract_block_vsx(int rows, int cols, int16_t *diff,
|
|||||||
pred, pred_stride);
|
pred, pred_stride);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default: assert(0); // unreachable
|
||||||
assert(0); // unreachable
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user