vpx_tpl.h
Go to the documentation of this file.
/*
* Copyright (c) 2023 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 VPX_VPX_VPX_TPL_H_
#define VPX_VPX_VPX_TPL_H_
#include "./vpx_integer.h"
#include "./vpx_codec.h"
#ifdef __cplusplus
extern "C" {
#endif
#define VPX_TPL_ABI_VERSION 4
typedef struct VpxTplBlockStats {
int16_t row;
int16_t col;
int64_t intra_cost;
int64_t inter_cost;
int16_t mv_r;
int16_t mv_c;
int64_t srcrf_rate;
int64_t srcrf_dist;
int64_t inter_pred_err;
int64_t intra_pred_err;
int ref_frame_index;
} VpxTplBlockStats;
typedef struct VpxTplFrameStats {
int frame_width;
int frame_height;
int num_blocks;
VpxTplBlockStats *block_stats_list;
} VpxTplFrameStats;
typedef struct VpxTplGopStats {
int size;
VpxTplFrameStats *frame_stats_list;
} VpxTplGopStats;
#ifdef __cplusplus
} // extern "C"
#endif
#endif // VPX_VPX_VPX_TPL_H_
VpxTplBlockStats
Temporal dependency model stats for each block before propagation.
Definition vpx_tpl.h:36
VpxTplBlockStats::intra_cost
int64_t intra_cost
Definition vpx_tpl.h:39
VpxTplBlockStats::inter_pred_err
int64_t inter_pred_err
Definition vpx_tpl.h:45
VpxTplBlockStats::ref_frame_index
int ref_frame_index
Definition vpx_tpl.h:47
VpxTplBlockStats::col
int16_t col
Definition vpx_tpl.h:38
VpxTplBlockStats::intra_pred_err
int64_t intra_pred_err
Definition vpx_tpl.h:46
VpxTplBlockStats::inter_cost
int64_t inter_cost
Definition vpx_tpl.h:40
VpxTplBlockStats::mv_r
int16_t mv_r
Definition vpx_tpl.h:41
VpxTplBlockStats::row
int16_t row
Definition vpx_tpl.h:37
VpxTplBlockStats::srcrf_rate
int64_t srcrf_rate
Definition vpx_tpl.h:43
VpxTplBlockStats::srcrf_dist
int64_t srcrf_dist
Definition vpx_tpl.h:44
VpxTplBlockStats::mv_c
int16_t mv_c
Definition vpx_tpl.h:42
VpxTplFrameStats
Temporal dependency model stats for each frame before propagation.
Definition vpx_tpl.h:51
VpxTplFrameStats::block_stats_list
VpxTplBlockStats * block_stats_list
Definition vpx_tpl.h:55
VpxTplFrameStats::frame_width
int frame_width
Definition vpx_tpl.h:52
VpxTplFrameStats::num_blocks
int num_blocks
Definition vpx_tpl.h:54
VpxTplFrameStats::frame_height
int frame_height
Definition vpx_tpl.h:53
VpxTplGopStats
Temporal dependency model stats for each GOP before propagation.
Definition vpx_tpl.h:59
VpxTplGopStats::size
int size
Definition vpx_tpl.h:60
VpxTplGopStats::frame_stats_list
VpxTplFrameStats * frame_stats_list
Definition vpx_tpl.h:61
vpx_codec.h
Describes the codec algorithm interface to applications.