summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-04Check for _WIN32 instead of WIN32.James Touton
_WIN32 is predefined for the Windows platform in MSVC, whereas WIN32 is not, and WIN32 is also not defined in the makefiles. Change-Id: I8b58e42d891608dbe1e1313dc9629c2be588d9ec
2021-03-04Merge "Add fields into RC for Vizier ML experiments."Paul Wilkins
2021-03-04Merge "override assembler with --as option on msvs"Jerome Jiang
2021-03-04Use -std=gnu++11 instead of -std=c++11Jerome Jiang
Cygwin and msys2 have stricter compliance requirement over standard c headers. Bug: webm:1708 Change-Id: I676b1227b9dd304149e50016468df0f057c6a78f
2021-03-03override assembler with --as option on msvsJerome Jiang
Bug: webm:1709 Change-Id: I962a64c00042fe95cc1cd845b187f71ad6cfd1b7
2021-03-03Add fields into RC for Vizier ML experiments.Paul Wilkins
This patch adds fields into the RC data structure for the Vizier. The added fields allow control of some extra rate control parameters and rate distortion. This patch also adds functions to initialize the various parameters though many are not yet used / wired in and for now all are set to default values. Ultimately many will be set through new command line options. Change-Id: I41591bb627d3837d2104fb363845adedbddf2e02
2021-02-26Remove comments for removed 'active_map' parameterWan-Teh Chang
Change-Id: I8635f6121e13089c25e201df033d5bc68e2862b4
2021-02-18Remove two pass related code from svc sample encoder.Jerome Jiang
SVC sample encoder is only supposed to be used for realtime SVC. Bug: webm:1705 Change-Id: I5c0c3491732db3e148073aaf7f90ee8d662b57b5
2021-02-05vp8_denoiser_sse2_test: disable BitexactCheck w/gcc-8+James Zern
this test fails under gcc 8-10, but not with other compilers Bug: webm:1718 Change-Id: I8c6c7a25c4aaf019a7f91f835a1a2c9a731cfadc
2021-02-03svc: Fix an existing unittest for flexible modeMarco Paniconi
The flag update_pattern_ was being set to 0 (because it was set before reset) instead of 1. And the example flexible mode pattern was not setting non-reference frame on top temporal top spatial. Change-Id: I8aee56ce13cc4e0d614126592f9d0f691fe527b0
2021-02-03Merge "L2E: let external rate control pass in a max frame size"Cheng Chen
2021-02-03Merge "svc: Unittest for ksvc flexible mode with no updates on TL > 0"Marco Paniconi
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-03Merge "vp8_denoiser_sse2_test: use ASSERT instead of EXPECT"James Zern
2021-02-03vp8_denoiser_sse2_test: use ASSERT instead of EXPECTJames Zern
when test block contents to avoid producing unnecessary output on failure. Bug: webm:1718 Change-Id: Ie2cf8245ec8c03556549ad1eea65c8bef15a9735
2021-02-03L2E: let external rate control pass in a max frame sizeCheng Chen
And allow the frame to recode when the frame size is larger than the input max frame size. If the max frame size is not specified, let vp9 decide whether to recode. The recode follows the vp9's current recoding mechanism. The rate control api will return the new qindex back to the external model. Change-Id: I796fbf713ad50a5b413b0e2501583b565ed2343f
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