adeen-s

Untitled

Jan 10th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.75 KB | None | 0 0
  1. [root@Jolla /]# gst-inspect-1.0 droidcamsrc
  2. Factory Details:
  3. Rank primary (256)
  4. Long-name Camera source
  5. Klass Source/Video/Device
  6. Description Android HAL camera source
  7. Author Mohammed Sameer <msameer@foolab.org>
  8.  
  9. Plugin Details:
  10. Name droid
  11. Description Android HAL plugins
  12. Filename /usr/lib/gstreamer-1.0/libgstdroid.so
  13. Version 1.0.0
  14. License LGPL
  15. Source module gst-droid
  16. Binary package gst-droid
  17. Origin URL http://foolab.org/
  18.  
  19. GObject
  20. +----GInitiallyUnowned
  21. +----GstObject
  22. +----GstElement
  23. +----GstDroidCamSrc
  24.  
  25. Implemented Interfaces:
  26. GstPhotography
  27.  
  28. Pad Templates:
  29. SRC template: 'vfsrc'
  30. Availability: Always
  31. Capabilities:
  32. video/x-raw(memory:DroidMediaBuffer)
  33. format: { YV12 }
  34. width: [ 1, 2147483647 ]
  35. height: [ 1, 2147483647 ]
  36. framerate: [ 0/1, 2147483647/1 ]
  37. video/x-raw
  38. format: { NV21 }
  39. width: [ 1, 2147483647 ]
  40. height: [ 1, 2147483647 ]
  41. framerate: [ 0/1, 2147483647/1 ]
  42.  
  43. SRC template: 'imgsrc'
  44. Availability: Always
  45. Capabilities:
  46. image/jpeg
  47.  
  48. SRC template: 'vidsrc'
  49. Availability: Always
  50. Capabilities:
  51. video/x-raw(memory:DroidVideoMetaData)
  52. format: { YV12 }
  53. width: [ 1, 2147483647 ]
  54. height: [ 1, 2147483647 ]
  55. framerate: [ 0/1, 2147483647/1 ]
  56.  
  57.  
  58. Element Flags:
  59. no flags set
  60.  
  61. Element Implementation:
  62. Has change_state() function: gst_droidcamsrc_change_state
  63.  
  64. Element has no clocking capabilities.
  65. Element has no URI handling capabilities.
  66.  
  67. Pads:
  68. SRC: 'vfsrc'
  69. Implementation:
  70. Has custom eventfunc(): 0x404ece99
  71. Has custom queryfunc(): 0x404ecbc1
  72. Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
  73. Pad Template: 'vfsrc'
  74. SRC: 'imgsrc'
  75. Implementation:
  76. Has custom eventfunc(): 0x404ece99
  77. Has custom queryfunc(): 0x404ecbc1
  78. Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
  79. Pad Template: 'imgsrc'
  80. SRC: 'vidsrc'
  81. Implementation:
  82. Has custom eventfunc(): 0x404ece99
  83. Has custom queryfunc(): 0x404ecbc1
  84. Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
  85. Pad Template: 'vidsrc'
  86.  
  87. Element Properties:
  88. analog-gain : Analog gain applied to the sensor
  89. flags: readable, writable
  90. Float. Range: 1 - 3.402823e+38 Default: 0
  91. aperture : Aperture defines the size of lens opening (0 = auto)
  92. flags: readable, writable
  93. Unsigned Integer. Range: 0 - 255 Default: 0
  94. capabilities : Tells the photo capabilities of the device
  95. flags: readable
  96. Unsigned Long. Range: 0 - 4294967295 Default: 8447
  97. color-temperature : Color temperature in Kelvin units for manual white balance
  98. flags: readable, writable
  99. Unsigned Integer. Range: 0 - 4294967295 Default: 0
  100. color-tone-mode : Color tone setting changes color shading in the photo
  101. flags: readable, writable
  102. Enum "GstPhotographyColorToneMode" Default: 0, "normal"
  103. (0): normal - GST_PHOTOGRAPHY_COLOR_TONE_MODE_NORMAL
  104. (1): sepia - GST_PHOTOGRAPHY_COLOR_TONE_MODE_SEPIA
  105. (2): negative - GST_PHOTOGRAPHY_COLOR_TONE_MODE_NEGATIVE
  106. (3): grayscale - GST_PHOTOGRAPHY_COLOR_TONE_MODE_GRAYSCALE
  107. (4): natural - GST_PHOTOGRAPHY_COLOR_TONE_MODE_NATURAL
  108. (5): vivid - GST_PHOTOGRAPHY_COLOR_TONE_MODE_VIVID
  109. (6): colorswap - GST_PHOTOGRAPHY_COLOR_TONE_MODE_COLORSWAP
  110. (7): solarize - GST_PHOTOGRAPHY_COLOR_TONE_MODE_SOLARIZE
  111. (8): out-of-focus - GST_PHOTOGRAPHY_COLOR_TONE_MODE_OUT_OF_FOCUS
  112. (9): sky-blue - GST_PHOTOGRAPHY_COLOR_TONE_MODE_SKY_BLUE
  113. (10): grass-green - GST_PHOTOGRAPHY_COLOR_TONE_MODE_GRASS_GREEN
  114. (11): skin-whiten - GST_PHOTOGRAPHY_COLOR_TONE_MODE_SKIN_WHITEN
  115. (12): posterize - GST_PHOTOGRAPHY_COLOR_TONE_MODE_POSTERIZE
  116. (13): whiteboard - GST_PHOTOGRAPHY_COLOR_TONE_MODE_WHITEBOARD
  117. (14): blackboard - GST_PHOTOGRAPHY_COLOR_TONE_MODE_BLACKBOARD
  118. (15): aqua - GST_PHOTOGRAPHY_COLOR_TONE_MODE_AQUA
  119. ev-compensation : EV compensation affects the brightness of the image
  120. flags: readable, writable
  121. Float. Range: -2.5 - 2.5 Default: 0
  122. exposure-mode : Exposure mode to either automatic or manual
  123. flags: readable, writable
  124. Enum "GstPhotographyExposureMode" Default: 0, "auto"
  125. (0): auto - GST_PHOTOGRAPHY_EXPOSURE_MODE_AUTO
  126. (1): manual - GST_PHOTOGRAPHY_EXPOSURE_MODE_MANUAL
  127. exposure-time : Exposure time defines how long the shutter will stay open (0 = auto)
  128. flags: readable, writable
  129. Unsigned Integer. Range: 0 - 4294967295 Default: 0
  130. flash-mode : Flash mode defines how the flash light should be used
  131. flags: readable, writable
  132. Enum "GstPhotographyFlashMode" Default: 0, "auto"
  133. (0): auto - GST_PHOTOGRAPHY_FLASH_MODE_AUTO
  134. (1): off - GST_PHOTOGRAPHY_FLASH_MODE_OFF
  135. (2): on - GST_PHOTOGRAPHY_FLASH_MODE_ON
  136. (3): fill-in - GST_PHOTOGRAPHY_FLASH_MODE_FILL_IN
  137. (4): red-eye - GST_PHOTOGRAPHY_FLASH_MODE_RED_EYE
  138. flicker-mode : Flicker reduction mode defines a line frequency for flickering prevention
  139. flags: readable, writable
  140. Enum "GstPhotographyFlickerReductionMode" Default: 3, "auto"
  141. (0): off - GST_PHOTOGRAPHY_FLICKER_REDUCTION_OFF
  142. (1): 50hz - GST_PHOTOGRAPHY_FLICKER_REDUCTION_50HZ
  143. (2): 60hz - GST_PHOTOGRAPHY_FLICKER_REDUCTION_60HZ
  144. (3): auto - GST_PHOTOGRAPHY_FLICKER_REDUCTION_AUTO
  145. focus-mode : Focus mode defines the range of focal lengths to use in autofocus search
  146. flags: readable, writable
  147. Enum "GstPhotographyFocusMode" Default: 6, "continuous-normal"
  148. (0): auto - GST_PHOTOGRAPHY_FOCUS_MODE_AUTO
  149. (1): macro - GST_PHOTOGRAPHY_FOCUS_MODE_MACRO
  150. (2): portrait - GST_PHOTOGRAPHY_FOCUS_MODE_PORTRAIT
  151. (3): infinity - GST_PHOTOGRAPHY_FOCUS_MODE_INFINITY
  152. (4): hyperfocal - GST_PHOTOGRAPHY_FOCUS_MODE_HYPERFOCAL
  153. (5): extended - GST_PHOTOGRAPHY_FOCUS_MODE_EXTENDED
  154. (6): continuous-normal - GST_PHOTOGRAPHY_FOCUS_MODE_CONTINUOUS_NORMAL
  155. (7): continuous-extended - GST_PHOTOGRAPHY_FOCUS_MODE_CONTINUOUS_EXTENDED
  156. (8): manual - GST_PHOTOGRAPHY_FOCUS_MODE_MANUAL
  157. image-capture-supported-caps: Caps describing supported image capture formats
  158. flags: readable
  159. image/jpeg
  160.  
  161. image-preview-supported-caps: Caps describing supported image preview formats
  162. flags: readable
  163. Caps (NULL)
  164. iso-speed : ISO speed defines the light sensitivity (0 = auto)
  165. flags: readable, writable
  166. Unsigned Integer. Range: 0 - 6400 Default: 0
  167. lens-focus : Focus point in diopter units
  168. flags: readable, writable
  169. Float. Range: 0 - 3.402823e+38 Default: 0
  170. max-exposure-time : Maximum exposure time for automatic exposure mode
  171. flags: readable, writable
  172. Unsigned Integer. Range: 0 - 4294967295 Default: 0
  173. min-exposure-time : Minimum exposure time for automatic exposure mode
  174. flags: readable, writable
  175. Unsigned Integer. Range: 0 - 4294967295 Default: 0
  176. noise-reduction : Which noise reduction modes are enabled (0 = disabled)
  177. flags: readable, writable
  178. Flags "GstPhotographyNoiseReduction" Default: 0x00000000, "(none)"
  179. (0x00000001): bayer - GST_PHOTOGRAPHY_NOISE_REDUCTION_BAYER
  180. (0x00000002): ycc - GST_PHOTOGRAPHY_NOISE_REDUCTION_YCC
  181. (0x00000004): temporal - GST_PHOTOGRAPHY_NOISE_REDUCTION_TEMPORAL
  182. (0x00000008): fixed - GST_PHOTOGRAPHY_NOISE_REDUCTION_FIXED
  183. (0x00000010): extra - GST_PHOTOGRAPHY_NOISE_REDUCTION_EXTRA
  184. scene-mode : Scene mode works as a preset for different photo shooting mode settings
  185. flags: readable, writable
  186. Enum "GstPhotographySceneMode" Default: 6, "auto"
  187. (0): manual - GST_PHOTOGRAPHY_SCENE_MODE_MANUAL
  188. (1): closeup - GST_PHOTOGRAPHY_SCENE_MODE_CLOSEUP
  189. (2): portrait - GST_PHOTOGRAPHY_SCENE_MODE_PORTRAIT
  190. (3): landscape - GST_PHOTOGRAPHY_SCENE_MODE_LANDSCAPE
  191. (4): sport - GST_PHOTOGRAPHY_SCENE_MODE_SPORT
  192. (5): night - GST_PHOTOGRAPHY_SCENE_MODE_NIGHT
  193. (6): auto - GST_PHOTOGRAPHY_SCENE_MODE_AUTO
  194. (7): action - GST_PHOTOGRAPHY_SCENE_MODE_ACTION
  195. (8): night-portrait - GST_PHOTOGRAPHY_SCENE_MODE_NIGHT_PORTRAIT
  196. (9): theatre - GST_PHOTOGRAPHY_SCENE_MODE_THEATRE
  197. (10): beach - GST_PHOTOGRAPHY_SCENE_MODE_BEACH
  198. (11): snow - GST_PHOTOGRAPHY_SCENE_MODE_SNOW
  199. (12): sunset - GST_PHOTOGRAPHY_SCENE_MODE_SUNSET
  200. (13): steady-photo - GST_PHOTOGRAPHY_SCENE_MODE_STEADY_PHOTO
  201. (14): fireworks - GST_PHOTOGRAPHY_SCENE_MODE_FIREWORKS
  202. (15): party - GST_PHOTOGRAPHY_SCENE_MODE_PARTY
  203. (16): candlelight - GST_PHOTOGRAPHY_SCENE_MODE_CANDLELIGHT
  204. (17): barcode - GST_PHOTOGRAPHY_SCENE_MODE_BARCODE
  205. white-balance-mode : White balance affects the color temperature of the photo
  206. flags: readable, writable
  207. Enum "GstPhotographyWhiteBalanceMode" Default: 0, "auto"
  208. (0): auto - GST_PHOTOGRAPHY_WB_MODE_AUTO
  209. (1): daylight - GST_PHOTOGRAPHY_WB_MODE_DAYLIGHT
  210. (2): cloudy - GST_PHOTOGRAPHY_WB_MODE_CLOUDY
  211. (3): sunset - GST_PHOTOGRAPHY_WB_MODE_SUNSET
  212. (4): tungsten - GST_PHOTOGRAPHY_WB_MODE_TUNGSTEN
  213. (5): fluorescent - GST_PHOTOGRAPHY_WB_MODE_FLUORESCENT
  214. (6): manual - GST_PHOTOGRAPHY_WB_MODE_MANUAL
  215. (7): warm-fluorescent - GST_PHOTOGRAPHY_WB_MODE_WARM_FLUORESCENT
  216. (8): shade - GST_PHOTOGRAPHY_WB_MODE_SHADE
  217. white-point : Describe color white as raw values
  218. flags: readable, writable
  219. Array of GValues of type "guint"
  220. zoom : How much the resulted image will be zoomed
  221. flags: readable, writable
  222. Float. Range: 1 - 10 Default: 1
  223. name : The name of the object
  224. flags: readable, writable
  225. String. Default: "droidcamsrc0"
  226. parent : The parent of the object
  227. flags: readable, writable
  228. Object of type "GstObject"
  229. device-parameters : The GHash table of the GstDroidCamSrcParams struct currently used
  230. flags: readable
  231. Pointer.
  232. camera-device : Defines which camera device should be used
  233. flags: readable, writable
  234. Enum "GstDroidCamSrcCameraDevice" Default: 0, "primary"
  235. (0): primary - Primary camera
  236. (1): secondary - Secondary camera
  237. mode : Capture mode (image or video)
  238. flags: readable, writable
  239. Enum "GstCameraBin2Mode" Default: 1, "mode-image"
  240. (1): mode-image - Still image capture (default)
  241. (2): mode-video - Video recording
  242. ready-for-capture : Element is ready for another capture
  243. flags: readable
  244. Boolean. Default: true
  245. max-zoom : Android zoom factor
  246. flags: readable
  247. Float. Range: 1 - 3.402823e+38 Default: 10
  248. video-torch : Sets torch light on or off for video recording
  249. flags: readable, writable
  250. Boolean. Default: false
  251. min-ev-compensation : Minimum exposure compensation
  252. flags: readable
  253. Float. Range: -2.5 - 3.402823e+38 Default: -2.5
  254. max-ev-compensation : Maximum exposure compensation
  255. flags: readable
  256. Float. Range: 2.5 - 3.402823e+38 Default: 2.5
  257. face-detection : Face detection
  258. flags: readable, writable
  259. Boolean. Default: false
  260. image-noise-reduction: Vendor specific image noise reduction
  261. flags: readable, writable
  262. Boolean. Default: true
  263. sensor-orientation : Sensor orientation as reported by HAL
  264. flags: readable
  265. Integer. Range: 0 - 270 Default: 0
  266. sensor-mount-angle : Sensor orientation as reported by HAL (deprecated, use sensor-orientation)
  267. flags: readable, 0x80000000
  268. Integer. Range: 0 - 270 Default: 0
  269.  
  270. Element Actions:
  271. "start-capture" : void user_function (GstElement* object);
  272. "stop-capture" : void user_function (GstElement* object);
Add Comment
Please, Sign In to add comment