Lines Matching refs:inbuf
425 gst_fdkaacenc_handle_frame (GstAudioEncoder * enc, GstBuffer * inbuf) in gst_fdkaacenc_handle_frame() argument
443 if (inbuf) { in gst_fdkaacenc_handle_frame()
445 inbuf = gst_buffer_copy (inbuf); in gst_fdkaacenc_handle_frame()
446 gst_buffer_map (inbuf, &imap, GST_MAP_READWRITE); in gst_fdkaacenc_handle_frame()
451 gst_buffer_map (inbuf, &imap, GST_MAP_READ); in gst_fdkaacenc_handle_frame()
492 if (err == AACENC_ENCODE_EOF && !inbuf) in gst_fdkaacenc_handle_frame()
500 if (inbuf) { in gst_fdkaacenc_handle_frame()
501 gst_buffer_unmap (inbuf, &imap); in gst_fdkaacenc_handle_frame()
503 gst_buffer_unref (inbuf); in gst_fdkaacenc_handle_frame()
504 inbuf = NULL; in gst_fdkaacenc_handle_frame()
521 if (inbuf) { in gst_fdkaacenc_handle_frame()
522 gst_buffer_unmap (inbuf, &imap); in gst_fdkaacenc_handle_frame()
524 gst_buffer_unref (inbuf); in gst_fdkaacenc_handle_frame()