summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-03svc: Unittest for ksvc flexible mode with no updates on TL > 0Marco Paniconi
Catches tsan issue fixed in: 7b93b56 Change-Id: I34b17c289afd0f8691987a1e4afa533f6c7f2806
2021-02-03Fix to vpx_temporal_svc_encoderMarco Paniconi
Avoid division by zero. Change-Id: Icf3f40aa32fe30f42c46417a1437ebe235e3ac96
2021-01-29Relax constraints on Y4M header parsingElliott Karpilovsky
Previous parser assumed that the header would not exceed 80 characters. However, with latest FFMPEG changes, the header of Y4M files can exceed this limit. New parser can parse an arbitrarily long header, as long each tag is 255 or less characters. BUG=aomedia:2876 Change-Id: I9e6e42c50f4e49251dd697eef8036485ad5a1228
2021-01-28Relax constraints on Y4M header parsingElliott Karpilovsky
Previous parser assumed that the header would not exceed 80 characters. However, with latest FFMPEG changes, the header of Y4M files can exceed this limit. New parser can parse up to ~200 characters. Arbitrary parsing in future commit. BUG=aomedia:2876 Change-Id: I2ab8a7930cb5b76004e6731321d0ea20ddf333c1
2021-01-27Merge changes I43d9d477,I8d4661ecJames Zern
* changes: vp9_end_to_end_test: fix compile with gcc 4.8.5 sad_test: fix compilation w/gcc 4.8.5
2021-01-27Merge "svc: turn off use_base_mv on non base layer."Jerome Jiang
2021-01-27svc: turn off use_base_mv on non base layer.Jerome Jiang
Change-Id: I4a9402f468e54c58081c882ed37f59ee0269c0fc
2021-01-26vp9_end_to_end_test: fix compile with gcc 4.8.5James Zern
use Values() rather than ValuesIn() with an initializer list as this version of gcc under CentOS fails to deduce the type: ../third_party/googletest/src/include/gtest/gtest-param-test.h:304:29: note: template argument deduction/substitution failed: ../test/vp9_end_to_end_test.cc:346:59: note: couldn't deduce template parameter ‘T’ ::testing::ValuesIn({ 6, 7, 8 })); Bug: webm:1690 Change-Id: I43d9d4777fcd74a4f8fa8bdcd9834cdca5e546ff
2021-01-26sad_test: fix compilation w/gcc 4.8.5James Zern
use a #define for kDataAlignment as it's used with DECLARE_ALIGNED (__attribute__((aligned(n)))) and this version under CentOS is more strict over integer constants: ../vpx_ports/mem.h:18:72: error: requested alignment is not an integer constant #define DECLARE_ALIGNED(n, typ, val) typ val __attribute__((aligned(n))) Bug: webm:1690 Change-Id: I8d4661ec1c2c1b1522bdc210689715d2302c7e72
2021-01-23Merge "Do not reuse mv in base spatial layer if curr buf same as prev."Jerome Jiang
2021-01-21Do not reuse mv in base spatial layer if curr buf same as prev.Jerome Jiang
Bug: b/154890543 Change-Id: Iad5791912f781d225e610a61bc13f3dbaef81bb9
2021-01-20Use VPX_CODEC_INVALID_PARAM when ext_ratectrl=NULLAngie Chiang
Bug: webm:1716 Change-Id: Ic60c367aabfc03d94816e85476895b988aced5f1
2021-01-20Handle vp9_extrc functions' return status properlyAngie Chiang
Bug: webm:1716 Change-Id: I204cd3ab35b493759808500b799da3b9e55686d4
2021-01-21Merge changes Ib016ab5a,Ie6d63a68,I96b18436,I0b98741dAngie Chiang
* changes: Add return to vp9_extrc_update_encodeframe_result Add status in vp9_extrc_get_encodeframe_decision Return status in vp9_extrc_send_firstpass_stats Return status in vp9_extrc_create/init/delete
2021-01-19Add return to vp9_extrc_update_encodeframe_resultAngie Chiang
Bug: webm:1716 Change-Id: Ib016ab5a49c765971366cc8d2b75bcca3ed5bd0f
2021-01-19Add status in vp9_extrc_get_encodeframe_decisionAngie Chiang
Bug: webm:1716 Change-Id: Ie6d63a68539369c51fefefa528e299b00a967e29
2021-01-19Return status in vp9_extrc_send_firstpass_statsAngie Chiang
Bug: webm:1716 Change-Id: I96b18436c58ed888fcf677097819cc0093b6f41d
2021-01-19Return status in vp9_extrc_create/init/deleteAngie Chiang
Bug: webm:1716 Change-Id: I0b98741db8c639bdddd899fd6ad359da7b916086
2021-01-19{highbd_,}loopfilter_neon.c: quiet -Wmaybe-uninitializedJames Zern
Seen with arm-linux-gnueabihf-gcc-8 (8.3.0 & 8.4.0) Without reworking the code or adding an additional branch this warning cannot be silenced otherwise. The loopfilter is only called when needed for a block so these output pixels will be set. BUG=b/176822719 Change-Id: I9cf6e59bd5de901e168867ccbe021d28d0c04933
2021-01-14Relax constraints on Y4M header parsingElliott Karpilovsky
Some refactoring and cleanup -- do not count the first 9 bytes against the header limit. Add a unit test. BUG=aomedia:2876 Change-Id: Id897d565e2917b48460cc77cd082cec4c98b42cb
2021-01-13vpxenc: initalize the image objectHui Su
Otherwise it would cause problem when calling vpx_img_free() at the end if no frame is read. Change-Id: Ide0ed28eeb142d65d04703442cc4f098ac8edb34
2020-12-17Fix show_index in vp9_extrc_encodeframe_decision()Angie Chiang
Change-Id: I93bb1fb3c14126d881d3f691d30875a0062e436c
2020-12-17Correct pixel_count in encode_frame_resultAngie Chiang
Change-Id: I3270af4f793f8e453e10d1caf8ffa1a8d5d584a7
2020-12-15First pass: skip motion search for intra-onlyHui Su
BUG=webm:1713 Change-Id: Ibad79cf5d12aa913e8c87a31d7d2124c00958691
2020-12-11Merge "configure: add darwin20 cross-compile support"James Zern
2020-12-11configure: add darwin20 cross-compile supportGregor Jasny
Change-Id: I91c0e832a6e76172397e97413329fd43edc81c78
2020-12-10Fix nullptr with offset.Jeremy Leconte
The error occurs with low resolution when LibvpxVp8Encoder::NumberOfThreads returns 1. Bug: b:175283098 Change-Id: Icc9387c75f4ac6e4f09f102b3143e83c998c5e38
2020-11-25Fix typos in simple_encode.hAngie Chiang
Change-Id: Id83eff6cc12c441ce991fb1a73820d106311cf5e
2020-11-24Merge "Revert "Close out file in EndEncode()""Angie Chiang
2020-11-24Revert "Close out file in EndEncode()"Angie Chiang
This reverts commit 7370cecd8929141adb8140b924d3dd8ac1887d36. Reason for revert: I accidentally check in this CL Change-Id: I71ff0b98649070df3edd13b98170a7091541057b
2020-11-24Merge "Close out file in EndEncode()"Angie Chiang
2020-11-24Merge "Refine documentation of vpx_ext_ratectrl.h"Angie Chiang
2020-11-24Merge "Allow user to set rc_mode and cq_level in SimpleEncode"Angie Chiang
2020-11-20Refine documentation of vpx_ext_ratectrl.hAngie Chiang
Bug: webm:1707 Change-Id: Iba04b5292c157e22dd8618a79e8c977ec9fc2199
2020-11-20Allow user to set rc_mode and cq_level in SimpleEncodeAngie Chiang
Change-Id: If3f56837e2c78a8b0fe7e0040f297c3f3ddb9c8b
2020-11-19Add gop_index to vpx_ext_ratectrl.hAngie Chiang
Bug: webm:1707 Change-Id: I48826d5f3a7cc292825a7f1e30ac6d0f57adc569
2020-11-17Capitalize VPX_RC_OK / VPX_RC_ERRORAngie Chiang
Change-Id: I526bd6a6c2d2095db564f96d63c7ab7ee4dd90ad
2020-11-17Add doxygen for vpx_rc_funcs_tAngie Chiang
Change-Id: If75215d574fe0b075add50154a9eece5d387741a
2020-11-17Add doxygen for vpx_rc_configAngie Chiang
Bug: webm:1707 Change-Id: I65bab6b2b792653e70cb136a5f9a21796e34b829
2020-11-17Copy first pass stats documentation from AV1 to VP9Angie Chiang
Bug: webm:1707 Change-Id: Iae7eaa9ba681272b70b6dad17cd2247edab6ef79
2020-11-17Add doxygen to structs in vpx_ext_ratectrl.hAngie Chiang
Bug: webm:1707 Change-Id: Ib5f6b6f143f55e5279e39eb386fcd3340211de59
2020-11-17Merge changes I12a72d3a,I1a6c5752Angie Chiang
* changes: Fix uninitialized warning in resize_test.cc Fix the warning of C90 mixed declarations and code
2020-11-16Remove condition on copying svc loopfilter flagJerome Jiang
Change-Id: Ib37ef0aa3dc0ec73b25332be6d89969093bd7aeb
2020-11-13Fix uninitialized warning in resize_test.ccAngie Chiang
Change-Id: I12a72d3aa57b13dbcbeb037e1deea41529ea4194
2020-11-13Fix the warning of C90 mixed declarations and codeAngie Chiang
Change-Id: I1a6c57525bbe8bf1a97057ecd64985bc23d1df2e
2020-11-13Merge "vp9: Allow for disabling loopfilter per spatial layer"Marco Paniconi
2020-11-12vp9: Allow for disabling loopfilter per spatial layerMarco Paniconi
For SVC: add parameter to the control SET_SVC_PARAMS to allow for disabling the loopfilter per spatial layer. Note this svc setting will override the setting via VP9E_SET_DISABLE_LOOPFILTER (which should only be used for non-SVC). Add unittest to handle both SVC (spatial or temporal layers) and non-SVC (single layer) case. Change-Id: I4092f01668bae42aac724a6df5b6f6a604337448
2020-11-09Accumulate frame tpl stats and pass through rate control apiCheng Chen
Tpl stats is computed at the beginning of encoding the altref frame. We aggregate tpl stats of all blocks for every frame of the current group of picture. After the altref frame is encoded, the tpl stats is passed through the encode frame result to external environment. Change-Id: I2284f8cf9c45d35ba02f3ea45f0187edbbf48294
2020-10-30Merge "libs.mk: set LC_ALL=C w/egrep invocations"James Zern
2020-10-29Merge "Add a comment about bitdeptharg and inbitdeptharg"Wan-Teh Chang