Hi igorpadykov,
Thanks your advise, But I try scale the image with g2d plugin in the gstreamer-imx, The error information as the following:
# gst-language-1.0 videotestsrc ! video/x-raw,foramt=BGRA,width=640,height=480 ! imxg2dvideotransform ! video/x-raw,width=400,height=240 ! imxipuvideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
g2d_blit: Invalid dst rect, left 0, top 0, right 0, bottom 0, width 400, height 240, stride 400!
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data flow error.
Additional debug info:
/work/yocto/build-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/git-r0
/git/libs/gst/base/gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:
videotestsrc0:
streaming task paused, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...