Fix decoding of some 8 < bpc < 16 signed j2k samples with libopenjpeg.

No testcase known.

Reviewed-by: Michael Bradshaw
x86/vp9lpf: faster P7..Q7 accesses.

Introduce 2 additional registers for stride3 and mstride3 to allow
direct accesses (lea drops).

3931 → 3827 decicycles in ff_vp9_loop_filter_v_16_16_ssse3

Also uses defines to clarify the code.
x86/vp9lpf: refactor v/h using common macros for P7 to Q7.
x86/vp9lpf: add a preload system in FILTER_UPDATE.

Allow some macro refactoring in filter14().
avcodec/libfdk-aacenc: change MODE_7_1_REAR_SURROUND to map to AV_CH_LAYOUT_7POINT1

This was suggested by Rodeo on IRC
<Rodeo> sorry, I meant MODE_7_1_REAR_SURROUND would probably be AV_CH_LAYOUT_7POINT1

Reviewed-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/libfdk-aacenc: change MODE_7_1_FRONT_CENTER to map to AV_CH_LAYOUT_7POINT1_WIDE_BACK

This was suggested by Rodeo on IRC
<Rodeo> for consistency with the rest, MODE_7_1_FRONT_CENTER would be AV_CH_LAYOUT_7POINT1_WIDE_BACK (since LS+RS is mapped to back channels in other modes)

Reviewed-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'lukaszmluki/master'

* lukaszmluki/master:
  lavd: add opengl device
  lavd: add avdevice_dev_to_app_control_message API
  lavd: add avdevice_app_to_dev_control_message API

Merged-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/huffyuv: dont depend on bitstream_bpp having a specific value for version>2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
x86/vp9lpf: add ff_vp9_loop_filter_[vh]_88_16_{ssse3,avx}.

9680 decicycles in loop_filter_v_88_16_c, 4193765 runs, 539 skips
9233 decicycles in loop_filter_h_88_16_c, 4193751 runs, 553 skips

1929 decicycles in ff_vp9_loop_filter_v_88_16_ssse3, 4194118 runs, 186 skips
2738 decicycles in ff_vp9_loop_filter_h_88_16_ssse3, 4193861 runs, 443 skips

5.978 → 5.417 overall decode time on ped1080p.webm (-threads 1)

Adding SSE2 support should be relatively trivial (just a matter of
changing the pshufb [mask_mix] with something else), patch welcome.
x86/vp9lpf: add ff_vp9_loop_filter_[vh]_88_16_sse2()

Similar gains as the ssse3 version once again

Signed-off-by: James Almer <jamrial@gmail.com>
avcodec/huffyuvenc: frame multi-threading support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/APIchanges: add avdevice_*_control_message functions

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
MAINTAINERS: add myself as opengl_enc.c maintainer

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/general: update device and protocol status

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/hls: Fix cookies and user agent with encrypted HLS streams

Session data (cookies, user-agent) is not being sent on payload requests with
encrypted HLS streams This causes services like Akamai to give a 403 forbidden
when requesting the TS files, because they expect the same cookies
and user-agent on all requests
avfilter/vf_colormatrix: Support using the source AVFrame colorspace if none is specified

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_colormatrix: update output AVFrame colorspace

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Add elbg Makefile dependency to the cinepak encoder.
Move GUID-related objects to riffenc.c and riff.c.

This simplifies the following eac3-in-wav patch.
Support writing E-AC3 in wav.