Home
last modified time | relevance | path

Searched refs:CAMERA_PREVIEW_WIDTH (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/java/com/rockchip/gpadc/demo/
H A DCameraPreviewActivity.java40 import static com.rockchip.gpadc.demo.rga.HALDefine.CAMERA_PREVIEW_WIDTH;
192 CAMERA_PREVIEW_WIDTH, CAMERA_PREVIEW_HEIGHT, this.flip); in onPreviewFrame()
206 textureBuffer=new byte[CAMERA_PREVIEW_WIDTH * CAMERA_PREVIEW_HEIGHT * 4]; in surfaceChanged()
267 int BUFFER_SIZE0 = CAMERA_PREVIEW_WIDTH * CAMERA_PREVIEW_HEIGHT * 3 / 2; // NV21 in startCamera()
307 if (Math.abs(size.width-CAMERA_PREVIEW_WIDTH) < nearest_width_value ) { in setCameraParameters()
308 nearest_width_value = Math.abs(size.width-CAMERA_PREVIEW_WIDTH); in setCameraParameters()
312 if ( (size.width == CAMERA_PREVIEW_WIDTH) && (size.height == CAMERA_PREVIEW_HEIGHT)) { in setCameraParameters()
319 …Log.e(TAG, "Camera don't support this preview Size = " + CAMERA_PREVIEW_WIDTH + "x" + CAMERA_PREVI… in setCameraParameters()
320 CAMERA_PREVIEW_WIDTH = sizes.get(nearest_width_index).width; in setCameraParameters()
324 Log.w(TAG, "Use preview Size = " + CAMERA_PREVIEW_WIDTH + "x" + CAMERA_PREVIEW_HEIGHT); in setCameraParameters()
[all …]
H A DInferenceResult.java14 import static com.rockchip.gpadc.demo.rga.HALDefine.CAMERA_PREVIEW_WIDTH;
39 mSSDObjectTracker = new ObjectTracker(CAMERA_PREVIEW_WIDTH, CAMERA_PREVIEW_HEIGHT, 3); in reset()
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/java/com/rockchip/gpadc/demo/rga/
H A DHALDefine.java13 public static int CAMERA_PREVIEW_WIDTH = 1280; field in HALDefine
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/
H A DREADME.md78 …要修改"app/src/main/java/com/rockchip/gpadc/demo/rga/HALDefine.java"中CAMERA_PREVIEW_WIDTH及CAMERA_PREV…