Ejemplo n.º 1
0
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferChromaSubsampling getChromaSubsampling() {
   if (has(CVImageBufferAttribute.ChromaSubsampling)) {
     CFString val = get(CVImageBufferAttribute.ChromaSubsampling, CFString.class);
     return CVImageBufferChromaSubsampling.valueOf(val);
   }
   return null;
 }
Ejemplo n.º 2
0
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferAttributes setChromaSubsampling(
     CVImageBufferChromaSubsampling chromaSubsampling) {
   set(CVImageBufferAttribute.ChromaSubsampling, chromaSubsampling.value());
   return this;
 }