Commit 6094bf37 authored by Jingning Han's avatar Jingning Han

Cosmetic changes in 4x4 and 8x8 fdct unit tests

Make the codes consistent with conventions.

Change-Id: Id044ed8382f83a3c3f54f9edd569f00bcd0523db
parent 31403080
......@@ -44,10 +44,8 @@ void iht4x4_add(int16_t* /*in*/, int16_t *out, uint8_t *dst,
class FwdTrans4x4Test : public ::testing::TestWithParam<int> {
public:
FwdTrans4x4Test() { SetUpTestTxfm(); }
~FwdTrans4x4Test() {}
void SetUpTestTxfm() {
virtual ~FwdTrans4x4Test() {}
virtual void SetUp() {
tx_type_ = GetParam();
if (tx_type_ == 0) {
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> {
public:
FwdTrans8x8Test() { SetUpTestTxfm(); }
~FwdTrans8x8Test() {}
void SetUpTestTxfm() {
virtual ~FwdTrans8x8Test() {}
virtual void SetUp() {
tx_type_ = GetParam();
if (tx_type_ == 0) {
fwd_txfm = fdct8x8;
......
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