Subversion Repositories Kolibri OS

Rev

Rev 6133 | Rev 6136 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6133 Rev 6135
Line 606... Line 606...
606
    vaSyncSurface(vaapi->display,v_surface_id[vframe->index]);
606
    vaSyncSurface(vaapi->display,v_surface_id[vframe->index]);
Line 607... Line 607...
607
 
607
 
608
    if(vframe->format != AV_PIX_FMT_NONE)
608
    if(vframe->format != AV_PIX_FMT_NONE)
Line 609... Line -...
609
        return;
-
 
610
 
-
 
611
ENTER();
609
        return;
612
 
610
 
613
    status = vaDeriveImage(vaapi->display,v_surface_id[vframe->index],&vaimage);
611
    status = vaDeriveImage(vaapi->display,v_surface_id[vframe->index],&vaimage);
614
    if (!vaapi_check_status(status, "vaDeriveImage()"))
612
    if (!vaapi_check_status(status, "vaDeriveImage()"))
615
    {
613
    {
Line 651... Line 649...
651
        vframe->format = AV_PIX_FMT_NV12;
649
        vframe->format = AV_PIX_FMT_NV12;
652
    };
650
    };
Line 653... Line 651...
653
 
651
 
654
    vaReleaseBufferHandle(vaapi->display, vaimage.buf);
652
    vaReleaseBufferHandle(vaapi->display, vaimage.buf);
655
    vaDestroyImage(vaapi->display, vaimage.image_id);
653
    vaDestroyImage(vaapi->display, vaimage.image_id);
656
LEAVE();
654