| | |
| | |
|
| | | public static void faceCallBack(int cameraIdx, int count)
|
| | | {
|
| | | System.out.println("cameraIdex="+cameraIdx+", count="+count);
|
| | | Log.i("@@@", "RtspFaceNative.faceCallBack, cameraIdx=" + cameraIdx + ", count=" + count);
|
| | |
|
| | | // something else
|
| | |
| | | SurveillanceQueryItem surveillanceQueryItem = new SurveillanceQueryItem();
|
| | | int offset = 0;
|
| | | int size = item.size;
|
| | | Bitmap bitmap = Bitmap.createBitmap(item.width,item.height, Bitmap.Config.ARGB_8888);
|
| | | Bitmap bitmap = Bitmap.createBitmap(item.width,item.height, Bitmap.Config.RGB_565);
|
| | | ByteBuffer byteBuffer = ByteBuffer.wrap(item.image, offset, size);
|
| | | //byteBuffer.rewind();
|
| | | bitmap.copyPixelsFromBuffer(byteBuffer);
|
| | | // String str = Base64.encodeToString(item.image, offset, size, Base64.DEFAULT);
|
| | | // System.out.println(str.length());
|