how to scale yuv data by tx1 video card

I want scale 1920X1080 yuv data to 800X480,

I now use ffmpeg to do this.
ffmpeg method:
PixelFormat src_pic_fmt = PIX_FMT_YUV420P;
PixelFormat my_pic_fmt = PIX_FMT_YUV420P;

static struct SwsContext *img_convert_ctx;

m_pFrmDecOutput->width, m_pFrmDecOutput->height, src_pic_fmt,
iDstW, iDstH, my_pic_fmt, SWS_FAST_BILINEAR, NULL, NULL, NULL);

now I want to use tx1 display to do this, but sample in tegra_multimedia_api\samples not have the sample code

Hi SunYe, please refer to tegra_multimedia_api/samples/07_video_convert/