summaryrefslogtreecommitdiff
path: root/vp9
AgeCommit message (Collapse)Author
2015-01-14Align thread data in vp9_ethreadYunqing Wang
On some platforms, such as 32bit Windows and 32bit Mac, the allocated memory isn't aligned automatically. The thread data is aligned to ensure the correct access in SIMD code. Change-Id: I1108c145fe982ddbd3d9324952758297120e4806
2015-01-14Merge "Add encoder control for setting color space"Yaowu Xu
2015-01-14Merge "Switch remaining Neon variance functions to shifts"Frank Galligan
2015-01-14Merge "Add 64x64 sub_pel_variance Neon function"Frank Galligan
2015-01-14Add encoder control for setting color spaceYaowu Xu
This commit adds encoder side control for vp9 to set color space info in the output compressed bitstream. It also amends the "vp9_encoder_params_get_to_decoder" test to verify the correct color space information is passed from the encoder end to decoder end. Change-Id: Ibf5fba2edcb2a8dc37557f6fae5c7816efa52650
2015-01-14Merge "Enable decoder to pass through color space info"Yaowu Xu
2015-01-14Add 64x64 sub_pel_variance Neon functionFrank Galligan
On Nexus 7 speed -5, -6, -7, and -8 saw about a 15% increase in perf for 480p. Speeds -5, -6, -7, and -8 saw about a 10% increase in perf for 720p. Tested on Nexus 7, built with ndk r10d, gcc 4.9. Change-Id: I2fa5315845e3021c9a6e2ea47e52e68b398d8334
2015-01-14Switch remaining Neon variance functions to shiftsFrank Galligan
Saves 5 instructions on 8x8 and 16x16 and 8 instructions on 32x32, when compiled with 4.9. Change-Id: Id3da613a36a9d27d8c5169c59ba45d247c920c6c
2015-01-13Merge "Add 64x variance Neon functions"Frank Galligan
2015-01-13[twopass temporal svc] Fix decoding error on seek.Minghai Shang
Don't put small empty frame in front of a key frame. We will put key frame flag in webm container if there's a visible key frame. But there will be decoding error when we seek to here if we put the small empty frame, which will be inter frame, in front of it. Change-Id: Id50c2c1fd31da0405ff6faa7375cc2f49c55402d
2015-01-13Enable decoder to pass through color space infoYaowu Xu
This commit added a field to vpx_image_t for indicating color space, the field is also added to YUV_BUFFER_CONFIG. This allows the color space information pass through the decoder from input stream to the output buffer. The commit also updated compare_img() function with added verification of matching color space to ensure the color space information to be correctly passed from encode to decoder in compressed vp9 streams. Change-Id: I412776ec83defd8a09d76759aeb057b8fa690371
2015-01-13Add 64x variance Neon functionsFrank Galligan
Add optimized Neon functions of: vp9_variance32x64 vp9_variance64x32 vp9_variance64x64 On Nexus 7 speed -5 and -6 saw about a 4% increase in perf. Speeds -7 and -8 saw about a 6% increase in perf. Tested on Nexus 7, built with ndk r10d, gcc 4.9. Change-Id: I5a81f13c9897eb927fa39662530f5524a0f768fa
2015-01-13Merge "Added plumbing for setting color space"Yaowu Xu
2015-01-11Merge "Fix comments and color format"Yaowu Xu
2015-01-09Added plumbing for setting color spaceYaowu Xu
Change-Id: If64052cc6e404abc8a64a889f42930d14fad21d3
2015-01-09Fix comments and color formatYaowu Xu
Replaced "color space" with "color format" in comments where color sampling format is concerned, so to differentiate from the concept defined in COLOR_SPACE. Change-Id: I8c935034c166b24307a99352dab1686531276bb8
2015-01-09Merge "Use 64 bit to accumulate frame sse."Paul Wilkins
2015-01-08Merge "Refactor mc reference block fetch in denoiser"Jingning Han
2015-01-08Merge "vp9: add per-tile longjmp error handling"James Zern
2015-01-08Merge "vp9: fix -Wclobbered (longjmp + local variables)"James Zern
2015-01-08Merge "Use lookup table to find pixel numbers in block"Jingning Han
2015-01-08Merge "Disable vp9 _8_ loopfilters"Johann
2015-01-08Refactor mc reference block fetch in denoiserJingning Han
This commit refactors the motion compensated reference block fetch process in denoiser. It skips the stage that generates motion compensated reference block if denoiser decides to use copy block mode. For high motion clips, this could speed up the denoising process by about 10%. Change-Id: I8ef4fa5fe766a8c4529119b9ec01faefb3d4ef53
2015-01-08Use lookup table to find pixel numbers in blockJingning Han
This could save one multiplication in each threshold funtion called by the denoiser per block. Change-Id: I35f437e09999f0a087180878ef7805f0d86e5819
2015-01-08Merge "Refactor denoiser frame buffer update"Jingning Han
2015-01-08Merge "Initalize zeromv_sse and newmv_sse in vp9_pick_inter_mode"Jingning Han
2015-01-08Merge "Use vp9_convolve_copy in denoiser output"Jingning Han
2015-01-08Merge "Remove unnecessary init_macroblockd."hkuang
2015-01-07Refactor denoiser frame buffer updateJingning Han
Use frame buffer pointer swap instead of memcpy when possible. These two CLs make the denoiser when running on vidyo1 720p at speed -6 over 10% faster. Change-Id: I64fe8a2422cafca6787a50c7f4dfb961191c0a9d
2015-01-07Use vp9_convolve_copy in denoiser outputJingning Han
Replace copy_block with vp9_convolve_copy for speed performance improvement. Change-Id: I3a08c4d01dff2253b6ee573efd02f65ccdc1b5a5
2015-01-07Removed redundant local variables in the forward hybrid transforms.Zoe Liu
Change-Id: I60f7ccbbc8dc624134e325bdce6042bc183075b6
2015-01-07Merge "Refactor calculation of tile_cols"Yaowu Xu
2015-01-07Merge "Always check and free denoiser buffer memory space"Jingning Han
2015-01-07Initalize zeromv_sse and newmv_sse in vp9_pick_inter_modeJingning Han
These two parameters are used to control the denoiser cut-off thresholds. They should be properly initialized when starting mode search of a given block. Change-Id: Iba8a25487026a0dbe0d350c347d7e4e4e237b637
2015-01-07Merge "Use qdiff to adjust the threshold of sad and variance in MFQE."JackyChen
2015-01-07Refactor calculation of tile_colsYaowu Xu
Change-Id: I2c38ea2bcf6d221a0b6b2fb9be4cebbee21006a3
2015-01-07Merge "Fix best ref frame rd cost update in sub8x8 non-RD mode search"Jingning Han
2015-01-07Merge "Format fix in vp9_pick_inter_mode_sub8x8"Jingning Han
2015-01-07Fix best ref frame rd cost update in sub8x8 non-RD mode searchJingning Han
This fixes the issue that sub8x8 inter blocks always end up with GOLDEN_FRAME. Change-Id: Id0c25cbb9c2003f43b4dff8fb1572512c246e077
2015-01-07Format fix in vp9_pick_inter_mode_sub8x8Jingning Han
Replace ref_frame++ with ++ref_frame. Change-Id: Ic39793081156c314bf1b85d5ab76def97f3bff52
2015-01-07Merge "Fix denoiser chroma component initialization"Jingning Han
2015-01-07Merge "Skip duplicate denoiser frame buffer allocation"Jingning Han
2015-01-07Merge "Rearrange loopfilter functions"Johann
2015-01-07Merge "Moves inter mode count updates to update_stats"Deb Mukherjee
2015-01-07Use qdiff to adjust the threshold of sad and variance in MFQE.JackyChen
When qdiff is larger, the sad/variance threshold should also be higher which indicates a more aggressive action on MFQE. Change-Id: I44c5c93572805458d4f87fdc7619cc9d8a522185
2015-01-07Always check and free denoiser buffer memory spaceJingning Han
The vp9_denoiser_free() function will internally check if the buffer pointers are NULL. This commit makes the encoder always call vp9_denoiser_free() after finishing encoding. It protects the case where noise_sensitivity_level is changed during encoding process and happen to be turned off towards the end of sequence, which could result memory space allocated to denoiser not being released. Change-Id: Ie20dc2f2e6e5fb6333fbab3356bc153978a6a0f8
2015-01-07Fix denoiser chroma component initializationJingning Han
Use the correct frame size and stride value for chroma components when setting the initial values. These control parameters are assigned when the denoiser buffer was allocated and initialized. Change-Id: Ia6318194c7738aff540bcbd34f77f0dac46221a1
2015-01-07Skip duplicate denoiser frame buffer allocationJingning Han
Allocate the frame buffer allocation for denoiser once during the encoder initialization. This avoids allocating frame buffer multiple times and overwriting the buffer pointer without proper releasing. Change-Id: I9b3baa6283449d86fd164534d344c036bb035700
2015-01-07Use 64 bit to accumulate frame sse.Paul Wilkins
When testing frame sse to choose a loop filter value and when checking ambient error in kf Q selection, use 64 bit values for accumulating the sse, to avoid risk of overflow for large image formats. Change-Id: I03765d16c843d0ade61a45b0cd46312472697e57
2015-01-06Disable vp9 _8_ loopfiltersJohann
Investigating https://code.google.com/p/chromium/issues/detail?id=443839 Change-Id: Ibb7485d835c5aa5e1d40f31715596ba8d208eedb