GstCUDA - libGstCUDA API: Difference between revisions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
==API Documentation== | ==API Documentation== | ||
===Structures=== | |||
====fdf==== | |||
Code | |||
pipeline_create <i><name> <description></i> | |||
Creates a new pipeline named after <i>name</i> using the <i>description</i> gst-launch syntax. | |||
<b><i>Parameters</i></b> | |||
:: name: name of the pipeline to create. | |||
:: description: pipeline with gst-launch syntax. | |||
<b><i>Returns</i></b> | |||
:: a new code: 0 "success" , 2 "Bad pipeline description", 9 "Cannot update this resource", 10 "Bad command" | |||
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |||
===Functions=== | |||
====fddfdff==== | |||
Code | |||
pipeline_create <i><name> <description></i> | |||
Creates a new pipeline named after <i>name</i> using the <i>description</i> gst-launch syntax. | |||
<b><i>Parameters</i></b> | |||
:: name: name of the pipeline to create. | |||
:: description: pipeline with gst-launch syntax. | |||
<b><i>Returns</i></b> | |||
:: a new code: 0 "success" , 2 "Bad pipeline description", 9 "Cannot update this resource", 10 "Bad command" | |||
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |||
}} | }} |
Revision as of 23:33, 4 October 2017
← |
⌂ Home |
→ |
This page shows the libGstCUDA API documentation provided in the GstCUDA framework.
Description
LibGstCUDA API consists in a library that expose special structures and functions that abstracts the complexity of: handle NVMM memory type buffers, extracts the data buffer to be processed and pass it to the GPU, and recover back the processed data from the GPU to the GStreamer element. The methods implemented in the libGstCUDA API ensures an optimal performance, due to direct handling of NVMM memory type buffers and zero memory copy interface between GStreamer and CUDA.
API Documentation
Structures
fdf
Code pipeline_create <name> <description>
Creates a new pipeline named after name using the description gst-launch syntax.
Parameters
- name: name of the pipeline to create.
- description: pipeline with gst-launch syntax.
Returns
- a new code: 0 "success" , 2 "Bad pipeline description", 9 "Cannot update this resource", 10 "Bad command"
Functions
fddfdff
Code pipeline_create <name> <description>
Creates a new pipeline named after name using the description gst-launch syntax.
Parameters
- name: name of the pipeline to create.
- description: pipeline with gst-launch syntax.
Returns
- a new code: 0 "success" , 2 "Bad pipeline description", 9 "Cannot update this resource", 10 "Bad command"
← |
⌂ Home |
→ |