Lines Matching refs:cdata
897 gst_nv_h264_dec_subclass_init (gpointer klass, GstNvH264DecClassData * cdata) in gst_nv_h264_dec_subclass_init() argument
903 if (cdata->is_default) { in gst_nv_h264_dec_subclass_init()
907 cdata->cuda_device_id); in gst_nv_h264_dec_subclass_init()
917 cdata->sink_caps)); in gst_nv_h264_dec_subclass_init()
920 cdata->src_caps)); in gst_nv_h264_dec_subclass_init()
922 nvdec_class->cuda_device_id = cdata->cuda_device_id; in gst_nv_h264_dec_subclass_init()
924 gst_caps_unref (cdata->sink_caps); in gst_nv_h264_dec_subclass_init()
925 gst_caps_unref (cdata->src_caps); in gst_nv_h264_dec_subclass_init()
926 g_free (cdata); in gst_nv_h264_dec_subclass_init()
938 GstNvH264DecClassData *cdata; in gst_nv_h264_dec_register() local
949 cdata = g_new0 (GstNvH264DecClassData, 1); in gst_nv_h264_dec_register()
950 cdata->sink_caps = gst_caps_from_string ("video/x-h264, " in gst_nv_h264_dec_register()
958 gst_caps_set_value (cdata->sink_caps, "width", value); in gst_nv_h264_dec_register()
961 gst_caps_set_value (cdata->sink_caps, "height", value); in gst_nv_h264_dec_register()
963 GST_MINI_OBJECT_FLAG_SET (cdata->sink_caps, in gst_nv_h264_dec_register()
965 cdata->src_caps = gst_caps_ref (src_caps); in gst_nv_h264_dec_register()
966 cdata->cuda_device_id = device_id; in gst_nv_h264_dec_register()
973 type_info.class_data = cdata; in gst_nv_h264_dec_register()
998 cdata->is_default = is_default; in gst_nv_h264_dec_register()