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.

dm365: dm368: Resize yuv422(uyvy) to yuv420psemi(nv12)

Hello,

How to resize yuv422 to yuv420psemi on the fly? I tried it in single shot mode, its works fine. But i need to resize it in chain mode.

By default, capture throw out half frame (bot or top fiield) and resize half frame x2. I want to capture all lines(bot and top) in yuv420psemi and throw this frame to encoder.

Thanks.

  • Hi Mikhail,

    Check description of the YC420 field about data format selection in the TMS320DM36x DMSoC Video Processing Back End User's Guide section 6.2.60 Miscellaneous control register at:
    www.ti.com/.../sprufg9c.pdf

    BR
    Tsvetolin Shulev
  • Thank you for answer, Cvetolin Shulev.

    But you wrote about BackEnd interface ~ Display Interface. I think i need to modify capture module (VPFE). Methinks its working like: Capture frame in UYVY chroma, then resize to YUV420PSemi, than encode this frame. When I use resize on the fly (oper_mode=0; hCapture.onTheFly = TRUE;) It throw out half frame and get 720x288(only bot or top field) and resize this part to full resolution (720x576). But I want to capture all frame with bot and top field with interlace effect end put it to encoder or DEI.

    Thanks.