Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 3499) sorted by relevance

12345678910>>...140

/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstmotioncells.cpp158 filter, GstBuffer * buf, cv::Mat img);
160 static void gst_motioncells_update_motion_cells (GstMotioncells * filter);
161 static void gst_motioncells_update_motion_masks (GstMotioncells * filter);
167 GstMotioncells *filter = gst_motion_cells (obj); in gst_motion_cells_finalize() local
169 motion_cells_free (filter->id); in gst_motion_cells_finalize()
172 if (filter->motionmaskcoord_count > 0) { in gst_motion_cells_finalize()
173 GFREE (filter->motionmaskcoords); in gst_motion_cells_finalize()
176 if (filter->motionmaskcells_count > 0) { in gst_motion_cells_finalize()
177 GFREE (filter->motionmaskcellsidx); in gst_motion_cells_finalize()
179 if (filter->motioncells_count > 0) { in gst_motion_cells_finalize()
[all …]
Dgstskindetect.cpp126 static GstFlowReturn gst_skin_detect_transform (GstOpencvVideoFilter * filter,
184 gst_skin_detect_init (GstSkinDetect * filter) in gst_skin_detect_init() argument
186 filter->postprocess = TRUE; in gst_skin_detect_init()
187 filter->method = HSV; in gst_skin_detect_init()
189 gst_opencv_video_filter_set_in_place (GST_OPENCV_VIDEO_FILTER_CAST (filter), in gst_skin_detect_init()
198 GstSkinDetect *filter = GST_SKIN_DETECT (object); in gst_skin_detect_set_property() local
202 filter->postprocess = g_value_get_boolean (value); in gst_skin_detect_set_property()
205 filter->method = g_value_get_enum (value); in gst_skin_detect_set_property()
217 GstSkinDetect *filter = GST_SKIN_DETECT (object); in gst_skin_detect_get_property() local
221 g_value_set_boolean (value, filter->postprocess); in gst_skin_detect_get_property()
[all …]
Dgsthanddetect.cpp119 static CascadeClassifier *gst_handdetect_load_profile (GstHanddetect * filter,
151 GstHanddetect *filter = GST_HANDDETECT (navigation); in gst_handdetect_navigation_send_event() local
154 if ((peer = gst_pad_get_peer (GST_BASE_TRANSFORM_CAST (filter)->sinkpad))) { in gst_handdetect_navigation_send_event()
166 GstHanddetect *filter = GST_HANDDETECT (obj); in gst_handdetect_finalize() local
168 filter->cvGray.release (); in gst_handdetect_finalize()
169 g_free (filter->profile_fist); in gst_handdetect_finalize()
170 g_free (filter->profile_palm); in gst_handdetect_finalize()
171 delete (filter->best_r); in gst_handdetect_finalize()
172 if (filter->cvCascade_fist) in gst_handdetect_finalize()
173 delete filter->cvCascade_fist; in gst_handdetect_finalize()
[all …]
Dgstdewarp.cpp159 static gboolean gst_dewarp_set_caps (GstOpencvVideoFilter * filter,
166 GstDewarp *filter = GST_DEWARP (obj); in gst_dewarp_finalize() local
168 filter->map_x.release (); in gst_dewarp_finalize()
169 filter->map_y.release (); in gst_dewarp_finalize()
268 gst_dewarp_init (GstDewarp * filter) in gst_dewarp_init() argument
270 filter->x_center = DEFAULT_CENTER; in gst_dewarp_init()
271 filter->y_center = DEFAULT_CENTER; in gst_dewarp_init()
272 filter->inner_radius = DEFAULT_RADIUS; in gst_dewarp_init()
273 filter->outer_radius = DEFAULT_RADIUS; in gst_dewarp_init()
274 filter->remap_correction_x = DEFAULT_REMAP_CORRECTION; in gst_dewarp_init()
[all …]
Dgstcvtracker.cpp145 * filter, GstBuffer * buf, cv::Mat img);
150 GstCVTracker *filter = GST_OPENCV_TRACKER (obj); in gst_cvtracker_finalize() local
152 filter->tracker.release (); in gst_cvtracker_finalize()
153 filter->roi.release (); in gst_cvtracker_finalize()
230 gst_cvtracker_init (GstCVTracker * filter) in gst_cvtracker_init() argument
232 filter->x = DEFAULT_PROP_INITIAL_X; in gst_cvtracker_init()
233 filter->y = DEFAULT_PROP_INITIAL_Y; in gst_cvtracker_init()
234 filter->width = DEFAULT_PROP_INITIAL_WIDTH; in gst_cvtracker_init()
235 filter->height = DEFAULT_PROP_INITIAL_HEIGHT; in gst_cvtracker_init()
237 filter->tracker = cv::legacy::upgradeTrackingAPI( in gst_cvtracker_init()
[all …]
Dgstfacedetect.cpp147 guint rx, guint ry, GstFaceDetect * filter, GstStructure * s) in structure_and_message() argument
155 GST_LOG_OBJECT (filter, in structure_and_message()
247 filter, gchar * profile);
253 GstFaceDetect *filter = GST_FACE_DETECT (obj); in gst_face_detect_finalize() local
255 filter->cvGray.release (); in gst_face_detect_finalize()
257 g_free (filter->face_profile); in gst_face_detect_finalize()
258 g_free (filter->nose_profile); in gst_face_detect_finalize()
259 g_free (filter->mouth_profile); in gst_face_detect_finalize()
260 g_free (filter->eyes_profile); in gst_face_detect_finalize()
262 if (filter->cvFaceDetect) in gst_face_detect_finalize()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglbasefilter.c82 static void gst_gl_base_filter_reset (GstGLBaseFilter * filter);
94 static gboolean gst_gl_base_filter_default_gl_start (GstGLBaseFilter * filter);
95 static void gst_gl_base_filter_default_gl_stop (GstGLBaseFilter * filter);
98 filter);
134 gst_gl_base_filter_init (GstGLBaseFilter * filter) in gst_gl_base_filter_init() argument
136 gst_base_transform_set_qos_enabled (GST_BASE_TRANSFORM (filter), TRUE); in gst_gl_base_filter_init()
138 filter->priv = gst_gl_base_filter_get_instance_private (filter); in gst_gl_base_filter_init()
140 g_rec_mutex_init (&filter->priv->context_lock); in gst_gl_base_filter_init()
146 GstGLBaseFilter *filter = GST_GL_BASE_FILTER (object); in gst_gl_base_filter_finalize() local
148 gst_caps_replace (&filter->in_caps, NULL); in gst_gl_base_filter_finalize()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Dgstpesfilter.c54 static GstFlowReturn gst_pes_filter_data_push (GstPESFilter * filter,
57 #define ADAPTER_OFFSET_FLUSH(_bytes_) if (filter->adapter_offset) *filter->adapter_offset = *filte…
61 gst_pes_filter_init (GstPESFilter * filter, GstAdapter * adapter, in gst_pes_filter_init() argument
64 g_return_if_fail (filter != NULL); in gst_pes_filter_init()
71 filter->adapter = adapter; in gst_pes_filter_init()
72 filter->adapter_offset = adapter_offset; in gst_pes_filter_init()
73 filter->state = STATE_HEADER_PARSE; in gst_pes_filter_init()
74 filter->gather_pes = FALSE; in gst_pes_filter_init()
75 filter->allow_unbounded = FALSE; in gst_pes_filter_init()
79 gst_pes_filter_uninit (GstPESFilter * filter) in gst_pes_filter_uninit() argument
[all …]
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/
Dgstpesfilter.c54 static GstFlowReturn gst_pes_filter_data_push (GstPESFilter * filter,
57 #define ADAPTER_OFFSET_FLUSH(_bytes_) if (filter->adapter_offset) *filter->adapter_offset = *filte…
61 gst_pes_filter_init (GstPESFilter * filter, GstAdapter * adapter, in gst_pes_filter_init() argument
64 g_return_if_fail (filter != NULL); in gst_pes_filter_init()
71 filter->adapter = adapter; in gst_pes_filter_init()
72 filter->adapter_offset = adapter_offset; in gst_pes_filter_init()
73 filter->state = STATE_HEADER_PARSE; in gst_pes_filter_init()
74 filter->gather_pes = FALSE; in gst_pes_filter_init()
75 filter->allow_unbounded = FALSE; in gst_pes_filter_init()
79 gst_pes_filter_uninit (GstPESFilter * filter) in gst_pes_filter_uninit() argument
[all …]
/third_party/gstreamer/gstplugins_good/gst/replaygain/
Dgstrganalysis.c145 static void gst_rg_analysis_handle_tags (GstRgAnalysis * filter,
147 static void gst_rg_analysis_handle_eos (GstRgAnalysis * filter);
148 static gboolean gst_rg_analysis_track_result (GstRgAnalysis * filter,
150 static gboolean gst_rg_analysis_album_result (GstRgAnalysis * filter,
278 gst_rg_analysis_init (GstRgAnalysis * filter) in gst_rg_analysis_init() argument
280 GstBaseTransform *base = GST_BASE_TRANSFORM (filter); in gst_rg_analysis_init()
284 filter->num_tracks = 0; in gst_rg_analysis_init()
285 filter->forced = FORCED_DEFAULT; in gst_rg_analysis_init()
286 filter->message = DEFAULT_MESSAGE; in gst_rg_analysis_init()
287 filter->reference_level = RG_REFERENCE_LEVEL; in gst_rg_analysis_init()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_deint_filter.c64 create_vert_shader(struct vl_deint_filter *filter) in create_vert_shader() argument
83 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
87 create_copy_frag_shader(struct vl_deint_filter *filter, unsigned field) in create_copy_frag_shader() argument
119 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_copy_frag_shader()
123 create_deint_frag_shader(struct vl_deint_filter *filter, unsigned field, in create_deint_frag_shader() argument
232 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_deint_frag_shader()
236 vl_deint_filter_init(struct vl_deint_filter *filter, struct pipe_context *pipe, in vl_deint_filter_init() argument
247 assert(filter && pipe); in vl_deint_filter_init()
250 memset(filter, 0, sizeof(*filter)); in vl_deint_filter_init()
251 filter->pipe = pipe; in vl_deint_filter_init()
[all …]
Dvl_matrix_filter.c49 create_vert_shader(struct vl_matrix_filter *filter) in create_vert_shader() argument
68 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
78 create_frag_shader(struct vl_matrix_filter *filter, unsigned num_offsets, in create_frag_shader() argument
128 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
132 vl_matrix_filter_init(struct vl_matrix_filter *filter, struct pipe_context *pipe, in vl_matrix_filter_init() argument
144 assert(filter && pipe); in vl_matrix_filter_init()
148 memset(filter, 0, sizeof(*filter)); in vl_matrix_filter_init()
149 filter->pipe = pipe; in vl_matrix_filter_init()
157 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_matrix_filter_init()
158 if (!filter->rs_state) in vl_matrix_filter_init()
[all …]
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstripple.c142 setBackground (GstRippleTV * filter, guint32 * src) in setBackground() argument
146 info = &GST_VIDEO_FILTER (filter)->in_info; in setBackground()
148 image_bgset_y (src, filter->background, in setBackground()
150 filter->bg_is_set = TRUE; in setBackground()
184 motiondetect (GstRippleTV * filter, guint32 * src) in motiondetect() argument
186 guint8 *diff = filter->diff; in motiondetect()
192 info = &GST_VIDEO_FILTER (filter)->in_info; in motiondetect()
197 if (!filter->bg_is_set) in motiondetect()
198 setBackground (filter, src); in motiondetect()
200 image_bgsubtract_update_y (src, filter->background, filter->diff, in motiondetect()
[all …]
Dgstradioac.c191 #define VIDEO_HWIDTH (filter->buf_width/2)
192 #define VIDEO_HHEIGHT (filter->buf_height/2)
196 setTable (GstRadioacTV * filter) in setTable() argument
203 for (xx = 0; xx < (filter->buf_width_blocks); xx++) { in setTable()
212 filter->blurzoomx[xx] = bits; in setTable()
217 xx = (gint) (0.5 + RATIO * (filter->buf_width - 1 - VIDEO_HWIDTH) + in setTable()
219 filter->blurzoomy[0] = ty * filter->buf_width + tx; in setTable()
220 prevptr = ty * filter->buf_width + xx; in setTable()
221 for (y = 1; y < filter->buf_height; y++) { in setTable()
223 filter->blurzoomy[y] = ty * filter->buf_width + tx - prevptr; in setTable()
[all …]
Dgstshagadelic.c57 static void gst_shagadelic_initialize (GstShagadelicTV * filter,
84 GstShagadelicTV *filter = GST_SHAGADELICTV (vfilter); in gst_shagadelictv_set_info() local
92 g_free (filter->ripple); in gst_shagadelictv_set_info()
93 g_free (filter->spiral); in gst_shagadelictv_set_info()
94 filter->ripple = (guint8 *) g_malloc (area * 4); in gst_shagadelictv_set_info()
95 filter->spiral = (guint8 *) g_malloc (area); in gst_shagadelictv_set_info()
97 gst_shagadelic_initialize (filter, in_info); in gst_shagadelictv_set_info()
103 gst_shagadelic_initialize (GstShagadelicTV * filter, GstVideoInfo * info) in gst_shagadelic_initialize() argument
124 filter->ripple[i++] = ((unsigned int) (sqrtf (xx * xx + yy) * 8)) & 255; in gst_shagadelic_initialize()
126 filter->ripple[i++] = ((unsigned int) (sqrt (xx * xx + yy) * 8)) & 255; in gst_shagadelic_initialize()
[all …]
/third_party/gstreamer/gstplugins_good/gst/level/
Dgstlevel.c120 static void gst_level_post_message (GstLevel * filter);
216 gst_level_init (GstLevel * filter) in gst_level_init() argument
218 filter->CS = NULL; in gst_level_init()
219 filter->peak = NULL; in gst_level_init()
220 filter->last_peak = NULL; in gst_level_init()
221 filter->decay_peak = NULL; in gst_level_init()
222 filter->decay_peak_base = NULL; in gst_level_init()
223 filter->decay_peak_age = NULL; in gst_level_init()
225 gst_audio_info_init (&filter->info); in gst_level_init()
227 filter->interval = GST_SECOND / 10; in gst_level_init()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/aes/
Dgstaesenc.c114 static gboolean gst_aes_enc_openssl_init (GstAesEnc * filter);
235 gst_aes_enc_init (GstAesEnc * filter) in gst_aes_enc_init() argument
237 GST_INFO_OBJECT (filter, "Initializing plugin"); in gst_aes_enc_init()
238 filter->cipher = GST_AES_DEFAULT_CIPHER_MODE; in gst_aes_enc_init()
239 filter->awaiting_first_buffer = TRUE; in gst_aes_enc_init()
240 filter->per_buffer_padding = GST_AES_PER_BUFFER_PADDING_DEFAULT; in gst_aes_enc_init()
241 g_mutex_init (&filter->encoder_lock); in gst_aes_enc_init()
247 GstAesEnc *filter = GST_AES_ENC (object); in gst_aes_enc_finalize() local
249 g_mutex_clear (&filter->encoder_lock); in gst_aes_enc_finalize()
257 GstAesEnc *filter = GST_AES_ENC (object); in gst_aes_enc_set_property() local
[all …]
Dgstaesdec.c114 static gboolean gst_aes_dec_openssl_init (GstAesDec * filter);
115 static gboolean gst_aes_dec_init_cipher (GstAesDec * filter);
235 gst_aes_dec_init (GstAesDec * filter) in gst_aes_dec_init() argument
237 GST_INFO_OBJECT (filter, "Initializing plugin"); in gst_aes_dec_init()
238 filter->cipher = GST_AES_DEFAULT_CIPHER_MODE; in gst_aes_dec_init()
239 filter->awaiting_first_buffer = TRUE; in gst_aes_dec_init()
240 filter->per_buffer_padding = GST_AES_PER_BUFFER_PADDING_DEFAULT; in gst_aes_dec_init()
241 g_mutex_init (&filter->decoder_lock); in gst_aes_dec_init()
247 GstAesDec *filter = GST_AES_DEC (object); in gst_aes_dec_finalize() local
249 g_mutex_clear (&filter->decoder_lock); in gst_aes_dec_finalize()
[all …]
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiofxbaseiirfilter.c50 static gboolean gst_audio_fx_base_iir_filter_setup (GstAudioFilter * filter,
57 static void process_64 (GstAudioFXBaseIIRFilter * filter,
59 static void process_32 (GstAudioFXBaseIIRFilter * filter,
67 GstAudioFXBaseIIRFilter *filter = GST_AUDIO_FX_BASE_IIR_FILTER (object); in gst_audio_fx_base_iir_filter_finalize() local
69 if (filter->a) { in gst_audio_fx_base_iir_filter_finalize()
70 g_free (filter->a); in gst_audio_fx_base_iir_filter_finalize()
71 filter->a = NULL; in gst_audio_fx_base_iir_filter_finalize()
74 if (filter->b) { in gst_audio_fx_base_iir_filter_finalize()
75 g_free (filter->b); in gst_audio_fx_base_iir_filter_finalize()
76 filter->b = NULL; in gst_audio_fx_base_iir_filter_finalize()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/srtp/
Dgstsrtpenc.c136 #define HAS_CRYPTO(filter) (filter->rtp_cipher != GST_SRTP_CIPHER_NULL || \ argument
137 filter->rtcp_cipher != GST_SRTP_CIPHER_NULL || \
138 filter->rtp_auth != GST_SRTP_AUTH_NULL || \
139 filter->rtcp_auth != GST_SRTP_AUTH_NULL)
166 GstSrtpEnc *filter; member
355 gst_srtp_enc_init (GstSrtpEnc * filter) in gst_srtp_enc_init() argument
357 filter->key_changed = TRUE; in gst_srtp_enc_init()
358 filter->first_session = TRUE; in gst_srtp_enc_init()
359 filter->key = DEFAULT_MASTER_KEY; in gst_srtp_enc_init()
360 filter->rtp_cipher = DEFAULT_RTP_CIPHER; in gst_srtp_enc_init()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/faceoverlay/
Dgstfaceoverlay.c106 static gboolean gst_face_overlay_create_children (GstFaceOverlay * filter);
109 gst_face_overlay_create_children (GstFaceOverlay * filter) in gst_face_overlay_create_children() argument
124 gst_bin_add_many (GST_BIN (filter), face_detect, csp, overlay, NULL); in gst_face_overlay_create_children()
125 filter->svg_overlay = overlay; in gst_face_overlay_create_children()
128 GST_ERROR_OBJECT (filter, "couldn't link elements"); in gst_face_overlay_create_children()
131 if (!gst_ghost_pad_set_target (GST_GHOST_PAD (filter->sinkpad), pad)) in gst_face_overlay_create_children()
132 GST_ERROR_OBJECT (filter->sinkpad, "couldn't set sinkpad target"); in gst_face_overlay_create_children()
136 if (!gst_ghost_pad_set_target (GST_GHOST_PAD (filter->srcpad), pad)) in gst_face_overlay_create_children()
137 GST_ERROR_OBJECT (filter->srcpad, "couldn't set srcpad target"); in gst_face_overlay_create_children()
147 GST_ERROR_OBJECT (filter, "videoconvert element not found"); in gst_face_overlay_create_children()
[all …]
/third_party/ffmpeg/tests/fate/
Dfilter-video.mak1 …ALLYES, SMJPEG_DEMUXER MJPEG_DECODER PERMS_FILTER OWDENOISE_FILTER) += fate-filter-owdenoise-sample
2 fate-filter-owdenoise-sample: CMD = ffmpeg -auto_conversion_filters -idct simple -i $(TARGET_SAMPLE…
3 fate-filter-owdenoise-sample: REF = $(SAMPLES)/filter-reference/owdenoise-scenwin.raw
4 fate-filter-owdenoise-sample: CMP_TARGET = 1
5 fate-filter-owdenoise-sample: FUZZ = 3539
6 fate-filter-owdenoise-sample: CMP = oneoff
8 …ER_SAMPLES-$(call ALLYES, PERMS_FILTER DELOGO_FILTER RM_DEMUXER RV30_DECODER) += fate-filter-delogo
9 fate-filter-delogo: CMD = framecrc -i $(TARGET_SAMPLES)/real/rv30.rm -vf perms=random,delogo=show=0…
11 FATE_YADIF += fate-filter-yadif-mode0
12 fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpe…
[all …]
Dfilter-audio.mak1 FATE_AFILTER-$(call FILTERDEMDECENCMUX, ADELAY, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-adel…
2 fate-filter-adelay: tests/data/asynth-44100-2.wav
3 fate-filter-adelay: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
4 fate-filter-adelay: CMD = framecrc -i $(SRC) -af aresample,adelay=42,aresample
6 FATE_AFILTER-$(call FILTERDEMDECENCMUX, AECHO, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-aecho
7 fate-filter-aecho: tests/data/asynth-44100-2.wav
8 fate-filter-aecho: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
9 fate-filter-aecho: CMD = framecrc -i $(SRC) -af aresample,aecho=0.5:0.5:32:0.5,aresample
11 FATE_FILTER_AEMPHASIS += fate-filter-aemphasis-50fm
12 fate-filter-aemphasis-50fm: tests/data/asynth-44100-2.wav
[all …]
/third_party/gstreamer/gstplugins_good/gst/cutter/
Dgstcutter.c150 gst_cutter_init (GstCutter * filter) in gst_cutter_init() argument
152 filter->sinkpad = in gst_cutter_init()
154 gst_pad_set_chain_function (filter->sinkpad, gst_cutter_chain); in gst_cutter_init()
155 gst_pad_set_event_function (filter->sinkpad, gst_cutter_event); in gst_cutter_init()
156 gst_pad_use_fixed_caps (filter->sinkpad); in gst_cutter_init()
157 gst_element_add_pad (GST_ELEMENT (filter), filter->sinkpad); in gst_cutter_init()
159 filter->srcpad = in gst_cutter_init()
161 gst_pad_use_fixed_caps (filter->srcpad); in gst_cutter_init()
162 gst_element_add_pad (GST_ELEMENT (filter), filter->srcpad); in gst_cutter_init()
164 filter->threshold_level = CUTTER_DEFAULT_THRESHOLD_LEVEL; in gst_cutter_init()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/fieldanalysis/
Dgstfieldanalysis.c132 static GQueue *gst_field_analysis_flush_frames (GstFieldAnalysis * filter);
301 static gfloat same_parity_sad (GstFieldAnalysis * filter,
303 static gfloat same_parity_ssd (GstFieldAnalysis * filter,
305 static gfloat same_parity_3_tap (GstFieldAnalysis * filter,
307 static gfloat opposite_parity_5_tap (GstFieldAnalysis * filter,
309 static guint64 block_score_for_row_32detect (GstFieldAnalysis * filter,
311 static guint64 block_score_for_row_iscombed (GstFieldAnalysis * filter,
313 static guint64 block_score_for_row_5_tap (GstFieldAnalysis * filter,
315 static gfloat opposite_parity_windowed_comb (GstFieldAnalysis * filter,
319 gst_field_analysis_clear_frames (GstFieldAnalysis * filter) in gst_field_analysis_clear_frames() argument
[all …]

12345678910>>...140