protected int[] colorSubSampleFromYuvImage(ImageProxy img,int subsample,boolean enableSquareInscribe){
  Rect defaultCrop=new Rect(0,0,img.getWidth(),img.getHeight());
  return colorSubSampleFromYuvImage(img,defaultCrop,subsample,enableSquareInscribe);
}

protected int [ ] colorSubSampleFromYuvImage ( ImageProxy img , int subsample , boolean enableSquareInscribe ) { Rect defaultCrop = new Rect ( 0 , 0 , img . getWidth ( ) , img . getHeight ( ) ) ; return colorSubSampleFromYuvImage ( img , defaultCrop , subsample , enableSquareInscribe ) ; }
converts an android image to a subsampled image of argb_8888 data in a super - optimized loop unroll . guarantees only one subsampled pass over the yuv data . no crop is applied .
