WebM Codec SDK

vpx_tpl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 The WebM project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
15#ifndef VPX_VPX_VPX_TPL_H_
16#define VPX_VPX_VPX_TPL_H_
17
18#include "./vpx_integer.h"
19#include "./vpx_codec.h"
20
21#ifdef __cplusplus
22 extern "C" {
23#endif
24
33#define VPX_TPL_ABI_VERSION 4
36 typedef struct VpxTplBlockStats {
37 int16_t row;
38 int16_t col;
39 int64_t intra_cost;
40 int64_t inter_cost;
41 int16_t mv_r;
42 int16_t mv_c;
43 int64_t srcrf_rate;
44 int64_t srcrf_dist;
45 int64_t inter_pred_err;
46 int64_t intra_pred_err;
47 int ref_frame_index;
48} VpxTplBlockStats;
49
51 typedef struct VpxTplFrameStats {
52 int frame_width;
53 int frame_height;
54 int num_blocks;
55 VpxTplBlockStats *block_stats_list;
56} VpxTplFrameStats;
57
59 typedef struct VpxTplGopStats {
60 int size;
61 VpxTplFrameStats *frame_stats_list;
62} VpxTplGopStats;
63
64#ifdef __cplusplus
65} // extern "C"
66#endif
67
68#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.
VpxTplBlockStats
struct VpxTplBlockStats VpxTplBlockStats
Temporal dependency model stats for each block before propagation.
VpxTplFrameStats
struct VpxTplFrameStats VpxTplFrameStats
Temporal dependency model stats for each frame before propagation.
VpxTplGopStats
struct VpxTplGopStats VpxTplGopStats
Temporal dependency model stats for each GOP before propagation.