292d221fed
Current commit is just an API template for the rest of the code, and I will add inner logic later. Altref frames generate a lot of bitrate and at the same time other frames refer to them a lot, so it makes sense to apply special compensation-based adaptive quantization scheme for altref frames. E.g., for blocks that are good predictors for the future apply rate-control chosen quantizer while for bad predictors apply worse one. Change-Id: Iba3f8ec349470673b7249f6a125f6859336a47c8
36 lines
933 B
C
36 lines
933 B
C
/*
|
|
* Copyright (c) 2016 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.
|
|
*/
|
|
|
|
/*
|
|
* \file vp9_alt_ref_aq_private.h
|
|
*
|
|
* This file describes class used for setting up adaptive segmentation
|
|
* for altref frames. It is private file and most likely you need
|
|
* alt_ref_aq.h instead.
|
|
*/
|
|
|
|
#ifndef VP9_ENCODER_VP9_ALT_REF_AQ_PRIVATE_H_
|
|
#define VP9_ENCODER_VP9_ALT_REF_AQ_PRIVATE_H_
|
|
|
|
#include "vp9/encoder/vp9_alt_ref_aq.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct ALT_REF_AQ {};
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif // VP9_ENCODER_VP9_ALT_REF_AQ_PRIVATE_H_
|