summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-02x86inc.asm: do not align .text for aoutJohann
Reapply a97c83f7a. Only use .text sections for aout and do not specify an alignment. BUG=webm:1679 Change-Id: Ibb01b09c205f9e0ecd4bfa0241e3d5e01ae5a55e
2020-04-02x86inc.asm: use .text on march32Johann
Reapply 9679be4bc. The read only sections are getting stripped on some OS X builds. As a result, random data is used in place of the intended tables. BUG=webm:1679 Change-Id: Ifb17acbed73df4b9949a8badae2d9305a3073b83
2020-04-02x86inc.asm: copy PIC macros from x86_abi_support.asmJohann
Reapply 7e065cd57. x86inc.asm always defines PIC for x86_64. We undefine it for x32. Incorporate e56f96394 as well to ensure GET_GOT_DEFINED is defined. BUG=webm:1679 Change-Id: I1535d57bcb4223327ca63b4fd11bffcda1009332
2020-04-02x86inc.asm: set PREFIX from libvpx definesJohann
Reapply 4de9641f1 BUG=webm:1679 Change-Id: I70b2224121f8f997fcd04c38a07a8126c2855ec6
2020-04-02x86inc.asm: pull settings from libvpxJohann
Reapply 1be46ef6b. Include vpx_config.asm and prefix functions with vpx. BUG=webm:1679 Change-Id: I5fba3154203822a829bc88ad0e302adf2ce3bbee
2020-04-02x86inc.asm: update to 3e5aed95Johann
Pull a clean copy in and name it _new. Will apply the libvpx patches and then move it over. BUG=webm:1679 Change-Id: I48d3d4ab7911340c0997dd79a0dbadccf5697682
2020-04-01x86_abi_support: use correct hidden syntaxJohann
Chromium needs :function hidden and the space between the symbol and the colon removed, at least for nasm. This matches x86inc.asm. BUG=webm:1679 Change-Id: Ie47bb75d44d3130791639cbf4e2ebe019e2d686e
2020-03-31Merge "nasm: require 2.14 with -DCHROMIUM"Johann Koenig
2020-03-31Merge "auto-detect darwin19"Johann Koenig
2020-03-31vp9-rtc: Refactor postencode for 1 passMarco Paniconi
Move some code for 1 pass, that is not directly related to rate control, out of the postencode. This avoids the need of extra flag for the RC interface in: https://chromium-review.googlesource.com/c/webm/libvpx/+/2118915 Change-Id: I3992ea8255196a762c1174c35dd7dcc9b01d317e
2020-03-31auto-detect darwin19Johann
Change-Id: I3912c79d0f0f7a65fc753ae29bb10cdcac76878a
2020-03-31nasm: require 2.14 with -DCHROMIUMJohann
BUG=webm:1679 Change-Id: I75b1f860d111febf0aabe38b89d845ef296728a4
2020-03-30rtc: Increase resize limit resoln for rtcMarco Paniconi
Increase resize limit to avoid resized frame from going below 320x180. Change-Id: If736ac3fac4731b47844e4d8c771ecf5c66550de
2020-03-27vp9-rtc: Increase resize down limit to 320x180Marco Paniconi
For RTC dynamic resize: don't allow resize for resoln <= 320x180. Change-Id: I9109e9e1338e5420e72436a57d266ae46e9f2d60
2020-03-25Init frames_to_key in vp9_rc_init()angiebird
Change-Id: Ic667c77ff58672212fc2e9dd5066c650b0152226
2020-03-25Merge "Optimize vp9_get_sub_block_energy."James Zern
2020-03-21vp8/{ratectrl,onyx_if}: fix some signed integer overflowsJames Zern
in calculations involving bitrate in encode_frame_to_data_rate() and vp8_compute_frame_size_bounds() note this isn't exhaustive, it's just the result of a vpxenc run with: -w 800 -h 480 --cpu-used=8 --rt --target-bitrate=1400000000 Bug: b/151945689 Change-Id: I3a4f878046fcf80e87482761588c977c283ae917
2020-03-21vp9_ratectrl: fix some signed integer overflowsJames Zern
in calculations involving bitrate in vp9_rc_postencode_update() and calc_pframe_target_size_one_pass_vbr() note this isn't exhaustive, it's just the result of a vpxenc run with: -w 800 -h 480 --cpu-used=8 --rt --target-bitrate=1400000000 Bug: b/151945689 Change-Id: I941a77340fd44b09fc965dd182d7aeab9f1f3da0
2020-03-20Optimize vp9_get_sub_block_energy.Clement Courbet
Because energy scaling is non-decreasing, we can work on the variance and scale after the loop. This avoids costly computations (in particular, log()) within the loop. We've measured that we spend 0.8% of our total time computing the log. Change-Id: I302fc0ecd9fd8cf96ee9f31b8673e82de1b2b3e2
2020-03-17Merge changes I8a14fcad,Iad7ca261,I2063c592,I9c5c74abAngie Chiang
* changes: Correct time_base of ivf header in SimpleEncode Add detail comments on valid_list in SimpleEncode Add missing Copyright to python files Move member functions up in simple_encode.h
2020-03-17Correct time_base of ivf header in SimpleEncodeangiebird
Change-Id: I8a14fcad3e7b4c4689f4e7387414e59ba9c4c20a
2020-03-16Add detail comments on valid_list in SimpleEncodeangiebird
Change-Id: Iad7ca261a99c7b5f082cf3cc6504f4af438bf409
2020-03-16Add missing Copyright to python filesangiebird
BUG=webm:1655,webm:1654 Change-Id: I2063c59218e082f40958dddbdcb1c105d5440199
2020-03-13vpx_codec_enc_config_default: rm unnecessary loopJames Zern
quiets -Wunreachable-code-loop-increment, present since: e57f388bc vpx_codec_enc_config_default: disable 'usage' as g_usage was never supported for vp8/9 this was always a single iteration. if additional usages are added in the future similar to av1 this can be restored. Bug: b/150166387 Change-Id: Ic6f0985829e87694de8b5e0340cffa6c451ed1c2
2020-03-13Move member functions up in simple_encode.hangiebird
Change-Id: I9c5c74ab52361bcd73aef110729c6e332066c2af
2020-03-13fix minor spelling errorsJohann
Change-Id: I929fec66d541705fe94365b56a5bdd8cf5ee7c37
2020-03-05Merge changes Ie7c70a1d,I2c5abbe2,If41a1ea6,Id6ba4664,I156308bcAngie Chiang
* changes: Add unit test for ref_frame_info Add key frame group info to SimpleEncode Add ref_frame_info to encode_frame_result Add init/update_frame_indexes() Add GetVectorData()
2020-03-04rtc: Update svc test for resizeMarco Paniconi
Add count on expected number of resizes, and use the speed_setting_ for base layer. Also allow AQ_MODE=3 for the tests with dynamic layer disabling/enabling. Change-Id: I03fb0789a2210ba00b8b153941bf79fb774d51bf
2020-03-03vp9-svc: Allow for dynamic resize for single layer SVCMarco Paniconi
Make internal dynamic resize work for SVC mode when single layer SVC is running (i.e, other layers are dropped due to 0 bitrate). Added unittest. Change-Id: Icf03e1f276d9c4ba2734c87c927f7881c6b0a116
2020-03-03Add unit test for ref_frame_infoangiebird
Fix several bugs to make the test pass. 1) Move update_frame_indexes() out of show_frame check. 2) Init coding_indexes[i] to -1 when key frame appears 3) Fix a bug in PostUpdateRefFrameInfo() Change-Id: Ie7c70a1d460e5b89475a1aef77416fc9a88387e1
2020-03-03Add key frame group info to SimpleEncodeangiebird
Change-Id: I2c5abbe23c84c6d794e06ed6429136b10fb18683
2020-03-03Add ref_frame_info to encode_frame_resultangiebird
Change-Id: If41a1ea6ce0a2b8db3811f2fa8efcf16f97fa0bd
2020-03-02Add init/update_frame_indexes()angiebird
We will init and update current_video_frame and current_frame_coding_index in the functions. So it's easier to keep track of when the frame indexes are updated. Change-Id: Id6ba46643f8923348bb4f81c5dd9ace553244057
2020-03-02Add GetVectorData()angiebird
It's necessary to get data pointer from a vector sometimes. This function will guarantee that the data pointer is nullptr if the vector is empty. Change-Id: I156308bcb193fe404452d3cd3b24b3f80c3c3727
2020-02-26Add RefFrameInfoangiebird
RefFrameInfo contains the coding_indexes and valid_list of three reference frame types. Note that I will add unit test in the follow-up CLs. Change-Id: Ia055df1f8a5537b2bdd02c78991df9bbf48e951a
2020-02-25Keep ref frame coding indexes in SimpleEncodeangiebird
Change-Id: Id76aeb54ef93b11ca9a582f76289da0e60368e56
2020-02-24Make external arf consistent with vp9Cheng Chen
Add a test to ensure that encoding with the external arfs gets the same result as long as the arfs are the same as the vp9 baseline. Change-Id: I92c79001018f4df3bc16e9fc56c733509bebb9dc
2020-02-24Allow external arf to determine gop sizeCheng Chen
When "rate_ctrl" experiment is on, we allow the external arf passed from outside to determine group of picture size in define_gf_group(). Change-Id: I0b8c3e1bf3087f21a4e484354168df4967d35bba
2020-02-24Add interface for external arf indexes.Cheng Chen
Pass in external arf indexes to encode command. Change-Id: Ifea5a7d835643760fc5effc594bb448848f6d639
2020-02-21Rename values in RefFrameType and FrameTypeangiebird
Replace golden and altref by past and future in RefFrameType. So that we don't get confused with FrameType and RefFrameType. Change-Id: I1be45d49f76c68869fc4bf53ff946fee9ce7eb9d
2020-02-20Use ref_frame[0] to determine mv_countangiebird
The motion vector counts should be determined by whether this block is using intra_mode or not. Change-Id: If866c91fb8a3f2b3944e5b219a90154d2172690d
2020-02-20Consistency test for GroupOfPictureangiebird
Make sure frame_type, show_idx and coding_index in GroupOfPicture match the results in EncodeFrameInfo. Change-Id: I3b477a03b5efd651c2d174e7146a4cd4f5551604
2020-02-20Use ObserveGroupOfPicture() in EncodeFrame testangiebird
In the previous version, we assume the number of coding frames is known. Although the assumption is true for now with rate_ctrl flag on, it's more proper to use ObserveGroupOfPicture() to get the partial info about how many coding frames are in the group. Because We want to keep the flexibility of changing the size of group of pictures on the fly in the future. Change-Id: Ibbe6ab49268c468bf1cef8344efd3a3e1eab972a
2020-02-20Add kGoldenFrame and kOverlayFrame to FrameTypeangiebird
Add coding_index to EncodeFrameInfo Add start_coding_index to GroupOfPicture Add frame_coding_index_ to SimpleEncode The definition of coding index is as follows. Each show or no show frame is assigned with a coding index based on its coding order (starting from zero) in the coding process of the entire video. The coding index for each frame is unique. Change-Id: I43e18434a0dff0d1cd6f927a693d6860e4038337
2020-02-19Merge "x86_simd_caps: make mask value unsigned"James Zern
2020-02-19Merge "vp9-rtc: Increase partition threshold to 8x8 for high Q"Marco Paniconi
2020-02-18Merge "Cap delta_q_uv to -15..15"Jerome Jiang
2020-02-18vp9-rtc: Increase partition threshold to 8x8 for high QMarco Paniconi
For low resolutions: increase the partition threshold to split to 8x8 blocks for high Q. Some improvement in quality for low bitrates at low resoln. On rtc_derf speed 7: ~1.7 bdrate gain for low bitrates. Change-Id: I1900c32497b75da4e8b882fedc8f4b440b017480
2020-02-18Cap delta_q_uv to -15..15Jerome Jiang
only 4 bits in bitstream Change-Id: I338fe54475e094ee5e556467e0b66c982bb560fa
2020-02-18vp9-rtc: Set enable_adaptive_subpel_force_stop to 0Marco Paniconi
Set enable_adaptive_subpel_force_stop to 0 as default for all speeds. Its only enabled for speed >= 9. Change-Id: I23a1c1cb9765994d2153ef401976c11a07f3fe7f