Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@Jolla /]# gst-inspect-1.0 droidcamsrc
- Factory Details:
- Rank primary (256)
- Long-name Camera source
- Klass Source/Video/Device
- Description Android HAL camera source
- Author Mohammed Sameer <msameer@foolab.org>
- Plugin Details:
- Name droid
- Description Android HAL plugins
- Filename /usr/lib/gstreamer-1.0/libgstdroid.so
- Version 1.0.0
- License LGPL
- Source module gst-droid
- Binary package gst-droid
- Origin URL http://foolab.org/
- GObject
- +----GInitiallyUnowned
- +----GstObject
- +----GstElement
- +----GstDroidCamSrc
- Implemented Interfaces:
- GstPhotography
- Pad Templates:
- SRC template: 'vfsrc'
- Availability: Always
- Capabilities:
- video/x-raw(memory:DroidMediaBuffer)
- format: { YV12 }
- width: [ 1, 2147483647 ]
- height: [ 1, 2147483647 ]
- framerate: [ 0/1, 2147483647/1 ]
- video/x-raw
- format: { NV21 }
- width: [ 1, 2147483647 ]
- height: [ 1, 2147483647 ]
- framerate: [ 0/1, 2147483647/1 ]
- SRC template: 'imgsrc'
- Availability: Always
- Capabilities:
- image/jpeg
- SRC template: 'vidsrc'
- Availability: Always
- Capabilities:
- video/x-raw(memory:DroidVideoMetaData)
- format: { YV12 }
- width: [ 1, 2147483647 ]
- height: [ 1, 2147483647 ]
- framerate: [ 0/1, 2147483647/1 ]
- Element Flags:
- no flags set
- Element Implementation:
- Has change_state() function: gst_droidcamsrc_change_state
- Element has no clocking capabilities.
- Element has no URI handling capabilities.
- Pads:
- SRC: 'vfsrc'
- Implementation:
- Has custom eventfunc(): 0x404ece99
- Has custom queryfunc(): 0x404ecbc1
- Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
- Pad Template: 'vfsrc'
- SRC: 'imgsrc'
- Implementation:
- Has custom eventfunc(): 0x404ece99
- Has custom queryfunc(): 0x404ecbc1
- Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
- Pad Template: 'imgsrc'
- SRC: 'vidsrc'
- Implementation:
- Has custom eventfunc(): 0x404ece99
- Has custom queryfunc(): 0x404ecbc1
- Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
- Pad Template: 'vidsrc'
- Element Properties:
- analog-gain : Analog gain applied to the sensor
- flags: readable, writable
- Float. Range: 1 - 3.402823e+38 Default: 0
- aperture : Aperture defines the size of lens opening (0 = auto)
- flags: readable, writable
- Unsigned Integer. Range: 0 - 255 Default: 0
- capabilities : Tells the photo capabilities of the device
- flags: readable
- Unsigned Long. Range: 0 - 4294967295 Default: 8447
- color-temperature : Color temperature in Kelvin units for manual white balance
- flags: readable, writable
- Unsigned Integer. Range: 0 - 4294967295 Default: 0
- color-tone-mode : Color tone setting changes color shading in the photo
- flags: readable, writable
- Enum "GstPhotographyColorToneMode" Default: 0, "normal"
- (0): normal - GST_PHOTOGRAPHY_COLOR_TONE_MODE_NORMAL
- (1): sepia - GST_PHOTOGRAPHY_COLOR_TONE_MODE_SEPIA
- (2): negative - GST_PHOTOGRAPHY_COLOR_TONE_MODE_NEGATIVE
- (3): grayscale - GST_PHOTOGRAPHY_COLOR_TONE_MODE_GRAYSCALE
- (4): natural - GST_PHOTOGRAPHY_COLOR_TONE_MODE_NATURAL
- (5): vivid - GST_PHOTOGRAPHY_COLOR_TONE_MODE_VIVID
- (6): colorswap - GST_PHOTOGRAPHY_COLOR_TONE_MODE_COLORSWAP
- (7): solarize - GST_PHOTOGRAPHY_COLOR_TONE_MODE_SOLARIZE
- (8): out-of-focus - GST_PHOTOGRAPHY_COLOR_TONE_MODE_OUT_OF_FOCUS
- (9): sky-blue - GST_PHOTOGRAPHY_COLOR_TONE_MODE_SKY_BLUE
- (10): grass-green - GST_PHOTOGRAPHY_COLOR_TONE_MODE_GRASS_GREEN
- (11): skin-whiten - GST_PHOTOGRAPHY_COLOR_TONE_MODE_SKIN_WHITEN
- (12): posterize - GST_PHOTOGRAPHY_COLOR_TONE_MODE_POSTERIZE
- (13): whiteboard - GST_PHOTOGRAPHY_COLOR_TONE_MODE_WHITEBOARD
- (14): blackboard - GST_PHOTOGRAPHY_COLOR_TONE_MODE_BLACKBOARD
- (15): aqua - GST_PHOTOGRAPHY_COLOR_TONE_MODE_AQUA
- ev-compensation : EV compensation affects the brightness of the image
- flags: readable, writable
- Float. Range: -2.5 - 2.5 Default: 0
- exposure-mode : Exposure mode to either automatic or manual
- flags: readable, writable
- Enum "GstPhotographyExposureMode" Default: 0, "auto"
- (0): auto - GST_PHOTOGRAPHY_EXPOSURE_MODE_AUTO
- (1): manual - GST_PHOTOGRAPHY_EXPOSURE_MODE_MANUAL
- exposure-time : Exposure time defines how long the shutter will stay open (0 = auto)
- flags: readable, writable
- Unsigned Integer. Range: 0 - 4294967295 Default: 0
- flash-mode : Flash mode defines how the flash light should be used
- flags: readable, writable
- Enum "GstPhotographyFlashMode" Default: 0, "auto"
- (0): auto - GST_PHOTOGRAPHY_FLASH_MODE_AUTO
- (1): off - GST_PHOTOGRAPHY_FLASH_MODE_OFF
- (2): on - GST_PHOTOGRAPHY_FLASH_MODE_ON
- (3): fill-in - GST_PHOTOGRAPHY_FLASH_MODE_FILL_IN
- (4): red-eye - GST_PHOTOGRAPHY_FLASH_MODE_RED_EYE
- flicker-mode : Flicker reduction mode defines a line frequency for flickering prevention
- flags: readable, writable
- Enum "GstPhotographyFlickerReductionMode" Default: 3, "auto"
- (0): off - GST_PHOTOGRAPHY_FLICKER_REDUCTION_OFF
- (1): 50hz - GST_PHOTOGRAPHY_FLICKER_REDUCTION_50HZ
- (2): 60hz - GST_PHOTOGRAPHY_FLICKER_REDUCTION_60HZ
- (3): auto - GST_PHOTOGRAPHY_FLICKER_REDUCTION_AUTO
- focus-mode : Focus mode defines the range of focal lengths to use in autofocus search
- flags: readable, writable
- Enum "GstPhotographyFocusMode" Default: 6, "continuous-normal"
- (0): auto - GST_PHOTOGRAPHY_FOCUS_MODE_AUTO
- (1): macro - GST_PHOTOGRAPHY_FOCUS_MODE_MACRO
- (2): portrait - GST_PHOTOGRAPHY_FOCUS_MODE_PORTRAIT
- (3): infinity - GST_PHOTOGRAPHY_FOCUS_MODE_INFINITY
- (4): hyperfocal - GST_PHOTOGRAPHY_FOCUS_MODE_HYPERFOCAL
- (5): extended - GST_PHOTOGRAPHY_FOCUS_MODE_EXTENDED
- (6): continuous-normal - GST_PHOTOGRAPHY_FOCUS_MODE_CONTINUOUS_NORMAL
- (7): continuous-extended - GST_PHOTOGRAPHY_FOCUS_MODE_CONTINUOUS_EXTENDED
- (8): manual - GST_PHOTOGRAPHY_FOCUS_MODE_MANUAL
- image-capture-supported-caps: Caps describing supported image capture formats
- flags: readable
- image/jpeg
- image-preview-supported-caps: Caps describing supported image preview formats
- flags: readable
- Caps (NULL)
- iso-speed : ISO speed defines the light sensitivity (0 = auto)
- flags: readable, writable
- Unsigned Integer. Range: 0 - 6400 Default: 0
- lens-focus : Focus point in diopter units
- flags: readable, writable
- Float. Range: 0 - 3.402823e+38 Default: 0
- max-exposure-time : Maximum exposure time for automatic exposure mode
- flags: readable, writable
- Unsigned Integer. Range: 0 - 4294967295 Default: 0
- min-exposure-time : Minimum exposure time for automatic exposure mode
- flags: readable, writable
- Unsigned Integer. Range: 0 - 4294967295 Default: 0
- noise-reduction : Which noise reduction modes are enabled (0 = disabled)
- flags: readable, writable
- Flags "GstPhotographyNoiseReduction" Default: 0x00000000, "(none)"
- (0x00000001): bayer - GST_PHOTOGRAPHY_NOISE_REDUCTION_BAYER
- (0x00000002): ycc - GST_PHOTOGRAPHY_NOISE_REDUCTION_YCC
- (0x00000004): temporal - GST_PHOTOGRAPHY_NOISE_REDUCTION_TEMPORAL
- (0x00000008): fixed - GST_PHOTOGRAPHY_NOISE_REDUCTION_FIXED
- (0x00000010): extra - GST_PHOTOGRAPHY_NOISE_REDUCTION_EXTRA
- scene-mode : Scene mode works as a preset for different photo shooting mode settings
- flags: readable, writable
- Enum "GstPhotographySceneMode" Default: 6, "auto"
- (0): manual - GST_PHOTOGRAPHY_SCENE_MODE_MANUAL
- (1): closeup - GST_PHOTOGRAPHY_SCENE_MODE_CLOSEUP
- (2): portrait - GST_PHOTOGRAPHY_SCENE_MODE_PORTRAIT
- (3): landscape - GST_PHOTOGRAPHY_SCENE_MODE_LANDSCAPE
- (4): sport - GST_PHOTOGRAPHY_SCENE_MODE_SPORT
- (5): night - GST_PHOTOGRAPHY_SCENE_MODE_NIGHT
- (6): auto - GST_PHOTOGRAPHY_SCENE_MODE_AUTO
- (7): action - GST_PHOTOGRAPHY_SCENE_MODE_ACTION
- (8): night-portrait - GST_PHOTOGRAPHY_SCENE_MODE_NIGHT_PORTRAIT
- (9): theatre - GST_PHOTOGRAPHY_SCENE_MODE_THEATRE
- (10): beach - GST_PHOTOGRAPHY_SCENE_MODE_BEACH
- (11): snow - GST_PHOTOGRAPHY_SCENE_MODE_SNOW
- (12): sunset - GST_PHOTOGRAPHY_SCENE_MODE_SUNSET
- (13): steady-photo - GST_PHOTOGRAPHY_SCENE_MODE_STEADY_PHOTO
- (14): fireworks - GST_PHOTOGRAPHY_SCENE_MODE_FIREWORKS
- (15): party - GST_PHOTOGRAPHY_SCENE_MODE_PARTY
- (16): candlelight - GST_PHOTOGRAPHY_SCENE_MODE_CANDLELIGHT
- (17): barcode - GST_PHOTOGRAPHY_SCENE_MODE_BARCODE
- white-balance-mode : White balance affects the color temperature of the photo
- flags: readable, writable
- Enum "GstPhotographyWhiteBalanceMode" Default: 0, "auto"
- (0): auto - GST_PHOTOGRAPHY_WB_MODE_AUTO
- (1): daylight - GST_PHOTOGRAPHY_WB_MODE_DAYLIGHT
- (2): cloudy - GST_PHOTOGRAPHY_WB_MODE_CLOUDY
- (3): sunset - GST_PHOTOGRAPHY_WB_MODE_SUNSET
- (4): tungsten - GST_PHOTOGRAPHY_WB_MODE_TUNGSTEN
- (5): fluorescent - GST_PHOTOGRAPHY_WB_MODE_FLUORESCENT
- (6): manual - GST_PHOTOGRAPHY_WB_MODE_MANUAL
- (7): warm-fluorescent - GST_PHOTOGRAPHY_WB_MODE_WARM_FLUORESCENT
- (8): shade - GST_PHOTOGRAPHY_WB_MODE_SHADE
- white-point : Describe color white as raw values
- flags: readable, writable
- Array of GValues of type "guint"
- zoom : How much the resulted image will be zoomed
- flags: readable, writable
- Float. Range: 1 - 10 Default: 1
- name : The name of the object
- flags: readable, writable
- String. Default: "droidcamsrc0"
- parent : The parent of the object
- flags: readable, writable
- Object of type "GstObject"
- device-parameters : The GHash table of the GstDroidCamSrcParams struct currently used
- flags: readable
- Pointer.
- camera-device : Defines which camera device should be used
- flags: readable, writable
- Enum "GstDroidCamSrcCameraDevice" Default: 0, "primary"
- (0): primary - Primary camera
- (1): secondary - Secondary camera
- mode : Capture mode (image or video)
- flags: readable, writable
- Enum "GstCameraBin2Mode" Default: 1, "mode-image"
- (1): mode-image - Still image capture (default)
- (2): mode-video - Video recording
- ready-for-capture : Element is ready for another capture
- flags: readable
- Boolean. Default: true
- max-zoom : Android zoom factor
- flags: readable
- Float. Range: 1 - 3.402823e+38 Default: 10
- video-torch : Sets torch light on or off for video recording
- flags: readable, writable
- Boolean. Default: false
- min-ev-compensation : Minimum exposure compensation
- flags: readable
- Float. Range: -2.5 - 3.402823e+38 Default: -2.5
- max-ev-compensation : Maximum exposure compensation
- flags: readable
- Float. Range: 2.5 - 3.402823e+38 Default: 2.5
- face-detection : Face detection
- flags: readable, writable
- Boolean. Default: false
- image-noise-reduction: Vendor specific image noise reduction
- flags: readable, writable
- Boolean. Default: true
- sensor-orientation : Sensor orientation as reported by HAL
- flags: readable
- Integer. Range: 0 - 270 Default: 0
- sensor-mount-angle : Sensor orientation as reported by HAL (deprecated, use sensor-orientation)
- flags: readable, 0x80000000
- Integer. Range: 0 - 270 Default: 0
- Element Actions:
- "start-capture" : void user_function (GstElement* object);
- "stop-capture" : void user_function (GstElement* object);
Add Comment
Please, Sign In to add comment