text: /**
   * @file gst_video/gst_video.h  Gstreamer video pipeline -- internal API
   *
   * Copyright (C) 2010 - 2014 Creytiv.com
   * Copyright (C) 2014 Fadeev Alexander
   */
  
  
  /* Encode */
  struct videnc_state;
  
  int gst_video_encode_update(struct videnc_state **vesp,
  			    const struct vidcodec *vc,
  			    struct videnc_param *prm, const char *fmtp,
  			    videnc_packet_h *pkth, void *arg);
  int gst_video_encode(struct videnc_state *st, bool update,
  		     const struct vidframe *frame, uint64_t timestamp);
  
  
  /* SDP */
  uint32_t gst_video_h264_packetization_mode(const char *fmtp);
  int      gst_video_fmtp_enc(struct mbuf *mb, const struct sdp_format *fmt,
  			    bool offer, void *arg);
  bool     gst_video_fmtp_cmp(const char *fmtp1, const char *fmtp2, void *data);
  