/** @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; }
/** @since Available in iOS 4.0 and later. */ public CVImageBufferAttributes setChromaSubsampling( CVImageBufferChromaSubsampling chromaSubsampling) { set(CVImageBufferAttribute.ChromaSubsampling, chromaSubsampling.value()); return this; }