Hi.
I am using OMX VENC component in EZSDK 5.04.
the following connection is working well.
DEI outport(1920x1080, 420sp) -> VENC inport
I have changed DEI outport resolution and VENC input resolution using "OMX_SetConfig" in "OMX_StateExecuting" state
( dynamic configuration)
DEI outport(1280x720, 420sp) -> VENC inport
(stride : 1920)
There is no error, but encoded picture have some problem like VENC reads invalid color data with invalid address
(it seems that Luma data is correctly resized.), see the result of dynamic configuration.
And another test with static configuration show the correct result like bottom picture. Surely, DEI outport buffer size is
1280x720x1.5. (stride : 1280)
If DEI write resized data in sequential without any offset between luma and chroma and VENC read data sequentially,
I think there is no problem, but it seems that there is any offset.
So, i guess that VENC can not read resized CbCr data address, which is changed by DEI outport.
Am I wrong ?
Could you explain how to write/read frame data when DEI/VENC is changing resolution with dynamic configuration ?
the result of dynamic configuration
the result of static configuration
best regards
hwanserk.