#
4055af51 |
| 27-Nov-2024 |
Augustin Cavalier <waddlesplash@gmail.com> |
BTimedEventQueue: Rewrite from scratch, avoiding malloc().
The previous implementation allocated and freed event objects on every insertion and removal using malloc()/free(). It was also licensed un
BTimedEventQueue: Rewrite from scratch, avoiding malloc().
The previous implementation allocated and freed event objects on every insertion and removal using malloc()/free(). It was also licensed under a "distributions in binary form must reproduce ... in the binary" license, which is more restrictive than the MIT license that we prefer.
So, this is a rewrite from scratch. It uses the standard DoublyLinkedList<> rather than rolling its own, and manages a free list of event queue objects rather than hitting malloc() all the time. It only frees chunks on destruction, though, but that hopefully won't be an issue anyway.
All tests from the TimedEventQueueTest still pass, and media playback still works as before.
Change-Id: Ia940b6176f8051ae4823b75acd305ded8783d1e0 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8594 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
show more ...
|
#
6b49a15b |
| 03-Jan-2021 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
media_kit: Dynamic allocation of ChunkCache based on media
* The "default" of 3MiB wasn't enough for modern larger media formats, resulting in inability to play 4k video no matter how much horse
media_kit: Dynamic allocation of ChunkCache based on media
* The "default" of 3MiB wasn't enough for modern larger media formats, resulting in inability to play 4k video no matter how much horse power you threw at Haiku. (4k is ~8MiB) * This dynamically calculates the ChunkCache based on the video framesize * 2. * 4k video now plays smoothly on my Ryzen 1800x.
Change-Id: I65bf6bd6fa60ac3196ea70eeeb5e655d43c10bcd Reviewed-on: https://review.haiku-os.org/c/haiku/+/3598 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
show more ...
|
#
765a734a |
| 03-May-2020 |
Niels Sascha Reedijk <niels.reedijk@gmail.com> |
Add signature to libmedia.so.
Also remove superflous data from libpackage.rdef
This should fix #15958
Change-Id: I76991030541dca12a2dfdd9282f02274a461ed2a Reviewed-on: https://review.haiku-os.org/
Add signature to libmedia.so.
Also remove superflous data from libpackage.rdef
This should fix #15958
Change-Id: I76991030541dca12a2dfdd9282f02274a461ed2a Reviewed-on: https://review.haiku-os.org/c/haiku/+/2561 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
show more ...
|
#
e6aa2145 |
| 29-Apr-2020 |
Adrien Destugues <adrien.destugues@opensource.viveris.fr> |
libbe.so catalogs are not included in image
Media Kit catalog was incorrectly using "libbe.so" as a catalog name and overwriting the catalogs for libbe.
Fixes #15904
Change-Id: Ib56045bbcf127c23ac
libbe.so catalogs are not included in image
Media Kit catalog was incorrectly using "libbe.so" as a catalog name and overwriting the catalogs for libbe.
Fixes #15904
Change-Id: Ib56045bbcf127c23ac5229981ce92d298ffd6fe5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2536 Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
show more ...
|
#
472d26a3 |
| 16-Aug-2019 |
Ryan Leavengood <leavengood@gmail.com> |
Media Kit: Delete the PortPool in a more deliberate way
Letting it get deleted statically can cause segfaults since it is needed for some final quit messages.
This mimic changes Axel made for the D
Media Kit: Delete the PortPool in a more deliberate way
Letting it get deleted statically can cause segfaults since it is needed for some final quit messages.
This mimic changes Axel made for the DormantNodeManager and TimeSourceObjectManager.
I also pulled PortPool into its own file and header.
Fixes #15135.
Change-Id: Ie64753e1876d58b52f7cb95536c6be3df2e6d40c Reviewed-on: https://review.haiku-os.org/c/haiku/+/1721 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
show more ...
|
#
218a8c03 |
| 17-May-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
Revert the Codec Kit.
All of Barrett's individual reverts have been squashed into this one commit, save a few actual bugfixes.
Change-Id: Ib0a7d0a841d3ac40b1fca7372c58b7f9229bd1f0
|
#
1e60bdea |
| 30-Mar-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
Remove all invocations of SetSubDirSupportedPlatformsBeOSCompatible.
|
#
fa911df6 |
| 28-Dec-2018 |
Barrett17 <b.vitruvio@gmail.com> |
Move FormatManager back to the media_kit
* We don't aim to replicate this functionality. I don't think this will be useful at all in future iterations. Originally I planned to rewrite it on top of t
Move FormatManager back to the media_kit
* We don't aim to replicate this functionality. I don't think this will be useful at all in future iterations. Originally I planned to rewrite it on top of the new BMediaFormat, but now I am of the hopinion this is greatly unneeded.
show more ...
|
#
de42fb60 |
| 24-Oct-2018 |
Barrett17 <b.vitruvio@gmail.com> |
Welcome Codec Kit!
* Fix MediaDebug header. * Add codec lib name mapping.
|
#
50cb5283 |
| 24-Oct-2018 |
Barrett17 <b.vitruvio@gmail.com> |
media/codec: Share media_format defs until libmedia2.so
|
#
df2639bf |
| 24-Oct-2018 |
Barrett17 <b.vitruvio@gmail.com> |
Move adapter_kit API to libcodec.so
|
#
1275248a |
| 24-Oct-2018 |
Barrett17 <b.vitruvio@gmail.com> |
codec_kit: First half
* Move all codec stuff into libcodec.so
|
#
bc622f6b |
| 16-Oct-2018 |
Humdinger <humdingerb@gmail.com> |
Fix missing localization
This addresses some of what's reported in ticket #14637.
* Keymap preferences: Localize key labels. Translators have to be careful not too use too long words here...
* M
Fix missing localization
This addresses some of what's reported in ticket #14637.
* Keymap preferences: Localize key labels. Translators have to be careful not too use too long words here...
* Media preferences: Fix typo "SoundFonts" -> "SoundFont" The two popup menus, Video input/output, both use "<none>", which when the catkeys are collected is reduced to one item. Apparently, Italian likes to have different tranlsations for them. I hope to fix that by using B_TRANSLATE_COMMENT with differing comments. Not sure if that'll work...
* Network preferences: Localize "on/off" and "Enable/Disable" in the Services.
* Repositories preferences: Add RepoRow.cpp to DoCatalogs.
* Shortcuts preferences: Localize "Left/Right/Both/Either/None"
* Bluetooth replicant: Localize menu items and alerts.
* DeskCalc: Localize button names.
* HaikuDepot: - Use BStringFormat and variables to replace for the WorkStatusView. - Put package name in single quotes; nicer if you have package names with spaces. - Avoid leading and trailing spaces in translatable strings. Those can be overlooked b the translator. - Use B_UTF8_ELLIPSIS instead of "...".
Change-Id: Ia32908f9faad5188aa87c918c31229277decbda9 Reviewed-on: https://review.haiku-os.org/631 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
show more ...
|
#
8a9e1e0d |
| 31-Dec-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
Removal of non-Haiku target platform logic from build system (part 1.)
Following recent changes to use libroot_build on Haiku also, it is now actually impossible to build Haiku components on non-Hai
Removal of non-Haiku target platform logic from build system (part 1.)
Following recent changes to use libroot_build on Haiku also, it is now actually impossible to build Haiku components on non-Haiku platforms (BeOS R5, Dan0, BONE, Zeta), so we can remove any logic related to this.
This is only the first part; still to be removed are: * SetSubDirSupportedPlatformsBeOSCompatible * HOST_PLATFORM_BEOS_COMPATIBLE * TARGET_PLATFORM_BEOS_COMPATIBLE
show more ...
|
#
c0ef5b2b |
| 04-May-2017 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
MediaFile: Little refactor to use the MediaStreamer class
* This clarify the ownership of the source when using the experimental API. * The extractor/writer are simplified and don't have to care abo
MediaFile: Little refactor to use the MediaStreamer class
* This clarify the ownership of the source when using the experimental API. * The extractor/writer are simplified and don't have to care about adapters. * MediaStreamer is able to provide a generic BAdapterIO that is suitable also for different uses than the codecs API itself.
show more ...
|
#
7561d9ac |
| 16-Jan-2017 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Populate media/experimental with future media_kit classes
* Node implementations headers are move into src/kits/media.
|
#
2c26ad4b |
| 29-Dec-2016 |
Adrien Destugues <pulkomandy@gmail.com> |
move BUrl to the support kit
It is used by the media kit, which created a dependency from libmedia to libbnetapi to openssl. It is not entirely specific to the network kit, there are some use cases
move BUrl to the support kit
It is used by the media kit, which created a dependency from libmedia to libbnetapi to openssl. It is not entirely specific to the network kit, there are some use cases that don't involve network at all.
show more ...
|
#
ecb39585 |
| 29-Nov-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Introduce BSimpleMediaClient
* The idea is to move the callback based mechanism into a derived class. The objects can be composed to create working systems. * The BMediaClient class supply RegisterI
Introduce BSimpleMediaClient
* The idea is to move the callback based mechanism into a derived class. The objects can be composed to create working systems. * The BMediaClient class supply RegisterInput/RegisterOutput and BeginInput/BeginOutput is moved to BSimpleMediaClient. * Various minor fixes.
show more ...
|
#
f506f305 |
| 23-Nov-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
MediaClient: Improve internals and API
* Capabilities() become Kind() * Use media_client and media_connection to better model the different situations of the API. Reduce code duplication and move me
MediaClient: Improve internals and API
* Capabilities() become Kind() * Use media_client and media_connection to better model the different situations of the API. Reduce code duplication and move media_kit structs/methods into private. * Various API and beauty improvements. * Introduce id management for media_connections. * Fix different issues preventing to correctly begin a connection.
show more ...
|
#
9b410c41 |
| 11-Nov-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Initial merge of the BMediaClient branch
* The BMediaClient is an higher level API to the media_kit. It corresponds to what the layout API was for the interface_kit. The main idea is to allow the de
Initial merge of the BMediaClient branch
* The BMediaClient is an higher level API to the media_kit. It corresponds to what the layout API was for the interface_kit. The main idea is to allow the developer concentrate only on higher level details and avoiding handle with the tricky parts of the media_kit. At the same time the general purpose node that is implemented inside would allow implementing the best techniques around thus at the same time reducing code duplication and increasing efficiency. * BMediaClient is WIP, this is the initial merge of the branch. The initial development stone was set long time ago and walked through various design/implementation phases.
show more ...
|
#
0ba82236 |
| 24-Jun-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Streaming: Remove any pointer BUrl argument
* There's no need to pass BUrl by pointer, this is potentially dangerous and leaky without any advantage, copying is definitely safer.
|
#
b660d95f |
| 30-May-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Introduce BAdapterIO
* This class is provided as a safe multithreaded communication channel between a BMediaIO-like interface and a Read/Write backend. * Includes internal buffering and can be used
Introduce BAdapterIO
* This class is provided as a safe multithreaded communication channel between a BMediaIO-like interface and a Read/Write backend. * Includes internal buffering and can be used to provide multithreaded edit of the data. * Current limitations include missing BOutputAdapter and correct timeout handling. * Future plans provide a BRemoteAdapterIO that using ports and areas allow to easily send big data between processes.
show more ...
|
#
8c767985 |
| 25-Mar-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Move MediaIO in it's own header
|
#
63e1708e |
| 25-Mar-2016 |
Dario Casalinuovo <b.vitruvio@gmail.com> |
Finalize StreamerPlugin
* Add cpp file. * Make Sniff virtual.
|
#
c302a243 |
| 23-Dec-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
Merge remote-tracking branch 'upstream/master' into intel-extreme
|