adopt some clang 5.0.0 formatting
At least the changes that don't conflict with 4.0.1 Change-Id: I9b6a7c14dadc0738cd0f628a10ece90fc7ee89fd
This commit is contained in:
parent
1633786bfb
commit
f5b2dd2a66
@ -28,8 +28,8 @@
|
|||||||
|
|
||||||
using libvpx_test::ACMRandom;
|
using libvpx_test::ACMRandom;
|
||||||
using libvpx_test::Buffer;
|
using libvpx_test::Buffer;
|
||||||
using std::tr1::tuple;
|
|
||||||
using std::tr1::make_tuple;
|
using std::tr1::make_tuple;
|
||||||
|
using std::tr1::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);
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
|
|
||||||
using libvpx_test::ACMRandom;
|
using libvpx_test::ACMRandom;
|
||||||
using libvpx_test::Buffer;
|
using libvpx_test::Buffer;
|
||||||
using std::tr1::tuple;
|
|
||||||
using std::tr1::make_tuple;
|
using std::tr1::make_tuple;
|
||||||
|
using std::tr1::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);
|
||||||
|
@ -174,4 +174,4 @@ INSTANTIATE_TEST_CASE_P(MSA, IDCTTest,
|
|||||||
INSTANTIATE_TEST_CASE_P(MMI, IDCTTest,
|
INSTANTIATE_TEST_CASE_P(MMI, IDCTTest,
|
||||||
::testing::Values(vp8_short_idct4x4llm_mmi));
|
::testing::Values(vp8_short_idct4x4llm_mmi));
|
||||||
#endif // HAVE_MMI
|
#endif // HAVE_MMI
|
||||||
}
|
} // namespace
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using std::string;
|
|
||||||
using libvpx_test::ACMRandom;
|
using libvpx_test::ACMRandom;
|
||||||
|
using std::string;
|
||||||
|
|
||||||
#if CONFIG_WEBM_IO
|
#if CONFIG_WEBM_IO
|
||||||
|
|
||||||
|
@ -130,8 +130,8 @@ static int y4m_parse_tags(y4m_input *_y4m, char *_tags) {
|
|||||||
The number of taps is intentionally kept small to reduce computational
|
The number of taps is intentionally kept small to reduce computational
|
||||||
overhead and limit ringing.
|
overhead and limit ringing.
|
||||||
|
|
||||||
The taps from these filters are scaled so that their sum is 1, and the result
|
The taps from these filters are scaled so that their sum is 1, and the
|
||||||
is scaled by 128 and rounded to integers to create a filter whose
|
result is scaled by 128 and rounded to integers to create a filter whose
|
||||||
intermediate values fit inside 16 bits.
|
intermediate values fit inside 16 bits.
|
||||||
Coefficients are rounded in such a way as to ensure their sum is still 128,
|
Coefficients are rounded in such a way as to ensure their sum is still 128,
|
||||||
which is usually equivalent to normal rounding.
|
which is usually equivalent to normal rounding.
|
||||||
|
Loading…
Reference in New Issue
Block a user