示例#1
0
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferColorPrimaries getColorPrimaries() {
   if (has(CVImageBufferAttribute.ColorPrimaries)) {
     CFString val = get(CVImageBufferAttribute.ColorPrimaries, CFString.class);
     return CVImageBufferColorPrimaries.valueOf(val);
   }
   return null;
 }
示例#2
0
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferAttributes setColorPrimaries(CVImageBufferColorPrimaries colorPrimaries) {
   set(CVImageBufferAttribute.ColorPrimaries, colorPrimaries.value());
   return this;
 }