Lines Matching refs:cdata
106 GstMFAacEncClassData *cdata = (GstMFAacEncClassData *) data; in gst_mf_aac_enc_class_init() local
120 for (auto iter: cdata->bitrate_list) { in gst_mf_aac_enc_class_init()
134 long_name = g_strdup_printf ("Media Foundation %s", cdata->device_name); in gst_mf_aac_enc_class_init()
136 (cdata->enum_flags & MFT_ENUM_FLAG_HARDWARE) == MFT_ENUM_FLAG_HARDWARE ? in gst_mf_aac_enc_class_init()
147 cdata->sink_caps)); in gst_mf_aac_enc_class_init()
150 cdata->src_caps)); in gst_mf_aac_enc_class_init()
159 mfenc_class->enum_flags = cdata->enum_flags; in gst_mf_aac_enc_class_init()
160 mfenc_class->device_index = cdata->device_index; in gst_mf_aac_enc_class_init()
163 g_free (cdata->device_name); in gst_mf_aac_enc_class_init()
164 gst_caps_unref (cdata->sink_caps); in gst_mf_aac_enc_class_init()
165 gst_caps_unref (cdata->src_caps); in gst_mf_aac_enc_class_init()
166 delete cdata; in gst_mf_aac_enc_class_init()
512 GstMFAacEncClassData *cdata; in gst_mf_aac_enc_register() local
526 cdata = new GstMFAacEncClassData; in gst_mf_aac_enc_register()
527 cdata->sink_caps = sink_caps; in gst_mf_aac_enc_register()
528 cdata->src_caps = src_caps; in gst_mf_aac_enc_register()
529 cdata->device_name = g_strdup (device_name); in gst_mf_aac_enc_register()
530 cdata->enum_flags = enum_flags; in gst_mf_aac_enc_register()
531 cdata->device_index = device_index; in gst_mf_aac_enc_register()
532 cdata->bitrate_list = bitrate_list; in gst_mf_aac_enc_register()
533 type_info.class_data = cdata; in gst_mf_aac_enc_register()