question about BMDPixelFormat

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Andres Gonzalez

  • Posts: 18
  • Joined: Tue Apr 21, 2015 2:05 am

question about BMDPixelFormat

PostSat Jun 13, 2020 12:33 am

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
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 271
  • Joined: Mon Sep 04, 2017 4:05 am

Re: question about BMDPixelFormat

PostMon Jun 15, 2020 5:38 am

Hi Andres,

No, 420 formats are not included in BMDPixelFormat type.

Regards
Cameron
Offline

Andres Gonzalez

  • Posts: 18
  • Joined: Tue Apr 21, 2015 2:05 am

Re: question about BMDPixelFormat

PostMon Jun 15, 2020 11:14 pm

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

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 55 guests