OpenCL performance between ARM and Qualcomm

hi,
i get 2 android mobile. One with ARM mali G72 and a new one with Adreno 650.

I just tested both with the same project and i found out that the ARM G72 take 40ms and adreno 650 70ms.

But running the vulkan sample adreno 650 is really faster than ARM G72.

Is ARM faster than Qualcom in OpenCL ?

;))

could you provide a Test Case ?

Why not ? ARM G72 - Old Bifrost GPU(12 nm, 2017), but Adreno 650(7 nm, 2020), - a new GPU with support some good features like as VK_EXT_descriptor_indexing. You need compare ARM G77(Valhall, 7 nm, 2020) vs Adreno 650

hi Andrey,

yes i can provide a test case :))

here is the ARM Mali G72 on Huawei Honor Play

> 2021-08-04 19:11:33.112 E/JNIProcessor:  00 gNV21Kernel finished in 1 ms ligth: 23
> 2021-08-04 19:11:33.119 E/JNIProcessor:  0 gNV21Kernel finished in 8 ms ligth: 23
> 2021-08-04 19:11:33.119 E/CanvasQuadPBO:  ** Eyes 0
> 2021-08-04 19:11:33.120 E/CanvasQuadPBO:  ** MapUpackbuffer0.capacity() 8294400
> 2021-08-04 19:11:33.120 I/JNIProcessor:  debug ind: 0 value: 578168 
> 2021-08-04 19:11:33.120 I/JNIProcessor:  debug ind: 1 value: 437247 
> 2021-08-04 19:11:33.120 I/JNIProcessor:  debug ind: 2 value: 442949 
> 2021-08-04 19:11:33.120 I/JNIProcessor:  debugIdx value: 3710  decalage 0 
> 2021-08-04 19:11:33.121 E/CameraPreview:  onDraw 48 flipframe 1
> 2021-08-04 19:11:33.121 E/CameraPreview:  !! dispatchDraw 48 flipframe 0
> 2021-08-04 19:11:33.125 E/JNIProcessor:  2 gSuperPixel 1 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.125 E/JNIProcessor:  2 gVision 1 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.125 E/JNIProcessor:  2 gSuperPixel 2 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.125 E/JNIProcessor:  2 gVision 2 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.127 E/MyGLRenderer:  onDrawFrame 
> 2021-08-04 19:11:33.127 E/JNIProcessor:  1 gFiltreColor finished in 16 ms ligth: 23
> 2021-08-04 19:11:33.129 E/JNIProcessor:  3 gCompression finished in 18 ms ligth: 23
> 2021-08-04 19:11:33.130 I/JNIProcessor:  gCompression debug ind: 0 value: 578168 
> 2021-08-04 19:11:33.130 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
> 2021-08-04 19:11:33.130 I/JNIProcessor:  gCompression debug ind: 1 value: 437247 
> 2021-08-04 19:11:33.130 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
> 2021-08-04 19:11:33.130 I/JNIProcessor:  gCompression debug ind: 2 value: 442949 
> 2021-08-04 19:11:33.130 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
> 2021-08-04 19:11:33.130 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
> 2021-08-04 19:11:33.130 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
> 2021-08-04 19:11:33.131 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 20 ms ligth: 23
> 2021-08-04 19:11:33.132 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 21 ms 
> 2021-08-04 19:11:33.135 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 0  
> 2021-08-04 19:11:33.136 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 0
> 2021-08-04 19:11:33.136 E/CanvasQuadPBO:  ** Eyes 0
> 2021-08-04 19:11:33.136 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 3023
> 2021-08-04 19:11:33.136 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 719
> 2021-08-04 19:11:33.137 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 29  
> 2021-08-04 19:11:33.137 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 42  
> 2021-08-04 19:11:33.137 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 20  
> 2021-08-04 19:11:33.138 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 255949
> 2021-08-04 19:11:33.139 E/JNIProcessor:  9 traitement forme finished in 28 ms 
> 2021-08-04 19:11:33.139 E/MyGLRenderer:  onDrawFrame 
> 2021-08-04 19:11:33.140 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 29 ms 
> 2021-08-04 19:11:33.141 E/JNIProcessor:  10Bis traitement tansfert data finished in 29 ms 
> 2021-08-04 19:11:33.141 E/JNIProcessor:  11 traitement mélange image finished in 29 ms 
> 2021-08-04 19:11:33.150 E/JNIProcessor:  12 traitement bufligne finished in 39 ms 
> 2021-08-04 19:11:33.150 E/JNIProcessor:  13 END JNICALL CameraPreview_runfilter 
> 2021-08-04 19:11:33.150 E/CanvasQuadPBO:  setBufferYUV Size 8294400 paquetSize 8294400
> 2021-08-04 19:11:33.151 E/CameraPreview:  onPreviewFrame 49
> 2021-08-04 19:11:33.153 E/CanvasQuadPBO:  ** Eyes 0
> 2021-08-04 19:11:33.153 E/CanvasQuadPBO:  ** MapUpackbuffer0.capacity() 8294400
> 2021-08-04 19:11:33.156 E/JNIProcessor:  00 gNV21Kernel finished in 2 ms ligth: 23
> 2021-08-04 19:11:33.163 E/JNIProcessor:  0 gNV21Kernel finished in 9 ms ligth: 23
> 2021-08-04 19:11:33.163 E/MyGLRenderer:  onDrawFrame 
> 2021-08-04 19:11:33.163 I/JNIProcessor:  debug ind: 0 value: 413597 
> 2021-08-04 19:11:33.163 I/JNIProcessor:  debug ind: 1 value: 265599 
> 2021-08-04 19:11:33.163 I/JNIProcessor:  debug ind: 2 value: 266880 
> 2021-08-04 19:11:33.163 I/JNIProcessor:  debugIdx value: 3757  decalage 0 
> 2021-08-04 19:11:33.167 E/JNIProcessor:  2 gSuperPixel 1 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.167 E/JNIProcessor:  2 gVision 1 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.167 E/JNIProcessor:  2 gSuperPixel 2 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.167 E/JNIProcessor:  2 gVision 2 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.171 E/JNIProcessor:  1 gFiltreColor finished in 18 ms ligth: 23
> 2021-08-04 19:11:33.172 E/CameraPreview:  onDraw 49 flipframe 0
> 2021-08-04 19:11:33.172 E/CameraPreview:  !! dispatchDraw 49 flipframe 1
> 2021-08-04 19:11:33.173 E/CanvasQuadPBO:  ** Eyes 0
> 2021-08-04 19:11:33.174 E/JNIProcessor:  3 gCompression finished in 20 ms ligth: 23
> 2021-08-04 19:11:33.174 I/JNIProcessor:  gCompression debug ind: 0 value: 413597 
> 2021-08-04 19:11:33.174 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
> 2021-08-04 19:11:33.174 I/JNIProcessor:  gCompression debug ind: 1 value: 265599 
> 2021-08-04 19:11:33.174 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
> 2021-08-04 19:11:33.174 I/JNIProcessor:  gCompression debug ind: 2 value: 266880 
> 2021-08-04 19:11:33.174 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
> 2021-08-04 19:11:33.174 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
> 2021-08-04 19:11:33.174 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
> 2021-08-04 19:11:33.177 E/MyGLRenderer:  onDrawFrame 
> 2021-08-04 19:11:33.181 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 28 ms ligth: 23
> 2021-08-04 19:11:33.184 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 30 ms 
> 2021-08-04 19:11:33.186 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 2931
> 2021-08-04 19:11:33.186 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 41  
> 2021-08-04 19:11:33.186 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 0  
> 2021-08-04 19:11:33.187 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 0
> 2021-08-04 19:11:33.188 E/CanvasQuadPBO:  ** Eyes 0
> 2021-08-04 19:11:33.188 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 28  
> 2021-08-04 19:11:33.188 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 719
> 2021-08-04 19:11:33.188 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 255952
> 2021-08-04 19:11:33.189 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 20  
> 2021-08-04 19:11:33.189 E/JNIProcessor:  9 traitement forme finished in 36 ms 
> 2021-08-04 19:11:33.190 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 37 ms 
> 2021-08-04 19:11:33.190 E/JNIProcessor:  10Bis traitement tansfert data finished in 37 ms 
> 2021-08-04 19:11:33.191 E/JNIProcessor:  11 traitement mélange image finished in 37 ms 
> 2021-08-04 19:11:33.191 E/MyGLRenderer:  onDrawFrame 
> 2021-08-04 19:11:33.197 E/JNIProcessor:  12 traitement bufligne finished in 44 ms 
> 2021-08-04 19:11:33.197 E/JNIProcessor:  13 END JNICALL CameraPreview_runfilter 
> 2021-08-04 19:11:33.197 E/CanvasQuadPBO:  setBufferYUV Size 8294400 paquetSize 8294400
> 2021-08-04 19:11:33.198 E/CameraPreview:  onPreviewFrame 50
> 2021-08-04 19:11:33.200 E/JNIProcessor:  00 gNV21Kernel finished in 1 ms ligth: 23
> 2021-08-04 19:11:33.203 E/CanvasQuadPBO:  ** Eyes 0
> 2021-08-04 19:11:33.203 E/CanvasQuadPBO:  ** MapUpackbuffer0.capacity() 8294400
> 2021-08-04 19:11:33.204 E/CameraPreview:  onDraw 50 flipframe 1
> 2021-08-04 19:11:33.205 E/CameraPreview:  !! dispatchDraw 50 flipframe 0
> 2021-08-04 19:11:33.208 E/JNIProcessor:  0 gNV21Kernel finished in 9 ms ligth: 23
> 2021-08-04 19:11:33.209 I/JNIProcessor:  debug ind: 0 value: 337630 
> 2021-08-04 19:11:33.209 I/JNIProcessor:  debug ind: 1 value: 450559 
> 2021-08-04 19:11:33.209 I/JNIProcessor:  debug ind: 2 value: 530506 
> 2021-08-04 19:11:33.209 I/JNIProcessor:  debugIdx value: 3734  decalage 0 
> 2021-08-04 19:11:33.211 E/MyGLRenderer:  onDrawFrame 
> 2021-08-04 19:11:33.213 E/JNIProcessor:  2 gSuperPixel 1 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.214 E/JNIProcessor:  2 gVision 1 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.214 E/JNIProcessor:  2 gSuperPixel 2 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.214 E/JNIProcessor:  2 gVision 2 finished in 14 ms ligth: 23
> 2021-08-04 19:11:33.220 E/JNIProcessor:  3 gCompression finished in 20 ms ligth: 23
> 2021-08-04 19:11:33.220 E/CanvasQuadPBO:  ** Eyes 0
> 2021-08-04 19:11:33.221 I/JNIProcessor:  gCompression debug ind: 0 value: 337630 
> 2021-08-04 19:11:33.221 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
> 2021-08-04 19:11:33.221 I/JNIProcessor:  gCompression debug ind: 1 value: 450559 
> 2021-08-04 19:11:33.221 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
> 2021-08-04 19:11:33.221 I/JNIProcessor:  gCompression debug ind: 2 value: 530506 
> 2021-08-04 19:11:33.221 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
> 2021-08-04 19:11:33.221 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
> 2021-08-04 19:11:33.221 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
> 2021-08-04 19:11:33.222 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 23 ms ligth: 23
> 2021-08-04 19:11:33.223 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 24 ms 
> 2021-08-04 19:11:33.224 E/MyGLRenderer:  onDrawFrame 
> 2021-08-04 19:11:33.227 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 3035
> 2021-08-04 19:11:33.227 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 41  
> 2021-08-04 19:11:33.227 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 0  
> 2021-08-04 19:11:33.228 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 1
> 2021-08-04 19:11:33.231 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 255818
> 2021-08-04 19:11:33.231 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 29  
> 2021-08-04 19:11:33.232 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 719
> 2021-08-04 19:11:33.233 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 20  
> 2021-08-04 19:11:33.233 E/JNIProcessor:  9 traitement forme finished in 34 ms 
> 2021-08-04 19:11:33.234 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 35 ms 
> 2021-08-04 19:11:33.234 E/JNIProcessor:  10Bis traitement tansfert data finished in 35 ms 
> 2021-08-04 19:11:33.234 E/JNIProcessor:  11 traitement mélange image finished in 35 ms 
> 2021-08-04 19:11:33.236 E/CanvasQuadPBO:  ** Eyes 0
> 2021-08-04 19:11:33.239 E/MyGLRenderer:  onDrawFrame 
> 2021-08-04 19:11:33.244 E/JNIProcessor:  12 traitement bufligne finished in 45 ms 
> 2021-08-04 19:11:33.244 E/JNIProcessor:  13 END JNICALL CameraPreview_runfilter 
> 2021-08-04 19:11:33.244 E/CanvasQuadPBO:  setBufferYUV Size 8294400 paquetSize 8294400
> 2021-08-04 19:11:33.244 E/CameraPreview:  onPreviewFrame 51

on here is the Adreno 650 on Xiaomi MI10T PRO

2021-08-05 11:31:42.892 E/JNIProcessor:  00 gNV21Kernel finished in 1 ms ligth: 98
2021-08-05 11:31:42.892 E/CanvasQuadPBO:  ** Eyes 0
2021-08-05 11:31:42.892 E/CanvasQuadPBO:  ** MapUpackbuffer0.capacity() 8294400
2021-08-05 11:31:42.893 E/CameraPreview:  onDraw 18 flipframe 1
2021-08-05 11:31:42.894 E/CameraPreview:  !! dispatchDraw 18 flipframe 0
2021-08-05 11:31:42.894 E/MyGLRenderer:  onDrawFrame end 
2021-08-05 11:31:42.920 E/JNIProcessor:  0 gNV21Kernel finished in 29 ms ligth: 98
2021-08-05 11:31:42.920 I/JNIProcessor:  debug ind: 0 value: 12666637 
2021-08-05 11:31:42.920 I/JNIProcessor:  debug ind: 1 value: 11935402 
2021-08-05 11:31:42.920 I/JNIProcessor:  debug ind: 2 value: 11297303 
2021-08-05 11:31:42.920 I/JNIProcessor:  debugIdx value: 119456  decalage 0 
2021-08-05 11:31:42.929 E/JNIProcessor:  2 gSuperPixel 1 finished in 38 ms ligth: 98
2021-08-05 11:31:42.929 E/JNIProcessor:  2 gVision 1 finished in 38 ms ligth: 98
2021-08-05 11:31:42.929 E/JNIProcessor:  2 gSuperPixel 2 finished in 38 ms ligth: 98
2021-08-05 11:31:42.929 E/JNIProcessor:  2 gVision 2 finished in 38 ms ligth: 98
2021-08-05 11:31:42.934 E/JNIProcessor:  1 gFiltreColor finished in 43 ms ligth: 98
2021-08-05 11:31:42.947 E/JNIProcessor:  3 gCompression finished in 56 ms ligth: 98
2021-08-05 11:31:42.947 I/JNIProcessor:  gCompression debug ind: 0 value: 12666637 
2021-08-05 11:31:42.947 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
2021-08-05 11:31:42.947 I/JNIProcessor:  gCompression debug ind: 1 value: 11935402 
2021-08-05 11:31:42.947 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
2021-08-05 11:31:42.947 I/JNIProcessor:  gCompression debug ind: 2 value: 11297303 
2021-08-05 11:31:42.947 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
2021-08-05 11:31:42.947 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
2021-08-05 11:31:42.947 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
2021-08-05 11:31:42.948 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 57 ms ligth: 98
2021-08-05 11:31:42.948 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 57 ms 
2021-08-05 11:31:42.949 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 0  
2021-08-05 11:31:42.949 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 17  
2021-08-05 11:31:42.949 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 2174
2021-08-05 11:31:42.950 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 32  
2021-08-05 11:31:42.950 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 0
2021-08-05 11:31:42.951 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 259279
2021-08-05 11:31:42.951 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 416
2021-08-05 11:31:42.951 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 166  
2021-08-05 11:31:42.951 E/JNIProcessor:  9 traitement forme finished in 61 ms 
2021-08-05 11:31:42.952 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 61 ms 
2021-08-05 11:31:42.952 E/JNIProcessor:  10Bis traitement tansfert data finished in 61 ms 
2021-08-05 11:31:42.952 E/JNIProcessor:  11 traitement mélange image finished in 61 ms 
2021-08-05 11:31:42.956 E/JNIProcessor:  12 traitement bufligne finished in 65 ms 
2021-08-05 11:31:42.956 E/JNIProcessor:  13 END JNICALL CameraPreview_runfilter 
2021-08-05 11:31:42.956 E/CanvasQuadPBO:  setBufferYUV Size 8294400 paquetSize 8294400
2021-08-05 11:31:42.956 E/MyGLRenderer:  onDrawFrame 
2021-08-05 11:31:42.956 E/CameraPreview:  onPreviewFrame 19
2021-08-05 11:31:42.957 E/CanvasQuadPBO:  ** Eyes 0
2021-08-05 11:31:42.957 E/CanvasQuadPBO:  ** MapUpackbuffer0.capacity() 8294400
2021-08-05 11:31:42.958 E/MyGLRenderer:  onDrawFrame end 
2021-08-05 11:31:42.959 E/JNIProcessor:  00 gNV21Kernel finished in 1 ms ligth: 98
2021-08-05 11:31:42.960 E/CameraPreview:  onDraw 19 flipframe 0
2021-08-05 11:31:42.961 E/CameraPreview:  !! dispatchDraw 19 flipframe 1
2021-08-05 11:31:42.987 E/JNIProcessor:  0 gNV21Kernel finished in 29 ms ligth: 98
2021-08-05 11:31:42.987 I/JNIProcessor:  debug ind: 0 value: 12527786 
2021-08-05 11:31:42.987 I/JNIProcessor:  debug ind: 1 value: 11828806 
2021-08-05 11:31:42.987 I/JNIProcessor:  debug ind: 2 value: 11206135 
2021-08-05 11:31:42.987 I/JNIProcessor:  debugIdx value: 120531  decalage 0 
2021-08-05 11:31:42.995 E/JNIProcessor:  2 gSuperPixel 1 finished in 38 ms ligth: 98
2021-08-05 11:31:42.995 E/JNIProcessor:  2 gVision 1 finished in 38 ms ligth: 98
2021-08-05 11:31:42.995 E/JNIProcessor:  2 gSuperPixel 2 finished in 38 ms ligth: 98
2021-08-05 11:31:42.995 E/JNIProcessor:  2 gVision 2 finished in 38 ms ligth: 98
2021-08-05 11:31:43.000 E/JNIProcessor:  1 gFiltreColor finished in 43 ms ligth: 98
2021-08-05 11:31:43.013 E/JNIProcessor:  3 gCompression finished in 56 ms ligth: 98
2021-08-05 11:31:43.013 I/JNIProcessor:  gCompression debug ind: 0 value: 12527786 
2021-08-05 11:31:43.013 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
2021-08-05 11:31:43.013 I/JNIProcessor:  gCompression debug ind: 1 value: 11828806 
2021-08-05 11:31:43.013 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
2021-08-05 11:31:43.013 I/JNIProcessor:  gCompression debug ind: 2 value: 11206135 
2021-08-05 11:31:43.013 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
2021-08-05 11:31:43.013 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
2021-08-05 11:31:43.013 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
2021-08-05 11:31:43.014 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 57 ms ligth: 98
2021-08-05 11:31:43.014 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 57 ms 
2021-08-05 11:31:43.015 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 19  
2021-08-05 11:31:43.015 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 415
2021-08-05 11:31:43.015 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 2088
2021-08-05 11:31:43.016 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 32  
2021-08-05 11:31:43.016 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 0  
2021-08-05 11:31:43.016 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 0
2021-08-05 11:31:43.017 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 259453
2021-08-05 11:31:43.017 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 156  
2021-08-05 11:31:43.018 E/JNIProcessor:  9 traitement forme finished in 60 ms 
2021-08-05 11:31:43.018 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 60 ms 
2021-08-05 11:31:43.018 E/JNIProcessor:  10Bis traitement tansfert data finished in 61 ms 
2021-08-05 11:31:43.018 E/JNIProcessor:  11 traitement mélange image finished in 61 ms 
2021-08-05 11:31:43.021 E/JNIProcessor:  12 traitement bufligne finished in 64 ms 
2021-08-05 11:31:43.021 E/JNIProcessor:  13 END JNICALL CameraPreview_runfilter 
2021-08-05 11:31:43.021 E/CanvasQuadPBO:  setBufferYUV Size 8294400 paquetSize 8294400
2021-08-05 11:31:43.021 E/MyGLRenderer:  onDrawFrame 
2021-08-05 11:31:43.021 E/CameraPreview:  onPreviewFrame 20
2021-08-05 11:31:43.022 E/CanvasQuadPBO:  ** Eyes 0
2021-08-05 11:31:43.022 E/CanvasQuadPBO:  ** MapUpackbuffer0.capacity() 8294400
2021-08-05 11:31:43.023 E/JNIProcessor:  00 gNV21Kernel finished in 1 ms ligth: 98
2021-08-05 11:31:43.026 E/MyGLRenderer:  onDrawFrame end 
2021-08-05 11:31:43.027 E/CameraPreview:  onDraw 20 flipframe 1
2021-08-05 11:31:43.027 E/CameraPreview:  !! dispatchDraw 20 flipframe 0
2021-08-05 11:31:43.051 E/JNIProcessor:  0 gNV21Kernel finished in 29 ms ligth: 98
2021-08-05 11:31:43.052 I/JNIProcessor:  debug ind: 0 value: 12479006 
2021-08-05 11:31:43.052 I/JNIProcessor:  debug ind: 1 value: 11794971 
2021-08-05 11:31:43.052 I/JNIProcessor:  debug ind: 2 value: 11173821 
2021-08-05 11:31:43.052 I/JNIProcessor:  debugIdx value: 120315  decalage 0 
2021-08-05 11:31:43.060 E/JNIProcessor:  2 gSuperPixel 1 finished in 38 ms ligth: 98
2021-08-05 11:31:43.060 E/JNIProcessor:  2 gVision 1 finished in 38 ms ligth: 98
2021-08-05 11:31:43.060 E/JNIProcessor:  2 gSuperPixel 2 finished in 38 ms ligth: 98
2021-08-05 11:31:43.060 E/JNIProcessor:  2 gVision 2 finished in 38 ms ligth: 98
2021-08-05 11:31:43.066 E/JNIProcessor:  1 gFiltreColor finished in 43 ms ligth: 98
2021-08-05 11:31:43.078 E/JNIProcessor:  3 gCompression finished in 56 ms ligth: 98
2021-08-05 11:31:43.078 I/JNIProcessor:  gCompression debug ind: 0 value: 12479006 
2021-08-05 11:31:43.078 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
2021-08-05 11:31:43.078 I/JNIProcessor:  gCompression debug ind: 1 value: 11794971 
2021-08-05 11:31:43.078 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
2021-08-05 11:31:43.078 I/JNIProcessor:  gCompression debug ind: 2 value: 11173821 
2021-08-05 11:31:43.078 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
2021-08-05 11:31:43.078 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
2021-08-05 11:31:43.078 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
2021-08-05 11:31:43.079 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 57 ms ligth: 98
2021-08-05 11:31:43.079 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 57 ms 
2021-08-05 11:31:43.080 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 1981
2021-08-05 11:31:43.080 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 0  
2021-08-05 11:31:43.080 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 18  
2021-08-05 11:31:43.081 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 417
2021-08-05 11:31:43.081 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 32  
2021-08-05 11:31:43.081 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 0
2021-08-05 11:31:43.083 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 259531
2021-08-05 11:31:43.083 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 147  
2021-08-05 11:31:43.083 E/JNIProcessor:  9 traitement forme finished in 61 ms 
2021-08-05 11:31:43.084 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 61 ms 
2021-08-05 11:31:43.084 E/JNIProcessor:  10Bis traitement tansfert data finished in 62 ms 
2021-08-05 11:31:43.084 E/JNIProcessor:  11 traitement mélange image finished in 62 ms 
2021-08-05 11:31:43.088 E/JNIProcessor:  12 traitement bufligne finished in 65 ms 
2021-08-05 11:31:43.088 E/JNIProcessor:  13 END JNICALL CameraPreview_runfilter 
2021-08-05 11:31:43.088 E/CanvasQuadPBO:  setBufferYUV Size 8294400 paquetSize 8294400
2021-08-05 11:31:43.088 E/MyGLRenderer:  onDrawFrame 
2021-08-05 11:31:43.088 E/CameraPreview:  onPreviewFrame 21
2021-08-05 11:31:43.088 E/CanvasQuadPBO:  ** Eyes 0
2021-08-05 11:31:43.088 E/CanvasQuadPBO:  ** MapUpackbuffer0.capacity() 8294400
2021-08-05 11:31:43.093 E/MyGLRenderer:  onDrawFrame end 
2021-08-05 11:31:43.093 I/Toast: Show toast from OpPackageName:com.example, PackageName:com.example
2021-08-05 11:31:43.094 E/CameraPreview:  onDraw 21 flipframe 0

I agrre that i was myself very suprised. i did the test without OpenGL 3.2 and the OpenCL result are nearly the same.

But concerning Vulkan there is no comparaison at all. if i could get a Hauwei P40 PRO i would cheks it ;)) to expensive yet ;))

it waas a joke comparing vulkan adreno 650 and ARM G72. ;))

Hi,

I found out why one of my kernel was so slow using Qualcomm OpenCL and increase time processing.

In this kernel a call 2 functions. By adding Static to those 2 functions performance improve a lot. It is now nearly the same processing time. But Mali G72 is still 20% better.

i will try to see why adreno 650 is still less performent than G72 MP 12.

Aniway that prouve taht OpenCL code is not really portable. Kronos does is work but as i observe Qualcomm got owner extensions.

Let see if those extensions make the différence ;))

see you next week ;))

Hi,

i have found out that the test was not really complete and that it was not valide on long time processing. So here is the result of the full traitment.

Running the test for a long time revel that the first observation are not valid animore.

Here is the last test for spandragon 656 and adreno 650.

2021-08-08 19:10:17.313 E/JNIProcessor: ************************************************
2021-08-08 19:10:17.315 E/JNIProcessor: 00 gNV21Kernel finished in 1 ms ligth: 56
2021-08-08 19:10:17.318 E/CameraPreview: onDraw 100 flipframe 1
2021-08-08 19:10:17.318 E/CameraPreview: !! dispatchDraw 100 flipframe 0
2021-08-08 19:10:17.326 E/JNIProcessor: 0 gNV21Kernel finished in 12 ms ligth: 56
2021-08-08 19:10:17.326 I/JNIProcessor: debug ind: 0 value: 5654742
2021-08-08 19:10:17.326 I/JNIProcessor: debug ind: 1 value: 5046355
2021-08-08 19:10:17.326 I/JNIProcessor: debug ind: 2 value: 4603603
2021-08-08 19:10:17.326 I/JNIProcessor: debugIdx value: 47788 decalage 0
2021-08-08 19:10:17.329 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.329 E/CanvasQuadPBO: ** MapUpackbuffer0.capacity() 8294400
2021-08-08 19:10:17.330 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.330 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.330 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.330 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.334 E/JNIProcessor: 2 gSuperPixel 1 finished in 20 ms ligth: 56
2021-08-08 19:10:17.343 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.343 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.343 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.343 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.344 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.354 E/JNIProcessor: 2 gVision 1 finished in 41 ms ligth: 56
2021-08-08 19:10:17.360 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.360 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.360 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.360 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.360 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.363 E/JNIProcessor: 2 gSuperPixel 2 finished in 49 ms ligth: 56
2021-08-08 19:10:17.377 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.377 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.377 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.377 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.377 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.382 E/JNIProcessor: 2 gVision 2 finished in 69 ms ligth: 56
2021-08-08 19:10:17.388 E/JNIProcessor: 1 gFiltreColor finished in 74 ms ligth: 56
2021-08-08 19:10:17.393 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.393 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.393 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.393 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.393 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.399 E/JNIProcessor: 3 gCompression finished in 85 ms ligth: 56
2021-08-08 19:10:17.399 I/JNIProcessor: gCompression debug ind: 0 value: 5654742
2021-08-08 19:10:17.399 I/JNIProcessor: gCompression debug ind: 0 value: 2.000000
2021-08-08 19:10:17.399 I/JNIProcessor: gCompression debug ind: 1 value: 5046355
2021-08-08 19:10:17.399 I/JNIProcessor: gCompression debug ind: 1 value: 2.000000
2021-08-08 19:10:17.399 I/JNIProcessor: gCompression debug ind: 2 value: 4603603
2021-08-08 19:10:17.399 I/JNIProcessor: gCompression debug ind: 2 value: 2.000000
2021-08-08 19:10:17.399 I/JNIProcessor: gCompression debug ind: 3 value: 0
2021-08-08 19:10:17.399 I/JNIProcessor: gCompression debug ind: 3 value: 2.000000
2021-08-08 19:10:17.400 E/JNIProcessor: 3 gLignes before enqueueReadBuffer finished in 86 ms ligth: 56
2021-08-08 19:10:17.400 E/JNIProcessor: 4 traitement enqueueReadBuffer finished in 86 ms
2021-08-08 19:10:17.400 E/JNIProcessor: 5 Start traitement forme CPU multi thread at 86 ms
2021-08-08 19:10:17.401 E/JNIProcessor: Trait_Raw_Col Rouge 0 indrectRV: 625
2021-08-08 19:10:17.402 E/JNIProcessor: void Extraction_Point: buf.bufligne blancX: 11648
2021-08-08 19:10:17.402 E/JNIProcessor: void Extraction_Point: buf.bufligne rougeX: 12446
2021-08-08 19:10:17.402 E/JNIProcessor: Trait_Raw_Col Blanc 2 indrectBV: 643
2021-08-08 19:10:17.403 E/JNIProcessor: void Extraction_Point: buf.bufligne bleuY: 9711
2021-08-08 19:10:17.403 E/JNIProcessor: Trait_Raw_Col Bleue 3 indrectBH: 481
2021-08-08 19:10:17.404 E/JNIProcessor: Trait_Raw_Col Vert 1 indrectVH: 504
2021-08-08 19:10:17.405 E/JNIProcessor: void Extraction_Point: buf.bufligne vertY: 14108
2021-08-08 19:10:17.405 E/JNIProcessor: 9 traitement forme CPU multi thread finished in 92 ms
2021-08-08 19:10:17.405 E/JNIProcessor: 10 traitement enqueueWriteBuffer finished in 92 ms
2021-08-08 19:10:17.406 E/JNIProcessor: 10Bis traitement Lignes2 finished in 92 ms
2021-08-08 19:10:17.406 E/JNIProcessor: 11 traitement mélange image finished in 92 ms
2021-08-08 19:10:17.410 E/JNIProcessor: 12 enqueueReadBuffer to display finished in 97 ms
2021-08-08 19:10:17.411 E/JNIProcessor: 12bis enqueueReadBuffer to OpenGL finished in 98 ms
2021-08-08 19:10:17.411 E/JNIProcessor: 13 traitement bufligne finished in 98 ms temps Moy 99 Nb Frame 101
2021-08-08 19:10:17.411 E/JNIProcessor: 14 END JNICALL CameraPreview_runfilter
2021-08-08 19:10:17.412 E/CanvasQuadPBO: setBufferYUV Size 8294400 paquetSize 8294400
2021-08-08 19:10:17.412 E/CameraPreview: onPreviewFrame 101
2021-08-08 19:10:17.412 E/JNIProcessor: ************************************************
2021-08-08 19:10:17.412 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.412 E/CanvasQuadPBO: ** MapUpackbuffer0.capacity() 8294400
2021-08-08 19:10:17.414 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.414 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.414 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.415 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.415 E/JNIProcessor: 00 gNV21Kernel finished in 2 ms ligth: 56
2021-08-08 19:10:17.418 E/CameraPreview: onDraw 101 flipframe 0
2021-08-08 19:10:17.418 E/CameraPreview: !! dispatchDraw 101 flipframe 1
2021-08-08 19:10:17.426 E/JNIProcessor: 0 gNV21Kernel finished in 13 ms ligth: 56
2021-08-08 19:10:17.426 I/JNIProcessor: debug ind: 0 value: 5605240
2021-08-08 19:10:17.426 I/JNIProcessor: debug ind: 1 value: 5007174
2021-08-08 19:10:17.426 I/JNIProcessor: debug ind: 2 value: 4565793
2021-08-08 19:10:17.426 I/JNIProcessor: debugIdx value: 47314 decalage 0
2021-08-08 19:10:17.428 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.428 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.428 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.428 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.429 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.434 E/JNIProcessor: 2 gSuperPixel 1 finished in 21 ms ligth: 56
2021-08-08 19:10:17.445 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.445 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.445 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.445 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.445 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.454 E/JNIProcessor: 2 gVision 1 finished in 41 ms ligth: 56
2021-08-08 19:10:17.461 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.461 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.461 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.461 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.462 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.462 E/JNIProcessor: 2 gSuperPixel 2 finished in 50 ms ligth: 56
2021-08-08 19:10:17.477 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.477 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.477 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.477 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.477 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.482 E/JNIProcessor: 2 gVision 2 finished in 69 ms ligth: 56
2021-08-08 19:10:17.488 E/JNIProcessor: 1 gFiltreColor finished in 75 ms ligth: 56
2021-08-08 19:10:17.493 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-08 19:10:17.493 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-08 19:10:17.493 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-08 19:10:17.493 E/MyGLRenderer: onDrawFrame end
2021-08-08 19:10:17.493 E/MyGLRenderer: onDrawFrame start
2021-08-08 19:10:17.499 E/JNIProcessor: 3 gCompression finished in 86 ms ligth: 56
2021-08-08 19:10:17.499 I/JNIProcessor: gCompression debug ind: 0 value: 5605240
2021-08-08 19:10:17.499 I/JNIProcessor: gCompression debug ind: 0 value: 2.000000
2021-08-08 19:10:17.499 I/JNIProcessor: gCompression debug ind: 1 value: 5007174
2021-08-08 19:10:17.499 I/JNIProcessor: gCompression debug ind: 1 value: 2.000000
2021-08-08 19:10:17.499 I/JNIProcessor: gCompression debug ind: 2 value: 4565793
2021-08-08 19:10:17.499 I/JNIProcessor: gCompression debug ind: 2 value: 2.000000
2021-08-08 19:10:17.499 I/JNIProcessor: gCompression debug ind: 3 value: 0
2021-08-08 19:10:17.499 I/JNIProcessor: gCompression debug ind: 3 value: 2.000000
2021-08-08 19:10:17.500 E/JNIProcessor: 3 gLignes before enqueueReadBuffer finished in 87 ms ligth: 56
2021-08-08 19:10:17.500 E/JNIProcessor: 4 traitement enqueueReadBuffer finished in 87 ms
2021-08-08 19:10:17.500 E/JNIProcessor: 5 Start traitement forme CPU multi thread at 87 ms
2021-08-08 19:10:17.501 E/JNIProcessor: Trait_Raw_Col Blanc 2 indrectBV: 643
2021-08-08 19:10:17.501 E/JNIProcessor: void Extraction_Point: buf.bufligne vertY: 13833
2021-08-08 19:10:17.501 E/JNIProcessor: void Extraction_Point: buf.bufligne bleuY: 10138
2021-08-08 19:10:17.501 E/JNIProcessor: void Extraction_Point: buf.bufligne rougeX: 11948
2021-08-08 19:10:17.502 E/JNIProcessor: Trait_Raw_Col Bleue 3 indrectBH: 478
2021-08-08 19:10:17.503 E/JNIProcessor: void Extraction_Point: buf.bufligne blancX: 11891
2021-08-08 19:10:17.503 E/JNIProcessor: Trait_Raw_Col Vert 1 indrectVH: 513
2021-08-08 19:10:17.504 E/JNIProcessor: Trait_Raw_Col Rouge 0 indrectRV: 624
2021-08-08 19:10:17.505 E/JNIProcessor: 9 traitement forme CPU multi thread finished in 92 ms
2021-08-08 19:10:17.505 E/JNIProcessor: 10 traitement enqueueWriteBuffer finished in 92 ms
2021-08-08 19:10:17.505 E/JNIProcessor: 10Bis traitement Lignes2 finished in 92 ms
2021-08-08 19:10:17.505 E/JNIProcessor: 11 traitement mélange image finished in 92 ms
2021-08-08 19:10:17.509 E/JNIProcessor: 12 enqueueReadBuffer to display finished in 96 ms
2021-08-08 19:10:17.510 E/JNIProcessor: 12bis enqueueReadBuffer to OpenGL finished in 97 ms
2021-08-08 19:10:17.510 E/JNIProcessor: 13 traitement bufligne finished in 97 ms temps Moy 98 Nb Frame 102
2021-08-08 19:10:17.510 E/JNIProcessor: 14 END JNICALL CameraPreview_runfilter
2021-08-08 19:10:17.510 E/CanvasQuadPBO: setBufferYUV Size 8294400 paquetSize 8294400
2021-08-08 19:10:17.510 E/CameraPreview: onPreviewFrame 102

I display 2 result for frame 101 and 102. Because it is the same result at any time, frame 200 or 400.

Here is the log for ARM mali G72 MP12

2021-08-09 11:59:24.921 E/JNIProcessor: ************************************************
2021-08-09 11:59:24.923 E/JNIProcessor: 00 gNV21Kernel finished in 1 ms ligth: 95
2021-08-09 11:59:24.925 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 11:59:24.925 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 11:59:24.926 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 11:59:24.926 E/MyGLRenderer: onDrawFrame end
2021-08-09 11:59:24.926 E/CameraPreview: onDraw 13 flipframe 0
2021-08-09 11:59:24.926 E/MyGLRenderer: onDrawFrame start
2021-08-09 11:59:24.926 E/CameraPreview: !! dispatchDraw 13 flipframe 1
2021-08-09 11:59:24.931 E/JNIProcessor: 0 gNV21Kernel finished in 9 ms ligth: 95
2021-08-09 11:59:24.931 I/JNIProcessor: debug ind: 0 value: 347455
2021-08-09 11:59:24.931 I/JNIProcessor: debug ind: 1 value: 346335
2021-08-09 11:59:24.931 I/JNIProcessor: debug ind: 2 value: 575359
2021-08-09 11:59:24.931 I/JNIProcessor: debugIdx value: 3631 decalage 0
2021-08-09 11:59:24.936 E/JNIProcessor: 2 gSuperPixel 1 finished in 14 ms ligth: 95
2021-08-09 11:59:24.942 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 11:59:24.942 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 11:59:24.942 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 11:59:24.942 E/MyGLRenderer: onDrawFrame end
2021-08-09 11:59:24.943 E/MyGLRenderer: onDrawFrame start
2021-08-09 11:59:24.943 E/JNIProcessor: 2 gVision 1 finished in 21 ms ligth: 95
2021-08-09 11:59:24.948 E/JNIProcessor: 2 gSuperPixel 2 finished in 26 ms ligth: 95
2021-08-09 11:59:24.954 E/JNIProcessor: 2 gVision 2 finished in 32 ms ligth: 95
2021-08-09 11:59:24.956 E/JNIProcessor: 1 gFiltreColor finished in 34 ms ligth: 95
2021-08-09 11:59:24.959 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 11:59:24.959 E/JNIProcessor: 3 gCompression finished in 37 ms ligth: 95
2021-08-09 11:59:24.959 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 11:59:24.959 I/JNIProcessor: gCompression debug ind: 0 value: 347455
2021-08-09 11:59:24.959 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 11:59:24.959 I/JNIProcessor: gCompression debug ind: 0 value: 2.000000
2021-08-09 11:59:24.959 I/JNIProcessor: gCompression debug ind: 1 value: 346335
2021-08-09 11:59:24.959 I/JNIProcessor: gCompression debug ind: 1 value: 2.000000
2021-08-09 11:59:24.959 I/JNIProcessor: gCompression debug ind: 2 value: 575359
2021-08-09 11:59:24.959 I/JNIProcessor: gCompression debug ind: 2 value: 2.000000
2021-08-09 11:59:24.959 I/JNIProcessor: gCompression debug ind: 3 value: 0
2021-08-09 11:59:24.959 I/JNIProcessor: gCompression debug ind: 3 value: 2.000000
2021-08-09 11:59:24.959 E/MyGLRenderer: onDrawFrame end
2021-08-09 11:59:24.959 E/JNIProcessor: 3 gLignes before enqueueReadBuffer finished in 37 ms ligth: 95
2021-08-09 11:59:24.960 E/MyGLRenderer: onDrawFrame start
2021-08-09 11:59:24.960 E/JNIProcessor: 4 traitement enqueueReadBuffer finished in 38 ms
2021-08-09 11:59:24.960 E/JNIProcessor: 5 Start traitement forme CPU multi thread at 38 ms
2021-08-09 11:59:24.962 E/JNIProcessor: Trait_Raw_Col Rouge 0 indrectRV: 553
2021-08-09 11:59:24.962 E/JNIProcessor: void Extraction_Point: buf.bufligne bleuY: 14879
2021-08-09 11:59:24.962 E/JNIProcessor: void Extraction_Point: buf.bufligne rougeX: 14213
2021-08-09 11:59:24.963 E/JNIProcessor: void Extraction_Point: buf.bufligne vertY: 18696
2021-08-09 11:59:24.963 E/JNIProcessor: Trait_Raw_Col Blanc 2 indrectBV: 620
2021-08-09 11:59:24.963 E/JNIProcessor: Trait_Raw_Col Bleue 3 indrectBH: 724
2021-08-09 11:59:24.963 E/JNIProcessor: Trait_Raw_Col Vert 1 indrectVH: 728
2021-08-09 11:59:24.964 E/JNIProcessor: void Extraction_Point: buf.bufligne blancX: 14428
2021-08-09 11:59:24.965 E/JNIProcessor: 9 traitement forme CPU multi thread finished in 43 ms
2021-08-09 11:59:24.966 E/JNIProcessor: 10 traitement enqueueWriteBuffer finished in 44 ms
2021-08-09 11:59:24.966 E/JNIProcessor: 10Bis traitement Lignes2 finished in 44 ms
2021-08-09 11:59:24.966 E/JNIProcessor: 11 traitement mélange image finished in 44 ms
2021-08-09 11:59:24.977 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 11:59:24.977 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 11:59:24.977 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 11:59:24.978 E/MyGLRenderer: onDrawFrame end
2021-08-09 11:59:24.978 E/JNIProcessor: 12 enqueueReadBuffer to display finished in 56 ms
2021-08-09 11:59:24.979 E/MyGLRenderer: onDrawFrame start
2021-08-09 11:59:24.983 E/JNIProcessor: 12bis enqueueReadBuffer to OpenGL finished in 61 ms
2021-08-09 11:59:24.983 E/JNIProcessor: 13 traitement bufligne finished in 61 ms temps Moy 62 Nb Frame 14
2021-08-09 11:59:24.983 E/JNIProcessor: 14 END JNICALL CameraPreview_runfilter
2021-08-09 11:59:24.983 E/CanvasQuadPBO: setBufferYUV Size 8294400 paquetSize 8294400
2021-08-09 11:59:24.988 E/CameraPreview: onPreviewFrame 14

2021-08-09 11:59:26.568 E/JNIProcessor: ************************************************
2021-08-09 11:59:26.570 E/JNIProcessor: 00 gNV21Kernel finished in 1 ms ligth: 108
2021-08-09 11:59:26.570 E/MyGLRenderer: onDrawFrame start
2021-08-09 11:59:26.575 E/JNIProcessor: 0 gNV21Kernel finished in 7 ms ligth: 108
2021-08-09 11:59:26.576 I/JNIProcessor: debug ind: 0 value: 344063
2021-08-09 11:59:26.576 I/JNIProcessor: debug ind: 1 value: 344095
2021-08-09 11:59:26.576 I/JNIProcessor: debug ind: 2 value: 323343
2021-08-09 11:59:26.576 I/JNIProcessor: debugIdx value: 3728 decalage 0
2021-08-09 11:59:26.576 E/CameraPreview: onDraw 35 flipframe 0
2021-08-09 11:59:26.577 E/CameraPreview: !! dispatchDraw 35 flipframe 1
2021-08-09 11:59:26.583 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 11:59:26.584 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 11:59:26.584 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 11:59:26.584 E/MyGLRenderer: onDrawFrame end
2021-08-09 11:59:26.584 E/JNIProcessor: 2 gSuperPixel 1 finished in 16 ms ligth: 108
2021-08-09 11:59:26.586 E/MyGLRenderer: onDrawFrame start
2021-08-09 11:59:26.590 E/JNIProcessor: 2 gVision 1 finished in 21 ms ligth: 108
2021-08-09 11:59:26.593 E/JNIProcessor: 2 gSuperPixel 2 finished in 25 ms ligth: 108
2021-08-09 11:59:26.599 E/JNIProcessor: 2 gVision 2 finished in 30 ms ligth: 108
2021-08-09 11:59:26.600 E/JNIProcessor: 1 gFiltreColor finished in 32 ms ligth: 108
2021-08-09 11:59:26.602 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 11:59:26.602 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 11:59:26.602 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 11:59:26.602 E/MyGLRenderer: onDrawFrame end
2021-08-09 11:59:26.603 E/JNIProcessor: 3 gCompression finished in 35 ms ligth: 108
2021-08-09 11:59:26.604 I/JNIProcessor: gCompression debug ind: 0 value: 344063
2021-08-09 11:59:26.604 I/JNIProcessor: gCompression debug ind: 0 value: 2.000000
2021-08-09 11:59:26.604 I/JNIProcessor: gCompression debug ind: 1 value: 344095
2021-08-09 11:59:26.604 I/JNIProcessor: gCompression debug ind: 1 value: 2.000000
2021-08-09 11:59:26.604 I/JNIProcessor: gCompression debug ind: 2 value: 323343
2021-08-09 11:59:26.604 I/JNIProcessor: gCompression debug ind: 2 value: 2.000000
2021-08-09 11:59:26.604 I/JNIProcessor: gCompression debug ind: 3 value: 0
2021-08-09 11:59:26.604 I/JNIProcessor: gCompression debug ind: 3 value: 2.000000
2021-08-09 11:59:26.604 E/MyGLRenderer: onDrawFrame start
2021-08-09 11:59:26.605 E/JNIProcessor: 3 gLignes before enqueueReadBuffer finished in 37 ms ligth: 108
2021-08-09 11:59:26.606 E/JNIProcessor: 4 traitement enqueueReadBuffer finished in 38 ms
2021-08-09 11:59:26.606 E/JNIProcessor: 5 Start traitement forme CPU multi thread at 38 ms
2021-08-09 11:59:26.608 E/JNIProcessor: Trait_Raw_Col Rouge 0 indrectRV: 394
2021-08-09 11:59:26.609 E/JNIProcessor: Trait_Raw_Col Vert 1 indrectVH: 444
2021-08-09 11:59:26.609 E/JNIProcessor: void Extraction_Point: buf.bufligne vertY: 12977
2021-08-09 11:59:26.610 E/JNIProcessor: void Extraction_Point: buf.bufligne bleuY: 8375
2021-08-09 11:59:26.610 E/JNIProcessor: Trait_Raw_Col Blanc 2 indrectBV: 380
2021-08-09 11:59:26.610 E/JNIProcessor: Trait_Raw_Col Bleue 3 indrectBH: 418
2021-08-09 11:59:26.610 E/JNIProcessor: void Extraction_Point: buf.bufligne blancX: 10463
2021-08-09 11:59:26.611 E/JNIProcessor: void Extraction_Point: buf.bufligne rougeX: 11619
2021-08-09 11:59:26.612 E/JNIProcessor: 9 traitement forme CPU multi thread finished in 44 ms
2021-08-09 11:59:26.613 E/JNIProcessor: 10 traitement enqueueWriteBuffer finished in 45 ms
2021-08-09 11:59:26.613 E/JNIProcessor: 10Bis traitement Lignes2 finished in 45 ms
2021-08-09 11:59:26.613 E/JNIProcessor: 11 traitement mélange image finished in 45 ms
2021-08-09 11:59:26.617 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 11:59:26.617 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 11:59:26.617 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 11:59:26.617 E/MyGLRenderer: onDrawFrame end
2021-08-09 11:59:26.622 E/MyGLRenderer: onDrawFrame start
2021-08-09 11:59:26.625 E/JNIProcessor: 12 enqueueReadBuffer to display finished in 57 ms
2021-08-09 11:59:26.632 E/JNIProcessor: 12bis enqueueReadBuffer to OpenGL finished in 64 ms
2021-08-09 11:59:26.632 E/JNIProcessor: 13 traitement bufligne finished in 64 ms temps Moy 68 Nb Frame 36
2021-08-09 11:59:26.632 E/JNIProcessor: 14 END JNICALL CameraPreview_runfilter
2021-08-09 11:59:26.633 E/CanvasQuadPBO: setBufferYUV Size 8294400 paquetSize 8294400
2021-08-09 11:59:26.633 E/CameraPreview: onPreviewFrame 36

2021-08-09 12:18:22.938 E/JNIProcessor: ************************************************
2021-08-09 12:18:22.939 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:22.939 E/CanvasQuadPBO: ** MapUpackbuffer0.capacity() 8294400
2021-08-09 12:18:22.940 E/JNIProcessor: 00 gNV21Kernel finished in 2 ms ligth: 157
2021-08-09 12:18:22.949 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:22.950 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:22.950 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:22.952 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:22.956 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:22.957 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:22.957 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:22.957 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:22.957 E/CameraPreview: onDraw 120 flipframe 1
2021-08-09 12:18:22.957 E/CameraPreview: !! dispatchDraw 120 flipframe 0
2021-08-09 12:18:22.958 E/JNIProcessor: 0 gNV21Kernel finished in 20 ms ligth: 157
2021-08-09 12:18:22.959 I/JNIProcessor: debug ind: 0 value: 372479
2021-08-09 12:18:22.959 I/JNIProcessor: debug ind: 1 value: 333311
2021-08-09 12:18:22.959 I/JNIProcessor: debug ind: 2 value: 301687
2021-08-09 12:18:22.959 I/JNIProcessor: debugIdx value: 3621 decalage 0
2021-08-09 12:18:22.960 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:22.969 E/JNIProcessor: 2 gSuperPixel 1 finished in 31 ms ligth: 157
2021-08-09 12:18:22.972 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:22.973 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:22.973 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:22.973 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:22.976 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:22.985 E/JNIProcessor: 2 gVision 1 finished in 47 ms ligth: 157
2021-08-09 12:18:22.989 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:22.989 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:22.989 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:22.989 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:22.991 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:22.998 E/JNIProcessor: 2 gSuperPixel 2 finished in 60 ms ligth: 157
2021-08-09 12:18:23.008 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:23.008 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:23.008 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:23.008 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:23.011 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:23.014 E/JNIProcessor: 2 gVision 2 finished in 76 ms ligth: 157
2021-08-09 12:18:23.019 E/JNIProcessor: 1 gFiltreColor finished in 81 ms ligth: 157
2021-08-09 12:18:23.023 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:23.023 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:23.023 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:23.023 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:23.024 E/JNIProcessor: 3 gCompression finished in 86 ms ligth: 157
2021-08-09 12:18:23.024 I/JNIProcessor: gCompression debug ind: 0 value: 372479
2021-08-09 12:18:23.024 I/JNIProcessor: gCompression debug ind: 0 value: 2.000000
2021-08-09 12:18:23.024 I/JNIProcessor: gCompression debug ind: 1 value: 333311
2021-08-09 12:18:23.024 I/JNIProcessor: gCompression debug ind: 1 value: 2.000000
2021-08-09 12:18:23.024 I/JNIProcessor: gCompression debug ind: 2 value: 301687
2021-08-09 12:18:23.024 I/JNIProcessor: gCompression debug ind: 2 value: 2.000000
2021-08-09 12:18:23.024 I/JNIProcessor: gCompression debug ind: 3 value: 0
2021-08-09 12:18:23.024 I/JNIProcessor: gCompression debug ind: 3 value: 2.000000
2021-08-09 12:18:23.024 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:23.025 E/JNIProcessor: 3 gLignes before enqueueReadBuffer finished in 87 ms ligth: 157
2021-08-09 12:18:23.026 E/JNIProcessor: 4 traitement enqueueReadBuffer finished in 88 ms
2021-08-09 12:18:23.026 E/JNIProcessor: 5 Start traitement forme CPU multi thread at 88 ms
2021-08-09 12:18:23.029 E/JNIProcessor: Trait_Raw_Col Rouge 0 indrectRV: 590
2021-08-09 12:18:23.030 E/JNIProcessor: Trait_Raw_Col Vert 1 indrectVH: 518
2021-08-09 12:18:23.030 E/JNIProcessor: void Extraction_Point: buf.bufligne vertY: 14962
2021-08-09 12:18:23.030 E/JNIProcessor: void Extraction_Point: buf.bufligne bleuY: 10551
2021-08-09 12:18:23.031 E/JNIProcessor: void Extraction_Point: buf.bufligne blancX: 14251
2021-08-09 12:18:23.033 E/JNIProcessor: Trait_Raw_Col Blanc 2 indrectBV: 622
2021-08-09 12:18:23.033 E/JNIProcessor: void Extraction_Point: buf.bufligne rougeX: 13339
2021-08-09 12:18:23.034 E/JNIProcessor: Trait_Raw_Col Bleue 3 indrectBH: 501
2021-08-09 12:18:23.035 E/JNIProcessor: 9 traitement forme CPU multi thread finished in 97 ms
2021-08-09 12:18:23.038 E/JNIProcessor: 10 traitement enqueueWriteBuffer finished in 100 ms
2021-08-09 12:18:23.039 E/JNIProcessor: 10Bis traitement Lignes2 finished in 101 ms
2021-08-09 12:18:23.039 E/JNIProcessor: 11 traitement mélange image finished in 101 ms
2021-08-09 12:18:23.039 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:23.039 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:23.040 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:23.040 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:23.041 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:23.056 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:23.056 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:23.056 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:23.057 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:23.062 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:23.066 E/JNIProcessor: 12 enqueueReadBuffer to display finished in 128 ms
2021-08-09 12:18:23.070 E/JNIProcessor: 12bis enqueueReadBuffer to OpenGL finished in 132 ms
2021-08-09 12:18:23.070 E/JNIProcessor: 13 traitement bufligne finished in 132 ms temps Moy 133 Nb Frame 121
2021-08-09 12:18:23.070 E/JNIProcessor: 14 END JNICALL CameraPreview_runfilter
2021-08-09 12:18:23.070 E/CanvasQuadPBO: setBufferYUV Size 8294400 paquetSize 8294400
2021-08-09 12:18:23.070 E/CameraPreview: onPreviewFrame 121

2021-08-09 12:18:39.264 E/JNIProcessor: ************************************************
2021-08-09 12:18:39.269 E/CameraPreview: onDraw 230 flipframe 1
2021-08-09 12:18:39.270 E/CameraPreview: !! dispatchDraw 230 flipframe 0
2021-08-09 12:18:39.270 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:39.270 E/CanvasQuadPBO: ** MapUpackbuffer0.capacity() 8294400
2021-08-09 12:18:39.271 E/JNIProcessor: 00 gNV21Kernel finished in 6 ms ligth: 129
2021-08-09 12:18:39.281 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:39.282 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:39.282 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:39.283 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:39.284 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:39.284 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:39.284 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:39.284 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:39.287 E/JNIProcessor: 0 gNV21Kernel finished in 23 ms ligth: 129
2021-08-09 12:18:39.288 I/JNIProcessor: debug ind: 0 value: 422111
2021-08-09 12:18:39.288 I/JNIProcessor: debug ind: 1 value: 436715
2021-08-09 12:18:39.288 I/JNIProcessor: debug ind: 2 value: 369437
2021-08-09 12:18:39.288 I/JNIProcessor: debugIdx value: 3577 decalage 0
2021-08-09 12:18:39.298 E/JNIProcessor: 2 gSuperPixel 1 finished in 34 ms ligth: 129
2021-08-09 12:18:39.302 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:39.303 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:39.304 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:39.304 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:39.304 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:39.305 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:39.314 E/JNIProcessor: 2 gVision 1 finished in 50 ms ligth: 129
2021-08-09 12:18:39.318 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:39.319 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:39.319 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:39.319 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:39.321 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:39.325 E/JNIProcessor: 2 gSuperPixel 2 finished in 61 ms ligth: 129
2021-08-09 12:18:39.335 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:39.335 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:39.336 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:39.336 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:39.338 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:39.340 E/JNIProcessor: 2 gVision 2 finished in 75 ms ligth: 129
2021-08-09 12:18:39.344 E/JNIProcessor: 1 gFiltreColor finished in 80 ms ligth: 129
2021-08-09 12:18:39.349 E/JNIProcessor: 3 gCompression finished in 85 ms ligth: 129
2021-08-09 12:18:39.349 I/JNIProcessor: gCompression debug ind: 0 value: 422111
2021-08-09 12:18:39.349 I/JNIProcessor: gCompression debug ind: 0 value: 2.000000
2021-08-09 12:18:39.349 I/JNIProcessor: gCompression debug ind: 1 value: 436715
2021-08-09 12:18:39.349 I/JNIProcessor: gCompression debug ind: 1 value: 2.000000
2021-08-09 12:18:39.349 I/JNIProcessor: gCompression debug ind: 2 value: 369437
2021-08-09 12:18:39.350 I/JNIProcessor: gCompression debug ind: 2 value: 2.000000
2021-08-09 12:18:39.350 I/JNIProcessor: gCompression debug ind: 3 value: 0
2021-08-09 12:18:39.350 I/JNIProcessor: gCompression debug ind: 3 value: 2.000000
2021-08-09 12:18:39.351 E/JNIProcessor: 3 gLignes before enqueueReadBuffer finished in 87 ms ligth: 129
2021-08-09 12:18:39.352 E/JNIProcessor: 4 traitement enqueueReadBuffer finished in 88 ms
2021-08-09 12:18:39.352 E/JNIProcessor: 5 Start traitement forme CPU multi thread at 88 ms
2021-08-09 12:18:39.353 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:39.353 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:39.353 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:39.353 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:39.355 E/JNIProcessor: Trait_Raw_Col Rouge 0 indrectRV: 577
2021-08-09 12:18:39.355 E/JNIProcessor: void Extraction_Point: buf.bufligne rougeX: 14746
2021-08-09 12:18:39.357 E/JNIProcessor: void Extraction_Point: buf.bufligne vertY: 21953
2021-08-09 12:18:39.357 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:39.358 E/JNIProcessor: void Extraction_Point: buf.bufligne blancX: 17325
2021-08-09 12:18:39.358 E/JNIProcessor: Trait_Raw_Col Vert 1 indrectVH: 786
2021-08-09 12:18:39.358 E/JNIProcessor: void Extraction_Point: buf.bufligne bleuY: 15680
2021-08-09 12:18:39.358 E/JNIProcessor: Trait_Raw_Col Blanc 2 indrectBV: 627
2021-08-09 12:18:39.359 E/JNIProcessor: Trait_Raw_Col Bleue 3 indrectBH: 758
2021-08-09 12:18:39.361 E/JNIProcessor: 9 traitement forme CPU multi thread finished in 97 ms
2021-08-09 12:18:39.363 E/JNIProcessor: 10 traitement enqueueWriteBuffer finished in 98 ms
2021-08-09 12:18:39.363 E/JNIProcessor: 10Bis traitement Lignes2 finished in 99 ms
2021-08-09 12:18:39.363 E/JNIProcessor: 11 traitement mélange image finished in 99 ms
2021-08-09 12:18:39.368 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:39.368 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:39.368 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:39.368 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:39.373 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:39.388 E/CanvasQuadPBO: Program0 glTexSubImage2D ** Eyes 0
2021-08-09 12:18:39.390 E/CanvasQuadPBO: Program1 glBindFramebuffer and glReadPixels ** Eyes 0
2021-08-09 12:18:39.390 E/CanvasQuadPBO: Program2 glTexSubImage2D glReadPixels ** Eyes 0
2021-08-09 12:18:39.390 E/MyGLRenderer: onDrawFrame end
2021-08-09 12:18:39.390 E/JNIProcessor: 12 enqueueReadBuffer to display finished in 126 ms
2021-08-09 12:18:39.394 E/MyGLRenderer: onDrawFrame start
2021-08-09 12:18:39.395 E/JNIProcessor: 12bis enqueueReadBuffer to OpenGL finished in 130 ms
2021-08-09 12:18:39.395 E/JNIProcessor: 13 traitement bufligne finished in 131 ms temps Moy 134 Nb Frame 231
2021-08-09 12:18:39.395 E/JNIProcessor: 14 END JNICALL CameraPreview_runfilter
2021-08-09 12:18:39.395 E/CanvasQuadPBO: setBufferYUV Size 8294400 paquetSize 8294400
2021-08-09 12:18:39.395 E/CameraPreview: onPreviewFrame 231

As you can see ARM G72 is faster until frame 70/80 than performance are decreasing and adreno became faster at 100 ms per frame.

but this result show more things. ARM and Qualcomm do not work the same.

if you look at qualcomm frame 102 and arm frame 121 i remark that performance drop from 11 traitement mélange image. the 2 last enqueueReadBuffer 12 and 12bis how does the transfert back to the CPU buffer for display and openGL are very slow.

So i wanted to appologize for my first post how said that qualcomm was slower than ARM. But we do not have the same type of machine. Qualcomm is new and ARM is a little bit older.

If someone could explain me why the last ARM enqueueReadBuffer lose performance, that would be good.

But except this it look like Kernel performance are nearly the same.

regards herve terrolle

Now i have done the test and removed every OPENGL.
So these test use Only OPENCL and multi thread CPU.

here the result for spandragon 656 and adreno 650

2021-08-09 15:02:37.307 E/JNIProcessor: ************************************************
2021-08-09 15:02:37.308 E/JNIProcessor: 00 gNV21Kernel finished in 1 ms ligth: 128
2021-08-09 15:02:37.319 E/JNIProcessor: 0 gNV21Kernel finished in 12 ms ligth: 128
2021-08-09 15:02:37.319 I/JNIProcessor: debug ind: 0 value: 4048995
2021-08-09 15:02:37.319 I/JNIProcessor: debug ind: 1 value: 3656565
2021-08-09 15:02:37.319 I/JNIProcessor: debug ind: 2 value: 3457421
2021-08-09 15:02:37.319 I/JNIProcessor: debugIdx value: 47529 decalage 0
2021-08-09 15:02:37.320 E/CameraPreview: onDraw 11 flipframe 0
2021-08-09 15:02:37.320 E/CameraPreview: !! dispatchDraw 11 flipframe 1
2021-08-09 15:02:37.326 E/JNIProcessor: 2 gSuperPixel 1 finished in 19 ms ligth: 128
2021-08-09 15:02:37.346 E/JNIProcessor: 2 gVision 1 finished in 38 ms ligth: 128
2021-08-09 15:02:37.353 E/JNIProcessor: 2 gSuperPixel 2 finished in 45 ms ligth: 128
2021-08-09 15:02:37.372 E/JNIProcessor: 2 gVision 2 finished in 65 ms ligth: 128
2021-08-09 15:02:37.378 E/JNIProcessor: 1 gFiltreColor finished in 71 ms ligth: 128
2021-08-09 15:02:37.389 E/JNIProcessor: 3 gCompression finished in 82 ms ligth: 128
2021-08-09 15:02:37.389 I/JNIProcessor: gCompression debug ind: 0 value: 4048995
2021-08-09 15:02:37.389 I/JNIProcessor: gCompression debug ind: 0 value: 2.000000
2021-08-09 15:02:37.389 I/JNIProcessor: gCompression debug ind: 1 value: 3656565
2021-08-09 15:02:37.389 I/JNIProcessor: gCompression debug ind: 1 value: 2.000000
2021-08-09 15:02:37.389 I/JNIProcessor: gCompression debug ind: 2 value: 3457421
2021-08-09 15:02:37.389 I/JNIProcessor: gCompression debug ind: 2 value: 2.000000
2021-08-09 15:02:37.389 I/JNIProcessor: gCompression debug ind: 3 value: 0
2021-08-09 15:02:37.389 I/JNIProcessor: gCompression debug ind: 3 value: 2.000000
2021-08-09 15:02:37.391 E/JNIProcessor: 3 gLignes before enqueueReadBuffer finished in 84 ms ligth: 128
2021-08-09 15:02:37.391 E/JNIProcessor: 4 traitement enqueueReadBuffer finished in 84 ms
2021-08-09 15:02:37.391 E/JNIProcessor: 5 Start traitement forme CPU multi thread at 84 ms
2021-08-09 15:02:37.392 E/JNIProcessor: Trait_Raw_Col Rouge 0 indrectRV: 92
2021-08-09 15:02:37.393 E/JNIProcessor: void Extraction_Point: buf.bufligne blancX: 1901
2021-08-09 15:02:37.393 E/JNIProcessor: void Extraction_Point: buf.bufligne vertY: 13569
2021-08-09 15:02:37.393 E/JNIProcessor: void Extraction_Point: buf.bufligne rougeX: 4232
2021-08-09 15:02:37.393 E/JNIProcessor: Trait_Raw_Col Blanc 2 indrectBV: 161
2021-08-09 15:02:37.393 E/JNIProcessor: void Extraction_Point: buf.bufligne bleuY: 9051
2021-08-09 15:02:37.394 E/JNIProcessor: Trait_Raw_Col Bleue 3 indrectBH: 175
2021-08-09 15:02:37.394 E/JNIProcessor: Trait_Raw_Col Vert 1 indrectVH: 232
2021-08-09 15:02:37.395 E/JNIProcessor: 9 traitement forme CPU multi thread finished in 87 ms
2021-08-09 15:02:37.395 E/JNIProcessor: 10 traitement enqueueWriteBuffer finished in 87 ms
2021-08-09 15:02:37.395 E/JNIProcessor: 10Bis traitement Lignes2 finished in 88 ms
2021-08-09 15:02:37.400 E/JNIProcessor: 11 traitement mélange image finished in 93 ms
2021-08-09 15:02:37.401 E/JNIProcessor: 12 enqueueReadBuffer to display finished in 94 ms
2021-08-09 15:02:37.401 E/JNIProcessor: 13 traitement bufligne finished in 94 ms temps Moy 94 Nb Frame 12
2021-08-09 15:02:37.401 E/JNIProcessor: 14 END JNICALL CameraPreview_runfilter
2021-08-09 15:02:37.401 E/CameraPreview: onPreviewFrame 12

2021-08-09 13:27:43.304 E/JNIProcessor: ************************************************
2021-08-09 13:27:43.306 E/JNIProcessor: 00 gNV21Kernel finished in 1 ms ligth: -1
2021-08-09 13:27:43.311 E/CameraPreview: onDraw 37 flipframe 0
2021-08-09 13:27:43.311 E/CameraPreview: !! dispatchDraw 37 flipframe 1
2021-08-09 13:27:43.316 E/JNIProcessor: 0 gNV21Kernel finished in 12 ms ligth: -1
2021-08-09 13:27:43.316 I/JNIProcessor: debug ind: 0 value: 6249889
2021-08-09 13:27:43.316 I/JNIProcessor: debug ind: 1 value: 5753312
2021-08-09 13:27:43.316 I/JNIProcessor: debug ind: 2 value: 5507689
2021-08-09 13:27:43.316 I/JNIProcessor: debugIdx value: 48159 decalage 0
2021-08-09 13:27:43.324 E/JNIProcessor: 2 gSuperPixel 1 finished in 20 ms ligth: -1
2021-08-09 13:27:43.344 E/JNIProcessor: 2 gVision 1 finished in 40 ms ligth: -1
2021-08-09 13:27:43.351 E/JNIProcessor: 2 gSuperPixel 2 finished in 46 ms ligth: -1
2021-08-09 13:27:43.380 E/JNIProcessor: 2 gVision 2 finished in 75 ms ligth: -1
2021-08-09 13:27:43.385 E/JNIProcessor: 1 gFiltreColor finished in 81 ms ligth: -1
2021-08-09 13:27:43.396 E/JNIProcessor: 3 gCompression finished in 91 ms ligth: -1
2021-08-09 13:27:43.396 I/JNIProcessor: gCompression debug ind: 0 value: 6249889
2021-08-09 13:27:43.396 I/JNIProcessor: gCompression debug ind: 0 value: 2.000000
2021-08-09 13:27:43.396 I/JNIProcessor: gCompression debug ind: 1 value: 5753312
2021-08-09 13:27:43.396 I/JNIProcessor: gCompression debug ind: 1 value: 2.000000
2021-08-09 13:27:43.396 I/JNIProcessor: gCompression debug ind: 2 value: 5507689
2021-08-09 13:27:43.396 I/JNIProcessor: gCompression debug ind: 2 value: 2.000000
2021-08-09 13:27:43.396 I/JNIProcessor: gCompression debug ind: 3 value: 0
2021-08-09 13:27:43.396 I/JNIProcessor: gCompression debug ind: 3 value: 2.000000
2021-08-09 13:27:43.398 E/JNIProcessor: 3 gLignes before enqueueReadBuffer finished in 93 ms ligth: -1
2021-08-09 13:27:43.398 E/JNIProcessor: 4 traitement enqueueReadBuffer finished in 93 ms
2021-08-09 13:27:43.398 E/JNIProcessor: 5 Start traitement forme CPU multi thread at 93 ms
2021-08-09 13:27:43.398 E/JNIProcessor: Trait_Raw_Col Rouge 0 indrectRV: 472
2021-08-09 13:27:43.399 E/JNIProcessor: void Extraction_Point: buf.bufligne blancX: 5834
2021-08-09 13:27:43.400 E/JNIProcessor: void Extraction_Point: buf.bufligne rougeX: 7214
2021-08-09 13:27:43.400 E/JNIProcessor: void Extraction_Point: buf.bufligne vertY: 20557
2021-08-09 13:27:43.400 E/JNIProcessor: Trait_Raw_Col Blanc 2 indrectBV: 503
2021-08-09 13:27:43.401 E/JNIProcessor: void Extraction_Point: buf.bufligne bleuY: 17487
2021-08-09 13:27:43.401 E/JNIProcessor: Trait_Raw_Col Bleue 3 indrectBH: 485
2021-08-09 13:27:43.401 E/JNIProcessor: Trait_Raw_Col Vert 1 indrectVH: 520
2021-08-09 13:27:43.401 E/JNIProcessor: 9 traitement forme CPU multi thread finished in 97 ms
2021-08-09 13:27:43.401 E/JNIProcessor: 10 traitement enqueueWriteBuffer finished in 97 ms
2021-08-09 13:27:43.402 E/JNIProcessor: 10Bis traitement Lignes2 finished in 97 ms
2021-08-09 13:27:43.402 E/JNIProcessor: 11 traitement mélange image finished in 97 ms
2021-08-09 13:27:43.406 E/JNIProcessor: 12 enqueueReadBuffer to display finished in 102 ms
2021-08-09 13:27:43.406 E/JNIProcessor: 13 traitement bufligne finished in 102 ms temps Moy 97 Nb Frame 38
2021-08-09 13:27:43.406 E/JNIProcessor: 14 END JNICALL CameraPreview_runfilter
2021-08-09 13:27:43.406 E/CameraPreview: onPreviewFrame 38

2021-08-09 13:27:45.739 E/JNIProcessor: ************************************************
2021-08-09 13:27:45.741 E/JNIProcessor: 00 gNV21Kernel finished in 1 ms ligth: -1
2021-08-09 13:27:45.747 E/CameraPreview: onDraw 62 flipframe 1
2021-08-09 13:27:45.747 E/CameraPreview: !! dispatchDraw 62 flipframe 0
2021-08-09 13:27:45.751 E/JNIProcessor: 0 gNV21Kernel finished in 11 ms ligth: -1
2021-08-09 13:27:45.751 I/JNIProcessor: debug ind: 0 value: 6326505
2021-08-09 13:27:45.751 I/JNIProcessor: debug ind: 1 value: 5761206
2021-08-09 13:27:45.751 I/JNIProcessor: debug ind: 2 value: 5521913
2021-08-09 13:27:45.751 I/JNIProcessor: debugIdx value: 47606 decalage 0
2021-08-09 13:27:45.759 E/JNIProcessor: 2 gSuperPixel 1 finished in 20 ms ligth: -1
2021-08-09 13:27:45.779 E/JNIProcessor: 2 gVision 1 finished in 40 ms ligth: -1
2021-08-09 13:27:45.786 E/JNIProcessor: 2 gSuperPixel 2 finished in 46 ms ligth: -1
2021-08-09 13:27:45.806 E/JNIProcessor: 2 gVision 2 finished in 66 ms ligth: -1
2021-08-09 13:27:45.811 E/JNIProcessor: 1 gFiltreColor finished in 71 ms ligth: -1
2021-08-09 13:27:45.823 E/JNIProcessor: 3 gCompression finished in 84 ms ligth: -1
2021-08-09 13:27:45.823 I/JNIProcessor: gCompression debug ind: 0 value: 6326505
2021-08-09 13:27:45.823 I/JNIProcessor: gCompression debug ind: 0 value: 2.000000
2021-08-09 13:27:45.823 I/JNIProcessor: gCompression debug ind: 1 value: 5761206
2021-08-09 13:27:45.823 I/JNIProcessor: gCompression debug ind: 1 value: 2.000000
2021-08-09 13:27:45.823 I/JNIProcessor: gCompression debug ind: 2 value: 5521913
2021-08-09 13:27:45.823 I/JNIProcessor: gCompression debug ind: 2 value: 2.000000
2021-08-09 13:27:45.823 I/JNIProcessor: gCompression debug ind: 3 value: 0
2021-08-09 13:27:45.823 I/JNIProcessor: gCompression debug ind: 3 value: 2.000000
2021-08-09 13:27:45.826 E/JNIProcessor: 3 gLignes before enqueueReadBuffer finished in 87 ms ligth: -1
2021-08-09 13:27:45.827 E/JNIProcessor: 4 traitement enqueueReadBuffer finished in 87 ms
2021-08-09 13:27:45.827 E/JNIProcessor: 5 Start traitement forme CPU multi thread at 87 ms
2021-08-09 13:27:45.827 E/JNIProcessor: Trait_Raw_Col Rouge 0 indrectRV: 503
2021-08-09 13:27:45.828 E/JNIProcessor: void Extraction_Point: buf.bufligne blancX: 5874
2021-08-09 13:27:45.828 E/JNIProcessor: void Extraction_Point: buf.bufligne rougeX: 8024
2021-08-09 13:27:45.829 E/JNIProcessor: Trait_Raw_Col Bleue 3 indrectBH: 492
2021-08-09 13:27:45.829 E/JNIProcessor: void Extraction_Point: buf.bufligne bleuY: 16899
2021-08-09 13:27:45.829 E/JNIProcessor: Trait_Raw_Col Blanc 2 indrectBV: 538
2021-08-09 13:27:45.829 E/JNIProcessor: Trait_Raw_Col Vert 1 indrectVH: 550
2021-08-09 13:27:45.830 E/JNIProcessor: void Extraction_Point: buf.bufligne vertY: 21654
2021-08-09 13:27:45.830 E/JNIProcessor: 9 traitement forme CPU multi thread finished in 90 ms
2021-08-09 13:27:45.830 E/JNIProcessor: 10 traitement enqueueWriteBuffer finished in 90 ms
2021-08-09 13:27:45.830 E/JNIProcessor: 10Bis traitement Lignes2 finished in 91 ms
2021-08-09 13:27:45.830 E/JNIProcessor: 11 traitement mélange image finished in 91 ms
2021-08-09 13:27:45.834 E/JNIProcessor: 12 enqueueReadBuffer to display finished in 95 ms
2021-08-09 13:27:45.834 E/JNIProcessor: 13 traitement bufligne finished in 95 ms temps Moy 95 Nb Frame 63
2021-08-09 13:27:45.834 E/JNIProcessor: 14 END JNICALL CameraPreview_runfilter
2021-08-09 13:27:45.834 E/CameraPreview: onPreviewFrame 63

Surprise because the time result is the same that the test with OPENGL

here are the kirin 970 and ARM mami G72 MP12

2021-08-09 15:09:01.420 E/JNIProcessor: ************************************************
2021-08-09 15:09:01.421 E/JNIProcessor:  00 gNV21Kernel finished in 1 ms ligth: 40
2021-08-09 15:09:01.429 E/JNIProcessor:  0 gNV21Kernel finished in 9 ms ligth: 40
2021-08-09 15:09:01.430 I/JNIProcessor:  debug ind: 0 value: 571647 
2021-08-09 15:09:01.430 I/JNIProcessor:  debug ind: 1 value: 468191 
2021-08-09 15:09:01.430 I/JNIProcessor:  debug ind: 2 value: 348831 
2021-08-09 15:09:01.430 I/JNIProcessor:  debugIdx value: 3510  decalage 0 
2021-08-09 15:09:01.433 E/CameraPreview:  onDraw 11 flipframe 0
2021-08-09 15:09:01.433 E/CameraPreview:  !! dispatchDraw 11 flipframe 1
2021-08-09 15:09:01.435 E/JNIProcessor:  2 gSuperPixel 1 finished in 14 ms ligth: 40
2021-08-09 15:09:01.443 E/JNIProcessor:  2 gVision 1 finished in 22 ms ligth: 40
2021-08-09 15:09:01.447 E/JNIProcessor:  2 gSuperPixel 2 finished in 27 ms ligth: 40
2021-08-09 15:09:01.454 E/JNIProcessor:  2 gVision 2 finished in 33 ms ligth: 40
2021-08-09 15:09:01.456 E/JNIProcessor:  1 gFiltreColor finished in 35 ms ligth: 40
2021-08-09 15:09:01.458 E/JNIProcessor:  3 gCompression finished in 37 ms ligth: 40
2021-08-09 15:09:01.458 I/JNIProcessor:  gCompression debug ind: 0 value: 571647 
2021-08-09 15:09:01.458 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
2021-08-09 15:09:01.458 I/JNIProcessor:  gCompression debug ind: 1 value: 468191 
2021-08-09 15:09:01.458 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
2021-08-09 15:09:01.458 I/JNIProcessor:  gCompression debug ind: 2 value: 348831 
2021-08-09 15:09:01.458 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
2021-08-09 15:09:01.458 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
2021-08-09 15:09:01.458 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
2021-08-09 15:09:01.458 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 38 ms ligth: 40
2021-08-09 15:09:01.459 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 38 ms 
2021-08-09 15:09:01.459 E/JNIProcessor:  5 Start traitement forme CPU multi thread at 38 ms 
2021-08-09 15:09:01.460 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 18332
2021-08-09 15:09:01.461 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 9622
2021-08-09 15:09:01.461 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 7545
2021-08-09 15:09:01.462 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 726  
2021-08-09 15:09:01.462 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 13527
2021-08-09 15:09:01.462 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 719  
2021-08-09 15:09:01.462 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 625  
2021-08-09 15:09:01.462 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 674  
2021-08-09 15:09:01.463 E/JNIProcessor:  9 traitement forme CPU multi thread finished in 42 ms 
2021-08-09 15:09:01.463 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 43 ms 
2021-08-09 15:09:01.463 E/JNIProcessor:  10Bis traitement Lignes2 finished in 43 ms 
2021-08-09 15:09:01.473 E/JNIProcessor:  11 traitement mélange image finished in 53 ms 
2021-08-09 15:09:01.476 E/JNIProcessor:  12 enqueueReadBuffer to display finished in 56 ms 
2021-08-09 15:09:01.476 E/JNIProcessor:  13 traitement bufligne finished in 56 ms temps Moy 56  Nb Frame 12 
2021-08-09 15:09:01.476 E/JNIProcessor:  14 END JNICALL CameraPreview_runfilter 
2021-08-09 15:09:01.588 E/CameraPreview:  onPreviewFrame 12

2021-08-09 15:09:03.496 E/JNIProcessor: ************************************************
2021-08-09 15:09:03.498 E/JNIProcessor:  00 gNV21Kernel finished in 2 ms ligth: 38
2021-08-09 15:09:03.500 E/CameraPreview:  onDraw 37 flipframe 0
2021-08-09 15:09:03.501 E/CameraPreview:  !! dispatchDraw 37 flipframe 1
2021-08-09 15:09:03.506 E/JNIProcessor:  0 gNV21Kernel finished in 10 ms ligth: 38
2021-08-09 15:09:03.507 I/JNIProcessor:  debug ind: 0 value: 318111 
2021-08-09 15:09:03.507 I/JNIProcessor:  debug ind: 1 value: 375131 
2021-08-09 15:09:03.507 I/JNIProcessor:  debug ind: 2 value: 308053 
2021-08-09 15:09:03.507 I/JNIProcessor:  debugIdx value: 3740  decalage 0 
2021-08-09 15:09:03.511 E/JNIProcessor:  2 gSuperPixel 1 finished in 15 ms ligth: 38
2021-08-09 15:09:03.516 E/JNIProcessor:  2 gVision 1 finished in 20 ms ligth: 38
2021-08-09 15:09:03.520 E/JNIProcessor:  2 gSuperPixel 2 finished in 24 ms ligth: 38
2021-08-09 15:09:03.525 E/JNIProcessor:  2 gVision 2 finished in 29 ms ligth: 38
2021-08-09 15:09:03.527 E/JNIProcessor:  1 gFiltreColor finished in 30 ms ligth: 38
2021-08-09 15:09:03.528 E/JNIProcessor:  3 gCompression finished in 32 ms ligth: 38
2021-08-09 15:09:03.528 I/JNIProcessor:  gCompression debug ind: 0 value: 318111 
2021-08-09 15:09:03.528 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
2021-08-09 15:09:03.528 I/JNIProcessor:  gCompression debug ind: 1 value: 375131 
2021-08-09 15:09:03.528 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
2021-08-09 15:09:03.528 I/JNIProcessor:  gCompression debug ind: 2 value: 308053 
2021-08-09 15:09:03.528 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
2021-08-09 15:09:03.528 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
2021-08-09 15:09:03.528 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
2021-08-09 15:09:03.529 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 33 ms ligth: 38
2021-08-09 15:09:03.531 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 35 ms 
2021-08-09 15:09:03.531 E/JNIProcessor:  5 Start traitement forme CPU multi thread at 35 ms 
2021-08-09 15:09:03.535 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 13805
2021-08-09 15:09:03.535 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 19122
2021-08-09 15:09:03.535 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 8868
2021-08-09 15:09:03.535 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 670  
2021-08-09 15:09:03.535 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 7990
2021-08-09 15:09:03.536 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 674  
2021-08-09 15:09:03.537 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 710  
2021-08-09 15:09:03.538 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 635  
2021-08-09 15:09:03.540 E/JNIProcessor:  9 traitement forme CPU multi thread finished in 43 ms 
2021-08-09 15:09:03.541 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 45 ms 
2021-08-09 15:09:03.541 E/JNIProcessor:  10Bis traitement Lignes2 finished in 45 ms 
2021-08-09 15:09:03.549 E/JNIProcessor:  11 traitement mélange image finished in 53 ms 
2021-08-09 15:09:03.554 E/JNIProcessor:  12 enqueueReadBuffer to display finished in 58 ms 
2021-08-09 15:09:03.554 E/JNIProcessor:  13 traitement bufligne finished in 58 ms temps Moy 65  Nb Frame 38 
2021-08-09 15:09:03.554 E/JNIProcessor:  14 END JNICALL CameraPreview_runfilter 
2021-08-09 15:09:03.555 E/CameraPreview:  onPreviewFrame 38

2021-08-09 15:11:11.832 E/JNIProcessor: ************************************************
2021-08-09 15:11:11.835 E/JNIProcessor:  00 gNV21Kernel finished in 2 ms ligth: 25
2021-08-09 15:11:11.842 E/JNIProcessor:  0 gNV21Kernel finished in 9 ms ligth: 25
2021-08-09 15:11:11.842 I/JNIProcessor:  debug ind: 0 value: 396143 
2021-08-09 15:11:11.842 I/JNIProcessor:  debug ind: 1 value: 320895 
2021-08-09 15:11:11.842 I/JNIProcessor:  debug ind: 2 value: 558142 
2021-08-09 15:11:11.843 I/JNIProcessor:  debugIdx value: 3752  decalage 0 
2021-08-09 15:11:11.847 E/JNIProcessor:  2 gSuperPixel 1 finished in 14 ms ligth: 25
2021-08-09 15:11:11.847 E/CameraPreview:  onDraw 186 flipframe 1
2021-08-09 15:11:11.848 E/CameraPreview:  !! dispatchDraw 186 flipframe 0
2021-08-09 15:11:11.857 E/JNIProcessor:  2 gVision 1 finished in 24 ms ligth: 25
2021-08-09 15:11:11.861 E/JNIProcessor:  2 gSuperPixel 2 finished in 28 ms ligth: 25
2021-08-09 15:11:11.867 E/JNIProcessor:  2 gVision 2 finished in 34 ms ligth: 25
2021-08-09 15:11:11.869 E/JNIProcessor:  1 gFiltreColor finished in 36 ms ligth: 25
2021-08-09 15:11:11.870 E/JNIProcessor:  3 gCompression finished in 37 ms ligth: 25
2021-08-09 15:11:11.872 I/JNIProcessor:  gCompression debug ind: 0 value: 396143 
2021-08-09 15:11:11.872 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
2021-08-09 15:11:11.872 I/JNIProcessor:  gCompression debug ind: 1 value: 320895 
2021-08-09 15:11:11.872 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
2021-08-09 15:11:11.872 I/JNIProcessor:  gCompression debug ind: 2 value: 558142 
2021-08-09 15:11:11.872 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
2021-08-09 15:11:11.872 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
2021-08-09 15:11:11.872 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
2021-08-09 15:11:11.873 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 40 ms ligth: 25
2021-08-09 15:11:11.874 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 41 ms 
2021-08-09 15:11:11.874 E/JNIProcessor:  5 Start traitement forme CPU multi thread at 41 ms 
2021-08-09 15:11:11.878 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 13211
2021-08-09 15:11:11.880 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 562  
2021-08-09 15:11:11.880 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 21654
2021-08-09 15:11:11.881 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 7262
2021-08-09 15:11:11.881 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 670  
2021-08-09 15:11:11.882 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 6537
2021-08-09 15:11:11.882 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 558  
2021-08-09 15:11:11.886 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 672  
2021-08-09 15:11:11.891 E/JNIProcessor:  9 traitement forme CPU multi thread finished in 58 ms 
2021-08-09 15:11:11.893 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 60 ms 
2021-08-09 15:11:11.893 E/JNIProcessor:  10Bis traitement Lignes2 finished in 60 ms 
2021-08-09 15:11:11.909 E/JNIProcessor:  11 traitement mélange image finished in 76 ms 
2021-08-09 15:11:11.920 E/JNIProcessor:  12 enqueueReadBuffer to display finished in 87 ms 
2021-08-09 15:11:11.920 E/JNIProcessor:  13 traitement bufligne finished in 87 ms temps Moy 70  Nb Frame 187 
2021-08-09 15:11:11.920 E/JNIProcessor:  14 END JNICALL CameraPreview_runfilter 
2021-08-09 15:11:11.921 E/CameraPreview:  onPreviewFrame 187
2021-08-09 15:11:11.922 E/JNIProcessor: ************************************************
2021-08-09 15:11:11.926 E/JNIProcessor:  00 gNV21Kernel finished in 3 ms ligth: 25
2021-08-09 15:11:11.931 E/CameraPreview:  onDraw 187 flipframe 0
2021-08-09 15:11:11.931 E/CameraPreview:  !! dispatchDraw 187 flipframe 1
2021-08-09 15:11:11.939 E/JNIProcessor:  0 gNV21Kernel finished in 17 ms ligth: 25
2021-08-09 15:11:11.940 I/JNIProcessor:  debug ind: 0 value: 388479 
2021-08-09 15:11:11.940 I/JNIProcessor:  debug ind: 1 value: 349325 
2021-08-09 15:11:11.940 I/JNIProcessor:  debug ind: 2 value: 393231 
2021-08-09 15:11:11.940 I/JNIProcessor:  debugIdx value: 3701  decalage 0 
2021-08-09 15:11:11.949 E/JNIProcessor:  2 gSuperPixel 1 finished in 27 ms ligth: 25
2021-08-09 15:11:11.960 E/JNIProcessor:  2 gVision 1 finished in 38 ms ligth: 25
2021-08-09 15:11:11.968 E/JNIProcessor:  2 gSuperPixel 2 finished in 46 ms ligth: 25
2021-08-09 15:11:11.978 E/JNIProcessor:  2 gVision 2 finished in 56 ms ligth: 25
2021-08-09 15:11:11.982 E/JNIProcessor:  1 gFiltreColor finished in 60 ms ligth: 25
2021-08-09 15:11:11.985 E/JNIProcessor:  3 gCompression finished in 63 ms ligth: 25
2021-08-09 15:11:11.986 I/JNIProcessor:  gCompression debug ind: 0 value: 388479 
2021-08-09 15:11:11.986 I/JNIProcessor:  gCompression debug ind: 0 value: 2.000000 
2021-08-09 15:11:11.986 I/JNIProcessor:  gCompression debug ind: 1 value: 349325 
2021-08-09 15:11:11.986 I/JNIProcessor:  gCompression debug ind: 1 value: 2.000000 
2021-08-09 15:11:11.986 I/JNIProcessor:  gCompression debug ind: 2 value: 393231 
2021-08-09 15:11:11.986 I/JNIProcessor:  gCompression debug ind: 2 value: 2.000000 
2021-08-09 15:11:11.986 I/JNIProcessor:  gCompression debug ind: 3 value: 0 
2021-08-09 15:11:11.986 I/JNIProcessor:  gCompression debug ind: 3 value: 2.000000 
2021-08-09 15:11:11.987 E/JNIProcessor:  3 gLignes before enqueueReadBuffer finished in 65 ms ligth: 25
2021-08-09 15:11:11.990 E/JNIProcessor:  4 traitement enqueueReadBuffer finished in 68 ms 
2021-08-09 15:11:11.990 E/JNIProcessor:  5 Start traitement forme CPU multi thread at 68 ms 
2021-08-09 15:11:11.996 E/JNIProcessor:  void Extraction_Point: buf.bufligne vertY: 23012
2021-08-09 15:11:11.997 E/JNIProcessor:  Trait_Raw_Col Rouge 0 indrectRV: 547  
2021-08-09 15:11:11.997 E/JNIProcessor:  void Extraction_Point: buf.bufligne  blancX: 6373
2021-08-09 15:11:11.998 E/JNIProcessor:  Trait_Raw_Col Blanc 2 indrectBV: 582  
2021-08-09 15:11:11.999 E/JNIProcessor:  Trait_Raw_Col Vert  1 indrectVH: 714  
2021-08-09 15:11:12.000 E/JNIProcessor:  void Extraction_Point: buf.bufligne  bleuY: 13354
2021-08-09 15:11:12.000 E/JNIProcessor:  Trait_Raw_Col Bleue 3 indrectBH: 671  
2021-08-09 15:11:12.003 E/JNIProcessor:  void Extraction_Point: buf.bufligne  rougeX: 7990
2021-08-09 15:11:12.005 E/JNIProcessor:  9 traitement forme CPU multi thread finished in 83 ms 
2021-08-09 15:11:12.007 E/JNIProcessor:  10 traitement enqueueWriteBuffer finished in 84 ms 
2021-08-09 15:11:12.007 E/JNIProcessor:  10Bis traitement Lignes2 finished in 84 ms 
2021-08-09 15:11:12.022 E/JNIProcessor:  11 traitement mélange image finished in 100 ms 
2021-08-09 15:11:12.034 E/JNIProcessor:  12 enqueueReadBuffer to display finished in 111 ms 
2021-08-09 15:11:12.034 E/JNIProcessor:  13 traitement bufligne finished in 111 ms temps Moy 111  Nb Frame 188 
2021-08-09 15:11:12.034 E/JNIProcessor:  14 END JNICALL CameraPreview_runfilter 
2021-08-09 15:11:12.034 E/CameraPreview:  onPreviewFrame 188

As you can see Hauwei perform much better until a certain time than performance are nearly the same than the adreno 650.

if you lock in detail you will see that Kernel run faster on Mali. The only difference is that multi thread CPU is slow and that at the end of the traitment enqueueWriteBuffer is very slow.

So normally with a new GPU and CPU using ARM mali performance should be very good.

it appear also that spangragon and adreno are controlling time processing. Same time with and without OPENGL.

Thanks for the attention.