Age | Commit message (Collapse) | Author |
|
Change-Id: Ib487cbd7b214a6e3f13180bc0e5dcb792d8a406e
|
|
|
|
The encoder was not correctly catching transitions in the quantizer
deltas. If a delta_q was set, then the quantizer would be reinitialized
on every frame, but if they transitioned to 0, the quantizer would
not be reinitialized, leading to a encode-decode mismatch.
This bug was triggered by commit 999e155, which sets a Y2 delta Q
for very low base Q levels.
Change-Id: Ia6733464a55ee4ff2edbb82c0873980d345446f5
|
|
|
|
Change-Id: I0d41415e3961c2c9492d342290c1999f9d02e6d8
|
|
|
|
Change-Id: I242ca4854cb21f3d63efb979bd6ecc9f06f67f33
|
|
manipulating it in situ via a pointer.
Change-Id: If4a87a4eccd84f39577c0e91e171245f4954c5cf
|
|
|
|
|
|
|
|
Change-Id: I5744269a35e2d696ecf40c1665efd572bfc9b6cb
|
|
Whe auto keyframe insertion is enabled and conditions are right (scene change)
the encoder can decide to insert a key frame and does a re-encoding. This can
introduce extra latency. In RT mode we do not do the re-encoding of the current
frame but force the next frame to key frame.
Change-Id: I15c175fa845ac4c1a1f18bea3676e154669522a7
|
|
Change-Id: I585615400697b77c50dd05480616f868f2637aa7
|
|
instead of each time mode is tested.
Change-Id: Ief0f5586dafde54cc14d348dcecdacb182e7c1d5
|
|
Change-Id: I2bcef6a8e47f88542861fd1356631ca934e2a0e7
|
|
Then removed unnecessary code.
Change-Id: I142658815d843c9396b07881dbdd8d387c43c90e
|
|
Restructured function in order to eliminate the prediction
modes save/restore. Code cleanup also.
Change-Id: I816e3b910de64d0f0f0ddc2398805c63263191e8
|
|
Reduce the number of sync points by letting each thread
continue imediatly with a new MB row.
Better multicore scaling, improves performance by 5-20% on ARM multicore.
Change-Id: Ic97e4d1c4886a842c85dd3539a93cb217188ed1b
|
|
Change-Id: Id1d4bbe257cd126bb5f44347b896ddb659724f0b
|
|
from vp8cx_encode_intra_macro_block. prediction_error is used when
deciding if a frame should be a keyframe. After reviewing this with
Yaowu, it was pointed out that vp8cx_encode_intra_macro_block
is only called for keyframes, so the accumulation is unnecessary.
Change-Id: Id79dc81b80d4f5d124f3a0dba1b923887e2e1ec8
|
|
last_auto_filter_prediction_error is not really used.
Change-Id: Ic6e56c4076bbd250ef783ee1be46964c85f62864
|
|
vp8_pick_intra4x4mby_modes uses the passed in distortion
for an early breakout. The best distortion was never saved
and the distortion for TM_PRED was always used.
Change-Id: Idbaf73027408a4bba26601713725191a5d7b325e
|
|
|
|
|
|
|
|
min_q is required to be <= max_q.
Change-Id: I28eccf96df3b52a94913762b54c4fbe0d021ce5e
|
|
Conflicts:
configure
Change-Id: I18c2292256d2387ff09da209aa9cf6891e1864a0
|
|
|
|
Previously, the DC check is to make sure there is no code-able
DC shift for quantizer Q0, which has been verified rather
conservative. This commit changes the criteria to have two
components, DC and AC, to address the conservativeness. First,
it checks if all AC energy is enough to contribute a single
non-zero quantized AC coefficient. Second, for DC, the decision
to skip further considers two possible scenarios: 1. There is
no code-able 2nd order DC coefficient at all; 2 The residue is
relatively flat, but the uniform DC change is very small, i.e.
less than 1/2 gray level per pixel.
Comparing to previous criteria, the new criteria is about 10%
to 15% faster in encoding time with a very small quality loss.
(threshold ~1000 and quality range 33db-45db)
It should be noted that this commit enables "automatic" static
threshold for encodebreakout if a non-zero small value is passed
in to encoder.
Change-Id: I0f77719a1ac2c2dfddbd950d84920df374515ce3
|
|
|
|
Applied same method used in vp8_rd_pick_inter_mode() to improve
the accuracy of MV prediction.
Change-Id: Ia50ae26208b18482695601f32febd99fe89fbc17
|
|
The condition for using RD when selecting the intra coding mode
for a MB is that the RD flag is set AND we're not in real-time
mode.
Previously the code used RD if either the RD flag was set OR
we were not using real-time mode.
Change-Id: Ic711151298468a3f99babad39ba8375f66d55a08
|
|
Conflicts:
vp8/encoder/rdopt.c
Change-Id: Ic17907df70fff45c9e766b5d0cbab0c5f1a1095f
|
|
This function was using a variance metric compared to and SSE metric in
other places (eg. vp8_rd_inter_uv)
Change-Id: I9109fcc5a13bca9db1d7ead500fe14999ab233eb
|
|
Adds following targets to configure script to support RVCT compilation
without operating system support (for Profiler or bare metal images).
- armv5te-none-rvct
- armv6-none-rvct
- armv7-none-rvct
To strip OS specific parts from the code "os_support"-config was added
to script and CONFIG_OS_SUPPORT flag is used in the code to exclude OS
specific parts such as OS specific includes and function calls for
timers and threads etc. This was done to enable RVCT compilation for
profiling purposes or running the image on bare metal target with
Lauterbach.
Removed separate AREA directives for READONLY data in armv6 and neon
assembly files to fix the RVCT compilation. Otherwise
"ldr <reg>, =label" syntax would have been needed to prevent linker
errors. This syntax is not supported by older gnu assemblers.
Change-Id: I14f4c68529e8c27397502fbc3010a54e505ddb43
|
|
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
|
|
Change-Id: I6ca2d89f355839c4c770773c09fc69dcea7c1406
warning: implicit declaration of function
'vp8_variance_halfpixvar16x16_[h|v|hv]_neon'
'vp8_sub_pixel_variance16x16_neon_func'
|
|
|
|
|
|
|
|
Improved the performance of the first pass only
(~6% on 720p test clip) by making use of LUT instead of the
float calculations. Might try a SIMD version later.
Also started to make use of int_mv instead of
MV.
Change-Id: If2a217c7d6b59cd2c25c5553e0ca7e0502403af8
|
|
Reduce the code size.
Change-Id: I2e1998557a3c8776e262c442fd758c25e17aff7a
|
|
Change-Id: I8f3f2642b02975fbdb14982984a29821f80d30d3
|
|
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
|
|
|
|
|
|
|
|
Change-Id: Ibd6e3bc82471839904b1086b499efc55f7c5cbaf
|
|
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
|