History log of /haiku-fatelf/src/kits/media/MediaDefs.cpp
Revision Date Author Comments
# 332cc6bc 30-Nov-2012 Axel Dörfler <axeld@pinc-software.de>

64 bit fixes for libmedia.so, ActivityMonitor, and Sudoku.

* Alex, I feel your pain :-)


# e0818886 22-Aug-2009 Jérôme Duval <korli@users.berlios.de>

when using the = operator with media_format, check the area with B_BAD_VALUE.
Previously metadata weren't copied over the new format.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 60c85abe 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

Resolved TODO, make it clear who maintains the allocation of the
media_file_format array (it remains with the plugin itself, as with
DecoderPlugins).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31955 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7c06546a 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

Implement the backend of get_next_file_format(). The AddOnManager maintains
a list for known media_file_formats. The internal IDs map to plugins.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31950 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 891446f5 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

More cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31949 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 81b2cc3f 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

* Style cleanup, no functional change.
* Added copyrights according to svn log.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31948 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a46d818 19-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* Implemented ERROR as fprintf(stderr, ...) with tracing turned off as well.
* Fixed all but one compiler warnings in libmedia.so.
* Truncated lines to 80 char width where I looked at code.
* Turned printf()s into TRACE/ERROR calls in MediaExtractor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24478 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c332e7f7 20-Sep-2006 Jérôme Duval <korli@users.berlios.de>

fixed build for R5 : now uses inttypes.h because it's present on R5 also
HaikuBuildCompatibily.h exposes INT64_MAX based on limits.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18900 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0a00d23f 14-May-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

Reworked media_format meta data handling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17458 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23817014 12-Feb-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16372 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3d6c7116 12-Feb-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

added shutdown_media_server and start_media_server into libmedia.so, based on an older implementation from svn history, but modified and bugfixed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16367 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 98eb4f65 15-Aug-2004 beveloper <beveloper@nowhere.fake>

shutdown and restarting of media_server is handled by libbe.so, not by libmedia.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8583 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a861a01e 14-Aug-2004 beveloper <beveloper@nowhere.fake>

switch to Be Inc media server signature, to allow libbe.so sending messages to the server


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8573 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ece05aef 19-May-2004 Jérôme Duval <korli@users.berlios.de>

Implemented launch_media_server and shutdown_media_server. This code is only used when Media is linked first against libmedia.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7613 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ffaa0026 08-Feb-2004 beveloper <beveloper@nowhere.fake>

use the correct value (reported by mmu_man)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6537 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a4f26c7d 24-Jan-2004 shatty <shatty@nowhere.fake>

fix SetMetaData to create an area, do not bother with checking the return value from find_thread(NULL)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6259 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b84e6d90 21-Jan-2004 shatty <shatty@nowhere.fake>

instead of checking for invalidity, check for validity for meta_data_area


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6217 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a2d20d9d 21-Jan-2004 shatty <shatty@nowhere.fake>

correct initialization of media_format. (btw I just realized I never need to manually zero a format after construction) perform a complete copy of media_format. do some things related to handling meta_data_areas. still some left to do, so do an UNIMPLEMENTED if we are in that state


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6210 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ceb9cf7a 19-Jan-2004 shatty <shatty@nowhere.fake>

implement SetMetaData, MetaData, MetaDataSize functions on media_format


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6146 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8bd14295 27-Dec-2003 shatty <shatty@nowhere.fake>

the unimplemented printout was driving me crazy, so here they are: media_encode_info and media_decode_info struct initializers


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5784 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5ac4fbd7 19-Jun-2003 beveloper <beveloper@nowhere.fake>

clean up of debugging functions
FATAL is now replaced by ERROR and active at DEBUG=1 or above
TRACE is active at 2 or above
PRINT(level, ...) can be used for DEBUG= level or abode
INFO is removed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3578 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 89023839 13-Jun-2003 beveloper <beveloper@nowhere.fake>

implemented media_format Matches() and SpecializeTo()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3496 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2de73166 02-Jun-2003 beveloper <beveloper@nowhere.fake>

fixed crash inside string_for_format()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3399 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d9d219a1 29-May-2003 François Revol <revol@free.fr>

forgot some strings in string_for_format()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3388 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9126f16d 29-May-2003 François Revol <revol@free.fr>

string_for_format implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3387 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9bedd42c 29-May-2003 beveloper <beveloper@nowhere.fake>

many fixes to improve timing


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3386 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 83943286 26-May-2003 beveloper <beveloper@nowhere.fake>

lots of boring comparisons


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3341 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 97bd1021 23-May-2003 beveloper <beveloper@nowhere.fake>

removed some of the debug messages


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3299 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 18eed373 23-May-2003 beveloper <beveloper@nowhere.fake>

removed some of the debug messages


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3298 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1ed6c908 06-May-2003 beveloper <beveloper@nowhere.fake>

quick & dirty workaround


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3181 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 60f15390 22-Mar-2003 beveloper <beveloper@nowhere.fake>

a couple of fixes regarding latency calculation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2996 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 570f7d04 10-Oct-2002 beveloper <beveloper@nowhere.fake>

updated to include the same features/bugs as the screenshot in today's news.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1479 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b6de9d11 12-Jul-2002 beveloper <beveloper@nowhere.fake>

removed compiler warnings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@138 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 48ff964f 12-Jul-2002 beveloper <beveloper@nowhere.fake>

removed warnigs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@131 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 52a38012 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e0818886cf8ba93c687297c0b03aed9d1e43821a 22-Aug-2009 Jérôme Duval <korli@users.berlios.de>

when using the = operator with media_format, check the area with B_BAD_VALUE.
Previously metadata weren't copied over the new format.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 60c85abee5dbbab958ad83897dee761ec2cb5330 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

Resolved TODO, make it clear who maintains the allocation of the
media_file_format array (it remains with the plugin itself, as with
DecoderPlugins).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31955 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7c06546a8e8df703165baff0156d95f622d00538 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

Implement the backend of get_next_file_format(). The AddOnManager maintains
a list for known media_file_formats. The internal IDs map to plugins.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31950 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 891446f596e032ddabd61bb6314bbf4a15a9d460 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

More cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31949 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 81b2cc3fadba4cadda5f1fe605bd9c3bc2886959 29-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

* Style cleanup, no functional change.
* Added copyrights according to svn log.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31948 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a46d818c918c1e320c1593accac547849793222 19-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* Implemented ERROR as fprintf(stderr, ...) with tracing turned off as well.
* Fixed all but one compiler warnings in libmedia.so.
* Truncated lines to 80 char width where I looked at code.
* Turned printf()s into TRACE/ERROR calls in MediaExtractor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24478 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c332e7f74ecc754fe77275578f5a3404537e9cb5 20-Sep-2006 Jérôme Duval <korli@users.berlios.de>

fixed build for R5 : now uses inttypes.h because it's present on R5 also
HaikuBuildCompatibily.h exposes INT64_MAX based on limits.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18900 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0a00d23f2e1beba1dee0b043ee51d8b24375582e 14-May-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

Reworked media_format meta data handling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17458 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23817014934e9c2d2861f30cd9281449f9cd007c 12-Feb-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16372 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3d6c7116048c451f74991e2c81a4f65629b6e424 12-Feb-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

added shutdown_media_server and start_media_server into libmedia.so, based on an older implementation from svn history, but modified and bugfixed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16367 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 98eb4f65ae96afa11577accd352bd06f59ce9aa2 15-Aug-2004 beveloper <beveloper@nowhere.fake>

shutdown and restarting of media_server is handled by libbe.so, not by libmedia.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8583 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a861a01ea438719fe154629b93dde638d869b14b 14-Aug-2004 beveloper <beveloper@nowhere.fake>

switch to Be Inc media server signature, to allow libbe.so sending messages to the server


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8573 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ece05aef60b7b61387009e11e8eb483555e684a6 19-May-2004 Jérôme Duval <korli@users.berlios.de>

Implemented launch_media_server and shutdown_media_server. This code is only used when Media is linked first against libmedia.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7613 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ffaa002659190a08c77cde7d90a42a8f514355ef 08-Feb-2004 beveloper <beveloper@nowhere.fake>

use the correct value (reported by mmu_man)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6537 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a4f26c7d660dff50936e5f895dcfb6a417c71e4a 24-Jan-2004 shatty <shatty@nowhere.fake>

fix SetMetaData to create an area, do not bother with checking the return value from find_thread(NULL)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6259 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b84e6d90eb8c7dae34f09f144c86480ee4ce4fa9 21-Jan-2004 shatty <shatty@nowhere.fake>

instead of checking for invalidity, check for validity for meta_data_area


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6217 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a2d20d9daa086da911da64b1a888b29014d9b658 21-Jan-2004 shatty <shatty@nowhere.fake>

correct initialization of media_format. (btw I just realized I never need to manually zero a format after construction) perform a complete copy of media_format. do some things related to handling meta_data_areas. still some left to do, so do an UNIMPLEMENTED if we are in that state


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6210 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ceb9cf7abc577310871c703499804ca63f7fa8ab 19-Jan-2004 shatty <shatty@nowhere.fake>

implement SetMetaData, MetaData, MetaDataSize functions on media_format


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6146 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8bd1429511dee48b503567178e38ebf254c4091a 27-Dec-2003 shatty <shatty@nowhere.fake>

the unimplemented printout was driving me crazy, so here they are: media_encode_info and media_decode_info struct initializers


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5784 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5ac4fbd70dc5b5387cc80965de796deb820d4f05 19-Jun-2003 beveloper <beveloper@nowhere.fake>

clean up of debugging functions
FATAL is now replaced by ERROR and active at DEBUG=1 or above
TRACE is active at 2 or above
PRINT(level, ...) can be used for DEBUG= level or abode
INFO is removed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3578 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 890238390feea9ebcc3e955d43895f012c6485c3 13-Jun-2003 beveloper <beveloper@nowhere.fake>

implemented media_format Matches() and SpecializeTo()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3496 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2de73166b50006f460b32d02e5e8680d720ec932 02-Jun-2003 beveloper <beveloper@nowhere.fake>

fixed crash inside string_for_format()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3399 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d9d219a135cc2e6dce5b758aedc1590315d1b460 29-May-2003 François Revol <revol@free.fr>

forgot some strings in string_for_format()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3388 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9126f16df49d9b90db308afe810cd9c09998bb73 29-May-2003 François Revol <revol@free.fr>

string_for_format implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3387 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9bedd42cd1e0fdb44e39be7ef4f3c76786d59b50 29-May-2003 beveloper <beveloper@nowhere.fake>

many fixes to improve timing


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3386 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 839432862588a903be93091639ead9577ded27a8 26-May-2003 beveloper <beveloper@nowhere.fake>

lots of boring comparisons


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3341 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 97bd1021670b887592c5d3938ba86f1eee1b3886 23-May-2003 beveloper <beveloper@nowhere.fake>

removed some of the debug messages


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3299 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 18eed37337ec25421c5056666a254215649cda20 23-May-2003 beveloper <beveloper@nowhere.fake>

removed some of the debug messages


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3298 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1ed6c90897793035b8fa9ec8bcf8b997c6e95016 06-May-2003 beveloper <beveloper@nowhere.fake>

quick & dirty workaround


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3181 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 60f15390cd7b83f1a8083d8530d7256aa1ea71e3 22-Mar-2003 beveloper <beveloper@nowhere.fake>

a couple of fixes regarding latency calculation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2996 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 570f7d0456164c9d2f22525c7eca167021e93770 10-Oct-2002 beveloper <beveloper@nowhere.fake>

updated to include the same features/bugs as the screenshot in today's news.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1479 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b6de9d11ff1c98de319f0c4f93ae3ceb9a33556f 12-Jul-2002 beveloper <beveloper@nowhere.fake>

removed compiler warnings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@138 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 48ff964fe775ad879dbb4ae16b0f2566bcacebe4 12-Jul-2002 beveloper <beveloper@nowhere.fake>

removed warnigs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@131 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 52a380120846174213ccce9c4aab0dda17c72083 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96