[vlc-commits] decoder: add a decoder device type for MMAL
Steve Lhomme
git at videolan.org
Wed Jun 26 07:24:23 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 21 13:37:09 2019 +0200| [ffb11c5680581b97a0fceb98eb24dfc2fadb0969] | committer: Steve Lhomme
decoder: add a decoder device type for MMAL
In the current MMAL code the pictures are allocated once from the display in a
MMAL_POOL_T. The pool could be created in the decoder (push) and created using
the MMAL_PORT_T. It may not possible to use pictures from different pools but
the display should nonetheless be created with the same MMAL_PORT_T.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ffb11c5680581b97a0fceb98eb24dfc2fadb0969
---
include/vlc_codec.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/vlc_codec.h b/include/vlc_codec.h
index 89001d7823..86f092c029 100644
--- a/include/vlc_codec.h
+++ b/include/vlc_codec.h
@@ -491,6 +491,7 @@ enum vlc_decoder_device_type
VLC_DECODER_DEVICE_DXVA2,
VLC_DECODER_DEVICE_D3D11VA,
VLC_DECODER_DEVICE_AWINDOW,
+ VLC_DECODER_DEVICE_MMAL,
};
/**
@@ -517,6 +518,7 @@ typedef struct vlc_decoder_device
* DXVA2: IDirect3DDevice9*
* D3D11VA: ID3D11DeviceContext*
* AWindow: android AWindowHandler*
+ * MMAL: MMAL_PORT_T*
*/
void *opaque;
} vlc_decoder_device;
More information about the vlc-commits
mailing list