7ac3e3c1d6
It is the first version of MFQE in VP9. There are a few TODOs included in this version. Usage: Add flag --enable-vp9-postproc to config the project. In decoder, use flag --mfqe in the command line to enable MFQE in postproc. Note: Need to have key frame with low quality to see the effect of this new patch. In my experiment, I fixed the qindex to 200 in key frame. Change-Id: I021f9ce4616ed3574c81e48d968662994b56a396
32 lines
1.0 KiB
C
32 lines
1.0 KiB
C
/*
|
|
* Copyright (c) 2014 The WebM project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef VP9_COMMON_VP9_MFQE_H_
|
|
#define VP9_COMMON_VP9_MFQE_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// Multiframe Quality Enhancement.
|
|
// The aim for MFQE is to replace pixel blocks in the current frame with
|
|
// the correlated pixel blocks (with higher quality) in the last frame.
|
|
// The replacement can only be taken in stationary blocks by checking
|
|
// the motion of the blocks and other conditions such as the SAD of
|
|
// the current block and correlated block, the variance of the block
|
|
// difference, etc.
|
|
void vp9_mfqe(struct VP9Common *cm);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif // VP9_COMMON_VP9_MFQE_H_
|