The user can choose to apply a builtin shader using a selection list
in the options of the Direct3D vout module. A custom shader function
can also be loaded by specifying the path of the shader file.
Many changes since the latest patch proposal: we are not compiling
"shader techniques" anymore but now shader functions using the "main"
entrypoint. All the shaders previously in pixelShader.fx are now
builtins.
Based on the code by Sasha Koruga for GSoC 2010.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Expose an event to libvlc users which allows them to get notified about the
current program scrambling status.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
There is no way in the MediaCodec API for the decoder to signal
these values to the caller, at least none that is publicly
documented.
Signed-off-by: Martin Storsjö <martin@martin.st>
If the input format has a valid pixel aspect ratio set (ie from the
packetizer) pass this into the output format. This helps for omx
implementations which do not report the aspect ratio.
For omx implementations which provide aspect ratio information give these
precedence over the incoming values.
Signed-off-by: Martin Storsjö <martin@martin.st>
When the packetizer detects a valid pixel aspect ratio this should be
forwarded to the decoders input format. This is helpful for decoder modules
which do not expose the aspect ratio on their own.
Signed-off-by: Martin Storsjö <martin@martin.st>
This is consistent with all the other neon functions. This avoids
having to add a symbol prefix via other means (macros, wrapper
tools) on platforms that normally use one.
Signed-off-by: Martin Storsjö <martin@martin.st>
Fixes Bink video playback. The Bink video decoder in libavcodec relies
on the fourcc to determine the version of the codec.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This avoids reuploading a full resolution 32 bpp surface for
every frame while the subtitles are displayed.
Ideally this information perhaps should be signalled from the vlc
core in some way, but until then, this avoids excessive slowdowns
with subtitles with the mediacodec direct rendering.
Signed-off-by: Martin Storsjö <martin@martin.st>
--host is used to indicate where the built binaries are intended
to run, while --build indicates the platform where the configure
script is being run and where it is built.