4dbad63a71
Various cleanups and streamlining of interfaces as precursor to further advancements in rate control. Pre-encode parameter setting for different use cases: One-pass, first of 2-pass, second of 2-pass, and Svc are separated out. There is no change in output with this change. Change-Id: Ied8ca7d84d610993776aa30ef263fe20452e0e3e
28 lines
948 B
C
28 lines
948 B
C
/*
|
|
* Copyright (c) 2010 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_ENCODER_VP9_FIRSTPASS_H_
|
|
#define VP9_ENCODER_VP9_FIRSTPASS_H_
|
|
#include "vp9/encoder/vp9_onyx_int.h"
|
|
|
|
void vp9_init_first_pass(VP9_COMP *cpi);
|
|
void vp9_first_pass(VP9_COMP *cpi);
|
|
void vp9_end_first_pass(VP9_COMP *cpi);
|
|
|
|
void vp9_init_second_pass(VP9_COMP *cpi);
|
|
void vp9_get_second_pass_params(VP9_COMP *cpi);
|
|
void vp9_end_second_pass(VP9_COMP *cpi);
|
|
|
|
void vp9_get_first_pass_params(VP9_COMP *cpi);
|
|
void vp9_get_one_pass_params(VP9_COMP *cpi);
|
|
void vp9_get_svc_params(VP9_COMP *cpi);
|
|
|
|
#endif // VP9_ENCODER_VP9_FIRSTPASS_H_
|