Commit Graph

37024 Commits

Author SHA1 Message Date
Stephan Aßmus 5aaa020871 The max time to take for rendering is arbitrary,
might as well take an even value.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 20:16:26 +00:00
Stephan Aßmus c3f9ae128a Set the processing latency using the time it
took to decode the last frame.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 20:15:10 +00:00
Stephan Aßmus 449c016b46 Small coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 20:14:04 +00:00
Stephan Aßmus 5a6b18e914 * Print the performance stats every five frames, and reset
the counters, so it's not the average for the entire
   decoding time, but for the last five frames. This gives
   a more accurate picture of what's going on.
 * Added NOTE about possibly removing the SWS version of the
   colorspace conversion code unless it's used for otherwise
   unsupported conversions. David's code is about 40% faster
   in my tests (nice job!).
 * Free the sws context in NegotiateVideoFormat, if necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 18:43:58 +00:00
Oliver Tappe 338ddd836f Closing #6499:
* add missing getsubopt() POSIX-function
* added corresponding test


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 18:43:24 +00:00
Stephan Aßmus d21b55880b For full HD clips, the real-time memory chunk cache
was not big enough. Axel, perhaps another solution is
better? Would you prefer the chunk cache to fall-back
to regular memory and keep track of allocation type?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 18:37:37 +00:00
Alex Wilson 361babfb26 Update ICO Translator to use the Layout API. Fixes #6525
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 18:22:14 +00:00
Rene Gollent 814fddc8bf Patch by diver: increase the size of the buffer used to format the partition size, since it's insufficient for some languages. Resolves #6603. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 12:51:05 +00:00
Stephan Aßmus 5021eb2421 Removed the "native" ogg, vorbis, theora and speex plugins in favor
of support for these codecs and demuxer in the FFmpeg plugin. The
ogg test streams I downloaded play fine now. For example, Big Buck Bunny
would play without video before and ogg files natively encoded with the
FFmpeg plugin wouldn't play at all. Since the removed plugins were not
maintained and were based on external libs themselves, I didn't see the
point in keeping them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 12:32:04 +00:00
Stephan Aßmus 594039f10d Imported libspeex 1.2rc1 for use in libavcodec's libspeexdec.c.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 12:24:09 +00:00
Stephan Aßmus b98aa3ef8b Removed left-over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 09:27:18 +00:00
Clemens Zeidler 727c8ba2c9 Improve min constraints and add max constraints, not perfect yet but much better then before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 05:23:05 +00:00
Clemens Zeidler e16e4d4de1 Small optimization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 05:11:15 +00:00
Stephan Aßmus 73e5249c79 * Enabled libvorbis and libtheora encoders in FFmpeg
* Enabled ogg muxer in MuxerTable.

ogg/vorbis creation successfully tested with MediaConverter.
ogg/theora needs more testing, it seems to work, but I need
to switch from the other vorbis/theora/ogg plugins to the
FFmpeg built-in support, otherwise the current theora stream
is not supported by the old plugin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 20:25:24 +00:00
Stephan Aßmus 0640823932 Added libtheora 1.1.1 into FFmpeg folder as libtheora_ffmpeg.a
in order not to clash with the old libtheora in the theora plugin.
x86 CPU optimizations are only compiled for GCC4.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 20:23:08 +00:00
Stephan Aßmus d45314ec30 Added libvorbis 1.3.1 into FFmpeg plugin folder. Target name is libvorbis_ffmpeg.a
in order not to clash with the old libvorbis in the vorbis plugin. I plan to remove
that one after I've done more testing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 20:21:08 +00:00
Stephan Aßmus 611ab2d824 Added libogg 1.2.0 into FFmpeg plugin folder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 20:18:06 +00:00
Siarzhuk Zharski 2bb7bcd945 Russian localization update. Patch was provided by Diver. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 19:35:54 +00:00
Stephan Aßmus bc04b5141e Disable float_to_int16_interleave_sse2 in favor of
float_to_int16_interleave_sse, since it crashes for reasons
I would have no clue about. Fixes a few duplicated tickets,
which I'll have to sort out later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 18:27:49 +00:00
Stephan Aßmus 5393fabac1 Disable some annoying debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 16:19:07 +00:00
Stephan Aßmus 0b1bbe06ac Small coding style fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 16:02:52 +00:00
Philippe Houdoin efe5db5572 Remove superfluous tab introduced in previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 14:51:53 +00:00
Philippe Houdoin 2f313958ce Patch by diver: selected font family is now check marked too.
Closes #5624.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 14:19:41 +00:00
Philippe Houdoin cf9f178538 Patch by diver: Localize the default Mail window title. Closes ticket #6447.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 13:37:01 +00:00
Philippe Houdoin 865b06a85b Patch by diver: "Add" button wasn't localizable. Closes ticket #6443.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 13:28:01 +00:00
Niels Sascha Reedijk d6c46e4651 Remove an obsolete file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 13:02:29 +00:00
Stephan Aßmus fdd9addfce Patch by diver: Localize the Locale window title. Closes ticket #6594. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 12:52:32 +00:00
Stephan Aßmus f2afc4be64 Patch by diver: Localize Find window title. Thanks! Closes ticket #6593.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 12:41:32 +00:00
Clemens Zeidler 3c4e4aa4f6 Add SATDecorator to the image and create the decorator directory. To use S&T it has to be enabled by setdecor SATDecorator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-13 03:52:26 +00:00
Clemens Zeidler 40c0ae4804 Only search for new snapping parents if there is also a snapping candidate. Thanks Humdinger for finding this bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 22:40:08 +00:00
Stephan Aßmus 188b1fe0d1 Patch by diver, the "About DiskProbe" menu entry was not localized.
Small coding style fixes by myself. Closes #6590. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 18:55:31 +00:00
Oliver Tappe 86932f41cc Try to fix #6581:
* avoid trying to overwrite values of a constant structure when
  updating the numeric locale data values used by glibc


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 17:24:38 +00:00
Oliver Tappe 5d46644f18 * added tests for localized numerical formatting via printf()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 17:21:28 +00:00
Joachim Seemer 23f4a4bbf5 Another sentence casing change found by diver, see #5169. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 15:34:08 +00:00
Rene Gollent 697e029919 Fix app_server build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 15:25:03 +00:00
Ingo Weinhold 886c627650 Fixed debug build (format string/argument mismatches).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 15:09:14 +00:00
Ingo Weinhold e83635fd5a * RegExp::Prop(): Fixed build (assignment of string literals to a char*).
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 15:08:01 +00:00
Ingo Weinhold 8cd456aad1 Renamed macros ASSERT() and TRESPASS() to avoid clashes with the ones from
<Debug.h>.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 15:06:15 +00:00
Ingo Weinhold 1bddf9cad1 * Missing <Debug.h> include.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 15:05:13 +00:00
Matt Madia a0077c2456 Patch by idefix: Add support for five different Bamboo devices. Closes #6108.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 12:42:17 +00:00
Matt Madia de456baf0e Patch by michaelvoliveira: Add detection/support for
Nvidia Geforce 7025 / nForce 630a. Fixes #6557.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 12:35:01 +00:00
Matt Madia 98a5aae9d6 Patch by Chris Roberts: calculate Terminal's startup size properly.
Tested with font size 10, 16, 18. Fixes #6102.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 12:01:28 +00:00
Ingo Weinhold e13706775f Whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 11:22:15 +00:00
Stephan Aßmus f3d6fe6493 Disabled ffmpeg build for anything than x86, since there are problems
on PPC and it was pointless to give the PPC developers trouble while
there isn't even a desktop on PPC yet. Sorry about that!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 10:01:22 +00:00
Stephan Aßmus 341ea11eb3 Implemented enlarging controls in full-screen mode, it's optional
and the setting defaults to "on".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 09:59:35 +00:00
Ingo Weinhold c1a1df8d83 Typo: & used instead of &&.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 09:58:49 +00:00
Ingo Weinhold 66c75febfd Missing parentheses.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 09:57:59 +00:00
Ingo Weinhold a738ca2c55 Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 09:57:26 +00:00
Oliver Tappe ccee6057f0 * fix wrong signedness in values put into global 'timezone' variable,
the POSIX specs are a bit vague on this (to say the least)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-11 18:34:48 +00:00
Oliver Tappe 69b46b571e * improved ParseDateTest to check several different timezones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-11 18:32:34 +00:00