Changes

Jump to: navigation, search

GeckoMediaPlugins

3 bytes removed, 18:45, 10 January 2014
Base API
in any copy of the Gecko source code that includes GMP support. <code>GMPGetAPI</code> returns a void pointer which can be cast to the structure defined for any specific API, such as video encoding or decoding.
Memory for the structure is allocated by the host, and the size of that allocation is passed in as well. In part this is done to allow the host to decide on how to allocate memory. Perhaps more importantly though, this allows the host to fill in parts of the structure before passing it to the GMP. An example would be the host passing callback function pointers to the GMP. This behavior should be specified clearly in any API specification.
Confirm, emeritus
1,680
edits

Navigation menu