diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-17 02:29:41 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-17 02:29:41 +0000 |
commit | 984d3bcd5cfbf05a2455ac52a300f0e32d905009 (patch) | |
tree | 538bf2773e0ca051c6735a66ba8c19d24dd87607 /libmpcodecs | |
parent | f7718eb7353f2054e11b191333380914323c4899 (diff) | |
download | mpv-984d3bcd5cfbf05a2455ac52a300f0e32d905009.tar.bz2 mpv-984d3bcd5cfbf05a2455ac52a300f0e32d905009.tar.xz |
init_video_vaa() removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5156 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/dec_video.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index 91f789bee7..b04777cd36 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -148,25 +148,6 @@ int i; extern int vaa_use_dr; -static int use_dr=0,use_dr_422=0; -static bes_da_t bda; -void init_video_vaa( unsigned width ) -{ - unsigned adp; - memset(&bda,0,sizeof(bes_da_t)); - if(vo_vaa.query_bes_da) - use_dr = vo_vaa.query_bes_da(&bda) ? 0 : 1; - if(!vaa_use_dr) use_dr = 0; - if(use_dr) - { - uint32_t sstride,dstride; - sstride=width*2; - adp = bda.dest.pitch.y-1; - dstride=(width*2+adp)&~adp; - if(sstride == dstride) use_dr_422 = 1; - } -} - int decode_video(vo_functions_t *video_out,sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame){ mp_image_t *mpi=NULL; int blit_frame=0; |