On Cocoa / Mac OSX 10.6
OSType IOSurfaceGetPixelFormat (IOSurfaceRef buffer)
returns type OSType
where I can find some documentation / link to the supported OSType regarding the context of this function.
What type of OSType should I expect with IOSurfaceGetPixelFormat? Do you have any ideas regarding the various expected values from this function?
From MacTypes.h:
MacTypes.h
typedef FourCharCode OSType; typedef UInt32 FourCharCode; typedef unsigned long UInt32; //or unsigned int, depending on architecture
, CVPixelBuffer.h Core Video. IOSurface.h; , .
Keep in mind that IOSurface is more than a friendly shell around shared memory. Thus, IOSurfaceGetPixelFormat simply returns everything that was specified when IOSurface was created, or 0 if the pixel format was not set.
Source: https://habr.com/ru/post/1720586/More articles:List of installed programs / updates that can be removed - c #undefined метод `user_sessions_path 'для # - ruby-on-railsScala recursion depth constraint - scalaThe option "Do not show it again" in message blocks - c ++Как я могу ссылаться на виджет jQuery UI на странице и вызывать функцию на нем? - jqueryКаков самый элегантный способ сортировки оболочек (расческа/уменьшение сортировки приращения) в С#? - sortingchild depth in DOM - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1720589/does-a-unittest-has-to-have-an-assertion-like-assertequals&usg=ALkJrhjVoRXtZh_U2owohoGdXpt7fQo3Ewjava shell to execute / coordinate processes? - javaHow do you get an XmlWriter to write an HTML tag with xmlns and xml: lang? - htmlAll Articles