2012-05-04 18:46:57 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2012 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.
|
|
|
|
*/
|
2013-12-16 03:25:05 +01:00
|
|
|
#ifndef VP8_ENCODER_ENCODEFRAME_H_
|
|
|
|
#define VP8_ENCODER_ENCODEFRAME_H_
|
2014-01-18 21:16:11 +01:00
|
|
|
|
2017-06-16 11:12:18 +02:00
|
|
|
#include "vp8/encoder/tokenize.h"
|
|
|
|
|
2014-01-18 21:16:11 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2012-05-04 18:46:57 +02:00
|
|
|
|
2017-06-16 11:12:18 +02:00
|
|
|
struct VP8_COMP;
|
|
|
|
struct macroblock;
|
|
|
|
|
|
|
|
void vp8_activity_masking(struct VP8_COMP *cpi, MACROBLOCK *x);
|
|
|
|
|
|
|
|
void vp8_build_block_offsets(struct macroblock *x);
|
2012-05-04 18:46:57 +02:00
|
|
|
|
2017-06-16 11:12:18 +02:00
|
|
|
void vp8_setup_block_ptrs(struct macroblock *x);
|
2012-05-04 18:46:57 +02:00
|
|
|
|
2017-06-16 11:12:18 +02:00
|
|
|
void vp8_encode_frame(struct VP8_COMP *cpi);
|
2012-05-04 18:46:57 +02:00
|
|
|
|
2017-06-16 11:12:18 +02:00
|
|
|
int vp8cx_encode_inter_macroblock(struct VP8_COMP *cpi, struct macroblock *x,
|
|
|
|
TOKENEXTRA **t, int recon_yoffset,
|
|
|
|
int recon_uvoffset, int mb_row, int mb_col);
|
2012-05-04 18:46:57 +02:00
|
|
|
|
2017-06-16 11:12:18 +02:00
|
|
|
int vp8cx_encode_intra_macroblock(struct VP8_COMP *cpi, struct macroblock *x,
|
|
|
|
TOKENEXTRA **t);
|
2014-01-18 21:16:11 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
2013-12-16 03:25:05 +01:00
|
|
|
#endif // VP8_ENCODER_ENCODEFRAME_H_
|