{"id":1145,"date":"2019-03-20T14:57:19","date_gmt":"2019-03-20T05:57:19","guid":{"rendered":"https:\/\/www.charlezz.com\/?p=1145"},"modified":"2019-03-20T18:06:03","modified_gmt":"2019-03-20T09:06:03","slug":"%ec%95%88%eb%93%9c%eb%a1%9c%ec%9d%b4%eb%93%9c-%ec%b9%b4%eb%a9%94%eb%9d%bc-%ec%8a%a4%ed%8a%b8%eb%a6%bc-%eb%8f%99%ec%8b%9c%ec%97%90-%ec%97%ac%eb%9f%ac%ea%b0%9c-%ec%82%ac%ec%9a%a9%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/charlezz.com\/?p=1145","title":{"rendered":"\uc548\ub4dc\ub85c\uc774\ub4dc \uce74\uba54\ub77c \uc2a4\ud2b8\ub9bc \ub3d9\uc2dc\uc5d0 \uc5ec\ub7ec\uac1c \uc0ac\uc6a9\ud558\uae30"},"content":{"rendered":"<h1>\uc548\ub4dc\ub85c\uc774\ub4dc \uce74\uba54\ub77c \uc2a4\ud2b8\ub9bc \ub3d9\uc2dc\uc5d0 \uc5ec\ub7ec\uac1c \uc0ac\uc6a9\ud558\uae30<\/h1>\n<p>\uc774 \ud3ec\uc2a4\ud305\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \ub0b4\uc6a9\uc744 \ud3ec\ud568\ud569\ub2c8\ub2e4.<\/p>\n<ul>\n<li>\ud558\ub098\uc758 \uce74\uba54\ub77c\ub85c \uc5ec\ub7ec\uac1c\uc758 \uc2a4\ud2b8\ub9bc\uc744 \ub3d9\uc2dc\uc5d0 \uc0ac\uc6a9\ud558\ub294\uac83<\/li>\n<li>\ud558\ub098\uc758 \ucea1\uccd0 \ub9ac\ud018\uc2a4\ud2b8\ub85c \ub2e4\ub978 \uc18d\uc131\uc744 \uac00\uc9c4 \ud0c0\uac9f\ub4e4\uc744 \uacb0\ud569\ud558\ub294\uac83<\/li>\n<li>\ucd9c\ub825\ud0c0\uc785, \ucd9c\ub825\uc0ac\uc774\uc988, \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc744 \uc120\ud0dd\ud558\uace0 \uc870\ud68c\ud558\ub294 \ubc29\ubc95<\/li>\n<li>SurfaceView\uc640 ImageReader\uc758 Surface\ub97c \uc14b\ud305\ud558\uace0 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95<\/li>\n<\/ul>\n<h2><span>\uc5ec\ub7ec\uac1c\uc758 \uce74\uba54\ub77c \uc2a4\ud2b8\ub9bc\uc744 \uc0ac\uc6a9\ud558\ub294 \uc0ac\ub840<\/span><\/h2>\n<p><a href=\"https:\/\/www.charlezz.com\/?attachment_id=1150\" rel=\"attachment wp-att-1150\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.charlezz.com\/wordpress\/wp-content\/uploads\/2019\/03\/0_ugRv8BWWMigxK03S.png\" alt=\"\" width=\"931\" height=\"719\" class=\"aligncenter size-full wp-image-1150\" srcset=\"https:\/\/charlezz.com\/wordpress\/wp-content\/uploads\/2019\/03\/0_ugRv8BWWMigxK03S.png 931w, https:\/\/charlezz.com\/wordpress\/wp-content\/uploads\/2019\/03\/0_ugRv8BWWMigxK03S-300x232.png 300w, https:\/\/charlezz.com\/wordpress\/wp-content\/uploads\/2019\/03\/0_ugRv8BWWMigxK03S-768x593.png 768w\" sizes=\"(max-width: 931px) 100vw, 931px\" \/><\/a><\/p>\n<p><span>\uce74\uba54\ub77c\ub97c \uc0ac\uc6a9\ud558\ub294 \uc571\uc740 \ub450\uac1c\uc774\uc0c1\uc758 \uc2a4\ud2b8\ub9bc\uc744 \ub3d9\uc2dc\uc5d0 \uc0ac\uc6a9\ud560 \ub54c\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uac01\uac01\uc758 \uc2a4\ud2b8\ub9bc\uc774 \ub2e4\ub978 \ud574\uc0c1\ub3c4 \ub610\ub294 \ud53d\uc140 \ud3ec\ub9f7\uc744 \uc0ac\uc6a9\ud574\uc57c\ud558\ub294 \uacbd\uc6b0\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uba87 \uac00\uc9c0 \uc77c\ubc18\uc801\uc778 \uc0ac\uc6a9 \uc0ac\ub840\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. <\/span><\/p>\n<ul>\n<li><span>\ube44\ub514\uc624 \ub179\ud654 : \uc2a4\ud2b8\ub9bc \ud558\ub098\ub294 \ubbf8\ub9ac\ubcf4\uae30\uc6a9,\u00a0 \ub610 \ub2e4\ub978 \uc2a4\ud2b8\ub9bc\uc740 \uc778\ucf54\ub529\ub418\uc5b4 \ud30c\uc77c\ub85c \uc800\uc7a5\ub418\ub294\uc6a9<\/span><\/li>\n<li><span>\ubc14\ucf54\ub4dc \uc2a4\uce90\ub2dd : \uc2a4\ud2b8\ub9bc \ud558\ub098\ub294 \ubbf8\ub9ac\ubcf4\uae30\uc6a9, \ub610 \ub2e4\ub978 \uc2a4\ud2b8\ub9bc\uc740 \ubc14\ucf54\ub4dc \uac10\uc9c0\uc6a9 <\/span><\/li>\n<li><span>\uacc4\uc0b0 \uc0ac\uc9c4\ud559 \uae30\uc220(computational photography) : \ud558\ub098\ub294 \ubbf8\ub9ac\ubcf4\uae30\uc6a9 \uc2a4\ud2b8\ub9bc, \uc5bc\uad74 \/ \uc7a5\uba74 \ud0d0\uc9c0\uc6a9 \uc2a4\ud2b8\ub9bc <\/span><\/li>\n<\/ul>\n<p><span>\ud504\ub808\uc784\uc744 \ucc98\ub9ac \ud560 \ub54c \uc131\ub2a5 \ube44\uc6a9\uc774 \uac70\uc758 \ub4e4\uc9c0 \uc54a\uc73c\uba70, \ubcd1\ub82c \uc2a4\ud2b8\ub9bc \/ \ud30c\uc774\ud504 \ub77c\uc778 \ucc98\ub9ac\ub97c \uc218\ud589 \ud560 \ub54c \ube44\uc6a9\uc774 \ubc30\uac00\ub429\ub2c8\ub2e4. CPU, GPU \ubc0f DSP\uc640 \uac19\uc740 \ub9ac\uc18c\uc2a4\ub294 \ud504\ub808\uc784 \uc6cc\ud06c\uc758 \uc7ac\ucc98\ub9ac(reprocessing) \uae30\ub2a5\uc744 \ud65c\uc6a9\ud560 \uc218 \uc788\uc9c0\ub9cc \uba54\ubaa8\ub9ac\uc640 \uac19\uc740 \ub9ac\uc18c\uc2a4\ub294 \uc120\ud615\uc801\uc73c\ub85c \uc99d\uac00\ud569\ub2c8\ub2e4.<\/span><\/p>\n<h2>\uc5ec\ub7ec\uac1c\uc758 \ud0c0\uac9f\uc744 \uac16\ub294 \uc694\uccad(request)<\/h2>\n<p><span>\ub2e4\uc18c \uad00\ub8cc\uc801\uc778 \uc808\ucc28\ub97c \uc218\ud589\ud558\uba74 \uc5ec\ub7ec \uce74\uba54\ub77c \uc2a4\ud2b8\ub9bc\uc744 \ud558\ub098\uc758 CameraCaptureRequest\ub85c \uacb0\ud569 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ucf54\ub4dc \uc2a4\ub2c8\ud3ab\uc740 \uce74\uba54\ub77c \ubbf8\ub9ac\ubcf4\uae30\ub97c \uc704\ud574 \ud558\ub098\uc758 \uc2a4\ud2b8\ub9bc\uc744 \uc0ac\uc6a9\ud558\uace0 \uc774\ubbf8\uc9c0 \ucc98\ub9ac\ub97c \uc704\ud574 \ub2e4\ub978 \uc2a4\ud2b8\ub9bc\uc744 \uc0ac\uc6a9\ud558\uc5ec \uce74\uba54\ub77c \uc138\uc158\uc744 \uc124\uc815\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:java decode:true\">val session: CameraCaptureSession = ...  \/\/ from CameraCaptureSession.StateCallback\r\n\r\n\/\/ \uc5ec\ub7ec \uc2a4\ud2b8\ub9bc\ub4e4\uc744 \uc0ac\uc6a9\ud558\uae30 \ub54c\ubb38\uc5d0 \ud504\ub9ac\ubdf0 \ucea1\uccd0 \ud15c\ud50c\ub9bf\uc744 \uc774\uc6a9\ud560\uac81\ub2c8\ub2e4. \uc65c\ub0d0\ud558\uba74\r\n\/\/ \ub0ae\uc740 \uc9c0\uc5f0\uc18d\ub3c4\uc5d0 \ucd5c\uc801\ud654 \ub418\uc788\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4. \ub192\uc740 \uc774\ubbf8\uc9c0 \ud488\uc9c8\uc744 \uc704\ud574\uc11c\ub294\r\n\/\/ TEMPLATE_STILL_CAPTURE\ub97c \uc774\uc6a9\ud558\uace0, \uc548\uc815\ub41c \ud504\ub808\uc784\uc744 \uc5bb\uae30 \uc704\ud574\uc11c\ub294\r\n\/\/ TEMPLATE_RECORD\uc744 \uc774\uc6a9\ud558\uc138\uc694.\r\n\r\nval requestTemplate = CameraDevice.TEMPLATE_PREVIEW\r\nval combinedRequest = session.device.createCaptureRequest(requestTemplate)\r\n\r\n\/\/ Surface\ud0c0\uac9f\ub4e4\uc744 \ub9ac\ud018\uc2a4\ud2b8\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4.\r\ncombinedRequest.addTarget(previewSurface)\r\ncombinedRequest.addTarget(imReaderSurface)\r\n\r\n\/\/ \uac04\ub2e8\ud55c \uacbd\uc6b0\uc5d0\ub294 SurfaceView\uac00 \uc790\ub3d9\uc73c\ub85c \uac31\uc2e0\ub429\ub2c8\ub2e4. \uc774\ubbf8\uc9c0 \ub9ac\ub354\ub294 \ubc18\ub4dc\uc2dc\r\n\/\/ \ud504\ub808\uc784\uc5d0 \ub300\ud55c \ucf5c\ubc31\uc744 \uac00\uc838\uc57c\ud558\uba70, \ud504\ub808\uc784\uc744 \uac00\uc838\uc62c\uc218 \uc788\ub3c4\ub85d \ud569\ub2c8\ub2e4.\r\n\/\/ \uadf8\ub798\uc11c \ucea1\uccd0\ub9ac\ud018\uc2a4\ud2b8\uc5d0 \ub300\ud55c \ucf5c\ubc31\uc744 \ub530\ub85c \uc9c0\uc815\ud558\uc9c0 \uc54a\ub3c4\ub85d \ud569\ub2c8\ub2e4\r\nsession.setRepeatingRequest(combinedRequest.build(), null, null)<\/pre>\n<p><span>\ud0c0\uac9f Surface\ub97c \uc62c\ubc14\ub974\uac8c \uad6c\uc131\ud558\uba74, \uc774 \ucf54\ub4dc StreamComfigurationMap.GetOutputMinFrameDuration (int, Size) \ubc0f StreamComfigurationMap.GetOutputStallDuration (int, Size)\uc5d0 \uc758\ud574 \uacb0\uc815\ub418\ub294 \ucd5c\uc18c FPS\ub97c \ucda9\uc871\ud558\ub294 \uc2a4\ud2b8\ub9bc \ub9cc \uc0dd\uc131\ud569\ub2c8\ub2e4. \uc2e4\uc81c \uc131\ub2a5\uc740 \uae30\uae30\ub9c8\ub2e4 \ub2e4\ub974\uc9c0\ub9cc Android\ub294 \ucd9c\ub825\uc720\ud615(Output type), \ucd9c\ub825 <\/span><span>\ud06c\uae30(Output size) \ubc0f \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900(Hardware level) \uc138 \uac00\uc9c0 \ubcc0\uc218\uc5d0 \ub530\ub77c \ud2b9\uc815 \uc870\ud569\uc744 \uc9c0\uc6d0\ud560 \uc218\uc788\ub294 \uba87 \uac00\uc9c0 \ubcf4\uc7a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \ub9e4\uac1c \ubcc0\uc218 \uc870\ud569\uc744 \uc0ac\uc6a9\ud558\uba74 \ub0ae\uc740 \ud504\ub808\uc784 \uc18d\ub3c4\ub85c \uc791\ub3d9 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ub294 \uc804\ud600 \uc791\ub3d9\ud558\uc9c0 \uc54a\uc544 \uace0\uc7a5 \ucf5c\ubc31 \uc911 \ud558\ub098\ub97c \ud2b8\ub9ac\uac70 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\u00a0 <a href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/camera2\/CameraDevice#createCaptureSession%28java.util.List%3Candroid.view.Surface%3E,%20android.hardware.camera2.CameraCaptureSession.StateCallback,%20android.os.Handler%29\">CameraDevice<\/a>\ubb38\uc11c\ub97c \ucc38\uc870\ud558\uc2dc\uba74 \uc880 \ub354 \uc790\uc138\ud55c\uc815\ubcf4\ub97c \uc5bb\uc744 \uc218 \uc788\uc73c\ub2c8, \uaf2d \uaf3c\uaf3c\ud788 \uc804\ubd80 \uc77d\uc5b4\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/span><\/p>\n<h3>Output type(\ucd9c\ub825\uc720\ud615)<\/h3>\n<p><span>\ucd9c\ub825 \uc720\ud615\uc740 \ud504\ub808\uc784\uc774 \uc778\ucf54\ub529\ub418\ub294 \ud615\uc2dd\uc744 \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \uacf5\uc2dd\ubb38\uc11c\uc5d0 \uc124\uba85 \ub41c \uac00\ub2a5\ud55c \uac12\uc740 PRIV, YUV, JPEG \ubc0f RAW\uc785\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<p><em>PRIV\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \uc9c1\uc811\ud45c\uc2dc\ub418\uc9c0 \uc54a\ub294 \ud615\uc2dd\uacfc \ud568\uaed8 StreamConfigurationMap.getOutputSizes (Class)\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9 \uac00\ub2a5\ud55c \uc0ac\uc774\uc988\ub97c \uac00\uc9c4 \ud0c0\uac9f\uc744 \ucc38\uc870\ud569\ub2c8\ub2e4.<\/em><\/p>\n<p><em>YUV\ub294 ImageFormat.YUV_420_888\ud3ec\ub9f7\uc744 \uc0ac\uc6a9\ud558\ub294 Surface \ud0c0\uac9f\uc744 \ucc38\uc870\ud569\ub2c8\ub2e4.<\/em><\/p>\n<p><em>JPEG\ub294 ImageFormat.JPEG \ud3ec\ub9f7\uc744 \ucc38\uc870\ud569\ub2c8\ub2e4.<\/em><\/p>\n<p><em>RAW\ub294 ImageFormat.RAW_SENSOR \ud3ec\ub9f7\uc744 \ucc38\uc870\ud569\ub2c8\ub2e4.<\/em><\/p>\n<p><span>\uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ucd9c\ub825 \uc720\ud615\uc744 \uc120\ud0dd\ud560 \ub54c \ud638\ud658\uc131\uc744 \ucd5c\ub300\ud654\ud558\ub294 \uac83\uc774 \ubaa9\ud45c\ub77c\uba74 \ud504\ub808\uc784 \ubd84\uc11d\uc5d0\ub294 ImageFormat.YUV_420_888\uc744 \uc0ac\uc6a9\ud558\uace0 \uc2a4\ud2f8 \uc774\ubbf8\uc9c0\uc5d0\ub294 ImageFormat.JPEG\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 \uc88b\uc2b5\ub2c8\ub2e4. \ubbf8\ub9ac\ubcf4\uae30 \ubc0f \ub179\ud654\ub97c \ud558\ub294 \uc2dc\ub098\ub9ac\uc624\uc758 \uacbd\uc6b0 SurfaceView, TextureView, MediaRecorder, MediaCodec \ub610\ub294 RenderScript.Allocation\uc744 \uc0ac\uc6a9\ud558\uac8c\ub429\ub2c8\ub2e4. \uc774 \uacbd\uc6b0 \uc774\ubbf8\uc9c0 \ud3ec\ub9f7\uc744 \uc9c0\uc815\ud558\uc9c0 \uc54a\uace0 \ud638\ud658\uc131\uc744 \uc704\ud574\uc0ac\uc6a9\ub418\ub294 \uc2e4\uc81c \ud615\uc2dd\uacfc \uc0c1\uad00\uc5c6\uc774 ImageFormat.PRIVATE\ub85c \ud3ec\ud568\ub418\uac8c \ub429\ub2c8\ub2e4. <\/span><\/p>\n<p><span>\uae30\uae30\uc5d0\uc11c \uc9c0\uc6d0\ud558\ub294 CameraCharacteristics\ud615\uc2dd\uc744 \ucffc\ub9ac\ud558\ub824\uba74 \ub2e4\uc74c \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc2ed\uc2dc\uc624.<\/span><\/p>\n<pre class=\"lang:java decode:true \">val characteristics: CameraCharacteristics = ...\r\nval supportedFormats = characteristics.get(\r\n            CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP).outputFormats<\/pre>\n<h3>Output size(\ucd9c\ub825 \ud06c\uae30)<\/h3>\n<p><span>StreamConfigurationMap.getOutputSizes()\ub97c \ud638\ucd9c\ud558\uba74 \uc0ac\uc6a9 \uac00\ub2a5\ud55c \ubaa8\ub4e0 \ucd9c\ub825 \ud06c\uae30\uac00 \ub098\uc5f4\ub418\uc9c0\ub9cc \ud638\ud658\uc131\uc744 \uace0\ub824\ud558\ub294\ud55c PREVIEW \uc640 MAXIMUM \ub450 \uac00\uc9c0\ub97c \uace0\ubbfc\ud558\uba74\ub429\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uc774 \ud06c\uae30\ub97c \uc0c1\ud55c\uc120\uc73c\ub85c \uc0dd\uac01\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uacf5\uc2dd\ubb38\uc11c\uc5d0 \uc5b4\ub5a4 \uc0ac\uc774\uc988\uc758 PREVIEW\uac00 \uc791\ub3d9\ud55c\ub2e4\uace0\ud558\uba74 \uadf8 \ud06c\uae30\ubcf4\ub2e4 \uc791\uc740 \ud06c\uae30\uc758 \uac83\uc774 \ubaa8\ub450 \uc791\ub3d9\ud569\ub2c8\ub2e4. MAXIMUM\uc5d0\ub3c4 \ub3d9\uc77c\ud558\uac8c \uc801\uc6a9\ub429\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uacf5\uc2dd\ubb38\uc11c\uc5d0\uc11c \ubc1c\ucdcc \ud55c \ub0b4\uc6a9\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p><em>For the maximum size column, PREVIEW refers to the best size match to the device\u2019s screen resolution, or to 1080p (1920&#215;1080), whichever is smaller. RECORD refers to the camera device\u2019s maximum supported recording resolution, as determined by\u00a0<a href=\"https:\/\/developer.android.com\/reference\/android\/media\/CamcorderProfile.html\" data-href=\"https:\/\/developer.android.com\/reference\/android\/media\/CamcorderProfile.html\" class=\"markup--anchor markup--blockquote-anchor\" rel=\"nofollow noopener\" target=\"_blank\">CamcorderProfile<\/a>. And MAXIMUM refers to the camera device\u2019s maximum output resolution for that format or target from\u00a0<a href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/camera2\/params\/StreamConfigurationMap.html#getOutputSizes%28int%29\" data-href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/camera2\/params\/StreamConfigurationMap.html#getOutputSizes(int)\" class=\"markup--anchor markup--blockquote-anchor\" rel=\"nofollow noopener\" target=\"_blank\">StreamConfigurationMap.getOutputSizes(int)<\/a>.<\/em><\/p>\n<p><em>\ucd5c\ub300 \ud06c\uae30 \uc5f4\uc758 \uacbd\uc6b0 PREVIEW\ub294 \uae30\uae30\uc758 \ud654\uba74 \ud574\uc0c1\ub3c4\uc5d0 \uac00\uc7a5 \uc801\ud569\ud55c \ud06c\uae30 \ub610\ub294 1080p (1920&#215;1080) \uc911 \uc791\uc740 \ucabd\uc744 \ucc38\uc870\ud569\ub2c8\ub2e4. RECORD\ub294 CamcorderProfile\uc5d0 \uc758\ud574 \uacb0\uc815\ub41c \uce74\uba54\ub77c \uc7a5\uce58\uc758 \ucd5c\ub300 \uc9c0\uc6d0 \ud574\uc0c1\ub3c4\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \uadf8\ub9ac\uace0 MAXIMUM\uc740 StreamConfigurationMap.getOutputSizes (int)\uc5d0\uc11c \ud574\ub2f9 \ud615\uc2dd \ub610\ub294 \ub300\uc0c1\uc5d0 \ub300\ud55c \uce74\uba54\ub77c \uc7a5\uce58\uc758 \ucd5c\ub300 \ucd9c\ub825 \ud574\uc0c1\ub3c4\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4.<\/em><\/p>\n<p><span>\uc0ac\uc6a9 \uac00\ub2a5\ud55c \ucd9c\ub825 \ud06c\uae30\ub294 \uc774\ubbf8\uc9c0 \ud3ec\ub9f7 \ud615\uc2dd\uc758 \uc120\ud0dd\uc5d0 \ub530\ub77c \ub2ec\ub77c\uc9d1\ub2c8\ub2e4. CameraCharacteristics\uc640 \ud615\uc2dd\uc774 \uc8fc\uc5b4\uc9c0\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uc0ac\uc6a9 \uac00\ub2a5\ud55c \ucd9c\ub825 \ud06c\uae30\ub97c \ucffc\ub9ac \ud560 \uc218 \u200b\u200b\uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:java decode:true \">val characteristics: CameraCharacteristics = ...\r\nval outputFormat: Int = ...  \/\/ e.g. ImageFormat.JPEG\r\nval sizes = characteristics.get(\r\n        CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)\r\n        .getOutputSizes(outputFormat)<\/pre>\n<p><span>\uce74\uba54\ub77c \ubbf8\ub9ac\ubcf4\uae30 \ubc0f \ub179\ud654\ud558\ub294 \uacbd\uc6b0\ub294 \uce74\uba54\ub77c \ud504\ub808\uc784 \uc6cc\ud06c \uc790\uccb4\uc5d0\uc11c \ud615\uc2dd\uc744 \ucc98\ub9ac\ud558\ubbc0\ub85c \ub300\uc0c1 \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc9c0\uc6d0\ub418\ub294 \ud06c\uae30\ub97c \uacb0\uc815\ud574\uc57c\ud569\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:java decode:true \">al characteristics: CameraCharacteristics = ...\r\nval targetClass: Class&lt;T&gt; = ...  \/\/ e.g. SurfaceView::class.java\r\nval sizes = characteristics.get(\r\n        CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)\r\n        .getOutputSizes(targetClass)<\/pre>\n<p>MAXIMUM\uc0ac\uc774\uc988\ub97c \uad6c\ud558\ub294\uac83\uc740 \uc27d\uc2b5\ub2c8\ub2e4. \ucd9c\ub825\ud06c\uae30\ub97c \uc815\ub82c\ud558\uc5ec\uc11c \uac00\uc7a5 \ud070\uac83\uc744 \uace8\ub77c\ub0b4\uba74 \ub429\ub2c8\ub2e4.<\/p>\n<pre class=\"lang:java decode:true\">fun &lt;T&gt;getMaximumOutputSize(\r\n        characteristics: CameraCharacteristics, targetClass: Class&lt;T&gt;, format: Int? = null):\r\n        Size {\r\n    val config = characteristics.get(\r\n            CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)\r\n\r\n    \/\/ \ub9cc\uc57d \uc774\ubbf8\uc9c0 \ud3ec\ub9f7\uc774 \uc8fc\uc5b4\uc9c4\ub2e4\uba74 \uc774\ubbf8\uc9c0\ud3ec\ub9f7\uc744 \uc774\uc6a9\ud558\uc5ec \uc0ac\uc774\uc988\ub97c \uacb0\uc815\ud558\uc138\uc694. \r\n    \/\/ \uadf8\ub807\uc9c0 \uc54a\ub2e4\uba74 \ud0c0\uac9f \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc138\uc694.\r\n    val allSizes = if (format == null)\r\n        config.getOutputSizes(targetClass) else config.getOutputSizes(format)\r\n    return allSizes.sortedWith(compareBy { it.height * it.width }).reversed()[0]\r\n}<\/pre>\n<p><span>PREVIEW \ud06c\uae30\ub97c \uc5bb\uc73c\ub824\uba74 \uc870\uae08 \ub354 \uc0dd\uac01\ud574\uc57c\ud569\ub2c8\ub2e4. PREVIEW\ub294 \uae30\uae30\uc758 \ud654\uba74 \ud574\uc0c1\ub3c4\uc5d0 \uac00\uc7a5 \uc801\ud569\ud55c \ud06c\uae30 \uc77c\uce58 \ub610\ub294 1080p (1920&#215;1080) \uc911 \uc791\uc740 \ucabd\uc744 \ucc38\uc870\ud569\ub2c8\ub2e4. \uc885\ud6a1\ube44\uac00 \ud654\uba74\uc758 \uc885\ud6a1\ube44\uc640 \uc815\ud655\ud558\uac8c \uc77c\uce58\ud558\uc9c0 \uc54a\uc744 \uc218 \uc788\uc73c\ubbc0\ub85c \uc804\uccb4 \ud654\uba74 \ubaa8\ub4dc\ub85c \ud45c\uc2dc\ud558\ub824\ub294 \uacbd\uc6b0 \ub808\ud130\ubc15\uc2a4 \ub610\ub294 \ud654\uba74\uc790\ub974\uae30(cropping)\ub97c \uc2a4\ud2b8\ub9bc\uc5d0 \uc801\uc6a9\ud574\uc57c \ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc62c\ubc14\ub978 PREVIEW \ud06c\uae30\ub97c \uc5bb\uc73c\ub824\uba74 \ub514\uc2a4\ud50c\ub808\uc774\uac00 \ud68c\uc804 \ub420 \uc218 \uc788\ub2e4\ub294 \uc810\uc744 \uace0\ub824\ud558\uba74\uc11c \uc0ac\uc6a9 \uac00\ub2a5\ud55c \ucd9c\ub825 \ud06c\uae30\uc640 \ub514\uc2a4\ud50c\ub808\uc774 \ud06c\uae30\ub97c \ube44\uad50\ud574\uc57c\ud569\ub2c8\ub2e4. \uc774 \ucf54\ub4dc\uc5d0\uc11c\ub294 \ud06c\uae30 \ube44\uad50\ub97c \uc880 \ub354 \uc27d\uac8c \ud574\uc8fc\ub294 SmartSize \ud074\ub798\uc2a4\ub97c \ub9cc\ub4e4\uc5c8\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:java decode:true\">class SmartSize(width: Int, height: Int) {\r\n    var size = Size(width, height)\r\n    var long = max(size.width, size.height)\r\n    var short = min(size.width, size.height)\r\n}\r\n\r\nfun getDisplaySmartSize(context: Context): SmartSize {\r\n    val windowManager = context.getSystemService(\r\n            Context.WINDOW_SERVICE) as WindowManager\r\n    val outPoint = Point()\r\n    windowManager.defaultDisplay.getRealSize(outPoint)\r\n    return SmartSize(outPoint.x, outPoint.y)\r\n}\r\n\r\nfun &lt;T&gt;getPreviewOutputSize(\r\n        context: Context, characteristics: CameraCharacteristics, targetClass: Class&lt;T&gt;,\r\n        format: Int? = null): Size {\r\n\r\n    \/\/ \uc5b4\ub5a4\uac8c \ub354 \uc791\uc740 \uc9c0 \ucc3e\uc74c : \ud654\uba74\ud06c\uae30 \ub610\ub294 1080p\r\n    val hdSize = SmartSize(1080, 720)\r\n    val screenSize = getDisplaySmartSize(context)\r\n    val hdScreen = screenSize.long &gt;= hdSize.long || screenSize.short &gt;= hdSize.short\r\n    val maxSize = if (hdScreen) screenSize else hdSize\r\n\r\n    val config = characteristics.get(\r\n            CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)\r\n    val allSizes = if (format == null)\r\n        config.getOutputSizes(targetClass) else config.getOutputSizes(format)\r\n\r\n    \/\/ \uc5bb\uc744\uc218 \uc788\ub294 \ud06c\uae30\ub4e4\uc744 \uad6c\ud558\uace0 \uadf8\uac83\ub4e4\uc744 \uc815\ub82c\ud55c\ub2e4\r\n    val validSizes = allSizes\r\n            .sortedWith(compareBy { it.height * it.width })\r\n            .map { SmartSize(it.width, it.height) }.reversed()\r\n\r\n    \/\/ maxSize\uc640 \uac19\uac70\ub098 \uc791\uc740 \uac00\uc7a5 \ud070 \ucd9c\ub825\ud06c\uae30\ub97c \uad6c\ud55c\ub2e4\r\n    return validSizes.filter {\r\n        it.long &lt;= maxSize.long &amp;&amp; it.short &lt;= maxSize.short }[0].size\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<h3>Hardware level(\ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900)<\/h3>\n<p><span>\ub7f0\ud0c0\uc784\uc5d0 \uc0ac\uc6a9 \uac00\ub2a5\ud55c \uae30\ub2a5\uc744 \uacb0\uc815\ud558\uae30 \uc704\ud574 \uce74\uba54\ub77c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ud544\uc694\ud55c \uac00\uc7a5 \uc911\uc694\ud55c \uc815\ubcf4\ub294 \uc9c0\uc6d0\ub418\ub294 \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc785\ub2c8\ub2e4. \ub2e4\uc2dc \ud55c\ubc88 \uac15\uc870\ud558\uc9c0\ub9cc <a href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/camera2\/CameraDevice#createCaptureSession%28java.util.List%3Candroid.view.Surface%3E,%20android.hardware.camera2.CameraCaptureSession.StateCallback,%20android.os.Handler%29\">\uacf5\uc2dd\ubb38\uc11c<\/a>\uc5d0 \uc798\ub098\uc640\uc788\uc73c\ub2c8 \uaf2d \uc77d\uc5b4\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/span><\/p>\n<p><em>The supported hardware level is a high-level description of the camera device\u2019s capabilities, summarizing several capabilities into one field. Each level adds additional features to the previous one, and is always a strict superset of the previous level. The ordering is LEGACY &lt; LIMITED &lt; FULL &lt; LEVEL_3.<\/em><\/p>\n<p><em>\uc9c0\uc6d0\ub418\ub294 \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc740 \uce74\uba54\ub77c \uc7a5\uce58\uc758 \uae30\ub2a5\uc5d0 \ub300\ud55c \uc0c1\uc704 \uc218\uc900\uc758 \uc124\uba85(high-level description)\uc73c\ub85c \uc5ec\ub7ec \uae30\ub2a5\uc744 \ud558\ub098\uc758 \ud544\ub4dc\ub85c \uc694\uc57d\ud569\ub2c8\ub2e4. \uac01 \ub808\ubca8\uc740 \uc774\uc804 \ub808\ubca8\uc5d0 \ucd94\uac00 \uae30\ub2a5\uc744 \ucd94\uac00\ud558\uba70 \ud56d\uc0c1 \uc774\uc804 \ub808\ubca8\uc758 \uc5c4\uaca9\ud55c \uc218\ud37c\uc14b(\ud655\ub300\uc9d1\ud569)\uc785\ub2c8\ub2e4. \uc21c\uc11c\ub294 LEGACY &lt;LIMITED &lt;FULL &lt;LEVEL_3\uc785\ub2c8\ub2e4. <\/em><\/p>\n<p><span>CameraCharacteristics \uac1d\uccb4\ub97c \uc0ac\uc6a9\ud558\uba74 \ub2e4\uc74c\uacfc \uac19\uc740 \ub2e8\uc77c \uba85\ub839\ubb38\uc73c\ub85c \ud558\ub4dc\uc6e8\uc5b4 \ub808\ubca8\uc744 \uac80\uc0c9 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:java decode:true \">val characteristics: CameraCharacteristics = ...\r\n\r\n\/\/ \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc740 \uc544\ub798\uc758 \uc8fc\uc11d\ub41c \ub9ac\uc2a4\ud2b8\uc911 \ud558\ub098 \uc785\ub2c8\ub2e4.\r\n\/\/ - CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY,\r\n\/\/ - CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_EXTERNAL,\r\n\/\/ - CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED,\r\n\/\/ - CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_FULL,\r\n\/\/ - CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_3\r\nval hardwareLevel = characteristics.get(\r\n        CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL)<\/pre>\n<h2>3\uac1c\uc758 \ubcc0\uc218\ub97c \ud558\ub098\ub85c \ubaa8\uc544\ubd05\uc2dc\ub2e4.<\/h2>\n<p><span>\ucd9c\ub825 \uc720\ud615, \ucd9c\ub825 \ud06c\uae30 \ubc0f \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc744 \uc774\ud574\ud558\uba74 \uc720\ud6a8\ud55c \uc2a4\ud2b8\ub9bc \uc870\ud569\uc744 \uacb0\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<h4>Legacy \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900<\/h4>\n<table style=\"height: 522px;\">\n<tbody>\n<tr style=\"height: 29px;\">\n<td colspan=\"7\" style=\"height: 29px; width: 704px; border-style: ridge;\"><strong>LEGACY-level guaranteed configurations<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td colspan=\"2\" id=\"rb\" style=\"height: 29px; width: 155px; border-style: ridge;\">Target 1<\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 29px; width: 155px; border-style: ridge;\">Target 2<\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 29px; width: 155px; border-style: ridge;\">Target 3<\/td>\n<td rowspan=\"2\" style=\"height: 58px; width: 182px; border-style: ridge;\">\uc0ac\ub840<\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td style=\"height: 29px; width: 52px; border-style: ridge;\">Type<\/td>\n<td id=\"rb\" style=\"height: 29px; width: 84px; border-style: ridge;\">Max size<\/td>\n<td style=\"height: 29px; width: 52px; border-style: ridge;\">Type<\/td>\n<td id=\"rb\" style=\"height: 29px; width: 84px; border-style: ridge;\">Max size<\/td>\n<td style=\"height: 29px; width: 52px; border-style: ridge;\">Type<\/td>\n<td id=\"rb\" style=\"height: 29px; width: 84px; border-style: ridge;\">Max size<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"height: 87px; width: 52px; border-style: ridge;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"height: 87px; width: 84px; border-style: ridge;\"><code>MAXIMUM<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 87px; width: 155px; border-style: ridge;\"><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 87px; width: 155px; border-style: ridge;\"><\/td>\n<td style=\"height: 87px; width: 182px; border-style: ridge;\">\uac04\ub2e8\ud55c \ubbf8\ub9ac\ubcf4\uae30, GPU \ube44\ub514\uc624 \ud504\ub85c\uc138\uc2f1 \ub610\ub294 \ubbf8\ub9ac\ubcf4\uae30 \uc5c6\ub294 \ube44\ub514\uc624 \ub179\ud654<\/td>\n<\/tr>\n<tr style=\"height: 58px;\">\n<td style=\"height: 58px; width: 52px; border-style: ridge;\"><code>JPEG<\/code><\/td>\n<td id=\"rb\" style=\"height: 58px; width: 84px; border-style: ridge;\"><code>MAXIMUM<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 58px; width: 155px; border-style: ridge;\"><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 58px; width: 155px; border-style: ridge;\"><\/td>\n<td style=\"height: 58px; width: 182px; border-style: ridge;\">\ubdf0\ud30c\uc778\ub354\ub294 \uc5c6\uc9c0\ub9cc \uc774\ubbf8\uc9c0 \ucea1\uccd0\uac00 \ud544\uc694\ud560 \ub54c<\/td>\n<\/tr>\n<tr style=\"height: 58px;\">\n<td style=\"height: 58px; width: 52px; border-style: ridge;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"height: 58px; width: 84px; border-style: ridge;\"><code>MAXIMUM<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 58px; width: 155px; border-style: ridge;\"><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 58px; width: 155px; border-style: ridge;\"><\/td>\n<td style=\"height: 58px; width: 182px; border-style: ridge;\">\uc571\ub0b4\uc5d0\uc11c \ube44\ub514\uc624 \ub610\ub294 \uc774\ubbf8\uc9c0 \ud504\ub85c\uc138\uc2f1\ud560 \ub54c<\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td style=\"height: 29px; width: 52px; border-style: ridge;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"height: 29px; width: 84px; border-style: ridge;\"><code>PREVIEW<\/code><\/td>\n<td style=\"height: 29px; width: 52px; border-style: ridge;\"><code>JPEG<\/code><\/td>\n<td id=\"rb\" style=\"height: 29px; width: 84px; border-style: ridge;\"><code>MAXIMUM<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 29px; width: 155px; border-style: ridge;\"><\/td>\n<td style=\"height: 29px; width: 182px; border-style: ridge;\">\uc77c\ubc18\uc801\uc778 \uc0ac\uc9c4 \ucd2c\uc601\uc2dc<\/td>\n<\/tr>\n<tr style=\"height: 58px;\">\n<td style=\"height: 58px; width: 52px; border-style: ridge;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"height: 58px; width: 84px; border-style: ridge;\"><code>PREVIEW<\/code><\/td>\n<td style=\"height: 58px; width: 52px; border-style: ridge;\"><code>JPEG<\/code><\/td>\n<td id=\"rb\" style=\"height: 58px; width: 84px; border-style: ridge;\"><code>MAXIMUM<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 58px; width: 155px; border-style: ridge;\"><\/td>\n<td style=\"height: 58px; width: 182px; border-style: ridge;\">\ud504\ub85c\uc138\uc2f1\uc744 \ud558\uba74\uc11c \uc774\ubbf8\uc9c0 \ucea1\uccd0\ub3c4 \ud544\uc694\ud560 \ub54c<\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td style=\"height: 29px; width: 52px; border-style: ridge;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"height: 29px; width: 84px; border-style: ridge;\"><code>PREVIEW<\/code><\/td>\n<td style=\"height: 29px; width: 52px; border-style: ridge;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"height: 29px; width: 84px; border-style: ridge;\"><code>PREVIEW<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 29px; width: 155px; border-style: ridge;\"><\/td>\n<td style=\"height: 29px; width: 182px; border-style: ridge;\">\uc77c\ubc18\uc801\uc778 \ube44\ub514\uc624 \ub179\ud654\uc2dc<\/td>\n<\/tr>\n<tr style=\"height: 58px;\">\n<td style=\"height: 58px; width: 52px; border-style: ridge;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"height: 58px; width: 84px; border-style: ridge;\"><code>PREVIEW<\/code><\/td>\n<td style=\"height: 58px; width: 52px; border-style: ridge;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"height: 58px; width: 84px; border-style: ridge;\"><code>PREVIEW<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"height: 58px; width: 155px; border-style: ridge;\"><\/td>\n<td style=\"height: 58px; width: 182px; border-style: ridge;\">\ubbf8\ub9ac\ubcf4\uae30\uc640 \ud504\ub85c\uc138\uc2f1\uc774 \ud544\uc694\ud560 \ub54c<\/td>\n<\/tr>\n<tr style=\"height: 58px;\">\n<td style=\"height: 58px; width: 52px; border-style: ridge;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"height: 58px; width: 84px; border-style: ridge;\"><code>PREVIEW<\/code><\/td>\n<td style=\"height: 58px; width: 52px; border-style: ridge;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"height: 58px; width: 84px; border-style: ridge;\"><code>PREVIEW<\/code><\/td>\n<td style=\"height: 58px; width: 52px; border-style: ridge;\"><code>JPEG<\/code><\/td>\n<td id=\"rb\" style=\"height: 58px; width: 84px; border-style: ridge;\"><code>MAXIMUM<\/code><\/td>\n<td style=\"height: 58px; width: 182px; border-style: ridge;\">\ubbf8\ub9ac\ubcf4\uae30\uc640 \ud504\ub85c\uc138\uc2f1\ub3c4 \ud558\uba74\uc11c \uc0ac\uc9c4\ub3c4 \ucea1\uccd0\ud558\uace0 \uc2f6\uc744\ub54c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Limited \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900<\/h4>\n<table style=\"border-style: ridge; height: 580px;\">\n<tbody>\n<tr style=\"height: 29px;\">\n<td colspan=\"7\" style=\"border-style: ridge; height: 29px; width: 704px;\"><strong>LIMITED-level additional guaranteed configurations<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 29px; width: 155px;\">Target 1<\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 29px; width: 155px;\">Target 2<\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 29px; width: 155px;\">Target 3<\/td>\n<td rowspan=\"2\" style=\"border-style: ridge; height: 58px; width: 182px;\">\uc0ac\ub840<\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td style=\"border-style: ridge; height: 29px; width: 52px;\">Type<\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 29px; width: 84px;\">Max size<\/td>\n<td style=\"border-style: ridge; height: 29px; width: 52px;\">Type<\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 29px; width: 84px;\">Max size<\/td>\n<td style=\"border-style: ridge; height: 29px; width: 52px;\">Type<\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 29px; width: 84px;\">Max size<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>RECORD<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 87px; width: 155px;\"><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 182px;\">\uace0\ud574\uc0c1\ub3c4 \ube44\ub514\uc624 \ub179\ud654\uc640 \ubbf8\ub9ac\ubcf4\uae30<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>RECORD<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 87px; width: 155px;\"><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 182px;\">\uace0\ud574\uc0c1\ub3c4\uc758 \ube44\ub514\uc624 \ud504\ub85c\uc138\uc2f1\uacfc \ubbf8\ub9ac\ubcf4\uae30<\/td>\n<\/tr>\n<tr style=\"height: 58px;\">\n<td style=\"border-style: ridge; height: 58px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 58px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 58px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 58px; width: 84px;\"><code>RECORD<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 58px; width: 155px;\"><\/td>\n<td style=\"border-style: ridge; height: 58px; width: 182px;\">\ub450\uac1c\uc758 \ube44\ub514\uc624 \uc785\ub825\ubc1b\uc544 \ud504\ub85c\uc138\uc2f1\ud558\uae30<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>RECORD<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>JPEG<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>RECORD<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 182px;\">\uace0\ud574\uc0c1\ub3c4\uc758 \ub179\ud654\uc640 \ud568\uaed8 \uc2a4\ub0c5\uc0f7 \ucc0d\uae30<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>RECORD<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>JPEG<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>RECORD<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 182px;\">\uace0\ud574\uc0c1\ub3c4\uc758 \ube44\ub514\uc624\uc640 \uc2a4\ub0c5\uc0f7 \ud504\ub85c\uc138\uc2f1\ud558\uae30<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>JPEG<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>MAXIMUM<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 182px;\">\ub450\uac1c\uc758 \ud504\ub85c\uc138\uc2f1\uacfc \ud568\uaed8 \ucea1\uccd0\ud558\uae30<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Full \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900<\/h4>\n<table style=\"height: 551px;\">\n<tbody>\n<tr style=\"height: 29px;\">\n<td colspan=\"7\" style=\"border-style: ridge; height: 29px; width: 704px;\"><strong>FULL-level additional guaranteed configurations<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 29px; width: 155px;\">Target 1<\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 29px; width: 155px;\">Target 2<\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 29px; width: 155px;\">Target 3<\/td>\n<td rowspan=\"2\" style=\"border-style: ridge; height: 58px; width: 182px;\">\uc0ac\ub840<\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td style=\"border-style: ridge; height: 29px; width: 52px;\">Type<\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 29px; width: 84px;\">Max size<\/td>\n<td style=\"border-style: ridge; height: 29px; width: 52px;\">Type<\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 29px; width: 84px;\">Max size<\/td>\n<td style=\"border-style: ridge; height: 29px; width: 52px;\">Type<\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 29px; width: 84px;\">Max size<\/td>\n<\/tr>\n<tr style=\"height: 58px;\">\n<td style=\"border-style: ridge; height: 58px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 58px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 58px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 58px; width: 84px;\"><code>MAXIMUM<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 58px; width: 155px;\"><\/td>\n<td style=\"border-style: ridge; height: 58px; width: 182px;\">\ucd5c\uace0 \ud574\uc0c1\ub3c4 \uc218\uc900\uc758 GPU \ud504\ub85c\uc138\uc2f1\uacfc \ubbf8\ub9ac\ubcf4\uae30<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>MAXIMUM<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 87px; width: 155px;\"><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 182px;\">\ucd5c\uace0 \ud574\uc0c1\ub3c4\ub85c \uc571\ub0b4\uc5d0\uc11c \ubbf8\ub9ac\ubcf4\uae30\uc640 \ud568\uaed8 \ud504\ub85c\uc138\uc2f1\ud558\uae30<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>MAXIMUM<\/code><\/td>\n<td colspan=\"2\" id=\"rb\" style=\"border-style: ridge; height: 87px; width: 155px;\"><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 182px;\">\ucd5c\ub300\ud574\uc0c1\ub3c4\uc758 \ub450\uac1c\uc758 \ube44\ub514\uc624 \uc785\ub825\uc744 \ubc1b\uc544 \ud504\ub85c\uc138\uc2f1\ud558\uae30<\/td>\n<\/tr>\n<tr style=\"height: 58px;\">\n<td style=\"border-style: ridge; height: 58px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 58px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 58px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 58px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 58px; width: 52px;\"><code>JPEG<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 58px; width: 84px;\"><code>MAXIMUM<\/code><\/td>\n<td style=\"border-style: ridge; height: 58px; width: 182px;\">\ube44\ub514\uc624 \ub179\ud654\uc640 \ud568\uaed8 \ucd5c\ub300\ud574\uc0c1\ub3c4\uc758 \uc2a4\ub0c5\uc0f7 \ucc0d\uae30<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>640x480<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>PRIV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>MAXIMUM<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 182px;\">\uc77c\ubc18\uc801\uc778 \ube44\ub514\uc624 \ub179\ud654\uc640 \ucd94\uac00\ub85c \ucd5c\ub300\ud574\uc0c1\ub3c4\uc758 \ud504\ub85c\uc138\uc2f1\ud558\uae30<\/td>\n<\/tr>\n<tr style=\"height: 87px;\">\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>640x480<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>PREVIEW<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 52px;\"><code>YUV<\/code><\/td>\n<td id=\"rb\" style=\"border-style: ridge; height: 87px; width: 84px;\"><code>MAXIMUM<\/code><\/td>\n<td style=\"border-style: ridge; height: 87px; width: 182px;\">\ubbf8\ub9ac\ubcf4\uae30\uc640 \ud568\uaed8 \ub450\uac1c\uc758 \uc785\ub825\uc5d0 \ub300\ud55c \ucd5c\ub300 \ud574\uc0c1\ub3c4 \ucc98\ub9ac<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span>LEGACY\uac00 \uac00\uc7a5 \ub0ae\uc740 \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc774\ubbc0\ub85c \uc704\uc758 \ud45c\uc5d0\uc11c Camera2\ub97c \uc9c0\uc6d0\ud558\ub294 \ubaa8\ub4e0 \uae30\uae30 (\uc608 : API \ub808\ubca8 21 \uc774\uc0c1)\uac00 \uc62c\ubc14\ub978 \uad6c\uc131\uc744 \uc0ac\uc6a9\ud558\uc5ec <strong>\ucd5c\ub300 3\uac1c\uc758 \ub3d9\uc2dc \uc2a4\ud2b8\ub9bc<\/strong>\uc744 \ucd9c\ub825 \ud560 \uc218 \uc788\uc74c\uc744 \uc54c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uba54\ubaa8\ub9ac, CPU \ubc0f \ubc1c\uc5f4\uacfc \uac19\uc740 \uc131\ub2a5\uc744 \uc81c\ud55c\ud558\ub294 \ub2e4\ub978 \uc81c\uc57d \uc870\uac74\uc744 \uc720\ubc1c\ud558\ub294 \uc624\ubc84 \ud5e4\ub4dc\uac00 \ubc1c\uc0dd\ud560 \uacbd\uc6b0\uac00 \uc788\uae30 \ub54c\ubb38\uc5d0 \ub9ce\uc740 \uc7a5\uce58\uc5d0\uc11c \ucd5c\ub300 \uac00\uc6a9 \ucc98\ub9ac\ub97c \ubabb\ud558\ub294 \uacbd\uc6b0\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. <\/span><\/p>\n<p><span>\uc774\uc81c \ud504\ub808\uc784 \uc6cc\ud06c\uac00 \uc9c0\uc6d0\ud558\ub294 \ub450 \uac1c\uc758 \ub3d9\uc2dc \uc2a4\ud2b8\ub9bc\uc744 \uc124\uc815\ud558\ub294 \ub370 \ud544\uc694\ud55c \uc9c0\uc2dd\uc744 \uc5bb\uc5c8\uc73c\ubbc0\ub85c \ud0c0\uac9f\uc758 \ucd9c\ub825 \ubc84\ud37c\uc758 \uad6c\uc131\uc744 \uc870\uae08 \ub354 \uc790\uc138\ud788 \ud30c\ud5e4\uce60 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, LEGACY \ud558\ub4dc\uc6e8\uc5b4 \ub808\ubca8\uc758 \uc7a5\uce58\ub97c \ub300\uc0c1\uc73c\ub85c\ud55c\ub2e4\uba74, \ub450 \uac1c\uc758 \ud0c0\uac9f \ucd9c\ub825 Surface\ub97c \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud558\ub098\ub294 ImageFormat.PRIVATE\ub97c \uc0ac\uc6a9\ud558\uace0 \ub2e4\ub978 \ud558\ub098\ub294 ImageFormat.YUV_420_888\uc744 \uc0ac\uc6a9\ud558\uba74 \ub418\ub294\uac83\uc774\uc9c0\uc694. \ubbf8\ub9ac\ubcf4\uae30 \ud06c\uae30\ub97c \uc0ac\uc6a9\ud558\ub294 \uacbd\uc6b0 \uc704 \ud45c\uc640 \uac19\uc774 \uc9c0\uc6d0\ub418\ub294 \uc870\ud569\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4. \uc544\ub798\uc5d0 \uc815\uc758\ub41c \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud558\uba74 \uce74\uba54\ub77c ID\uc5d0 \ud544\uc694\ud55c \ubbf8\ub9ac\ubcf4\uae30 \ud06c\uae30\ub97c \uc5bb\ub294 \uac83\uc774 \ub9e4\uc6b0 \uac04\ub2e8\ud569\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:java decode:true \">val characteristics: CameraCharacteristics = ...\r\nval context = this as Context  \/\/ assuming we are inside of an activity\r\n\r\nval surfaceViewSize = getPreviewOutputSize(\r\n        context, characteristics, SurfaceView::class.java)\r\nval imageReaderSize = getPreviewOutputSize(\r\n        context, characteristics, ImageReader::class.java, format = ImageFormat.YUV_420_888)\r\n<\/pre>\n<p>\ubc18\ub4dc\uc2dc \uc8fc\uc5b4\uc9c4 \ucf5c\ubc31\uc744 \uc774\uc6a9\ud558\uc5ec\uc11c SurfaceView\uac00 \uc900\ube44\uac00 \ub420\ub54c\uae4c\uc9c0 \uae30\ub2e4\ub824\uc57c\ud569\ub2c8\ub2e4.<\/p>\n<pre class=\"lang:java decode:true \">val surfaceView = findViewById&lt;SurfaceView&gt;(...)\r\nsurfaceView.holder.addCallback(object : SurfaceHolder.Callback {\r\n    override fun surfaceCreated(holder: SurfaceHolder) {\r\n        \/\/ We do not need to specify image format, and it will be considered of type PRIV\r\n        \/\/ Surface is now ready and we could use it as an output target for CameraSession\r\n    }\r\n    ...\r\n})<\/pre>\n<p><span>SurfaceHolder.setFixedSize()\ub97c \ud638\ucd9c\ud558\uc5ec SurfaceView\ub97c \uce74\uba54\ub77c \ucd9c\ub825 \ud06c\uae30\uc640 \uc77c\uce58 \uc2dc\ud0a4\ub3c4\ub85d \ud560 \uc218\ub3c4 \uc788\uc9c0\ub9cc, <a href=\"https:\/\/github.com\/googlesamples\/android-HdrViewfinder\">GitHub\uc758 HDR \ubdf0 \ud30c\uc778\ub354 \uc0d8\ud50c<\/a>\uc5d0\uc11c <a href=\"https:\/\/github.com\/googlesamples\/android-HdrViewfinder\/blob\/9cd7531ea34b4515b3f300a354149dded9d99332\/Application\/src\/main\/java\/com\/example\/android\/hdrviewfinder\/FixedAspectSurfaceView.java\">FixedAspectSurfaceView<\/a>\uc640 \ube44\uc2b7\ud55c \uc811\uadfc \ubc29\uc2dd\uc744 \ucde8\ud558\ub294 \uac83\uc774 UI\uc758 \uad00\uc810\uc5d0\uc11c \ub354 \uc88b\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc885\ud6a1\ube44\uc640 \uc0ac\uc6a9 \uac00\ub2a5\ud55c \uacf5\uac04\uc744 \uace0\ub824\ud558\uba74\uc11c \ud65c\ub3d9 \ubcc0\uacbd\uc774 \ud2b8\ub9ac\uac70\ub418\ub294\uc2dc\uae30\ub97c \uc790\ub3d9\uc73c\ub85c \uc870\uc815\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p>\uc6d0\ud558\ub294 \ud3ec\ub9f7\uc758 ImageReader\ub85c\ubd80\ud130 \ub2e4\ub978 Surface\ub97c \uc124\uc815\ud558\ub294\uac83\uc740 \uc2ec\uc9c0\uc5b4 \ub354 \uc27d\uc2b5\ub2c8\ub2e4. \ucf5c\ubc31\uc744 \uae30\ub2e4\ub9b4 \ud544\uc694\uac00 \uc5c6\uae30 \ub54c\ubb38\uc774\uc8e0.<\/p>\n<pre class=\"lang:java decode:true \">val frameBufferCount = 3  \/\/ just an example, depends on your usage of ImageReader\r\nval imageReader = ImageReader.newInstance(\r\n        imageReaderSize.width, imageReaderSize.height, ImageFormat.YUV_420_888\r\n        frameBufferCount)<\/pre>\n<p>ImageReader\uc640 \uac19\uc740 blocking \ud0c0\uac9f \ubc84\ud37c\ub97c \uc0ac\uc6a9\ud560 \ub54c\ub294 \ub4e4\uc5b4\uc624\ub294 \ud504\ub808\uc784\uc744 \ucc98\ub9ac\ud574\uc918\uc57c\ud569\ub2c8\ub2e4.<\/p>\n<pre class=\"lang:java decode:true\">imageReader.setOnImageAvailableListener({\r\n        val frame =  it.acquireNextImage()\r\n        \/\/ frame\ucc98\ub9ac\ub294 \uc774\uacf3\uc5d0\uc11c \ud569\ub2c8\ub2e4\r\n        it.close()\r\n}, null)<\/pre>\n<p><span>LEGACY \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc758 \uc7a5\uce58\ub294 \uac00\uc7a5 \ub0ae\uc740 \uacf5\ud1b5 \ubd84\ubaa8\ub97c \ubaa9\ud45c\ub85c\ud558\uace0 \uc788\uc74c\uc744 \uba85\uc2ec\ud574\uc57c\ud569\ub2c8\ub2e4. \uc870\uac74\ubd80 \ube0c\ub79c\uce6d\uc744 \ucd94\uac00\ud558\uace0 \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc774 LIMITED \uc778 \uc7a5\uce58\uc5d0\uc11c \ucd9c\ub825 \ub300\uc0c1 \ud45c\uba74 \uc911 \ud558\ub098\uc5d0 RECORD \ud06c\uae30\ub97c \uc0ac\uc6a9\ud558\uac70\ub098 \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc774 FULL \uc778 \uc7a5\uce58\uc758 \uacbd\uc6b0 MAXIMUM \ud06c\uae30\uae4c\uc9c0 \uc0ac\uc6a9 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub4dc\ub85c\uc774\ub4dc \uce74\uba54\ub77c \uc2a4\ud2b8\ub9bc \ub3d9\uc2dc\uc5d0 \uc5ec\ub7ec\uac1c \uc0ac\uc6a9\ud558\uae30 \uc774 \ud3ec\uc2a4\ud305\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \ub0b4\uc6a9\uc744 \ud3ec\ud568\ud569\ub2c8\ub2e4. \ud558\ub098\uc758 \uce74\uba54\ub77c\ub85c \uc5ec\ub7ec\uac1c\uc758 \uc2a4\ud2b8\ub9bc\uc744 \ub3d9\uc2dc\uc5d0 \uc0ac\uc6a9\ud558\ub294\uac83 \ud558\ub098\uc758 \ucea1\uccd0 \ub9ac\ud018\uc2a4\ud2b8\ub85c \ub2e4\ub978 \uc18d\uc131\uc744 \uac00\uc9c4 \ud0c0\uac9f\ub4e4\uc744 \uacb0\ud569\ud558\ub294\uac83 \ucd9c\ub825\ud0c0\uc785, \ucd9c\ub825\uc0ac\uc774\uc988, \ud558\ub4dc\uc6e8\uc5b4 \uc218\uc900\uc744 \uc120\ud0dd\ud558\uace0 \uc870\ud68c\ud558\ub294 \ubc29\ubc95 SurfaceView\uc640 ImageReader\uc758 Surface\ub97c \uc14b\ud305\ud558\uace0 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95 \uc5ec\ub7ec\uac1c\uc758 \uce74\uba54\ub77c \uc2a4\ud2b8\ub9bc\uc744 \uc0ac\uc6a9\ud558\ub294 \uc0ac\ub840 \uce74\uba54\ub77c\ub97c \uc0ac\uc6a9\ud558\ub294 \uc571\uc740 \ub450\uac1c\uc774\uc0c1\uc758 \uc2a4\ud2b8\ub9bc\uc744 \ub3d9\uc2dc\uc5d0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[24,5],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/posts\/1145"}],"collection":[{"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/charlezz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1145"}],"version-history":[{"count":5,"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/posts\/1145\/revisions"}],"predecessor-version":[{"id":1151,"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/posts\/1145\/revisions\/1151"}],"wp:attachment":[{"href":"https:\/\/charlezz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/charlezz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/charlezz.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}