This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to scale video image and graphic simultaneously

Hi Sir :

I work on DM8148 platform and use DVRRDK_03.00.00.00 to develop our system.

I want to scale the video image and graphic simultaneously.

I try to trace source code and I find out a example saFbdevScalingDisplay.c.

However, it can only scale graphic.

Could you give me some hint or suggestion about how to scale the video image and graphic simultaneously?

Best regards,

Marcus 

  • Marcus,

    GRPX内部带了缩放模块。但video图像需要用SC来缩放。

  • Hi Chris:

    I appreciate your reply!

    If I do not misunderstand what you mean, I can not scale the video image and graphic simultaneously,right?

    I must use gprx and SC to scale graphic and video image one by one,right?

    I see there is SC parameter in multich_progressive_8d1_vcap_venc_vdec_vdis.c.

    So, this SC link only work for video,right?

    Because, we use multich_progressive_4d1_vcap_venc_vdec_vdis.c to develop our system, so there is no SC parameter.

    I do not know why SC parameter is used by 8CH and 16CH.

    Could you tell me the reason?

    Best regards,

    Marcus

  • Hi Chris:

    I follow your suggestion and add scalar link to down scalar, but it only affect video.

    What I mean is that the graphic remains same size.

    Is there another way that can scale the video image and graphic simultaneously?

    Could you help me, I have tried to solve this issue for couple weeks?

    Best regards,

    Marcus 

  • Hi there

    For me ,i usually scale the image using an image processing  control.It can scale,crop image well.But i've never tried to scale video image.

    I think there must be some third party program which can scale video image directly.You can have a try.

x 出现错误。请重试或与管理员联系。