nv50: fix some h264 interlaced decoding on vp2
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 1 Aug 2013 16:50:10 +0000 (12:50 -0400)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Sat, 3 Aug 2013 10:52:04 +0000 (12:52 +0200)
commit8edb79f1ef95581c20ed0c3dc49aabe99d7f072a
tree38f5e4afc776b4085e4d875a8e69617b435e84c1
parentbff0d87668538196a2d3ef1400382e4deb0e0435
nv50: fix some h264 interlaced decoding on vp2

Some videos specify mb_adaptive_frame_field_flag instead of
field_pic_flag. This implies that the pic height needs to be halved, and
this field needs to be passed to the VP engine.

Cc: "9.2" mesa-stable@lists.freedesktop.org
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nv50/nv84_video_bsp.c
src/gallium/drivers/nv50/nv84_video_vp.c