示例#1
0
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferYCbCrMatrix getYCbCrMatrix() {
   if (has(CVImageBufferAttribute.YCbCrMatrix)) {
     CFString val = get(CVImageBufferAttribute.YCbCrMatrix, CFString.class);
     return CVImageBufferYCbCrMatrix.valueOf(val);
   }
   return null;
 }
示例#2
0
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferAttributes setYCbCrMatrix(CVImageBufferYCbCrMatrix yCbCrMatrix) {
   set(CVImageBufferAttribute.YCbCrMatrix, yCbCrMatrix.value());
   return this;
 }