WebM Codec SDK: vpx/vpx_tpl.h Source File

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
22extern "C" {
23#endif
24
33#define VPX_TPL_ABI_VERSION 5
34
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 pred_error;
46 int64_t inter_pred_err;
47 int64_t intra_pred_err;
48 int ref_frame_index;
49} VpxTplBlockStats;
50
52 typedef struct VpxTplFrameStats {
53 int frame_width;
54 int frame_height;
55 int num_blocks;
56 VpxTplBlockStats *block_stats_list;
57} VpxTplFrameStats;
58
60 typedef struct VpxTplGopStats {
61 int size;
62 VpxTplFrameStats *frame_stats_list;
63} VpxTplGopStats;
64
65#ifdef __cplusplus
66} // extern "C"
67#endif
68
69#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:46
VpxTplBlockStats::ref_frame_index
int ref_frame_index
Definition vpx_tpl.h:48
VpxTplBlockStats::col
int16_t col
Definition vpx_tpl.h:38
VpxTplBlockStats::pred_error
int64_t pred_error
Definition vpx_tpl.h:45
VpxTplBlockStats::intra_pred_err
int64_t intra_pred_err
Definition vpx_tpl.h:47
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:52
VpxTplFrameStats::block_stats_list
VpxTplBlockStats * block_stats_list
Definition vpx_tpl.h:56
VpxTplFrameStats::frame_width
int frame_width
Definition vpx_tpl.h:53
VpxTplFrameStats::num_blocks
int num_blocks
Definition vpx_tpl.h:55
VpxTplFrameStats::frame_height
int frame_height
Definition vpx_tpl.h:54
VpxTplGopStats
Temporal dependency model stats for each GOP before propagation.
Definition vpx_tpl.h:60
VpxTplGopStats::size
int size
Definition vpx_tpl.h:61
VpxTplGopStats::frame_stats_list
VpxTplFrameStats * frame_stats_list
Definition vpx_tpl.h:62
vpx_codec.h
Describes the codec algorithm interface to applications.