Page 1 of 1

question about BMDPixelFormat

PostPosted: Sat Jun 13, 2020 12:33 am
by Andres Gonzalez
Hi,

I am trying to use IDeckLinkOutupt::DisplayVideoFrameSync() method with a DeckLink Studio 4K card. In looking at the enum for BDMPixelFormat, and the SDK documentation Section 3.4 (pg 210-216), there appears to be only 2 YUV formats supported and they are both 4:2:2.

Arn't there any common 4:2:0 YUV formats supported like YU12, or I420, etc?

Thanks,
-Andres

Re: question about BMDPixelFormat

PostPosted: Mon Jun 15, 2020 5:38 am
by Cameron Nichols
Hi Andres,

No, 420 formats are not included in BMDPixelFormat type.

Regards
Cameron

Re: question about BMDPixelFormat

PostPosted: Mon Jun 15, 2020 11:14 pm
by Andres Gonzalez
Hi Cameron,

Thank you so much for your reply. This is the reason for my question.

I developed an app several years ago that used several DeckLink cards and supported 4:2:0 video. Now I am developing a new app using the Studio 4K card and re-writing the DeckLink-related code from scratch--only occasionally looking at my older code to remind myself of the DeckLink APi. Since that previous app supported 4:2:0 video, I was confused when, working on my current project, I found that 4:2:0 was not supported directly by the DeckLink API. So I asked this question.

Then I went back and looked at my previous application's code more closely and found that I had used the Intel IPP libraries to do all of my pixel format conversions. I had totally forgotten about all of my IPP pixel format conversion code. So this question was rather unnecessary. For my current new project with the Studio 4K card, I cannot use Intel's IPP libraries, so now I have to write my own pixel format conversion routines.

Sorry to have bothered you with this question--I should have examined my older DeckLink API code more closely before posting the question. But I do very much appreciate your replies any support.

Thanks,
-Andres