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.

dsp link加个测试代码



  在dsplink加个测试程序:去除图像中间120行,比如1920x1080的图像去除120行变成1920x960然后送给enc

(YUV420SP (YUV 420 SP    y:pFrame->addr[0][0], uv pFrame->addr[0][1]) )

 目前发现个问题,dsp处理完之后,enc出来的画面还是1920x1080的(dsp对图像的处理是有效果的),并不是1920x960

请问怎么改才能让dsp 之后的link 知道这是1920x960的?

(dsp获得 FVID2_Frame 后 我改了 System_LinkChInfo  -->height (1080->960) 但是没有效果 )

  • 你好;

           你在enc link 配置输入的时候是配置的1920*1080 ,即使你在dsplink 中处理过了;

           你需要在enc link 去获取数据的时候按照 1920*960 去获取,配置前一个link 的输出为1920*960 ;