• Home
  • Raw
  • Download

Lines Matching refs:packet

72   GstMpegVideoPacket packet;  in GST_START_TEST()  local
76 fail_unless (gst_mpeg_video_parse (&packet, mpeg2_seq, sizeof (mpeg2_seq), in GST_START_TEST()
78 fail_unless (packet.offset == off + 4); in GST_START_TEST()
80 fail_unless (GST_MPEG_VIDEO_PACKET_SLICE_MIN <= packet.type && in GST_START_TEST()
81 packet.type <= GST_MPEG_VIDEO_PACKET_SLICE_MAX); in GST_START_TEST()
82 fail_unless (packet.size < 0); in GST_START_TEST()
84 assert_equals_int (ordercode[i], packet.type); in GST_START_TEST()
86 off = packet.offset + packet.size; in GST_START_TEST()
95 GstMpegVideoPacket packet; in GST_START_TEST() local
97 gst_mpeg_video_parse (&packet, mpeg2_seq, sizeof (mpeg2_seq), 12); in GST_START_TEST()
99 fail_unless (packet.type == GST_MPEG_VIDEO_PACKET_SEQUENCE); in GST_START_TEST()
100 fail_unless (gst_mpeg_video_packet_parse_sequence_header (&packet, &seqhdr)); in GST_START_TEST()
120 GstMpegVideoPacket packet; in GST_START_TEST() local
122 gst_mpeg_video_parse (&packet, mpeg2_seq, sizeof (mpeg2_seq), 24); in GST_START_TEST()
124 fail_unless (packet.type == GST_MPEG_VIDEO_PACKET_EXTENSION); in GST_START_TEST()
125 fail_unless (gst_mpeg_video_packet_parse_sequence_extension (&packet, in GST_START_TEST()
145 GstMpegVideoPacket packet = { 0, }; in GST_START_TEST() local
151 gst_mpeg_video_parse (&packet, mis_identified_datas, in GST_START_TEST()
153 assert_equals_int (data[packet.offset - 4], 0); in GST_START_TEST()
154 assert_equals_int (data[packet.offset - 3], 0); in GST_START_TEST()
155 assert_equals_int (data[packet.offset - 2], 1); in GST_START_TEST()
156 off = packet.offset + packet.size; in GST_START_TEST()
158 fail_unless (packet.size < 0); in GST_START_TEST()
160 fail_unless (packet.size > 0); in GST_START_TEST()