• Home
  • Raw
  • Download

Lines Matching refs:videopad

748     GstAsfVideoPad *videopad = (GstAsfVideoPad *) asfpad;  in gst_asf_mux_write_stream_properties()  local
749 GST_WRITE_UINT32_LE (*buf, (guint32) videopad->vidinfo.width); in gst_asf_mux_write_stream_properties()
750 GST_WRITE_UINT32_LE (*buf + 4, (guint32) videopad->vidinfo.height); in gst_asf_mux_write_stream_properties()
760 gst_asf_put_i32 (*buf + 15, videopad->vidinfo.width); in gst_asf_mux_write_stream_properties()
761 gst_asf_put_i32 (*buf + 19, videopad->vidinfo.height); in gst_asf_mux_write_stream_properties()
763 GST_WRITE_UINT16_LE (*buf + 25, videopad->vidinfo.bit_cnt); in gst_asf_mux_write_stream_properties()
764 GST_WRITE_UINT32_LE (*buf + 27, videopad->vidinfo.compression); in gst_asf_mux_write_stream_properties()
765 GST_WRITE_UINT32_LE (*buf + 31, videopad->vidinfo.width * in gst_asf_mux_write_stream_properties()
766 videopad->vidinfo.height * videopad->vidinfo.bit_cnt); in gst_asf_mux_write_stream_properties()
767 GST_WRITE_UINT32_LE (*buf + 35, videopad->vidinfo.xpels_meter); in gst_asf_mux_write_stream_properties()
768 GST_WRITE_UINT32_LE (*buf + 39, videopad->vidinfo.ypels_meter); in gst_asf_mux_write_stream_properties()
769 GST_WRITE_UINT32_LE (*buf + 43, videopad->vidinfo.num_colors); in gst_asf_mux_write_stream_properties()
770 GST_WRITE_UINT32_LE (*buf + 47, videopad->vidinfo.imp_colors); in gst_asf_mux_write_stream_properties()
1415 GstAsfVideoPad * videopad) in gst_asf_mux_add_simple_index_entry() argument
1421 videopad->last_keyframe_packet, videopad->last_keyframe_packet_count); in gst_asf_mux_add_simple_index_entry()
1423 entry->packet_number = videopad->last_keyframe_packet; in gst_asf_mux_add_simple_index_entry()
1424 entry->packet_count = videopad->last_keyframe_packet_count; in gst_asf_mux_add_simple_index_entry()
1425 if (entry->packet_count > videopad->max_keyframe_packet_count) in gst_asf_mux_add_simple_index_entry()
1426 videopad->max_keyframe_packet_count = entry->packet_count; in gst_asf_mux_add_simple_index_entry()
1427 videopad->simple_index = g_slist_append (videopad->simple_index, entry); in gst_asf_mux_add_simple_index_entry()
1510 GstAsfVideoPad *videopad = (GstAsfVideoPad *) pad; in gst_asf_mux_flush_payloads() local
1511 if (videopad->has_keyframe) { in gst_asf_mux_flush_payloads()
1512 for (; videopad->next_index_time <= in gst_asf_mux_flush_payloads()
1514 videopad->next_index_time += videopad->time_interval) { in gst_asf_mux_flush_payloads()
1515 gst_asf_mux_add_simple_index_entry (asfmux, videopad); in gst_asf_mux_flush_payloads()
1554 GstAsfVideoPad *videopad = (GstAsfVideoPad *) pad; in gst_asf_mux_flush_payloads() local
1555 videopad->last_keyframe_packet = payload->packet_number; in gst_asf_mux_flush_payloads()
1556 videopad->last_keyframe_packet_count = payload->packet_count; in gst_asf_mux_flush_payloads()
1557 videopad->has_keyframe = TRUE; in gst_asf_mux_flush_payloads()
2078 GstAsfVideoPad *videopad = (GstAsfVideoPad *) pad; in gst_asf_mux_pad_reset() local
2079 videopad->vidinfo.size = 0; in gst_asf_mux_pad_reset()
2080 videopad->vidinfo.width = 0; in gst_asf_mux_pad_reset()
2081 videopad->vidinfo.height = 0; in gst_asf_mux_pad_reset()
2082 videopad->vidinfo.planes = 1; in gst_asf_mux_pad_reset()
2083 videopad->vidinfo.bit_cnt = 0; in gst_asf_mux_pad_reset()
2084 videopad->vidinfo.compression = 0; in gst_asf_mux_pad_reset()
2085 videopad->vidinfo.image_size = 0; in gst_asf_mux_pad_reset()
2086 videopad->vidinfo.xpels_meter = 0; in gst_asf_mux_pad_reset()
2087 videopad->vidinfo.ypels_meter = 0; in gst_asf_mux_pad_reset()
2088 videopad->vidinfo.num_colors = 0; in gst_asf_mux_pad_reset()
2089 videopad->vidinfo.imp_colors = 0; in gst_asf_mux_pad_reset()
2091 videopad->last_keyframe_packet = 0; in gst_asf_mux_pad_reset()
2092 videopad->has_keyframe = FALSE; in gst_asf_mux_pad_reset()
2093 videopad->last_keyframe_packet_count = 0; in gst_asf_mux_pad_reset()
2094 videopad->max_keyframe_packet_count = 0; in gst_asf_mux_pad_reset()
2095 videopad->next_index_time = 0; in gst_asf_mux_pad_reset()
2096 videopad->time_interval = DEFAULT_SIMPLE_INDEX_TIME_INTERVAL; in gst_asf_mux_pad_reset()
2097 if (videopad->simple_index) { in gst_asf_mux_pad_reset()
2099 for (walk = videopad->simple_index; walk; walk = g_slist_next (walk)) { in gst_asf_mux_pad_reset()
2103 g_slist_free (videopad->simple_index); in gst_asf_mux_pad_reset()
2105 videopad->simple_index = NULL; in gst_asf_mux_pad_reset()
2206 GstAsfVideoPad *videopad; in gst_asf_mux_video_set_caps() local
2215 videopad = (GstAsfVideoPad *) gst_pad_get_element_private (pad); in gst_asf_mux_video_set_caps()
2216 g_assert (videopad); in gst_asf_mux_video_set_caps()
2229 videopad->vidinfo.width = (gint32) width; in gst_asf_mux_video_set_caps()
2230 videopad->vidinfo.height = (gint32) height; in gst_asf_mux_video_set_caps()
2237 videopad->pad.codec_data = gst_value_get_buffer (codec_data); in gst_asf_mux_video_set_caps()
2238 gst_buffer_ref (videopad->pad.codec_data); in gst_asf_mux_video_set_caps()
2245 videopad->vidinfo.bit_cnt = 24; in gst_asf_mux_video_set_caps()
2250 videopad->vidinfo.compression = GST_STR_FOURCC (fstr); in gst_asf_mux_video_set_caps()
2253 videopad->vidinfo.compression = GST_MAKE_FOURCC ('W', 'M', 'V', '2'); in gst_asf_mux_video_set_caps()
2255 videopad->vidinfo.compression = GST_MAKE_FOURCC ('W', 'M', 'V', '1'); in gst_asf_mux_video_set_caps()
2257 videopad->vidinfo.compression = GST_MAKE_FOURCC ('W', 'M', 'V', '3'); in gst_asf_mux_video_set_caps()