• Home
  • Raw
  • Download

Lines Matching refs:mulawenc

76 static void gst_mulawenc_set_tags (GstMuLawEnc * mulawenc);
81 GST_ELEMENT_REGISTER_DEFINE (mulawenc, "mulawenc", GST_RANK_PRIMARY,
89 GstMuLawEnc *mulawenc = GST_MULAWENC (audioenc); in gst_mulawenc_start() local
91 mulawenc->channels = 0; in gst_mulawenc_start()
92 mulawenc->rate = 0; in gst_mulawenc_start()
99 gst_mulawenc_set_tags (GstMuLawEnc * mulawenc) in gst_mulawenc_set_tags() argument
105 bitrate = 8 * mulawenc->rate * mulawenc->channels; in gst_mulawenc_set_tags()
115 gst_audio_encoder_merge_tags (GST_AUDIO_ENCODER (mulawenc), in gst_mulawenc_set_tags()
127 GstMuLawEnc *mulawenc = GST_MULAWENC (audioenc); in gst_mulawenc_set_format() local
130 mulawenc->rate = info->rate; in gst_mulawenc_set_format()
131 mulawenc->channels = info->channels; in gst_mulawenc_set_format()
141 gst_structure_set (structure, "rate", G_TYPE_INT, mulawenc->rate, NULL); in gst_mulawenc_set_format()
142 gst_structure_set (structure, "channels", G_TYPE_INT, mulawenc->channels, in gst_mulawenc_set_format()
145 gst_mulawenc_set_tags (mulawenc); in gst_mulawenc_set_format()
156 GstMuLawEnc *mulawenc; in gst_mulawenc_handle_frame() local
170 mulawenc = GST_MULAWENC (audioenc); in gst_mulawenc_handle_frame()
172 if (!mulawenc->rate || !mulawenc->channels) in gst_mulawenc_handle_frame()
201 GST_DEBUG_OBJECT (mulawenc, "no format negotiated"); in gst_mulawenc_handle_frame()
232 gst_mulawenc_init (GstMuLawEnc * mulawenc) in gst_mulawenc_init() argument
234 GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (mulawenc)); in gst_mulawenc_init()