Jean-Paul Saman [Fri, 7 Feb 2014 09:14:01 +0000 (10:14 +0100)]
demux/ts.c: Solve 'lost synchro' warnings when using a file input.
Solve 'lost synchro' warnings when using a file input. The warning was
triggered by the functions GetFirstPCR(), CheckPCR() and GetLastPCR().
They searched for a TS packet which contains a PCR but did not take
the TS packet size boundarys into account. By rounding to the nearest
p_sys->i_packet_size this warning was resolved.
Ilkka Ollakka [Sun, 9 Feb 2014 13:36:07 +0000 (15:36 +0200)]
transcode: don't care other tracks drift when calculating pts
Also don't care input fps and only calculate what should be the
next output pts. We anyway define output fps to be either 25fps
or input fps if it's available.
This should help to eliminate skips/visual artefacts on video if
there is small skips in input. And output constans fps from transcode.
Ilkka Ollakka [Sun, 2 Feb 2014 10:55:54 +0000 (12:55 +0200)]
stats module
Prints dts, segment number, length, difference to previous dts and md5
of block.
with prefix-option you can give prefix to print in stats-line, so you can
add stats module multiple times with different prefixes. Output to file
is given with output parameter.
Ron Wright [Fri, 7 Feb 2014 17:12:00 +0000 (17:12 +0000)]
Introducing FFT windowing routines for spectrum-based visualizations
This patch introduces FFT windowing routines to reduce spectral leakage in
spectrum-based visualizations. It supports four types of windows that are
commonly used in spectrum analyzers (besides the pre-existing rectangular
window): Hann, flat top, Blackman-Harris, and Kaiser.
BluRay streams have 4-byte header before TS sync byte. Current code handles 192-byte ts packets,
but it assumes extra bytes are at the end of packet. This results in re-sync at stream start:
1) first packet is dropped
First packet is usually PAT, and losing it means losing the first GOP.
This is fatal with still-image based menus.
2) 4-byte header of the second packet is skipped
This results in read of the last packet returning only 188 bytes,
and it is also skipped.
Dennis Hamester [Thu, 6 Feb 2014 13:30:42 +0000 (13:30 +0000)]
zvbi: Set stop pts only for subtitle teletext
A maximum display time does not make sense for real teletext pages. Instead
they should be displayed until the user disables teletext or the page is
updated. Therefore do not set a stop timestamp on normal pages, but only when
rendering in text mode, which is meant for subtitles, where the timeout makes
sense.
Felix Abecassis [Fri, 7 Feb 2014 17:26:18 +0000 (17:26 +0000)]
Direct3D: implement HLSL pixel shading in the rendering pipeline
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.
omxil: Passthrough aspect ratio from input format.
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.
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.
Martin Storsjö [Fri, 7 Feb 2014 13:32:01 +0000 (15:32 +0200)]
arm_neon: Explicitly specify the symbol name for amplify_float_arm_neon
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.
Martin Storsjö [Fri, 31 Jan 2014 08:53:41 +0000 (10:53 +0200)]
android: Only reupload subtitle surfaces if they have changed
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.
Martin Storsjö [Fri, 7 Feb 2014 08:28:42 +0000 (10:28 +0200)]
ios: Pass the right architecture as --host when building contribs
--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.