/** @since Available in iOS 4.0 and later. */
 public double getGammaLevel() {
   if (has(CVImageBufferAttribute.GammaLevel)) {
     CFNumber val = get(CVImageBufferAttribute.GammaLevel, CFNumber.class);
     return val.doubleValue();
   }
   return 0;
 }
 /** @since Available in iOS 4.0 and later. */
 public int getFieldCount() {
   if (has(CVImageBufferAttribute.FieldCount)) {
     CFNumber val = get(CVImageBufferAttribute.FieldCount, CFNumber.class);
     return val.intValue();
   }
   return 0;
 }
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferAttributes setGammaLevel(double gammaLevel) {
   set(CVImageBufferAttribute.GammaLevel, CFNumber.valueOf(gammaLevel));
   return this;
 }
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferAttributes setFieldCount(int fieldCount) {
   set(CVImageBufferAttribute.FieldCount, CFNumber.valueOf(fieldCount));
   return this;
 }