Rémi Denis-Courmont and Luca Barbato
4e03b2097c
mpeg12: Always invoke the get_format() callback
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-09-26 21:28:37 +02:00
Rémi Denis-Courmont and Luca Barbato
ce42316321
h264: Always invoke the get_format() callback
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-09-26 21:28:37 +02:00
Rémi Denis-Courmont and Luca Barbato
1c80c9d7ef
hwaccel: Call ->get_format again if hwaccel init fails
...
This allows the application to fall back on another hwaccel or,
more likely, software decoding.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-09-26 21:28:36 +02:00
Rémi Denis-Courmont and Martin Storsjö
6ee1cb5740
libavformat: use MSG_NOSIGNAL when applicable
...
If the remote end of a connection oriented socket hangs up, generating
an EPIPE error is preferable over an unhandled SIGPIPE signal.
Signed-off-by: Martin Storsjö <martin@martin.st >
2014-08-25 10:49:14 +03:00
Rémi Denis-Courmont and Vittorio Giovara
654c7446a8
vc1dec: improve hwaccel #ifdefs
2014-03-31 17:52:42 +02:00
Rémi Denis-Courmont and Vittorio Giovara
3325911815
h263: improve hwaccel #ifdefs
2014-03-31 17:52:38 +02:00
Rémi Denis-Courmont and Janne Grunau
eeaf4f3b87
av_vdpau_get_profile: mask out H.264 intra profile flag
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net >
2014-03-04 22:48:55 +01:00
Rémi Denis-Courmont and Martin Storsjö
9d5ec50ead
ff_socket: put out-of-line and fallback to fcntl() for close-on-exec
...
This supports non-Linux systems (SOCK_CLOEXEC is non-standard) and
older Linux kernels to the extent possible.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-08-09 11:26:50 +03:00
Rémi Denis-Courmont and Anton Khirnov
51eb213d00
libavformat: use avpriv_open()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-07 21:22:03 +02:00
Rémi Denis-Courmont and Anton Khirnov
71bf6b41d9
libavdevice: use avpriv_open()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-07 21:16:05 +02:00
Rémi Denis-Courmont and Anton Khirnov
fee9db1fdf
libavcodec: use avpriv_open()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-07 21:13:12 +02:00
Rémi Denis-Courmont and Anton Khirnov
880391ed2d
libavutil: use avpriv_open()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-07 21:12:28 +02:00
Rémi Denis-Courmont and Anton Khirnov
869b04e891
libavutil: add avpriv_open() to open files with close-on-exec flag
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-07 21:12:20 +02:00
Rémi Denis-Courmont and Anton Khirnov
f824535a4a
vdpau: deprecate bitstream buffers within the hardware context
...
The bitstream buffers are now private and freed by libavcodec. For
backward compatibility, the hold bitstream buffer pointer is left NULL
(applications were supposed to av_freep() it).
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-05 11:21:36 +02:00
Rémi Denis-Courmont and Anton Khirnov
2852740e23
vdpau: store picture data in picture's rather than codec's context
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-05 11:20:41 +02:00
Rémi Denis-Courmont and Anton Khirnov
549294fbbe
vdpau: deprecate VDPAU codec capability
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-05 11:20:32 +02:00
Rémi Denis-Courmont and Anton Khirnov
a0ad5d0113
vdpau: deprecate old codec-specific pixel formats
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-05 11:16:54 +02:00
Rémi Denis-Courmont and Anton Khirnov
578ea75a9e
vdpau: remove old-style decoders
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-05 11:15:49 +02:00
Rémi Denis-Courmont and Diego Biurrun
93a51984a2
mpeg12: Ignore slice threading if hwaccel is active
...
Slice threading does not work with hardware acceleration, as decoding
is per-picture. This fixes Bugzilla #542 .
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-07-25 19:43:32 +02:00
Rémi Denis-Courmont and Luca Barbato
78bc4d69eb
hwaccel: do not offer unsupported pixel formats
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-01-27 07:03:22 +01:00
Rémi Denis-Courmont and Luca Barbato
ec0e92002b
vdpau: add missing pixel format for H.264
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-01-27 07:03:22 +01:00
Rémi Denis-Courmont and Diego Biurrun
171f1446f0
vdpau: Remove av_unused attribute from function declaration
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-01-14 21:56:55 +01:00
Rémi Denis-Courmont and Diego Biurrun
7752532789
vdpau: Add VC-1 decoding via hwaccel infrastructure
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-01-13 14:54:18 +01:00
Rémi Denis-Courmont and Diego Biurrun
51b56a0716
vdpau: Add H.264 decoding via hwaccel infrastructure
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-01-13 14:54:08 +01:00
Rémi Denis-Courmont and Diego Biurrun
200e8ac920
vdpau: Add MPEG-4 decoding via hwaccel infrastructure
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-01-13 14:54:02 +01:00
Rémi Denis-Courmont and Diego Biurrun
aaf9d0e8f3
vdpau: Add MPEG-1/2 decoding via hwaccel infrastructure
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-01-13 14:53:47 +01:00
Rémi Denis-Courmont and Diego Biurrun
44e065d56c
vdpau: Add context and common helpers for hwaccel support
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-01-13 14:41:27 +01:00
Rémi Denis-Courmont and Diego Biurrun
169fb94f0f
pixfmt: add picture format for VDPAU
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-01-12 12:00:49 +01:00