- 04 Aug, 2017 1 commit
-
-
Steinar Midtskogen authored
Name changes and code moves to bring code more in line with the design doc and an upcoming single-pass patch. No functional changes. Change-Id: I2bccd58c644e534b139f420b623390aa971fbdb0
-
- 02 Aug, 2017 1 commit
-
-
Yi Luo authored
Change-Id: I44bc9d8887526a5ee92bf79730fa3ce6c73b160b
-
- 01 Aug, 2017 3 commits
-
-
Thomas Daede authored
Because frame contexts now follow reference frames, explicit resets are no longer necessary, but can simply happen at the same time as reference frame resets. Change-Id: Idbed3794e3ed52fa298346943a3014fa1ca23897
-
Thomas Daede authored
This stores frame contexts alongside a reference frame, and always uses the frame in reference slot 0 (LAST_FRAME) as the source of the frame context. The encoder could then reorder reference frames as to control which frame context is used, however currently it does not. Low Latency AWCY result: PSNR | PSNR Cb | PSNR Cr | PSNR HVS | SSIM | MS SSIM | CIEDE 2000 -0.1438 | 0.4161 | N/A | 0.0386 | -0.0281 | 0.0453 | 0.2514 https://arewecompressedyet.com/?job=before-frame-context-signaling%402017-06-07T23%3A20%3A49.473Z&job=after-frame-context-signaling%402017-06-07T23%3A21%3A36.117Z Change-Id: I4f6f9b12cb403573efbf9e5c3077d62f5dedc467
-
Rupert Swarbrick authored
For some background, see this previous change in Gerrit[0]. What's going on here is that we only want to use a previous frame for motion vector prediction if the encoded sizes match. When scaling with superres, this means the size before upscaling. To check this correctly, we need to check prev_frame's width/height and compare it with the current frame. Without superres, prev_frame's width/height is stored in y_crop_width/y_crop_height so we can check that way. With superres, those numbers are after the scaling, so can't be compared with cm->width and cm->height. The previous code worked around this by comparing with cm->last_width and cm->last_height. That works because these are the width/height for the last encoded and shown frame and that frame *is* prev_frame if last_show_frame is true. Since this is the only case when we want to use prev_frame, they are the numbers we need. This patch simplifies the logic by storing the width/height in RefCntBuffer before any scaling and then checking that they match. The check for whether we can use motion vectors from a previous frame is factored out into a pair of inline functions in the header. frame_might_use_prev_frame_mvs() is true if it's possible that this frame could use motion vectors from a previous frame. This doesn't use knowledge of what prev_frame is: it just checks we're not in error resilient mode and aren't a keyframe. When this is true, a flag is signaled in the bitstream to say whether we actually want to use motion vectors from the previous frame. The second function, frame_can_use_prev_frame_mvs, is true if the current frame / previous frame pair is suitable for sharing motion vectors. This is a stricter test: the previous frame needs to be have been shown and not to have been intra_only, and it needs to have the same width/height as the current frame. If the re-assignment of prev_frame (just before the calls to frame_can_use_prev_frame_mvs()) were removed in some way, we could probably combine the two functions and often save a bit per frame header. The other slight tidy-up in the patch is to move re-allocation of the mvs buffer into onyxc_int.h: the code that did the allocation was duplicated between the encoder and decoder. [0] https://aomedia-review.googlesource.com/c/13806 BUG=aomedia:78 Change-Id: If25227fa24222fc05c56529c2ac9ddf1e1c36a84
-
- 21 Jul, 2017 1 commit
-
-
Thomas Davies authored
Tile groups are now an integral part of the codec. Change-Id: I620a88ec7a44b057d5cce0bf6cf602822a3339a9
-
- 20 Jul, 2017 1 commit
-
-
Zoe Liu authored
This CL adds an extra alt-ref reference frame, namely ALTREF2_FRAME, and designs the contexts for ALTREF2_FRAME. Change-Id: I12fe8629b868aebf6c2b54260fca5abc38f90ae6
-
- 14 Jul, 2017 1 commit
-
-
Yunqing Wang authored
Added a 1-bit flag 'large_scale_tile'. If it is 0 that is the default value, use normal tile coding in TILE_GROUPS. If it is 1, use large-scale tile coding in EXT_TILE. At large_scale_tile=1 case, if single-tile-decoding is required, then the loopfilter is disabled. Related API and unit tests were modified. Change-Id: I3ba12dc3d80ccf1ab21543ab3b16c02282c34e3b
-
- 12 Jul, 2017 2 commits
-
-
Rupert Swarbrick authored
This patch adds support for 4:1 rectangular blocks to various common data arrays, and adds new partition types to the EXT_PARTITION_TYPES experiment which will use them. This patch has the following restrictions, which can be lifted in future patches: * ext-partition-types is incompatible with fp_mb_stats and supertx for the moment * Currently only 32x32 superblocks can use the new partition types There's a slightly odd restriction about when we allow PARTITION_HORZ_4 or PARTITION_VERT_4. Since these both live in the EXT_PARTITION_TYPES CDF, read_partition() can only return them if both has_rows and has_cols is true. This means that at least half of the width and height of the block must be visible. It might be nice to relax that restriction but that would imply a change to how we encode partition types, which seems already to be in a state of flux, so maybe it's better to wait until that has settled down. Change-Id: Id7fc3fd0f762f35f63b3d3e3bf4e07c245c7b4fa
-
Zoe Liu authored
(1) Work with var-refs to remove redundant bits in ref frame coding; (2) Add a new uni-directional compound reference pair: (LAST_FRAME, LAST3_FRAME); (3) Redesign the contexts for encoding uni-directional reference frame pairs; (4) Use aom_entropy_optimizer to collect stats for all the default probability setups related to the coding of reference frames. Compared against the baseline (default enabled tools excluding ext-tx and global-motion for encoder speed concern) with one-sided-compound, the coding gain of ext-comp-refs + var-refs - one-sided-compound is: lowres: avg_psnr -0.385%; ovr_psnr -0.378% ssim -0.344% midres: avg_psnr -0.466%; ovr_psnr -0.447% ssim -0.513% AWCY - High Latency: PSNR | PSNR Cb | PSNR Cr | PSNR HVS | SSIM | MS SSIM | CIEDE 2000 -0.2758 | -0.1526 | -0.0965 | -0.2581 | -0.2492 | -0.2534 | -0.2118 AWCY - Low Latency: PSNR | PSNR Cb | PSNR Cr | PSNR HVS | SSIM | MS SSIM | CIEDE 2000 -1.0467 | -1.4500 | -0.9732 | -0.9928 | -1.0407 | -1.0180 | -1.0049 Compared against the baseline (default enabled tools excluding ext-tx and global-motion for encoder speed concern) without one-sided-compound, the coding gain of ext-comp-refs + var-refs - one-sided-compound is: lowres: avg_psnr -0.875%; ovr_psnr -0.877% ssim -0.895% midres: avg_psnr -0.824%; ovr_psnr -0.802% ssim -0.843% Change-Id: I8de774c9a74c20632ea93ccb0c17779fa94431cb
-
- 05 Jul, 2017 1 commit
-
-
Thomas Daede authored
This required moving the CDEF and lr signaling in the uncompressed header to after segmentation is signaled. The all_lossless logic was factored out into onyxc_int.h. Change-Id: If8de03438d4e9f8cb49ed49b60a880962cc9d28b
-
- 28 Jun, 2017 1 commit
-
-
Jingning Han authored
Support the transform block kernel coding for rectangular transform block size in var-tx. This integrates txk-sel with var-tx. Change-Id: I9a8edd84812168f56c79b78cc9af34f6304b1d54
-
- 20 Jun, 2017 1 commit
-
-
James Zern authored
this warning is covered by an assert and other runtime detection. expanding the array, adding a conditional or converting the type to int are less desirable. BUG=aomedia:578 Change-Id: Idb6a1dec5f17db85a0e9c1d0ee372e701f4e1aa4
-
- 19 Jun, 2017 1 commit
-
-
Luc Trudeau authored
Extract the compution of the luma reconstructed average out of cfl_load and into cfl_compute_average. The reconstructed luma average is stored in the CFL_CONTEXT to avoid computing it for each transform block and for each plane. Results on subset1 (compared to 803bea26 with CfL) PSNR | PSNR Cb | PSNR Cr | PSNR HVS | SSIM | MS SSIM | CIEDE 2000 -0.0474 | -0.1486 | -0.2931 | -0.0358 | -0.0397 | -0.0127 | -0.1162 Change-Id: I9e34af0fe5961ce8dbe70cb80aea2a16221d0d92
-
- 16 Jun, 2017 1 commit
-
-
Fergus Simpson authored
Adds a separate scale numerator for resize and superres scaling on keyframes. They will only use this factor in their respective FIXED modes. Change-Id: I4ef9a5760a5423ec632d644e6c7fec674bbb46f4
-
- 14 Jun, 2017 1 commit
-
-
anorkin authored
Change-Id: If93f9e41c25a5885b5927e66a298c129bb844e18
-
- 12 Jun, 2017 3 commits
-
-
Fergus Simpson authored
This patch implements the post-encode and post-decode upscaling for the frame superresolution experiment to work. Upscaling happens after cdef and before loop restoration. For now, this patch forces on random-superres. The patch also cleans up some broken rate control hooks from VP9 days, to be brought back later when the resize and superres tools are stable. Change-Id: If0a8f69224dfaa0f4ae7703bd429ea2af953c7a6
-
Yue Chen authored
Refactoring: split prediction+extension for each plane, so we can handle luma/chroma supertx pred in different ways. Compatibility fix: fix conflicts with cb4x4 and chroma_sub8x8, now for chroma sub8x8 supertx, only the top-left(basic cb4x4) or the the bottom-right(cb4x4 + chroma_sub8x8) predictor will be used without any blending within a 8x8 unit. Change-Id: I6cf7b12768a82d3c7e01811ada02de84af9bd8ac
-
Zoe Liu authored
Check the availability of the reference frames at the frame level at both encoder and decoder, and if a reference frame is not available for a specific video frame, remove the signaling of such reference frame info at the block level. This patch adds the consideration of the bit saving inside the RD optimization loop. Change-Id: I4c22f1b843b21c7d2b47e118c99c3ad615a3d4e4
-
- 07 Jun, 2017 1 commit
-
-
Luc Trudeau authored
Change-Id: I3ce09c03d4306c1f2a9c70aa1e82126493bc9406
-
- 06 Jun, 2017 2 commits
-
-
Luc Trudeau authored
This change does not impact the bitstream PSNR | PSNR Cb | PSNR Cr | PSNR HVS | SSIM | MS SSIM | CIEDE 2000 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 Change-Id: I6e131e91bad5efa345ed2542ae970eb6122eff51
-
Luc Trudeau authored
Change-Id: Ideaeb52dbaf87e5a68da90cb94b0517760cb9d5c
-
- 01 Jun, 2017 2 commits
-
-
Jingning Han authored
Update and capture the effective transform block size per color plane. Change-Id: Ib6e0e7abb3973db6b8d511ee7c9948aaab048788
-
Change-Id: Id2be191fb48ed8d65b452499e1a1a1f470359321
-
- 31 May, 2017 1 commit
-
-
Jingning Han authored
Make the txfm_above and txfm_left be processed in the unit of miniumum transform block size. Scale the transform block step size with respect to the mode_info step size. Change-Id: Iee4421e005db742cd4ff7899215560063e5f68e5
-
- 26 May, 2017 1 commit
-
-
Fergus Simpson authored
This fixes an issue with context clearing introduced by commit 5e81643d. In av1_zero_above_context width_y went from being assigned "2 * aligned_width" to "width << 1". All this patch does is replace width with the aligned_width. This resolves an issue with random resizing being broken on the master branch. Change-Id: Ib60bf81e6091802053a5a26057c626d4efe6497c
-
- 25 May, 2017 2 commits
-
-
Debargha Mukherjee authored
Change-Id: I904283119d8f2c1099e6ec2953ea1c10c5e3b280
-
Nathan E. Egge authored
This patch forces DAALA_EC on by default and removes the dkbool coder. Change-Id: Icd2ff08efd7bf467adf554344111473cb357adf8
-
- 24 May, 2017 2 commits
-
-
Thomas Davies authored
All matrices are derived by subsampling 32x32 and 32x16 matrices. Inter and intra matrices now use the same matrix set. BUG=aomedia:520 AWCY results for default setting (qm-min=5, qm-max=9): PSNR | PSNR Cb | PSNR Cr | PSNR HVS | SSIM | MS SSIM | CIEDE 2000 2.75 | 7.98 | - | -3.52 | 0.73 | -2.21 | 4.22 Change-Id: I8414d19eaf50cfe80d4fe2290da6cdf4ebb406cb
-
Jingning Han authored
Properly reset mi_row and mi_col values per plane. Change-Id: Ic624f286c8ee2521403557bc1d685752166b1947
-
- 21 May, 2017 2 commits
-
-
Timothy B. Terriberry authored
Currently the "transform units" used to measure transform sizes in some parts of the code are based on the smallest defined transform size. cb4x4 currently defines a 2x2 transform size, even when chroma_2x2 is not enabled, which means that the scale of the transform units was always double that of MODEINFO units. Several areas of the code were hard-coding this assumption instead of converting from one to the other using appropriate constants. Change-Id: Ibc55671aa5bc3ad272cb8a036f9c4f9621df85ab
-
Jingning Han authored
Clear the clang warnings when var-tx is enabled. Change-Id: I6b005124159b0607ec3284cc2e5ba287745a2541
-
- 20 May, 2017 1 commit
-
-
Nathan E. Egge authored
Change-Id: Ia0eb3a3694fdbe9d33548ff4014b704b2f3db86a
-
- 19 May, 2017 1 commit
-
-
Fergus Simpson authored
Before this commit set_frame_size decided on the frame size to use and then set it. It has been changed to just take an arbitrary size to make it more flexible. The decision of what size to use has been moved to the new set_scaled_size and existing av1_calculate_superres_size. setup_frame_size implements the old logic of getting the scaled size, then superres size, then setting the frame to use it. This change will make post-encode upscaling possible using set_frame_size since it can now be given a target resolution. Change-Id: I2f0f20740a54f751bc9963f279d6bcfdfb2722c2
-
- 15 May, 2017 1 commit
-
-
Alex Converse authored
Change-Id: I2ad15784cbc238fa4b0f993bfa64c06591ece5e9
-
- 05 May, 2017 1 commit
-
-
Sebastien Alaiwan authored
Change-Id: I96e386678f6227f3ca735c9be2725cb9795b3296
-
- 04 May, 2017 2 commits
-
-
Thomas Daede authored
Prep work for changing how frame contexts are signaled. Change-Id: I0db8ec631fc2d616d16fabaf72eac5663ffe3630
-
hui su authored
The coding gain from this experiment can be mostly obtained from ec-adapt. BUG=aomedia:450 Change-Id: Ia7f9df9b2c13d8cdb962eeb39624f3e4e3f036ba
-
- 03 May, 2017 2 commits
-
-
Jingning Han authored
Properly account for the intra boundary condition for sub8x8 chroma components in the modified chroma-2x2 framework. This fixes a rare enc/dec mismatch issue when chroma-sub8x8 is turned on. Change-Id: I058a2fb855a491bf604277f4c82169c1b55424fa
-
Fergus Simpson authored
The frame superresolution experiment currently makes no use of the features of the loop restoration experiment. While this is planned for the future, there is no reason to continue having frame superresolution depend on loop restoration for now. Frame superresolution was made dependent by having every preproccesor if containing its config flag also depend on the loop restoration config flag. Those if's are modified to only check the frame superresolution flag by this patch. Change-Id: Ieef47de29125af8d080739ffeac5c55a1fa99e23
-