Lines Matching refs:nalu
150 GstH264NalUnit nalu; in GST_START_TEST() local
155 sizeof (slice_dpa), &nalu); in GST_START_TEST()
158 assert_equals_int (nalu.type, GST_H264_NAL_SLICE_DPA); in GST_START_TEST()
168 GstH264NalUnit nalu; in GST_START_TEST() local
173 res = gst_h264_parser_identify_nalu (parser, buf, 0, buf_size, &nalu); in GST_START_TEST()
176 assert_equals_int (nalu.type, GST_H264_NAL_SLICE_IDR); in GST_START_TEST()
177 assert_equals_int (nalu.size, 20); in GST_START_TEST()
179 n = nalu.offset + nalu.size; in GST_START_TEST()
183 res = gst_h264_parser_identify_nalu (parser, buf, 0, buf_size, &nalu); in GST_START_TEST()
186 assert_equals_int (nalu.type, GST_H264_NAL_SEQ_END); in GST_START_TEST()
187 assert_equals_int (nalu.size, 1); in GST_START_TEST()
189 n = nalu.offset + nalu.size; in GST_START_TEST()
193 res = gst_h264_parser_identify_nalu (parser, buf, 0, buf_size, &nalu); in GST_START_TEST()
196 assert_equals_int (nalu.type, GST_H264_NAL_SLICE_IDR); in GST_START_TEST()
197 assert_equals_int (nalu.size, 20); in GST_START_TEST()
199 n = nalu.offset + nalu.size; in GST_START_TEST()
203 res = gst_h264_parser_identify_nalu (parser, buf, 0, buf_size, &nalu); in GST_START_TEST()
206 assert_equals_int (nalu.type, GST_H264_NAL_STREAM_END); in GST_START_TEST()
207 assert_equals_int (nalu.size, 1); in GST_START_TEST()
217 GstH264NalUnit nalu; in GST_START_TEST() local
221 res = gst_h264_parser_identify_nalu (parser, buf, 0, 5, &nalu); in GST_START_TEST()
224 assert_equals_int (nalu.type, GST_H264_NAL_SLICE_IDR); in GST_START_TEST()
225 assert_equals_int (nalu.size, 1); in GST_START_TEST()
235 GstH264NalUnit nalu; in GST_START_TEST() local
245 res = gst_h264_parser_identify_nalu_avc (parser, buf, 2, buf_size, 2, &nalu); in GST_START_TEST()
248 assert_equals_int (nalu.type, GST_H264_NAL_SLICE_DPA); in GST_START_TEST()
249 assert_equals_int (nalu.offset, 4); in GST_START_TEST()
250 assert_equals_int (nalu.size, nal_size); in GST_START_TEST()
253 res = gst_h264_parser_identify_nalu_avc (parser, buf, 0, buf_size, 4, &nalu); in GST_START_TEST()
256 assert_equals_int (nalu.type, GST_H264_NAL_SLICE_DPA); in GST_START_TEST()
257 assert_equals_int (nalu.offset, 4); in GST_START_TEST()
258 assert_equals_int (nalu.size, nal_size); in GST_START_TEST()
261 res = gst_h264_parser_identify_nalu_avc (parser, buf, 0, buf_size, 4, &nalu); in GST_START_TEST()
266 res = gst_h264_parser_identify_nalu_avc (parser, buf, 0, buf_size, 4, &nalu); in GST_START_TEST()
271 res = gst_h264_parser_identify_nalu_avc (parser, buf, 0, buf_size, 4, &nalu); in GST_START_TEST()
276 res = gst_h264_parser_identify_nalu_avc (parser, buf, 0, buf_size, 4, &nalu); in GST_START_TEST()
281 res = gst_h264_parser_identify_nalu_avc (parser, buf, 0, buf_size, 4, &nalu); in GST_START_TEST()
344 GstH264NalUnit nalu; in GST_START_TEST() local
353 sizeof (nalu_sei_pic_timing), &nalu); in GST_START_TEST()
355 assert_equals_int (nalu.type, GST_H264_NAL_SEI); in GST_START_TEST()
357 res = gst_h264_parser_parse_sei (parser, &nalu, &seis); in GST_START_TEST()
364 &nalu); in GST_START_TEST()
366 assert_equals_int (nalu.type, GST_H264_NAL_SPS); in GST_START_TEST()
367 assert_equals_int (nalu.size, 28); in GST_START_TEST()
369 res = gst_h264_parser_parse_nal (parser, &nalu); in GST_START_TEST()
375 sizeof (nalu_sei_pic_timing), &nalu); in GST_START_TEST()
377 assert_equals_int (nalu.type, GST_H264_NAL_SEI); in GST_START_TEST()
379 res = gst_h264_parser_parse_sei (parser, &nalu, &seis); in GST_START_TEST()
388 sizeof (nalu_chained_sei), &nalu); in GST_START_TEST()
390 assert_equals_int (nalu.type, GST_H264_NAL_SEI); in GST_START_TEST()
392 res = gst_h264_parser_parse_sei (parser, &nalu, &seis); in GST_START_TEST()
580 GstH264NalUnit nalu; in GST_START_TEST() local
617 sizeof (nalu_sps_with_vui), &nalu); in GST_START_TEST()
619 assert_equals_int (nalu.type, GST_H264_NAL_SPS); in GST_START_TEST()
620 assert_equals_int (nalu.size, 28); in GST_START_TEST()
622 parse_ret = gst_h264_parser_parse_nal (parser, &nalu); in GST_START_TEST()
630 test_list[i].raw_data, 0, test_list[i].len, &nalu); in GST_START_TEST()
632 assert_equals_int (nalu.type, GST_H264_NAL_SEI); in GST_START_TEST()
634 parse_ret = gst_h264_parser_parse_sei (parser, &nalu, &msg_array); in GST_START_TEST()
690 info.data, 0, info.size, &nalu); in GST_START_TEST()
692 assert_equals_int (nalu.type, GST_H264_NAL_SEI); in GST_START_TEST()
693 parse_ret = gst_h264_parser_parse_sei (parser, &nalu, &msg_array); in GST_START_TEST()