最終更新:2018-02-19 (月) 14:22:28 (124d)  

Camera.Parameters はてなブックマークを見る
Top / Camera.Parameters

https://developer.android.com/reference/android/hardware/Camera.Parameters.html

実装

  • http://tools.oesf.biz/android-4.4.2_r1.0/xref/frameworks/base/core/java/android/hardware/Camera.java#1823
    キーgetsetプリセットget
    preview-size?1920x1080getPreviewSize?setPreviewSize?preview-size-values?いっぱいgetSupportedPreviewSizes?
    preview-format?yuv420spgetPreviewFormatsetPreviewFormatpreview-format-valuesyuv420p?,yuv420spgetSupportedPreviewFormats
    preview-frame-rate?30getPreviewFrameRatesetPreviewFrameRate?preview-frame-rate-values?15,24,30getSupportedPreviewFrameRates
    preview-fps-range?7000,30000getPreviewFpsRangesetPreviewFpsRange?preview-fps-range-values?(15000,15000),(24000,24000),(7000,30000),(30000,30000)getSupportedPreviewFpsRange
    picture-size?2592x1944getPictureSize?setPictureSize?picture-size-values?いっぱいgetSupportedPictureSizes?
    picture-format?jpeggetPictureFormat?setPictureFormat?picture-format-values?jpeggetSupportedPictureFormats?
    jpeg-thumbnail-size?getJpegThumbnailSize?setJpegThumbnailSize?jpeg-thumbnail-size-values?0x0,176x144,320x240,432x288,480x288,512x288,512x384getSupportedJpegThumbnailSizes?
    jpeg-thumbnail-width?512
    jpeg-thumbnail-height?384
    jpeg-thumbnail-quality?90getJpegThumbnailQuality?setJpegThumbnailQuality?
    jpeg-quality?90getJpegQuality?setJpegQuality?
    rotation?0getRotation?setRotation?
    gps-latitude?-setGpsLatitude?
    gps-longitude?-setGpsLongitude?
    gps-altitude?-setGpsAltitude?
    gps-timestamp?-setGpsTimestamp?
    gps-processing-method?-setGpsProcessingMethod?
    whitebalance?autogetWhiteBalance?setWhiteBalance?whitebalance-values?auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight,twilight,shadegetSupportedWhiteBalance?
    effect?nonegetColorEffect?setColorEffect?effect-values?none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aquagetSupportedColorEffects?
    antibanding?autogetAntibanding?setAntibanding?antibanding-values?off,60hz,50hz,autogetSupportedAntibanding?
    scene-mode?autogetSceneMode?setSceneMode?scene-mode-values?auto,landscape,snow,beach,sunset,night,portrait,sports,steadyphoto,candlelight,fireworks,party,night-portrait,theatre,actiongetSupportedSceneModes?
    flash-mode?offgetFlashMode?setFlashMode?flash-mode-values?off,auto,on,torchgetSupportedFlashModes?
    focus-mode?fixedgetFocusMode?setFocusMode?focus-mode-values?fixedgetSupportedFocusModes?
    focus-areas?(0,0,0,0,0)getFocusAreas?setFocusAreas?
    max-num-focus-areas?0
    focal-length?2.56getFocalLength?
    horizontal-view-angle?70.6542getHorizontalViewAngle?
    vertical-view-angle?55.9869getVerticalViewAngle?
    exposure-compensation?0getExposureCompensation?setExposureCompensation
    max-exposure-compensation?12getMaxExposureCompensation?-
    min-exposure-compensation?-12getMinExposureCompensation?-
    exposure-compensation-step?0.166667getExposureCompensationStep?-
    auto-exposure-lock?falsegetAutoExposureLock?setAutoExposureLock?
    auto-exposure-lock-supported?true
    auto-whitebalance-lock?false
    auto-whitebalance-lock-supported?true
    max-num-metering-areas?1
    metering-areas?(0,0,0,0,0)
    zoom?0
    max-zoom?99
    zoom-ratios?100~399
    zoom-supported?true
    smooth-zoom-supported?false
    focus-distances?Infinity,Infinity,Infinity
    video-size?1920x1080video-size-values?いっぱいgetSupportedVideoSizes?
    preferred-preview-size-for-video?1920x1080getPreferredPreviewSizeForVideo?
    max-num-detected-faces-hw?5
    max-num-detected-faces-sw?0
    recording-hint?false
    video-snapshot-supported?true
    video-stabilization?false
    video-stabilization-supported?false
    video-frame-format?android-opaque?