Advertisement
Guest User

Untitled

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