Merge "Cosmetic changes in 4x4 and 8x8 fdct unit tests"
This commit is contained in:
commit
70fe2b3ec3
@ -44,10 +44,8 @@ void iht4x4_add(int16_t* /*in*/, int16_t *out, uint8_t *dst,
|
|||||||
|
|
||||||
class FwdTrans4x4Test : public ::testing::TestWithParam<int> {
|
class FwdTrans4x4Test : public ::testing::TestWithParam<int> {
|
||||||
public:
|
public:
|
||||||
FwdTrans4x4Test() { SetUpTestTxfm(); }
|
virtual ~FwdTrans4x4Test() {}
|
||||||
~FwdTrans4x4Test() {}
|
virtual void SetUp() {
|
||||||
|
|
||||||
void SetUpTestTxfm() {
|
|
||||||
tx_type_ = GetParam();
|
tx_type_ = GetParam();
|
||||||
if (tx_type_ == 0) {
|
if (tx_type_ == 0) {
|
||||||
fwd_txfm_ = fdct4x4;
|
fwd_txfm_ = fdct4x4;
|
||||||
|
@ -51,10 +51,8 @@ void iht8x8_add(int16_t* /*in*/, int16_t *out, uint8_t *dst,
|
|||||||
|
|
||||||
class FwdTrans8x8Test : public ::testing::TestWithParam<int> {
|
class FwdTrans8x8Test : public ::testing::TestWithParam<int> {
|
||||||
public:
|
public:
|
||||||
FwdTrans8x8Test() { SetUpTestTxfm(); }
|
virtual ~FwdTrans8x8Test() {}
|
||||||
~FwdTrans8x8Test() {}
|
virtual void SetUp() {
|
||||||
|
|
||||||
void SetUpTestTxfm() {
|
|
||||||
tx_type_ = GetParam();
|
tx_type_ = GetParam();
|
||||||
if (tx_type_ == 0) {
|
if (tx_type_ == 0) {
|
||||||
fwd_txfm = fdct8x8;
|
fwd_txfm = fdct8x8;
|
||||||
|
Loading…
Reference in New Issue
Block a user