ticolorconvert - TexasInstruments/edgeai-gst-plugins GitHub Wiki
TI Color Convert
ticolorconvert
is used to convert video frames between different video formats. It uses GstVideoFilter class and ARM NEON optimized kernel to convert the color format.
Hierarchy
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseTransform
+----GstVideoFilter
+----GstTIColorConvert
Pad templates
sink
video/x-raw
format: { (string)RGB, (string)NV12, (string)NV21, (string)I420, (string)UYVY, (string)YUY2 }
width: [ 1, 8192 ]
height: [ 1, 8192 ]
Availability – always
Direction – sink
Object type – GstPad
src
video/x-raw
format: { (string)RGB, (string)NV12, (string)I420 }
width: [ 1, 8192 ]
height: [ 1, 8192 ]
Availability – always
Direction – src
Object type – GstPad
Properties
name
The name of the object
String Default value : "ticolorconvert0"
parent
The parent of the object
Flags : Read / Write
GstObject Default value : N/A
qos
Handle Quality-of-Service events Flags : Read / Write
Boolean Default value : false
Available conversions
RGB → [NV12]
I420 → [NV12]
NV12 → [I420,RGB]
NV21 → [I420,RGB]
UYVY → [NV12]
YUY2 → [NV12]
Pipeline examples
Single colorconvert
gst-launch-1.0 videotestsrc ! video/x-raw,format=RGB ! ticolorconvert ! video/x-raw,format=NV12 ! fakesink