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 5
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;
50 
52 typedef struct VpxTplFrameStats {
55  int num_blocks;
58 
60 typedef struct VpxTplGopStats {
61  int size;
64 
65 #ifdef __cplusplus
66 } // extern "C"
67 #endif
68 
69 #endif // VPX_VPX_VPX_TPL_H_
int frame_height
Definition: vpx_tpl.h:54
int16_t col
Definition: vpx_tpl.h:38
VpxTplBlockStats * block_stats_list
Definition: vpx_tpl.h:56
int64_t inter_cost
Definition: vpx_tpl.h:40
int64_t srcrf_rate
Definition: vpx_tpl.h:43
int16_t mv_r
Definition: vpx_tpl.h:41
int64_t intra_cost
Definition: vpx_tpl.h:39
Temporal dependency model stats for each block before propagation.
Definition: vpx_tpl.h:36
int64_t inter_pred_err
Definition: vpx_tpl.h:46
int16_t row
Definition: vpx_tpl.h:37
VpxTplFrameStats * frame_stats_list
Definition: vpx_tpl.h:62
int64_t srcrf_dist
Definition: vpx_tpl.h:44
Temporal dependency model stats for each frame before propagation.
Definition: vpx_tpl.h:52
int ref_frame_index
Definition: vpx_tpl.h:48
struct VpxTplBlockStats VpxTplBlockStats
Temporal dependency model stats for each block before propagation.
int64_t pred_error
Definition: vpx_tpl.h:45
int size
Definition: vpx_tpl.h:61
int frame_width
Definition: vpx_tpl.h:53
struct VpxTplGopStats VpxTplGopStats
Temporal dependency model stats for each GOP before propagation.
int16_t mv_c
Definition: vpx_tpl.h:42
Describes the codec algorithm interface to applications.
int64_t intra_pred_err
Definition: vpx_tpl.h:47
int num_blocks
Definition: vpx_tpl.h:55
Temporal dependency model stats for each GOP before propagation.
Definition: vpx_tpl.h:60
struct VpxTplFrameStats VpxTplFrameStats
Temporal dependency model stats for each frame before propagation.