Home
last modified time | relevance | path

Searched refs:GstVideoEncoder (Results 1 – 25 of 55) sorted by relevance

123

/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoencoder.h35 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_ENCODER,GstVideoEncoder))
44 #define GST_VIDEO_ENCODER_CAST(enc) ((GstVideoEncoder*)enc)
65 #define GST_VIDEO_ENCODER_SRC_PAD(obj) (((GstVideoEncoder *) (obj))->srcpad)
73 #define GST_VIDEO_ENCODER_SINK_PAD(obj) (((GstVideoEncoder *) (obj))->sinkpad)
126 typedef struct _GstVideoEncoder GstVideoEncoder; typedef
249 gboolean (*open) (GstVideoEncoder *encoder);
251 gboolean (*close) (GstVideoEncoder *encoder);
253 gboolean (*start) (GstVideoEncoder *encoder);
255 gboolean (*stop) (GstVideoEncoder *encoder);
257 gboolean (*set_format) (GstVideoEncoder *encoder,
[all …]
Dgstvideoencoder.c244 static void gst_video_encoder_init (GstVideoEncoder * enc,
249 static gboolean gst_video_encoder_setcaps (GstVideoEncoder * enc,
251 static GstCaps *gst_video_encoder_sink_getcaps (GstVideoEncoder * encoder,
265 static GstVideoCodecFrame *gst_video_encoder_new_frame (GstVideoEncoder *
269 static gboolean gst_video_encoder_sink_event_default (GstVideoEncoder * encoder,
271 static gboolean gst_video_encoder_src_event_default (GstVideoEncoder * encoder,
273 static gboolean gst_video_encoder_decide_allocation_default (GstVideoEncoder *
275 static gboolean gst_video_encoder_propose_allocation_default (GstVideoEncoder *
277 static gboolean gst_video_encoder_negotiate_default (GstVideoEncoder * encoder);
278 static gboolean gst_video_encoder_negotiate_unlocked (GstVideoEncoder *
[all …]
/third_party/gstreamer/gstplugins_bad/tools/element-templates/
Dvideoencoder3 GstVideoEncoder
15 static gboolean gst_replace_open (GstVideoEncoder *encoder);
16 static gboolean gst_replace_close (GstVideoEncoder *encoder);
17 static gboolean gst_replace_start (GstVideoEncoder *encoder);
18 static gboolean gst_replace_stop (GstVideoEncoder *encoder);
19 static gboolean gst_replace_set_format (GstVideoEncoder *encoder, GstVideoCodecState *state);
20 static GstFlowReturn gst_replace_handle_frame (GstVideoEncoder *encoder, GstVideoCodecFrame *frame);
21 static gboolean gst_replace_reset (GstVideoEncoder *encoder, gboolean hard);
22 static GstFlowReturn gst_replace_finish (GstVideoEncoder *encoder);
23 static GstFlowReturn gst_replace_pre_push (GstVideoEncoder *encoder, GstVideoCodecFrame *frame);
[all …]
/third_party/gstreamer/gstplugins_bad/ext/webp/
Dgstwebpenc.c52 static gboolean gst_webp_enc_start (GstVideoEncoder * benc);
53 static gboolean gst_webp_enc_stop (GstVideoEncoder * benc);
54 static gboolean gst_webp_enc_set_format (GstVideoEncoder * encoder,
56 static GstFlowReturn gst_webp_enc_handle_frame (GstVideoEncoder * encoder,
58 static gboolean gst_webp_enc_propose_allocation (GstVideoEncoder * encoder,
181 gst_webp_enc_set_format (GstVideoEncoder * encoder, GstVideoCodecState * state) in gst_webp_enc_set_format()
253 gst_webp_enc_handle_frame (GstVideoEncoder * encoder, in gst_webp_enc_handle_frame()
317 gst_webp_enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query) in gst_webp_enc_propose_allocation()
377 gst_webp_enc_start (GstVideoEncoder * benc) in gst_webp_enc_start()
396 gst_webp_enc_stop (GstVideoEncoder * benc) in gst_webp_enc_stop()
/third_party/gstreamer/gstplugins_bad/ext/mpeg2enc/
Dgstmpeg2enc.cc89 static gboolean gst_mpeg2enc_start (GstVideoEncoder * video_encoder);
90 static gboolean gst_mpeg2enc_stop (GstVideoEncoder * video_encoder);
91 static gboolean gst_mpeg2enc_set_format (GstVideoEncoder *
93 static GstCaps * gst_mpeg2enc_getcaps (GstVideoEncoder *
95 static GstFlowReturn gst_mpeg2enc_handle_frame (GstVideoEncoder *
97 static gboolean gst_mpeg2enc_sink_event (GstVideoEncoder *
100 static GstFlowReturn gst_mpeg2enc_finish (GstVideoEncoder * video_encoder);
101 static void gst_mpeg2enc_loop (GstVideoEncoder * video_encoder);
234 gst_mpeg2enc_start (GstVideoEncoder * video_encoder) in gst_mpeg2enc_start()
256 gst_mpeg2enc_stop (GstVideoEncoder * video_encoder) in gst_mpeg2enc_stop()
[all …]
Dgstmpeg2encstreamwriter.hh32 GstMpeg2EncStreamWriter (GstVideoEncoder *venc, EncoderParams *params);
41 GstVideoEncoder *video_encoder;
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoraenc.c182 static gboolean theora_enc_start (GstVideoEncoder * enc);
183 static gboolean theora_enc_stop (GstVideoEncoder * enc);
184 static gboolean theora_enc_flush (GstVideoEncoder * enc);
185 static gboolean theora_enc_set_format (GstVideoEncoder * enc,
187 static GstFlowReturn theora_enc_handle_frame (GstVideoEncoder * enc,
189 static GstFlowReturn theora_enc_pre_push (GstVideoEncoder * benc,
191 static GstFlowReturn theora_enc_finish (GstVideoEncoder * enc);
192 static gboolean theora_enc_propose_allocation (GstVideoEncoder * encoder,
195 static GstCaps *theora_enc_getcaps (GstVideoEncoder * encoder,
368 theora_enc_flush (GstVideoEncoder * encoder) in theora_enc_flush()
[all …]
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavvidenc.c56 static gboolean gst_ffmpegvidenc_start (GstVideoEncoder * encoder);
57 static gboolean gst_ffmpegvidenc_stop (GstVideoEncoder * encoder);
58 static GstFlowReturn gst_ffmpegvidenc_finish (GstVideoEncoder * encoder);
59 static gboolean gst_ffmpegvidenc_set_format (GstVideoEncoder * encoder,
61 static gboolean gst_ffmpegvidenc_propose_allocation (GstVideoEncoder * encoder,
63 static gboolean gst_ffmpegvidenc_flush (GstVideoEncoder * encoder);
65 static GstFlowReturn gst_ffmpegvidenc_handle_frame (GstVideoEncoder * encoder,
234 gst_ffmpegvidenc_set_format (GstVideoEncoder * encoder, in gst_ffmpegvidenc_set_format()
472 gst_ffmpegvidenc_propose_allocation (GstVideoEncoder * encoder, in gst_ffmpegvidenc_propose_allocation()
722 gst_ffmpegvidenc_handle_frame (GstVideoEncoder * encoder, in gst_ffmpegvidenc_handle_frame()
[all …]
/third_party/gstreamer/gstplugins_good/ext/libpng/
Dgstpngenc.c85 static GstFlowReturn gst_pngenc_handle_frame (GstVideoEncoder * encoder,
87 static gboolean gst_pngenc_set_format (GstVideoEncoder * encoder,
89 static gboolean gst_pngenc_propose_allocation (GstVideoEncoder * encoder,
153 gst_pngenc_set_format (GstVideoEncoder * encoder, GstVideoCodecState * state) in gst_pngenc_set_format()
266 gst_pngenc_handle_frame (GstVideoEncoder * encoder, GstVideoCodecFrame * frame) in gst_pngenc_handle_frame()
380 gst_pngenc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query) in gst_pngenc_propose_allocation()
Dgstpngenc.h33 G_DECLARE_FINAL_TYPE (GstPngEnc, gst_pngenc, GST, PNGENC, GstVideoEncoder)
37 GstVideoEncoder parent;
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dgstjpegenc.c84 static gboolean gst_jpegenc_start (GstVideoEncoder * benc);
85 static gboolean gst_jpegenc_stop (GstVideoEncoder * benc);
86 static gboolean gst_jpegenc_set_format (GstVideoEncoder * encoder,
88 static GstFlowReturn gst_jpegenc_handle_frame (GstVideoEncoder * encoder,
90 static gboolean gst_jpegenc_propose_allocation (GstVideoEncoder * encoder,
338 gst_jpegenc_set_format (GstVideoEncoder * encoder, GstVideoCodecState * state) in gst_jpegenc_set_format()
456 gst_jpegenc_handle_frame (GstVideoEncoder * encoder, GstVideoCodecFrame * frame) in gst_jpegenc_handle_frame()
557 gst_jpegenc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query) in gst_jpegenc_propose_allocation()
628 gst_jpegenc_start (GstVideoEncoder * benc) in gst_jpegenc_start()
641 gst_jpegenc_stop (GstVideoEncoder * benc) in gst_jpegenc_stop()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2videoenc.c110 gst_v4l2_video_enc_open (GstVideoEncoder * encoder) in gst_v4l2_video_enc_open()
169 gst_v4l2_video_enc_close (GstVideoEncoder * encoder) in gst_v4l2_video_enc_close()
184 gst_v4l2_video_enc_start (GstVideoEncoder * encoder) in gst_v4l2_video_enc_start()
198 gst_v4l2_video_enc_stop (GstVideoEncoder * encoder) in gst_v4l2_video_enc_stop()
263 gst_v4l2_video_enc_finish (GstVideoEncoder * encoder) in gst_v4l2_video_enc_finish()
305 gst_v4l2_video_enc_set_format (GstVideoEncoder * encoder, in gst_v4l2_video_enc_set_format()
356 gst_v4l2_video_enc_flush (GstVideoEncoder * encoder) in gst_v4l2_video_enc_flush()
521 gst_v4l2_video_enc_negotiate (GstVideoEncoder * encoder) in gst_v4l2_video_enc_negotiate()
635 gst_v4l2_video_enc_loop (GstVideoEncoder * encoder) in gst_v4l2_video_enc_loop()
738 gst_v4l2_video_enc_handle_frame (GstVideoEncoder * encoder, in gst_v4l2_video_enc_handle_frame()
[all …]
/third_party/gstreamer/gstplugins_good/gst/y4m/
Dgsty4mencode.c80 gst_y4m_encode_handle_frame (GstVideoEncoder * encoder,
82 static gboolean gst_y4m_encode_set_format (GstVideoEncoder * encoder,
128 gst_y4m_encode_set_format (GstVideoEncoder * encoder, in gst_y4m_encode_set_format()
224 gst_y4m_encode_handle_frame (GstVideoEncoder * encoder, in gst_y4m_encode_handle_frame()
/third_party/gstreamer/gstplugins_bad/ext/openh264/
Dgstopenh264enc.cpp154 static gboolean gst_openh264enc_start (GstVideoEncoder * encoder);
155 static gboolean gst_openh264enc_stop (GstVideoEncoder * encoder);
156 static gboolean gst_openh264enc_set_format (GstVideoEncoder * encoder,
158 static GstFlowReturn gst_openh264enc_handle_frame (GstVideoEncoder * encoder,
160 static GstFlowReturn gst_openh264enc_finish (GstVideoEncoder * encoder);
161 static gboolean gst_openh264enc_propose_allocation (GstVideoEncoder * encoder,
656 gst_openh264enc_start (GstVideoEncoder * encoder) in gst_openh264enc_start()
665 gst_openh264enc_stop (GstVideoEncoder * encoder) in gst_openh264enc_stop()
726 gst_openh264enc_set_format (GstVideoEncoder * encoder, in gst_openh264enc_set_format()
866 gst_openh264enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query) in gst_openh264enc_propose_allocation()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/
Dgstopenjpegenc.h48 GstVideoEncoder parent;
58 GstFlowReturn (*encode_frame) (GstVideoEncoder * encoder, GstVideoCodecFrame *frame);
Dgstopenjpegenc.c115 static gboolean gst_openjpeg_enc_start (GstVideoEncoder * encoder);
116 static gboolean gst_openjpeg_enc_stop (GstVideoEncoder * encoder);
117 static gboolean gst_openjpeg_enc_set_format (GstVideoEncoder * encoder,
119 static GstFlowReturn gst_openjpeg_enc_handle_frame (GstVideoEncoder * encoder,
121 static gboolean gst_openjpeg_enc_propose_allocation (GstVideoEncoder * encoder,
123 static GstFlowReturn gst_openjpeg_enc_encode_frame_multiple (GstVideoEncoder *
125 static GstFlowReturn gst_openjpeg_enc_encode_frame_single (GstVideoEncoder *
410 gst_openjpeg_enc_start (GstVideoEncoder * encoder) in gst_openjpeg_enc_start()
424 gst_openjpeg_enc_stop (GstVideoEncoder * video_encoder) in gst_openjpeg_enc_stop()
735 gst_openjpeg_enc_set_format (GstVideoEncoder * encoder, in gst_openjpeg_enc_set_format()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/aom/
Dgstav1enc.c187 static gboolean gst_av1_enc_start (GstVideoEncoder * encoder);
188 static gboolean gst_av1_enc_stop (GstVideoEncoder * encoder);
189 static gboolean gst_av1_enc_set_format (GstVideoEncoder * encoder,
191 static GstFlowReturn gst_av1_enc_handle_frame (GstVideoEncoder * encoder,
193 static GstFlowReturn gst_av1_enc_finish (GstVideoEncoder * encoder);
194 static gboolean gst_av1_enc_propose_allocation (GstVideoEncoder * encoder,
670 gst_av1_enc_set_format (GstVideoEncoder * encoder, GstVideoCodecState * state) in gst_av1_enc_set_format()
756 GstVideoEncoder *video_encoder; in gst_av1_enc_process()
806 gst_av1_enc_handle_frame (GstVideoEncoder * encoder, GstVideoCodecFrame * frame) in gst_av1_enc_handle_frame()
854 gst_av1_enc_finish (GstVideoEncoder * encoder) in gst_av1_enc_finish()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcvideoenc.c83 static gboolean gst_amc_video_enc_open (GstVideoEncoder * encoder);
84 static gboolean gst_amc_video_enc_close (GstVideoEncoder * encoder);
85 static gboolean gst_amc_video_enc_start (GstVideoEncoder * encoder);
86 static gboolean gst_amc_video_enc_stop (GstVideoEncoder * encoder);
87 static gboolean gst_amc_video_enc_set_format (GstVideoEncoder * encoder,
89 static gboolean gst_amc_video_enc_flush (GstVideoEncoder * encoder);
90 static GstFlowReturn gst_amc_video_enc_handle_frame (GstVideoEncoder * encoder,
92 static GstFlowReturn gst_amc_video_enc_finish (GstVideoEncoder * encoder);
674 gst_amc_video_enc_open (GstVideoEncoder * encoder) in gst_amc_video_enc_open()
699 gst_amc_video_enc_close (GstVideoEncoder * encoder) in gst_amc_video_enc_close()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideoenc.cpp55 static gboolean gst_mf_video_enc_open (GstVideoEncoder * enc);
56 static gboolean gst_mf_video_enc_close (GstVideoEncoder * enc);
57 static gboolean gst_mf_video_enc_start (GstVideoEncoder * enc);
58 static gboolean gst_mf_video_enc_set_format (GstVideoEncoder * enc,
60 static GstFlowReturn gst_mf_video_enc_handle_frame (GstVideoEncoder * enc,
62 static GstFlowReturn gst_mf_video_enc_finish (GstVideoEncoder * enc);
63 static gboolean gst_mf_video_enc_flush (GstVideoEncoder * enc);
64 static gboolean gst_mf_video_enc_propose_allocation (GstVideoEncoder * enc,
66 static gboolean gst_mf_video_enc_sink_query (GstVideoEncoder * enc,
68 static gboolean gst_mf_video_enc_src_query (GstVideoEncoder * enc,
[all …]
/third_party/gstreamer/gstplugins_bad/ext/x265/
Dgstx265enc.c177 static gboolean gst_x265_enc_start (GstVideoEncoder * encoder);
178 static gboolean gst_x265_enc_stop (GstVideoEncoder * encoder);
179 static gboolean gst_x265_enc_flush (GstVideoEncoder * encoder);
184 static GstFlowReturn gst_x265_enc_finish (GstVideoEncoder * encoder);
185 static GstFlowReturn gst_x265_enc_handle_frame (GstVideoEncoder * encoder,
191 static gboolean gst_x265_enc_set_format (GstVideoEncoder * video_enc,
193 static gboolean gst_x265_enc_propose_allocation (GstVideoEncoder * encoder,
307 gst_x265_enc_sink_query (GstVideoEncoder * enc, GstQuery * query) in gst_x265_enc_sink_query()
352 gst_x265_enc_sink_getcaps (GstVideoEncoder * enc, GstCaps * filter) in gst_x265_enc_sink_getcaps()
640 gst_x265_enc_start (GstVideoEncoder * encoder) in gst_x265_enc_start()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/svthevcenc/
Dgstsvthevcenc.h32 G_DECLARE_FINAL_TYPE (GstSvtHevcEnc, gst_svthevc_enc, GST, SVTHEVC_ENC, GstVideoEncoder)
81 GstVideoEncoder element;
Dgstsvthevcenc.c237 static gboolean gst_svthevc_enc_start (GstVideoEncoder * encoder);
238 static gboolean gst_svthevc_enc_stop (GstVideoEncoder * encoder);
239 static gboolean gst_svthevc_enc_flush (GstVideoEncoder * encoder);
244 static GstFlowReturn gst_svthevc_enc_finish (GstVideoEncoder * encoder);
245 static GstFlowReturn gst_svthevc_enc_handle_frame (GstVideoEncoder * encoder,
253 static gboolean gst_svthevc_enc_set_format (GstVideoEncoder * video_enc,
255 static gboolean gst_svthevc_enc_propose_allocation (GstVideoEncoder * encoder,
352 gst_svthevc_enc_sink_getcaps (GstVideoEncoder * enc, GstCaps * filter) in gst_svthevc_enc_sink_getcaps()
679 gst_svthevc_enc_start (GstVideoEncoder * encoder) in gst_svthevc_enc_start()
693 gst_svthevc_enc_stop (GstVideoEncoder * encoder) in gst_svthevc_enc_stop()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvbaseenc.c227 static gboolean gst_nv_base_enc_open (GstVideoEncoder * enc);
228 static gboolean gst_nv_base_enc_close (GstVideoEncoder * enc);
229 static gboolean gst_nv_base_enc_start (GstVideoEncoder * enc);
230 static gboolean gst_nv_base_enc_stop (GstVideoEncoder * enc);
233 static gboolean gst_nv_base_enc_sink_query (GstVideoEncoder * enc,
235 static gboolean gst_nv_base_enc_sink_event (GstVideoEncoder * enc,
237 static gboolean gst_nv_base_enc_set_format (GstVideoEncoder * enc,
239 static GstFlowReturn gst_nv_base_enc_handle_frame (GstVideoEncoder * enc,
242 static GstFlowReturn gst_nv_base_enc_finish (GstVideoEncoder * enc);
248 static GstCaps *gst_nv_base_enc_getcaps (GstVideoEncoder * enc,
[all …]
/third_party/gstreamer/gstplugins_good/ext/vpx/
Dgstvpxenc.c358 static gboolean gst_vpx_enc_start (GstVideoEncoder * encoder);
359 static gboolean gst_vpx_enc_stop (GstVideoEncoder * encoder);
360 static gboolean gst_vpx_enc_set_format (GstVideoEncoder *
362 static GstFlowReturn gst_vpx_enc_finish (GstVideoEncoder * video_encoder);
363 static gboolean gst_vpx_enc_flush (GstVideoEncoder * video_encoder);
364 static GstFlowReturn gst_vpx_enc_drain (GstVideoEncoder * video_encoder);
365 static GstFlowReturn gst_vpx_enc_handle_frame (GstVideoEncoder *
367 static gboolean gst_vpx_enc_sink_event (GstVideoEncoder *
369 static gboolean gst_vpx_enc_propose_allocation (GstVideoEncoder * encoder,
371 static gboolean gst_vpx_enc_transform_meta (GstVideoEncoder * encoder,
[all …]
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dvtenc.c148 static gboolean gst_vtenc_start (GstVideoEncoder * enc);
149 static gboolean gst_vtenc_stop (GstVideoEncoder * enc);
150 static gboolean gst_vtenc_set_format (GstVideoEncoder * enc,
152 static GstFlowReturn gst_vtenc_handle_frame (GstVideoEncoder * enc,
154 static GstFlowReturn gst_vtenc_finish (GstVideoEncoder * enc);
155 static gboolean gst_vtenc_flush (GstVideoEncoder * enc);
681 gst_vtenc_start (GstVideoEncoder * enc) in gst_vtenc_start()
691 gst_vtenc_stop (GstVideoEncoder * enc) in gst_vtenc_stop()
801 gst_vtenc_negotiate_specific_format_details (GstVideoEncoder * enc) in gst_vtenc_negotiate_specific_format_details()
851 gst_vtenc_set_format (GstVideoEncoder * enc, GstVideoCodecState * state) in gst_vtenc_set_format()
[all …]

123