Home
last modified time | relevance | path

Searched refs:CAMERA_PREVIEW_HEIGHT (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.java39 import static com.rockchip.gpadc.demo.rga.HALDefine.CAMERA_PREVIEW_HEIGHT;
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()
312 if ( (size.width == CAMERA_PREVIEW_WIDTH) && (size.height == CAMERA_PREVIEW_HEIGHT)) { in setCameraParameters()
319 … "Camera don't support this preview Size = " + CAMERA_PREVIEW_WIDTH + "x" + CAMERA_PREVIEW_HEIGHT); in setCameraParameters()
321 CAMERA_PREVIEW_HEIGHT = sizes.get(nearest_width_index).height; in setCameraParameters()
324 Log.w(TAG, "Use preview Size = " + CAMERA_PREVIEW_WIDTH + "x" + CAMERA_PREVIEW_HEIGHT); in setCameraParameters()
326 parameters.setPreviewSize(CAMERA_PREVIEW_WIDTH, CAMERA_PREVIEW_HEIGHT); in setCameraParameters()
337 mImageBufferQueue = new ImageBufferQueue(3, CAMERA_PREVIEW_WIDTH, CAMERA_PREVIEW_HEIGHT); in startTrack()
[all …]
H A DInferenceResult.java15 import static com.rockchip.gpadc.demo.rga.HALDefine.CAMERA_PREVIEW_HEIGHT;
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.java14 public static int CAMERA_PREVIEW_HEIGHT = 720; field in HALDefine
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/
H A DREADME.md78 …a/com/rockchip/gpadc/demo/rga/HALDefine.java"中CAMERA_PREVIEW_WIDTH及CAMERA_PREVIEW_HEIGHT为摄像头支持的分辨率。