Lines Matching refs:thiz
55 fixate_output_frame_size (GstMsdkVPP * thiz, GstVideoInfo * vinfo, in fixate_output_frame_size() argument
83 if ((thiz->crop_left + thiz->crop_right >= from_w - 1) in fixate_output_frame_size()
84 || (thiz->crop_top + thiz->crop_bottom >= from_h - 1)) { in fixate_output_frame_size()
85 GST_WARNING_OBJECT (thiz, "ignoring crop... cropping too much!"); in fixate_output_frame_size()
87 from_w -= thiz->crop_left + thiz->crop_right; in fixate_output_frame_size()
88 from_h -= thiz->crop_top + thiz->crop_bottom; in fixate_output_frame_size()
92 if (thiz->rotation == 90 || thiz->rotation == 270) { in fixate_output_frame_size()
105 GST_DEBUG_OBJECT (thiz, in fixate_output_frame_size()
111 GST_DEBUG_OBJECT (thiz, "fixating to_par to %dx%d", n, d); in fixate_output_frame_size()
129 GST_DEBUG_OBJECT (thiz, "Input DAR is %d/%d", from_dar_n, from_dar_d); in fixate_output_frame_size()
139 GST_DEBUG_OBJECT (thiz, "height is fixed (%d)", h); in fixate_output_frame_size()
148 GST_DEBUG_OBJECT (thiz, "PAR is fixed %d/%d", to_par_n, to_par_d); in fixate_output_frame_size()
213 GST_DEBUG_OBJECT (thiz, "width is fixed (%d)", w); in fixate_output_frame_size()
222 GST_DEBUG_OBJECT (thiz, "PAR is fixed %d/%d", to_par_n, to_par_d); in fixate_output_frame_size()
442 GST_ELEMENT_ERROR (thiz, CORE, NEGOTIATION, (NULL), in fixate_output_frame_size()
449 fixate_frame_rate (GstMsdkVPP * thiz, GstVideoInfo * vinfo, GstStructure * outs) in fixate_frame_rate() argument
464 if (gst_msdkvpp_is_deinterlace_enabled (thiz, vinfo)) { in fixate_frame_rate()
476 GST_ELEMENT_ERROR (thiz, CORE, NEGOTIATION, (NULL), in fixate_frame_rate()
483 set_multiview_mode (GstMsdkVPP * thiz, GstVideoInfo * vinfo, in set_multiview_mode() argument
506 set_interlace_mode (GstMsdkVPP * thiz, GstVideoInfo * vinfo, in set_interlace_mode() argument
511 if (gst_msdkvpp_is_deinterlace_enabled (thiz, vinfo)) { in set_interlace_mode()
528 _get_preferred_src_caps (GstMsdkVPP * thiz, GstVideoInfo * vinfo, in _get_preferred_src_caps() argument
539 if (thiz->keep_aspect) in _get_preferred_src_caps()
548 if (!fixate_output_frame_size (thiz, vinfo, structure)) in _get_preferred_src_caps()
552 if (!fixate_frame_rate (thiz, vinfo, structure)) in _get_preferred_src_caps()
556 if (!set_multiview_mode (thiz, vinfo, structure)) in _get_preferred_src_caps()
562 if (!set_interlace_mode (thiz, vinfo, structure)) in _get_preferred_src_caps()
573 GST_WARNING_OBJECT (thiz, "Could not fixate src caps"); in _get_preferred_src_caps()
579 GST_WARNING_OBJECT (thiz, "Invalid sink caps interlace mode"); in _get_preferred_src_caps()