- Mar 24, 2011
-
-
Johann Koenig authored
remove helper function and avoid shadowing all the arguments to the stack on 64bit systems when running with --good --cpu-used=0: ~2% on linux x86 and x86_64 ~2% on win32 x86 msys and visual studio more on darwin10 x86_64 significantly more on x86_64-win64-vs9 Change-Id: Ib7be12edf511fbf2922f191afd5b33b19a0c4ae6
-
- Mar 21, 2011
-
-
John Koleszar authored
-
John Koleszar authored
-
John Koleszar authored
Make sure the given interface is actually a decoder interface before initializing it. Change-Id: Ie48d737f2956cc2f0891666de5ea87251e96bc49
-
Yunqing Wang authored
-
John Koleszar authored
This declaration did not match the prototype_sad() prototype, but was unused in this translation unit, so it is removed instead. Fixes issue 290. Change-Id: I168854f88a85f73ca9aaf61d1e5dc0f43fc3fdb3
-
John Koleszar authored
-
John Koleszar authored
Map an enum to the --end-usage values, so you can specify --end-usage=cq instead of --end-usage=2. The numerical values still work for historical scripts, etc, but this is more user friendly. Change-Id: I445ecd9638f801f5924a71eabf449bee293cdd34
-
- Mar 18, 2011
-
-
Attila Nagy authored
Thread synchronization was not correct when frame width was 1 MB. Number of allocated encoding threads is limited by the sync_range. There is no point having more because each thread lags sync_range MBs behind the thread processing the row above. http://code.google.com/p/webm/issues/detail?id=302 Change-Id: Icaf67a883beecc5ebf2f11e9be47b6997fdf6f26
-
John Koleszar authored
A large number of functions were defined with external linkage, even though they were only used from within one file. This patch changes their linkage to static and removes the vp8_ prefix from their names, which should make it more obvious to the reader that the function is contained within the current translation unit. Functions that were not referenced were removed. These symbols were identified by: $ nm -A libvpx.a | sort -k3 | uniq -c -f2 | grep ' [A-Z] ' \ | sort | grep '^ *1 ' Change-Id: I59609f58ab65312012c047036ae1e0634f795779
-
- Mar 17, 2011
-
-
Ralph Giles authored
The mmap allocation code in vp8_dx_iface.c was inconsistent. The static array vp8_mem_req_segs defines two descriptors, but only the first is real. The second is a sentinel and isn't actually allocated, so vpx_codec_alg_priv is declared with mmaps[NELEMENTS(vp8_mem_req_segs)-1]. Some functions use this reduced upper bound when iterating though the mmap array, but these two functions did not. Instead, this commit calls NELEMENTS(...->mmaps) to directly query the bounds of the dereferenced array. This fixes an array-bounds warning from gcc 4.6 on vp8_xma_set_mmap. Change-Id: I918e2721b401d134c1a9764c978912bdb3188be1
-
Ralph Giles authored
Change-Id: I48642c380353043bed96026f56de5908fcee270a
-
John Koleszar authored
-
- Mar 16, 2011
-
-
John Koleszar authored
Fixes implicit declaration warning for 'mach_task_self'. This change is an update to Change I9991dedd1ccfddc092eca86705ecbc3b764b799d, which fixed this issue for the decoder but not the encoder. Change-Id: I9df033e81f9520c4f975b7a7cf6c643d12e87c96
-
Attila Nagy authored
Change-Id: I9965170b40e2f32e9d84895c33a529b0d7dacdc1
-
- Mar 15, 2011
-
-
Attila Nagy authored
Change-Id: I08edaffc62514907fa5e90e1689269e467c857f5
-
Gaute Strokkenes authored
Change-Id: Ib0c280e1fcfd977e11e4390807b2c8077a87500c
-
- Mar 14, 2011
-
-
John Koleszar authored
-
Ralph Giles authored
Change-Id: I18bfda6d420626f2718e096e338c1d0bf0ba029d
-
Johann Koenig authored
obj_int_extract was unconditionally skipping the first character in the symbol. make sure it's actually an '_' first Change-Id: Icfe527eb8a0028faeabaa1dcedf8cd8f51c92754
-
Johann Koenig authored
-
Attila Nagy authored
Change-Id: I77e9f2f521a71089228f96e2db72524189364ffb
-
- Mar 12, 2011
-
-
Rafael Ávila de Espíndola authored
Without this change I get link errors in firefox's libxul. It looks like the linker expect a particular pattern for getting the GOT. This patch changes webm to use the same pattern used by the compiler. Change-Id: Iea8c2e134ad45c1dc7d221ff885a8429bfa4e057
-
- Mar 11, 2011
-
-
Johann Koenig authored
-
John Koleszar authored
The vp8_build_intra_predictors_mby and vp8_build_intra_predictors_mby_s functions had global function pointers rather than using the RTCD framework. This can show up as a potential data race with tools such as helgrind. See https://bugzilla.mozilla.org/show_bug.cgi?id=640935 for an example. Change-Id: I29c407f828ac2bddfc039f852f138de5de888534
-
Johann Koenig authored
-
John Koleszar authored
-
John Koleszar authored
Fix compiling on 32 bit x86. Change-Id: I6210573e1d9287ac49acbe3d7e5181e309316107
-
Paul Wilkins authored
Clean up vp8_init_config() a bit and remove null pointer case, as this code can't be called any more and is not an adequate trap anyway, as a null pointer would cause exceptions before hitting the test. Change-Id: I937c00167cc039b3aa3f645f29c319d58ae8d3ee
-
John Koleszar authored
-
Paul Wilkins authored
Issue 291 highlighted the fact that CQ mode was not working as expected in 1 pass mode, This commit fixes that specific problem but in so doing I also uncovered an overflow issue in the VBR code for 1 pass and some data values not being correctly initialized. For some clips (particularly short clips), the resulting improvement is dramatic. Change-Id: Ieefd6c6e4776eb8f1b0550dbfdfb72f86b33c960
-
John Koleszar authored
-
Yunqing Wang authored
-
John Koleszar authored
-
John Koleszar authored
-
Jim Bankoski authored
Change-Id: Ie388d4618c44b131f96b9fe526618b457f020dfa
-
Jim Bankoski authored
Change-Id: I91921b0a90dbaddc7010380b038955be347964b3
-
Yunqing Wang authored
Use aligned store. Change-Id: Icab4c0c53da811d0c52bb7e8134927f249ba2499
-
Yunqing Wang authored
-
Attila Nagy authored
Change-Id: Iadcbdba717439f47a2c24e65fd69a3a1464174b5
-