Anton Khirnov
2c54155407
h264: deMpegEncContextize
...
Most of the changes are just trivial are just trivial replacements of
fields from MpegEncContext with equivalent fields in H264Context.
Everything in h264* other than h264.c are those trivial changes.
The nontrivial parts are:
1) extracting a simplified version of the frame management code from
mpegvideo.c. We don't need last/next_picture anymore, since h264 uses
its own more complex system already and those were set only to appease
the mpegvideo parts.
2) some tables that need to be allocated/freed in appropriate places.
3) hwaccels -- mostly trivial replacements.
for dxva, the draw_horiz_band() call is moved from
ff_dxva2_common_end_frame() to per-codec end_frame() callbacks,
because it's now different for h264 and MpegEncContext-based
decoders.
4) svq3 -- it does not use h264 complex reference system, so I just
added some very simplistic frame management instead and dropped the
use of ff_h264_frame_start(). Because of this I also had to move some
initialization code to svq3.
Additional fixes for chroma format and bit depth changes by
Janne Grunau <janne-libav@jannau.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
1d0feb5d1a
mpegvideo: split ff_draw_horiz_band().
...
Split out dependency on MpegEncContext.
12 years ago
Rémi Denis-Courmont
44e065d56c
vdpau: Add context and common helpers for hwaccel support
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Janne Grunau
cd8c64e197
Revert "mpeg12: move full_pel from MpegEncContext to Mpeg1Context"
...
This reverts commit da22ba7df4
since it
broke slice threading. Slice threading just duplicates MpegEncContext
so every value used during mpeg_decode_slice has to be in it.
A second patch will fix the illusion that Mpeg1Context is available
in mpeg_decode_slice.
13 years ago
Anton Khirnov
da22ba7df4
mpeg12: move full_pel from MpegEncContext to Mpeg1Context
...
It's MPEG-1 specific.
13 years ago
Mans Rullgard
1765aacb17
hwaccel: unbreak build
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Carl Eugen Hoyos
a4ab70f92e
ffmpeg: Fix VDPAU decoding for some H264 samples.
14 years ago
Diego Biurrun
adbfc605f6
doxygen: Consistently use '@' instead of '\' for Doxygen markup.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stephen Warren
3bccd93ac0
Set VDPAU H264 picture parameter field_order_cnt and frame_num at the
...
start of decoding a picture instead of at the end.
Fixes mmco01.264
Patch by Stephen Warren
Originally committed as revision 22728 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stephen Warren
e5efbafdfd
Fix VDPAU for H.264 streams with long reference frames.
...
Patch by Stephen Warren.
Originally committed as revision 22727 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
66b50bc0b2
Cosmetics: Fix a comment.
...
Originally committed as revision 22533 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
741a17e6b4
Support B-frames when decoding MPEG-4 with VDPAU hardware acceleration.
...
Based on a patch by NVIDIA.
Originally committed as revision 22160 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
NVIDIA Corporation
70e0c871eb
Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
...
by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stephen Warren
49caac2413
Fix H.264 bitstream field log2_max_pic_order_cnt_lsb_minus4
...
if sps.poc_type == 0.
Patch by Stephen Warren, swarren nvidia com
Originally committed as revision 17854 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
NVIDIA Corporation
2f9c978a07
Do not set h264.is_reference for pictures that are delayed, but not
...
actually reference frames.
Patch by NVIDIA
Originally committed as revision 17596 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
NVIDIA Corporation
f90b55166e
The field rangered in VDPAU's VdpPictureInfoVC1 now also contains
...
rangeredfrm (VC-1 7.1.13) in bit 1.
Patch by NVIDIA
Originally committed as revision 17595 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
d46b2d682f
100l, always declare variables at the top of a block, not inside a for ()
...
Originally committed as revision 17541 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
9bbf1a5c23
Instead of crashing, return from ff_vdpau_mpeg_picture_complete()
...
if get_buffer() failed.
Patch by Reimar
Originally committed as revision 17427 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stephen Warren
ef7ae94ba2
Fix MBAFF/PAFF samples.
...
Patch by Stephen Warren, swarren nvidia com
Originally committed as revision 17401 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
06aae1238f
Place spaces consistently in pointer types in vdpau.c
...
Originally committed as revision 17320 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
fd949a6353
Revert adding a _pixfmt to vdpau/xvmc header names.
...
Since vdpau.h was an installed header this would break API.
Originally committed as revision 17225 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
8df3bf60cf
Rename xvmc_render.h --> xvmc_pixfmt.h and vdpau.h --> vdpau_pixfmt.h as
...
suggested by Michael, the new names better describe the contents of the files.
Originally committed as revision 17168 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9b4cfc360a
Rename vdpauvideo.c --> vdpau.c and xvmcvideo.c --> xvmc.c to better fit
...
the general libavcodec naming structure.
Originally committed as revision 17152 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
NVIDIA Corporation
c5b42f4a80
Add VDPAU hardware accelerated decoding for WMV3 and VC1 which can
...
be used by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16699 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
NVIDIA Corporation
d37edddc09
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
...
be used by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
1717031362
Remove H264Context from vdpau_internal.h.
...
Originally committed as revision 16524 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
c639fc7213
Cosmetics: Rename ff_vdpau_h264_add_data_chunk as ff_vdpau_add_data_chunk.
...
Originally committed as revision 16521 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
1968e438d0
Use only MpegEncContext in ff_vdpau_h264_add_data_chunk.
...
Originally committed as revision 16520 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
6f0b5d6fae
Cosmetics: Break long line.
...
Originally committed as revision 16519 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
7fd3c09e0f
Move vdpau_h264_set_reference_frames() call from vdpauvideo.c into h264.c.
...
Originally committed as revision 16513 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
090846f3b9
Rename ff_VDPAU as ff_vdpau.
...
Originally committed as revision 16492 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
6cc01c245f
Rename bitstreamBuffers* as bitstream_buffers*
...
Originally committed as revision 16491 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
8423186e65
Rename vdpau_render.h as vdpau.h.
...
Originally committed as revision 16444 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
5d9c0615be
Ministry of English Composition treatment: s/Alloced/Allocated
...
Originally committed as revision 16439 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
NVIDIA Corporation
369122dd77
Add VDPAU hardware accelerated decoding for H264 which can be used by
...
video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago