summaryrefslogtreecommitdiff
path: root/src/video_out/deinterlace.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-27 16:12:21 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-27 16:12:21 +0000
commit632d85bad131630c15c48e8216d4bcc016dfbb4e (patch)
treec8a21d0eafc2cc766a7e64216a231ef3aafed244 /src/video_out/deinterlace.c
parentaef7985b9484bdb81ee2b1149747959aabb9ddb8 (diff)
downloadxine-lib-632d85bad131630c15c48e8216d4bcc016dfbb4e.tar.gz
xine-lib-632d85bad131630c15c48e8216d4bcc016dfbb4e.tar.bz2
- new dirty and cheap deinterlace method: we give half of the lines to xv
driver and let it scale for us - xine_list_demux_plugins update CVS patchset: 894 CVS date: 2001/10/27 16:12:21
Diffstat (limited to 'src/video_out/deinterlace.c')
-rw-r--r--src/video_out/deinterlace.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/video_out/deinterlace.c b/src/video_out/deinterlace.c
index 540941c20..ea8964a7b 100644
--- a/src/video_out/deinterlace.c
+++ b/src/video_out/deinterlace.c
@@ -180,7 +180,8 @@ static void deinterlace_bob_yuv_mmx( uint8_t *pdst, uint8_t *psrc[],
/* Deinterlace the latest field, with a tendency to weave rather than bob.
Good for high detail on low-movement scenes.
- NOT FINISHED! WEIRD OUTPUT!!!
+ Seems to produce bad output in general case, need to check if this
+ is normal or if the code is broken.
*/
static int deinterlace_weave_yuv_mmx( uint8_t *pdst, uint8_t *psrc[],
int width, int height )
@@ -689,6 +690,12 @@ void deinterlace_yuv( uint8_t *pdst, uint8_t *psrc[],
else /* FIXME: provide an alternative? */
abort_mmx_missing();
break;
+ case DEINTERLACE_ONEFIELDXV:
+ printf("deinterlace: ONEFIELDXV must be handled by the video driver.\n");
+ break;
+ default:
+ printf("deinterlace: unknow method %d.\n",method);
+ break;
}
}