diff options
author | Jerome Jiang <jianj@google.com> | 2023-03-17 14:34:42 -0400 |
---|---|---|
committer | Jerome Jiang <jianj@google.com> | 2023-03-20 12:02:38 -0400 |
commit | 9c15fb62b3dfe1c698dc28f9efedb022b0ef8eb8 (patch) | |
tree | eb7eab95e6e0b316c3d3e584cc45a8b42614e89a /vpx | |
parent | af63e319789a26fe5d2c63a0da227cb03aff6f8f (diff) | |
download | libvpx-9c15fb62b3dfe1c698dc28f9efedb022b0ef8eb8.tar.gz |
Add codec control to get tpl stats
Add command line flag to vpxenc to export tpl stats
Bug: b/273736974
Change-Id: I6980096531b0c12fbf7a307fdef4c562d0c29e32
Diffstat (limited to 'vpx')
-rw-r--r-- | vpx/vp8cx.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h index e0b679fbb..01c055867 100644 --- a/vpx/vp8cx.h +++ b/vpx/vp8cx.h @@ -767,6 +767,13 @@ enum vp8e_enc_control_id { * */ VP9E_SET_QUANTIZER_ONE_PASS, + + /*!\brief Codec control to get TPL stats for the current frame. + * + * Supported in codecs: VP9 + * + */ + VP9E_GET_TPL_STATS, }; /*!\brief vpx 1-D scaling mode @@ -1097,6 +1104,8 @@ VPX_CTRL_USE_TYPE(VP8E_SET_RTC_EXTERNAL_RATECTRL, int) #define VPX_CTRL_VP8E_SET_RTC_EXTERNAL_RATECTRL VPX_CTRL_USE_TYPE(VP9E_SET_QUANTIZER_ONE_PASS, int) #define VPX_CTRL_VP9E_SET_QUANTIZER_ONE_PASS +VPX_CTRL_USE_TYPE(VP9E_GET_TPL_STATS, void *) +#define VPX_CTRL_VP9E_GET_TPL_STATS /*!\endcond */ /*! @} - end defgroup vp8_encoder */ |