summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-28Merge remote branch 'internal/upstream' into HEADJohn Koleszar
Conflicts: vp8/encoder/rdopt.c Change-Id: I68d04397a12f565b9f1bd35d4e50f1cc9afb76ff
2011-01-28Merge remote branch 'internal/upstream-experimental' into HEADJohn Koleszar
2011-01-27warning: pointer targets differ in signednessJohann
vp8/encoder/rdopt.c:728: warning: pointer targets in passing argument 3 of 'macro_block_yrd' differ in signedness vp8/encoder/rdopt.c:541: note: expected 'int *' but argument is of type 'unsigned int *' distortion is signed when calling macro_block_yrd is both other cases, as well as for RDCOST Change-Id: I5e22358b7da76a116f498793253aac8099cb3461
2011-01-27clean up implicit declaration warnings for neonJohann
Change-Id: I6ca2d89f355839c4c770773c09fc69dcea7c1406 warning: implicit declaration of function 'vp8_variance_halfpixvar16x16_[h|v|hv]_neon' 'vp8_sub_pixel_variance16x16_neon_func'
2011-01-27Merge "Removed unused members from VP8_COMP"Scott LaVarnway
2011-01-27Merge "Remove copies of same functions"Yunqing Wang
2011-01-27Merge "Refine motion vector prediction for NEWMV mode"Yunqing Wang
2011-01-26Remove copies of same functionsYunqing Wang
Reduce the code size. Change-Id: I2e1998557a3c8776e262c442fd758c25e17aff7a
2011-01-26Removed unused members from VP8_COMPScott LaVarnway
Change-Id: I8f3f2642b02975fbdb14982984a29821f80d30d3
2011-01-26Rationalize vp8_rd_pick_intra16x16mby_mode()Paul Wilkins
Use the function macro_block_yrd() to calculate error and distortion in keeping with what is done for inter frames. The old code was using a variance metric for once case and an SSE function for measuring distortion in the other case. The function vp8_encode_intra16x16mbyrd() is no longer used. Change-Id: Ic228cb00a78ff637f4365b43f58fbe5a9273d36f
2011-01-26Merge "Correction to buffer update for non-viewable frames."Paul Wilkins
2011-01-26Merge "cap the best quantizer for 2nd order DC"Yaowu Xu
2011-01-26Merge "Adds vpx_vp8_enc_asm_offsets.c.o to OBJS-yes list"John Koleszar
2011-01-26Adds vpx_vp8_enc_asm_offsets.c.o to OBJS-yes listAttila Nagy
Change-Id: Ibd6e3bc82471839904b1086b499efc55f7c5cbaf
2011-01-26Correction to buffer update for non-viewable frames.Paul Wilkins
The code previously tested cpi->common.refresh_alt_ref_frame but there are situations where this flag may be set for viewable frames. The correct test should be !cm->show_frame. Change-Id: Ia1a600622992a4a68fe1d38ac23bf6b34b133688
2011-01-26Merge "Fix for incorrect variable declaration."Paul Wilkins
2011-01-25cap the best quantizer for 2nd order DCYaowu Xu
This commit also removes artificial RDMULT cap for low quantizers. The intention is to address some abnormal behavior of mode selections at the low quantizer end, where many macroblocks were coded with SPLITMV with all partitions using same motion vector including (0,0). This change improves the compression quality substantially for high quality encodings in both PSNR and SSIM terms. Overall effect on mid/low rate range is also positive for all metrics, but smaller in magnitude. Change-Id: I864b29c4bd9ff610d2545fa94a19cc7e80c02667
2011-01-26Merge remote branch 'internal/upstream' into HEADJohn Koleszar
2011-01-26Merge remote branch 'internal/upstream-experimental' into HEADJohn Koleszar
2011-01-26Merge remote branch 'origin/master' into experimentalJohn Koleszar
Change-Id: I35581d7fd525fe972e750899e35de93867595e83
2011-01-25Fix for incorrect variable declaration.Fritz Koenig
Commit 336aa0b7da8a35ba57400ce92fc016fc7fb35233 incorrectly declared current_pos as and int, when it should have been a FIRSTPASS_STATS pointer. Change-Id: I0a51c7a86ebba8546c95dd5d9d1c1143d4613e40
2011-01-25Merge "update sse2 regular quantizer"Johann
2011-01-25Merge "move new neon subpixel function"Johann
2011-01-25Refine motion vector prediction for NEWMV modeYunqing Wang
Adjust checking points in motion vector prediction to better cover possible movements, and get a better prediction. Tests on test clips showed a 0.1% improvement in SSIM, and no change in PSNR and performance. Change-Id: Ifdab05d35e10faea1445c61bb73debf888c9d2f8
2011-01-25Merge "Fix issue 262, vp8cx_pack_tokens_into_partitions_armv5"Johann
2011-01-25move new neon subpixel functionJohann
previously wasn't guarded with ifdef ARMV7, causing a link error with ARMV6 Change-Id: I0526858be0b5f49b2bf11e9090180b2a6c48926d
2011-01-25Merge "Modify calling of NEON code in sub-pixel search"Yunqing Wang
2011-01-25Fix issue 262, vp8cx_pack_tokens_into_partitions_armv5Attila Nagy
http://code.google.com/p/webm/issues/detail?id=262 Function was asuming that partitions have equal amount of mb_rows, which is not always true. Change-Id: I59ed40117fd408392a85c633beeb5340ed2f4b25
2011-01-25Merge "Incorrect bit allocation in forced KF groups."Paul Wilkins
2011-01-25Incorrect bit allocation in forced KF groups.Paul Wilkins
The old 2 pass code estimated error distribution when coding a forced (by interval) key frame. The result of this was that in some cases, when allocating bits at the GF group level within a KF group there was either a glut of bits or starvation of bits at the end of the KF group. Added code to rescan and get the correct data once the position of a forced key frame has been determined. Change-Id: I0c811675ef3f9e4109d14bd049d7641682ffcf11
2011-01-25Merge remote branch 'internal/upstream' into HEADJohn Koleszar
2011-01-25Merge remote branch 'origin/master' into experimentalJohn Koleszar
Change-Id: I3dd6219db4126c1ad526c7877ad1ce49c496155f
2011-01-24configure.sh fix for visual studioJames Berry
-For targets with external build systems like visual studio CC is not set so check_add_cflags will fail. Only call this function if extra_cflags is set. Change-Id: I3531bad69e9b6a59c5be1b0e8b6053ccccbc332c
2011-01-24Added vp8_update_zbin_extraScott LaVarnway
vp8cx_mb_init_quantizer was being called for every mode checked in vp8_rd_pick_inter_mode. zbin_extra is the only value that really needs to be recalculated. This calculation is disabled when using the fast quantizer for mode selection. This gave a small performance boost (~.5% to 1%). Note: This needs to be verified with segmentation_enabled. Change-Id: I62716a870b3c82b4a998bdf95130ff0b02106f1e
2011-01-23Merge remote branch 'internal/upstream-experimental' into HEADJohn Koleszar
2011-01-22Merge remote branch 'origin/master' into experimentalJohn Koleszar
Change-Id: I2c3326f7e4d9e901f098e499973586e973e1b8fb
2011-01-22Merge remote branch 'internal/upstream' into HEADJohn Koleszar
2011-01-22Merge remote branch 'internal/upstream-experimental' into HEADJohn Koleszar
2011-01-21Merge "Modify sub-pixel filters to eliminate unnecessary calculations"Yunqing Wang
2011-01-21Modify sub-pixel filters to eliminate unnecessary calculationsYunqing Wang
In sub-pixel calculation, xoffset and yoffset mostly take some specific values. Modified sub-pixel filter functions according to these possible values to improve performance. Change-Id: I83083570af8b00ff65093467914fbb97a4e9ea21
2011-01-21Modified static scene check.Paul Wilkins
Added code to scan ahead a few frames when we see what we think is a static scene in the two pass GF loop to see if the conditions persist. Moved calculation of decay rate out into a fuunction. Change-Id: I6e9c67e01ec9f555144deafc8ae67ef25bffb449
2011-01-21Merge remote branch 'internal/upstream' into HEADJohn Koleszar
Conflicts: configure Change-Id: I0bc38a6558d0d7f62cd2c551e75c3a59e39008bd
2011-01-21Merge remote branch 'internal/upstream-experimental' into HEADJohn Koleszar
Conflicts: configure Change-Id: I2ce6b0a0507f9aa4e3fed8ea1cb69779db5f4566
2011-01-21Merge remote branch 'origin/master' into experimentalJohn Koleszar
Conflicts: configure Change-Id: I87cdc3faac79e683038fa4a45c3ac542b8e931a5
2011-01-20Further work to reduce pulsing.Paul Wilkins
These changes are specifically targeted at fade transitions to static scenes. Here we want to place a GF/ARF immediately after the fade and prevent an ARF just before the fade. Also some code lines and comment lines shortened to 80 chars while I was there. Change-Id: Iefdc09a4fa7b265048fc017246b73e138693950f
2011-01-20Update configure scriptsAttila Nagy
Add --extra-cflags as config parameter for user defined extra CFLAGS. Add -g to asflags when debug enabled for arm targets. Change-Id: Ibdde7cfdda6736c1c1db45e6466bd08504a51f15
2011-01-20Fixed use of motion percentage in KF/GF group calcAdrian Grange
In both vp8_find_next_key_frame and define_gf_group, motion_pct was initialised at the top of the loop before next_frame stats had been read in. This fix sets motion_pct after next_frame stats have been read. Change-Id: I8c0bebf372ef8aa97b97fd35b42973d1d831ee73
2011-01-20Merge remote branch 'origin/master' into experimentalJohn Koleszar
Change-Id: Ia0840303fe1dc8c12f3389e7a1fe20b6d3c6b9c5
2011-01-19experiment extending the quantizer rangeYaowu Xu
Prior to this change, VP8 min quantizer is 4, which caps the highest quality around 51DB. This experimental change extends the min quantizer to 1, removes the cap and allows the highest quality to be around ~73DB, consistent with the fdct/idct round trip error. To test this change, at configure time use options: --enable-experimental --enable-extend_qrange The following is a brief log of changes in each of the patch sets patch set 1: In this commit, the quantization/dequantization constants are kept unchanged, instead scaling factor 4 is rolled into fdct/idct. Fixed Q0 encoding tests on mobile: Before: 9560.567kbps Overall PSNR:50.255DB VPXSSIM:98.288 Now: 18035.774kbps Overall PSNR:73.022DB VPXSSIM:99.991 patch set 2: regenerated dc/ac quantizer lookup tables based on the scaling factor rolled in the fdct/idct. Also slightly extended the range towards the high quantizer end. patch set 3: slightly tweaked the quantizer tables and generated bits_per_mb table based on Paul's suggestions. patch set 4: fix a typo in idct, re-calculated tables relating active max Q to active min Q patch set 5: added rdmult lookup table based on Q patch set 6: fix rdmult scale: dct coefficient has scaled up by 4 patch set 7: make transform coefficients to be within 16bits patch set 8: normalize 2nd order quantizers patch set 9: fix mis-spellings patch set 10: change the configure script and macros to allow experimental code to be enabled at configure time with --enable-extend_qrange patch set 11: rebase for merge Change-Id: Ib50641ddd44aba2a52ed890222c309faa31cc59c
2011-01-19Merge "First pass loop bug."Paul Wilkins