]> granicus.if.org Git - libvpx/log
libvpx
11 years agoRenaming inverse hybrid transform functions.
Dmitry Kovalev [Tue, 9 Apr 2013 18:09:23 +0000 (11:09 -0700)]
Renaming inverse hybrid transform functions.

Renaming vp9_ht_dequant_idct_add* functions to vp9_dequant_iht_add*.

Change-Id: Ie427b322b1cc7c8f39d1155f5df91dedfbd944af

11 years agoMerge "Simplification of decoder's code." into experimental
Dmitry Kovalev [Tue, 9 Apr 2013 17:10:29 +0000 (10:10 -0700)]
Merge "Simplification of decoder's code." into experimental

11 years agoMerge "Clamp inferred motion vectors only" into experimental
Jingning Han [Tue, 9 Apr 2013 16:24:08 +0000 (09:24 -0700)]
Merge "Clamp inferred motion vectors only" into experimental

11 years agoSimplification of decoder's code.
Dmitry Kovalev [Fri, 5 Apr 2013 17:47:26 +0000 (10:47 -0700)]
Simplification of decoder's code.

Removing several commented code blocks, using uint32_t and uint8_t types,
removing redundant code.

Change-Id: Ifc5cc9863897925ea2a7cab4f7309ccf28d80bfe

11 years agoClamp inferred motion vectors only
Jingning Han [Sat, 6 Apr 2013 17:00:53 +0000 (10:00 -0700)]
Clamp inferred motion vectors only

Clamp only the motion vectors inferred from neighboring reference
macroblocks. The motion vectors obtained through motion search in
NEWMV mode are constrained during the search process, which allows
a relatively larger referencing region than the inferred mvs.
Hence further clamping the best mv provided by the motion search may
affect the efficacy of NEWMV mode.

Synchronized the decoding process. The decoded mvs in NEWMV modes
should be guaranteed to fit in the effective range. Put a mv range
clamping function there for security purpose.

This improves the coding performance of high motion sequences, e.g.,
derf set:
foreman 0.233%
husky   0.175%
icd     0.135%
mother_daughter 0.337%
pamphlet        0.561%

stdhd set:
blue_sky 0.408%
city     0.455%
also saw sunflower goes down by -0.469%.

Change-Id: I3fcbba669e56dab779857a8126a91b926e899cb5

11 years agoFix typo which breaks 4x4 splitmv compound prediction RD code.
Ronald S. Bultje [Mon, 8 Apr 2013 16:16:26 +0000 (09:16 -0700)]
Fix typo which breaks 4x4 splitmv compound prediction RD code.

0.15% quality increase on derf, particularly noticeable on hard clips
at the higher bitrate end.

Change-Id: I02415a96eb9bbc361cba923069625fae71844bc9

11 years agoMerge "Small cleanup inside setup_loopfilter function." into experimental
John Koleszar [Fri, 5 Apr 2013 23:13:46 +0000 (16:13 -0700)]
Merge "Small cleanup inside setup_loopfilter function." into experimental

11 years agoMerge "Segmentation code cleanup." into experimental
John Koleszar [Fri, 5 Apr 2013 23:03:25 +0000 (16:03 -0700)]
Merge "Segmentation code cleanup." into experimental

11 years agoMerge changes Ibbfa68d6,Idb76a0e2 into experimental
John Koleszar [Fri, 5 Apr 2013 22:56:50 +0000 (15:56 -0700)]
Merge changes Ibbfa68d6,Idb76a0e2 into experimental

* changes:
  Move EOB to per-plane data
  Move qcoeff, dqcoeff from BLOCKD to per-plane data

11 years agoMerge "Remove full-pixel-related code." into experimental
Ronald S. Bultje [Fri, 5 Apr 2013 20:46:07 +0000 (13:46 -0700)]
Merge "Remove full-pixel-related code." into experimental

11 years agoMerge "Remove some unused macros." into experimental
Ronald S. Bultje [Fri, 5 Apr 2013 20:46:02 +0000 (13:46 -0700)]
Merge "Remove some unused macros." into experimental

11 years agoMerge "Remove struct POS." into experimental
Ronald S. Bultje [Fri, 5 Apr 2013 20:45:58 +0000 (13:45 -0700)]
Merge "Remove struct POS." into experimental

11 years agoMerge "Remove unused vpx_log() function prototype." into experimental
Ronald S. Bultje [Fri, 5 Apr 2013 20:45:51 +0000 (13:45 -0700)]
Merge "Remove unused vpx_log() function prototype." into experimental

11 years agoMerge "Remove "tx_type" member from union b_mode_info." into experimental
Ronald S. Bultje [Fri, 5 Apr 2013 20:45:48 +0000 (13:45 -0700)]
Merge "Remove "tx_type" member from union b_mode_info." into experimental

11 years agoMerge "Removed a speed feature no longer used" into experimental
Yaowu Xu [Fri, 5 Apr 2013 20:34:57 +0000 (13:34 -0700)]
Merge "Removed a speed feature no longer used" into experimental

11 years agoMerge "make one_shot_q an experiment" into experimental
Yaowu Xu [Fri, 5 Apr 2013 20:34:45 +0000 (13:34 -0700)]
Merge "make one_shot_q an experiment" into experimental

11 years agoRemove full-pixel-related code.
Ronald S. Bultje [Fri, 5 Apr 2013 19:50:19 +0000 (12:50 -0700)]
Remove full-pixel-related code.

This is a VP8-only feature (part of profile 3) that is unsupported in
VP9.

Change-Id: I78016eede8d9c834d44d4c517f3e8b8fc2a378b1

11 years agoSmall cleanup inside setup_loopfilter function.
Dmitry Kovalev [Fri, 5 Apr 2013 19:48:48 +0000 (12:48 -0700)]
Small cleanup inside setup_loopfilter function.

Change-Id: If7fa8aea02f26c2c2bb5daf4e65c3e661d7031ca

11 years agoRemove some unused macros.
Ronald S. Bultje [Fri, 5 Apr 2013 19:40:56 +0000 (12:40 -0700)]
Remove some unused macros.

Change-Id: Ic219e7878428128e4bb1b3995e8151f92b6bd9c3

11 years agoRemove struct POS.
Ronald S. Bultje [Fri, 5 Apr 2013 19:38:40 +0000 (12:38 -0700)]
Remove struct POS.

It is never used.

Change-Id: If7462357c0498ed05af2645f0c272124381d3aab

11 years agoRemove unused vpx_log() function prototype.
Ronald S. Bultje [Fri, 5 Apr 2013 19:37:45 +0000 (12:37 -0700)]
Remove unused vpx_log() function prototype.

Change-Id: Icd6b4322841fefcc86f06645e6aaf1ea42fdfabd

11 years agoRemove "tx_type" member from union b_mode_info.
Ronald S. Bultje [Fri, 5 Apr 2013 19:36:15 +0000 (12:36 -0700)]
Remove "tx_type" member from union b_mode_info.

It is never used.

Change-Id: Ibae898c52c766aabf65868611060f9c38fb85b35

11 years agoSegmentation code cleanup.
Dmitry Kovalev [Fri, 5 Apr 2013 18:55:52 +0000 (11:55 -0700)]
Segmentation code cleanup.

Cleaning up the code, removing unused vp9_check_segref_inter function and
useless comments.

Change-Id: Ia0e1a3878dc0f9789cba84aeb507a83d9dccd26b

11 years agoRemoved a speed feature no longer used
Yaowu Xu [Fri, 5 Apr 2013 17:43:20 +0000 (10:43 -0700)]
Removed a speed feature no longer used

Change-Id: Id0c2e44daa936f1d6fb76469fd1bd72a4d7c19fd

11 years agoMerge "Simplifying get_delta_q function." into experimental
John Koleszar [Fri, 5 Apr 2013 16:16:15 +0000 (09:16 -0700)]
Merge "Simplifying get_delta_q function." into experimental

11 years agoMove EOB to per-plane data
John Koleszar [Thu, 4 Apr 2013 19:03:27 +0000 (12:03 -0700)]
Move EOB to per-plane data

Continue migrating data from BLOCKD/MACROBLOCKD to the per-plane
structures.

Change-Id: Ibbfa68d6da438d32dcbe8df68245ee28b0a2fa2c

11 years agoMove qcoeff, dqcoeff from BLOCKD to per-plane data
John Koleszar [Tue, 2 Apr 2013 21:50:40 +0000 (14:50 -0700)]
Move qcoeff, dqcoeff from BLOCKD to per-plane data

Start grouping data per-plane, as part of refactoring to support
additional planes, and chroma planes with other-than 4:2:0
subsampling.

Change-Id: Idb76a0e23ab239180c818025bae1f36f1608bb23

11 years agomake one_shot_q an experiment
Yaowu Xu [Wed, 27 Mar 2013 21:58:37 +0000 (14:58 -0700)]
make one_shot_q an experiment

so it is configurable to faciliate testings

Change-Id: I247b62736c3a08ec2934793959d1ae605a05efa3

11 years agoFixing the newbintramodes experiment
Deb Mukherjee [Thu, 4 Apr 2013 19:32:34 +0000 (12:32 -0700)]
Fixing the newbintramodes experiment

Adds back special casing B_PRED mode decoding but protected
within the experimental macro.

Change-Id: If98dc8e56b0ecfb1202540c2b7dfdd070cb81ca0

11 years agoSimplifying get_delta_q function.
Dmitry Kovalev [Thu, 4 Apr 2013 19:10:39 +0000 (12:10 -0700)]
Simplifying get_delta_q function.

Change-Id: I3a1e9cc5c3ed5be01ff75a84a6c82ec02c75af9c

11 years agoMerge "Bugfix in encode_inter_mb_segment_8x8" into experimental
Deb Mukherjee [Thu, 4 Apr 2013 18:17:48 +0000 (11:17 -0700)]
Merge "Bugfix in encode_inter_mb_segment_8x8" into experimental

11 years agoBugfix in encode_inter_mb_segment_8x8
Deb Mukherjee [Thu, 4 Apr 2013 18:07:19 +0000 (11:07 -0700)]
Bugfix in encode_inter_mb_segment_8x8

Fixes an indexing bug. Looks like the bug has been there for a while.

Change-Id: I9fc04b0c30754bcb47366ad94a08112925600c4d

11 years agoFixing bug introduced by previous commit.
Dmitry Kovalev [Thu, 4 Apr 2013 17:49:17 +0000 (10:49 -0700)]
Fixing bug introduced by previous commit.

Inside decode_sb_4x4 it should be
"get_tx_type_4x4(mb, y_idx * y_size + x_idx)"
but it was
"get_tx_type_4x4(mb, y_idx * (2 * y_size) + x_idx)".
Also making code of decode_sb_4x4, decode_sb_8x8, and decode_sb_16x16
formatted in the same way.

Change-Id: I15c7bef4fb575f7e9da19f953912324cb35d24dd

11 years agoMerge "Remove special case vp9_decode_coefs_4x4" into experimental
John Koleszar [Thu, 4 Apr 2013 14:11:31 +0000 (07:11 -0700)]
Merge "Remove special case vp9_decode_coefs_4x4" into experimental

11 years agoFixed incorrect use of compute_qdelta()
Paul Wilkins [Thu, 28 Mar 2013 19:46:35 +0000 (19:46 +0000)]
Fixed incorrect use of compute_qdelta()

This function expects real Q values as inputs
not index values.

The use-age her impacts the Q chosen for force key
frames. Though this is a bug fix I have not yet verified
whether following the bug fix the q multiplier value used is
correct.

Change-Id: I49f6da894d90baeb1e86c820c335f02dc80d3b66

11 years agoMerge "Adding decode_sb_16x16 function." into experimental
John Koleszar [Thu, 4 Apr 2013 04:07:53 +0000 (21:07 -0700)]
Merge "Adding decode_sb_16x16 function." into experimental

11 years agoMerge "Reimplementation of setup_frame_size." into experimental
John Koleszar [Thu, 4 Apr 2013 04:04:29 +0000 (21:04 -0700)]
Merge "Reimplementation of setup_frame_size." into experimental

11 years agoMerge "Adding setup_pred_probs and read_txfm_mode functions." into experimental
John Koleszar [Thu, 4 Apr 2013 04:02:59 +0000 (21:02 -0700)]
Merge "Adding setup_pred_probs and read_txfm_mode functions." into experimental

11 years agoMerge "General code cleanup." into experimental
John Koleszar [Thu, 4 Apr 2013 03:59:51 +0000 (20:59 -0700)]
Merge "General code cleanup." into experimental

11 years agoGeneral code cleanup.
Dmitry Kovalev [Thu, 4 Apr 2013 01:40:17 +0000 (18:40 -0700)]
General code cleanup.

Making code more readable in different places.

Change-Id: Iea92c9a35e64d257ee358879fc04fc926843d52e

11 years agoAdding decode_sb_16x16 function.
Dmitry Kovalev [Thu, 4 Apr 2013 01:37:28 +0000 (18:37 -0700)]
Adding decode_sb_16x16 function.

Moving command code from decode_sb32 and decode_sb64 into new
decode_sb_16x16 function.

Change-Id: I57a161300af085557adec2fe600f3c10a145faf2

11 years agoMerge "Motion vector decoder cleanup." into experimental
John Koleszar [Thu, 4 Apr 2013 01:00:31 +0000 (18:00 -0700)]
Merge "Motion vector decoder cleanup." into experimental

11 years agoMotion vector decoder cleanup.
Dmitry Kovalev [Thu, 4 Apr 2013 00:43:45 +0000 (17:43 -0700)]
Motion vector decoder cleanup.

Better formatting, shorter code, adding read_switchable_filter_type
function.

Change-Id: Ib919b529385cae34c2d682b1c3093518b6942fc1

11 years agoRemove special case vp9_decode_coefs_4x4
John Koleszar [Wed, 3 Apr 2013 23:12:11 +0000 (16:12 -0700)]
Remove special case vp9_decode_coefs_4x4

This code was only called in the BPRED case, but had no real special
case associated with it. Made BPRED behave like all other modes. No
bitstream change.

Change-Id: I87ba11fe723928b6314d094979011228d5ba006f

11 years agoMerge "Modify vp9_setup_interp_filters function" into experimental
Yunqing Wang [Wed, 3 Apr 2013 21:09:01 +0000 (14:09 -0700)]
Merge "Modify vp9_setup_interp_filters function" into experimental

11 years agoModify vp9_setup_interp_filters function
Yunqing Wang [Wed, 3 Apr 2013 19:22:50 +0000 (12:22 -0700)]
Modify vp9_setup_interp_filters function

Took vp9_setup_scale_factors_for_frame() out from
vp9_setup_interp_filters(), so that it is only called once per
frame instead of per macroblock. Decoder tests showed a 1.5%
performance gain.

Change-Id: I770cb09eb2140ab85132f82aed388ac0bdd3a0aa

11 years agoReimplementation of setup_frame_size.
Dmitry Kovalev [Wed, 3 Apr 2013 19:21:47 +0000 (12:21 -0700)]
Reimplementation of setup_frame_size.

General code cleanup in loopfilter code. Modification of setup_frame_size,
so now VP9_COMMON is modified in one place after all width/height checks
passed.

Change-Id: Iedf32df43a912d7aae788ed276ac6c429973f6fe

11 years agoAdding setup_pred_probs and read_txfm_mode functions.
Dmitry Kovalev [Wed, 3 Apr 2013 19:18:15 +0000 (12:18 -0700)]
Adding setup_pred_probs and read_txfm_mode functions.

Decomposition vp9_decode_frame function, moving code into read_txfm_mode
and setup_pred_probs functions.

Change-Id: I90970dea43cbcef4d6d61fdef267c2094ddee65d

11 years agoMerge "Fix overlapping writes by copy_and_extend_plane" into experimental
John Koleszar [Wed, 3 Apr 2013 18:54:29 +0000 (11:54 -0700)]
Merge "Fix overlapping writes by copy_and_extend_plane" into experimental

11 years agoMerge "Remove unused inplace idct_add functions" into experimental
John Koleszar [Wed, 3 Apr 2013 18:10:50 +0000 (11:10 -0700)]
Merge "Remove unused inplace idct_add functions" into experimental

11 years agoMerge "Renaming sb32_coded and sb64_coded fields." into experimental
John Koleszar [Wed, 3 Apr 2013 04:49:03 +0000 (21:49 -0700)]
Merge "Renaming sb32_coded and sb64_coded fields." into experimental

11 years agoMerge "Lower case names for struct members." into experimental
John Koleszar [Wed, 3 Apr 2013 04:27:32 +0000 (21:27 -0700)]
Merge "Lower case names for struct members." into experimental

11 years agoMerge "Adding functions with common code for superblock decoding." into experimental
John Koleszar [Wed, 3 Apr 2013 03:18:13 +0000 (20:18 -0700)]
Merge "Adding functions with common code for superblock decoding." into experimental

11 years agoMerge "Code cleanup in vp9_onyx_if.c." into experimental
John Koleszar [Wed, 3 Apr 2013 03:16:56 +0000 (20:16 -0700)]
Merge "Code cleanup in vp9_onyx_if.c." into experimental

11 years agoRenaming sb32_coded and sb64_coded fields.
Dmitry Kovalev [Wed, 3 Apr 2013 01:21:55 +0000 (18:21 -0700)]
Renaming sb32_coded and sb64_coded fields.

Renaming sb32_coded to prob_sb32_coded and sb64_coded to prob_sb64_coded.

Change-Id: I6de5cad00a57c3e066d53467f8c38cb6073dce11

11 years agoFix overlapping writes by copy_and_extend_plane
John Koleszar [Tue, 2 Apr 2013 21:57:44 +0000 (14:57 -0700)]
Fix overlapping writes by copy_and_extend_plane

Broken by refactoring commit 180cd5faa52e00a77df13da15d846cfd909fc531

Change-Id: I307f6e54d93219a31e7336f1633103ecb25e4832

11 years agoMerge branch 'master' into experimental
John Koleszar [Tue, 2 Apr 2013 21:54:44 +0000 (14:54 -0700)]
Merge branch 'master' into experimental

Conflicts:
vp9/vp9_common.mk

Change-Id: I2cd5ab47dc31c4210cefc23a282102123d5e2221

11 years agoLower case names for struct members.
Dmitry Kovalev [Tue, 2 Apr 2013 20:34:20 +0000 (13:34 -0700)]
Lower case names for struct members.

Lower case member names inside VP9D_CONFIG and VP9D_COMP structs.

Change-Id: I75af9ad2d929a35c357207a3fd9ebedddabf79c3

11 years agoDemux vp9_loopfilter_x86.c
Johann [Tue, 2 Apr 2013 18:45:01 +0000 (11:45 -0700)]
Demux vp9_loopfilter_x86.c

Allow more careful targeting of compiler flags.

Change-Id: I963ab4a6479dedb165419310dfca52a58a9877b8

11 years agoRemove unused inplace idct_add functions
John Koleszar [Tue, 2 Apr 2013 19:23:22 +0000 (12:23 -0700)]
Remove unused inplace idct_add functions

Change-Id: I1c29e041d6db4af4508356315cd65718acb1f668

11 years agovp9_sadmxn_x86 only contains SSE2 functions
Johann [Tue, 2 Apr 2013 18:20:55 +0000 (11:20 -0700)]
vp9_sadmxn_x86 only contains SSE2 functions

Rename the file and clean up includes. In the future we would like to
pattern match the files which need additional compiler flags.

Change-Id: I2c76256467f392a78dd4ccc71e6e0a580e158e56

11 years agoAdding functions with common code for superblock decoding.
Dmitry Kovalev [Fri, 29 Mar 2013 23:31:46 +0000 (16:31 -0700)]
Adding functions with common code for superblock decoding.

Adding decode_sb_8x8 and decode_sb_4x4 with common code for superblock
decoding. Renaming decode_superblock32 to decode_sb32 and
decode_superblock64 to decode_sb64.

Change-Id: Id006d7e398b9bfa3acec4326e1e0c537ebfefdd3

11 years agoCode cleanup in vp9_onyx_if.c.
Dmitry Kovalev [Tue, 2 Apr 2013 17:24:56 +0000 (10:24 -0700)]
Code cleanup in vp9_onyx_if.c.

Using clamp and MIN/MAX functions instead of plain C code. Lower case
variable names. Removing redundant parenthesis.

Change-Id: Ibf7cc5fbe4fbdb5029049a599af71534176e6f42

11 years agoMerge "Code cleanup." into experimental
John Koleszar [Tue, 2 Apr 2013 04:12:56 +0000 (21:12 -0700)]
Merge "Code cleanup." into experimental

11 years agoMerge "Removing redundant function arguments." into experimental
John Koleszar [Tue, 2 Apr 2013 04:09:48 +0000 (21:09 -0700)]
Merge "Removing redundant function arguments." into experimental

11 years agoMerge "Code cleanup in block reconstruction code." into experimental
John Koleszar [Tue, 2 Apr 2013 04:05:35 +0000 (21:05 -0700)]
Merge "Code cleanup in block reconstruction code." into experimental

11 years agoCode cleanup in block reconstruction code.
Dmitry Kovalev [Tue, 2 Apr 2013 01:26:58 +0000 (18:26 -0700)]
Code cleanup in block reconstruction code.

Adding recon, recond_sby and recon_sbuv functions.

Change-Id: I6050db233e792e73a3699d18b056eaef9c901d6d

11 years agoCode cleanup.
Dmitry Kovalev [Tue, 2 Apr 2013 01:23:04 +0000 (18:23 -0700)]
Code cleanup.

Adding multiple16 function, removing redundant code, better formatting.

Change-Id: I50195b78ac8ab803e3d05c8fb05a7ca134fab386

11 years agoMerge "Calculate SSIM over both reconstruction as well as postproc buffer." into...
Ronald S. Bultje [Tue, 2 Apr 2013 00:22:29 +0000 (17:22 -0700)]
Merge "Calculate SSIM over both reconstruction as well as postproc buffer." into experimental

11 years agoAdding/Uncommenting elements for Alpha Support
Vignesh Venkatasubramanian [Mon, 1 Apr 2013 22:36:29 +0000 (15:36 -0700)]
Adding/Uncommenting elements for Alpha Support

Uncommenting Track elements related to BlockAdditional and adding
the new AlphaMode element as specified in the matroska spec here:
http://matroska.org/technical/specs/index.html#AlphaMode

Change-Id: I87895931e8885e4832efa74776ab1bea91a634e2

11 years agoCalculate SSIM over both reconstruction as well as postproc buffer.
Ronald S. Bultje [Mon, 1 Apr 2013 16:10:27 +0000 (09:10 -0700)]
Calculate SSIM over both reconstruction as well as postproc buffer.

We used to calculate SSIM only over the postproc buffer, whereas we
calculate PSNR for both. Compared to postproc-SSIM, this is about 0.3%
higher for derf, 1.4% lower for hd and 0.5% lower for stdhd, although
it is highly variable on a per-clip basis.

Change-Id: I8dd491f0f5b4201dedfb15d288c854d5d4caa10f

11 years agoMerge "Framework changes in nzc to allow more flexibility" into experimental
Deb Mukherjee [Fri, 29 Mar 2013 22:57:27 +0000 (15:57 -0700)]
Merge "Framework changes in nzc to allow more flexibility" into experimental

11 years agoMerge "Tokenization code cleanup." into experimental
John Koleszar [Fri, 29 Mar 2013 17:55:55 +0000 (10:55 -0700)]
Merge "Tokenization code cleanup." into experimental

11 years agoMerge "Extracting common motion vector prediction code." into experimental
John Koleszar [Fri, 29 Mar 2013 17:43:38 +0000 (10:43 -0700)]
Merge "Extracting common motion vector prediction code." into experimental

11 years agoMerge "General code cleanup." into experimental
John Koleszar [Fri, 29 Mar 2013 17:40:34 +0000 (10:40 -0700)]
Merge "General code cleanup." into experimental

11 years agoMerge "Extracting decode_tiles function." into experimental
John Koleszar [Fri, 29 Mar 2013 17:25:34 +0000 (10:25 -0700)]
Merge "Extracting decode_tiles function." into experimental

11 years agoMerge "define a specific neighborhood for SB64 mv search" into experimental
Yaowu Xu [Fri, 29 Mar 2013 16:26:14 +0000 (09:26 -0700)]
Merge "define a specific neighborhood for SB64 mv search" into experimental

11 years agoMerge "remove code not in use" into experimental
Yaowu Xu [Fri, 29 Mar 2013 15:40:29 +0000 (08:40 -0700)]
Merge "remove code not in use" into experimental

11 years agoMerge "Reoptimizing the interpolation filters" into experimental
Deb Mukherjee [Fri, 29 Mar 2013 14:15:05 +0000 (07:15 -0700)]
Merge "Reoptimizing the interpolation filters" into experimental

11 years agoMerge "Bug fix: Issue 532: VPX codec executes emms instruction without"
Scott LaVarnway [Thu, 28 Mar 2013 21:26:13 +0000 (14:26 -0700)]
Merge "Bug fix: Issue 532: VPX codec executes emms instruction without"

11 years agoMerge "Adjust mv_ratio_accumulator threshold." into experimental
Paul Wilkins [Thu, 28 Mar 2013 19:53:23 +0000 (12:53 -0700)]
Merge "Adjust mv_ratio_accumulator threshold." into experimental

11 years agoMerge "Fix mix-up in pt token indexing." into experimental
Ronald S. Bultje [Thu, 28 Mar 2013 19:53:00 +0000 (12:53 -0700)]
Merge "Fix mix-up in pt token indexing." into experimental

11 years agoMerge "Fix crash when --tune=ssim is selected." into experimental
Yaowu Xu [Thu, 28 Mar 2013 18:23:44 +0000 (11:23 -0700)]
Merge "Fix crash when --tune=ssim is selected." into experimental

11 years agoMerge "Save nzcstats." into experimental
Ronald S. Bultje [Thu, 28 Mar 2013 16:36:58 +0000 (09:36 -0700)]
Merge "Save nzcstats." into experimental

11 years agoFramework changes in nzc to allow more flexibility
Deb Mukherjee [Tue, 26 Mar 2013 22:23:30 +0000 (15:23 -0700)]
Framework changes in nzc to allow more flexibility

The patch adds the flexibility to use standard EOB based coding
on smaller block sizes and nzc based coding on larger blocksizes.
The tx-sizes that use nzc based coding and those that use EOB based
coding are controlled by a function get_nzc_used().
By default, this function uses nzc based coding for 16x16 and 32x32
transform blocks, which seem to bridge the performance gap
substantially.

All sets are now lower by 0.5% to 0.7%, as opposed to ~1.8% before.

Change-Id: I06abed3df57b52d241ea1f51b0d571c71e38fd0b

11 years agoFix mix-up in pt token indexing.
Ronald S. Bultje [Thu, 28 Mar 2013 16:24:29 +0000 (09:24 -0700)]
Fix mix-up in pt token indexing.

This fixes uninitialized reads in the trellis, and probably makes the
trellis do something again.

Change-Id: Ifac8dae9aa77574bde0954a71d4571c5c556df3c

11 years agoAdjust mv_ratio_accumulator threshold.
Paul Wilkins [Tue, 26 Mar 2013 14:40:24 +0000 (14:40 +0000)]
Adjust mv_ratio_accumulator threshold.

This threshold effectively limits the amount of motion
from one end of a GF/ARF group to the other.
This patch makes the threshold depend on image size.

Change-Id: Id45d1d7bced815f86ddd037be53164894b00b82f

11 years agoFix crash when --tune=ssim is selected.
Paul Wilkins [Tue, 26 Mar 2013 13:11:52 +0000 (13:11 +0000)]
Fix crash when --tune=ssim is selected.

Crash fix only. No functional change or testing.

Change-Id: I0c6d114d024c29fc11ae61666f5938f11b01dd6a

11 years agodefine a specific neighborhood for SB64 mv search
Yaowu Xu [Wed, 27 Mar 2013 18:07:44 +0000 (11:07 -0700)]
define a specific neighborhood for SB64 mv search

Change-Id: Ifda91d697c5970c65ce3ec1feac5562124f91782

11 years agoExtracting decode_tiles function.
Dmitry Kovalev [Wed, 27 Mar 2013 23:23:12 +0000 (16:23 -0700)]
Extracting decode_tiles function.

Extracting decode_tiles function from vp9_decode_frame.

Change-Id: I02a465eeaf76138ef3559e1d46deb452c10e1219

11 years agoRemoving redundant function arguments.
Dmitry Kovalev [Wed, 27 Mar 2013 23:19:27 +0000 (16:19 -0700)]
Removing redundant function arguments.

Almost all arguments for vp9_build_inter32x32_predictors_sb and
vp9_build_inter64x64_predictors_sb can be deduced from the first macroblock
argument.

Change-Id: I5d477a607586d05698d5b3b9b9bc03891dd3fe83

11 years agoExtracting common motion vector prediction code.
Dmitry Kovalev [Wed, 27 Mar 2013 21:35:36 +0000 (14:35 -0700)]
Extracting common motion vector prediction code.

Adding b_mv_pred_row and b_mv_pred_col functions, updating
mi_mv_pred_row and mi_mv_pred_row functions.

Change-Id: I9af068442d4474478375943cc6fce1605d6fc0a5

11 years agoGeneral code cleanup.
Dmitry Kovalev [Wed, 27 Mar 2013 21:22:30 +0000 (14:22 -0700)]
General code cleanup.

Removing redundant code, lower case variable names, better indentation,
better parameter names, adding const to readonly parameters.

Change-Id: Ibfdee00f60316fdc5b3f024028c7aaa76a627483

11 years agoMerge "Extract setup_frame_size and update_frame_context functions." into experimental
John Koleszar [Wed, 27 Mar 2013 21:21:57 +0000 (14:21 -0700)]
Merge "Extract setup_frame_size and update_frame_context functions." into experimental

11 years agoExtract setup_frame_size and update_frame_context functions.
Dmitry Kovalev [Wed, 27 Mar 2013 21:04:35 +0000 (14:04 -0700)]
Extract setup_frame_size and update_frame_context functions.

Extracting setup_frame_size and update_frame_context functions. Introducing
vp9_read_prob function as shortcut for (vp9_prob)vp9_read_literal(r, 8).

Change-Id: Ia5c68fd725b2d1b9c5eb20f69cacb62361b5a3dd

11 years agoTokenization code cleanup.
Dmitry Kovalev [Wed, 27 Mar 2013 21:03:56 +0000 (14:03 -0700)]
Tokenization code cleanup.

Moving almost identical code to decode_sb32 and decode_sb64 functions.

Change-Id: Id39377aa5106be85d5b0fc3f83586b3779a6c0da

11 years agoMerge "Convert inv_tile_order to control interface" into experimental
John Koleszar [Wed, 27 Mar 2013 20:41:12 +0000 (13:41 -0700)]
Merge "Convert inv_tile_order to control interface" into experimental

11 years agoMerge "Convert g_frame_parallel_decoding to control interface" into experimental
John Koleszar [Wed, 27 Mar 2013 20:41:09 +0000 (13:41 -0700)]
Merge "Convert g_frame_parallel_decoding to control interface" into experimental

11 years agoMerge "Modify idct code to use macro" into experimental
Yunqing Wang [Wed, 27 Mar 2013 19:51:41 +0000 (12:51 -0700)]
Merge "Modify idct code to use macro" into experimental

11 years agoModify idct code to use macro
Yunqing Wang [Wed, 27 Mar 2013 19:36:08 +0000 (12:36 -0700)]
Modify idct code to use macro

Small modification of idct code.

Change-Id: I5c4e3223944c68e4ccf762f6cf07c990250e4290