what specific pixel format conversions are supported?

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

Andres Gonzalez

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

what specific pixel format conversions are supported?

PostFri Sep 04, 2020 6:41 pm

Hi,
I notice that in section 2.4.14 (pg. 32 in the December 2019 version) of the Software Developers Kit documentation, says that the SDK supports SIMD accelerated conversion operations for converting the pixel formats in IDeckLinkVideoFrame objects.

Which specific conversions are available?
Specifically, is conversion from YUV 4:2:0 to the Blackmagic supported 2vuy or v210 available?

The most common Y4M files are usually in a 4:2:0 YUV format, either with biaxially-displaced chroma planes or coincident chroma planes. So I am trying to determine if I have to use my own conversion routines just to output a typical Y4M video file.

Thanks,
-Andres
Offline

Cameron Nichols

Blackmagic Design

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

Re: what specific pixel format conversions are supported?

PostMon Sep 07, 2020 10:17 pm

Hi Andres,

The list of supported pixel formats is listed in the DeckLink SDK Manual, section 3.4. The IDeckLinkVideoConversion interface does not support 4:2:0 pixel formats.

You will need to implement conversion or use an external package (eg FFmpeg/libswscale, Media Foundation transforms, etc) to convert form 4:2:0 to one of the pixel formats supported by DeckLinkAPI.

Regards
Cameron
Offline

Andres Gonzalez

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

Re: what specific pixel format conversions are supported?

PostMon Sep 07, 2020 10:43 pm

Hi Cameron, thanks for your reply.

I was just studying the API doc and noticed in section 3.23 it lists all of the BMDVideoOutputConversionModes. For some reason when I read in section 2.4.14 that the API supported SIMD accelerated conversions for converting "pixel format" I interpreted that to imply pixel color formats. But now I see that the BMDVideoOutputConversionModes are for Letterbox/Anamorphic/Pillarbox type of conversions and not pixel color format conversions.

Thanks again for your support.
-Andres

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests