[vlc-devel] CrystalHD: vlc must support hardware scaling because PCIe bus is not fast enough to move 1080p60
    R.M. 
    rafalm23 at tkdami.net
       
    Thu Feb 24 10:29:10 CET 2011
    
    
  
it's not finished
just place
     BC_SCALING_PARAMS pScaleParams;
     pScaleParams.sWidth = 1280;
     pScaleParams.sHeight = 720;
     pScaleParams.DNR = 1; //it's probably hw DeiNterlaceR (but i don't 
known why it's not work)
     if (BC_FUNC(DtsSetScaleParams)(p_sys->bcm_handle, &pScaleParams) != 
BC_STS_SUCCESS)
     {
         msg_Err( p_dec, "Couldn't set hw scaling" );
         goto error;
     }
after DtsSetInputFormat and
before DtsOpenDecoder
and change output size:
p_dec->fmt_out.video.i_width  = pScaleParams.sWidth; 
//p_dec->fmt_in.video.i_width;
p_dec->fmt_out.video.i_height = pScaleParams.sHeight; 
//p_dec->fmt_in.video.i_height;
regards,
R.M.
    
    
More information about the vlc-devel
mailing list