demux: vc1: use CLOCK_FREQ
iomx: implement OMX_UseBuffer

Signed-off-by: Martin Storsjö <martin@martin.st>
iomx: add iomx_hwbuffer

Wrapper to android native window api located in aosp system/window.h.
Allow to queue/dequeue hw buffers (ANativeWindowBuffer_t) allocated with a
speficied hal_format and hw_usage.

This requires changes to the android build project to include
iomx_hwbuffer.c when building libiomx-*.so.

Signed-off-by: Martin Storsjö <martin@martin.st>
iomx: add android GraphicBuffers functions.

- OMXAndroid_EnableGraphicBuffers: activate GraphicBuffers.
  Next call of OMX_GetParameter(OMX_IndexParamPortDefinition) will return a
  private eColorFormat compatible with android hal_format.

- OMXAndroid_GetGraphicBufferUsage: return hw_usage that will be used to
  allocate android hw buffers.

Signed-off-by: Martin Storsjö <martin@martin.st>
omxil: add android hw buffers support (zero copy)

Activated if cfg "omxil-dr" is true. If extra android symbols are not found or
if HwBuffer_init() fails: fall back to non direct buffer mode

Signed-off-by: Martin Storsjö <martin@martin.st>
postproc: remove redundant check
postproc: factor common code
postproc: reduce lock contention in callback
demux: avi: missing unseekable method fallback
hds: drop macro

Fixes cid #1228697 from commit 160401294cbaa95b87bf0199c64590fef6b7fbc7
hds: fix memory leak (cid #1224537)
omxil: Change the default for the omxil-dr flag to true

This matches the default for the mediacodec-dr flag, making the
calling code (which will set both of them) more consistent.

Signed-off-by: Martin Storsjö <martin@martin.st>
contrib: speex: remove unneeded patch
equalizer: Fix bug in preset loading

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
lua: use proper target for Solaris

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
lua: add LDFLAGS to Solaris build

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
tools: add Apache ANT for contribs

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
postproc: fix cut-and-paste goof
Locale independent, case-ignoring ASCII string comparison functions

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
access/http: Improved cookie handling

* Moved cookie code to a separate file.
* Implemented domain and path matching algorithms from RFC 6265.
* Generates a single Cookie header consisting of a concatenation of all
  matching cookie values.
* Sends Secure cookies only on https streams.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>