2010-05-18 17:58:33 +02:00
|
|
|
/*
|
2010-09-09 14:16:39 +02:00
|
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
2010-05-18 17:58:33 +02:00
|
|
|
*
|
2010-06-18 18:39:21 +02:00
|
|
|
* Use of this source code is governed by a BSD-style license
|
2010-06-04 22:19:40 +02:00
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
2010-06-18 18:39:21 +02:00
|
|
|
* in the file PATENTS. All contributing project authors may
|
2010-06-04 22:19:40 +02:00
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
2010-05-18 17:58:33 +02:00
|
|
|
*/
|
|
|
|
|
2012-11-28 19:41:40 +01:00
|
|
|
#include "vp9/common/vp9_invtrans.h"
|
2012-11-25 04:33:58 +01:00
|
|
|
#include "./vp9_rtcd.h"
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2013-05-20 19:03:17 +02:00
|
|
|
void vp9_inverse_transform_b_4x4_add(MACROBLOCKD *xd, int eob, int16_t *dqcoeff,
|
|
|
|
uint8_t *dest, int stride) {
|
2013-03-04 23:12:17 +01:00
|
|
|
if (eob <= 1)
|
2013-05-20 19:03:17 +02:00
|
|
|
xd->inv_txm4x4_1_add(dqcoeff, dest, stride);
|
2012-07-14 00:21:29 +02:00
|
|
|
else
|
2013-05-20 19:03:17 +02:00
|
|
|
xd->inv_txm4x4_add(dqcoeff, dest, stride);
|
2010-05-18 17:58:33 +02:00
|
|
|
}
|