Searched refs:ctx_headers (Results 1 – 10 of 10) sorted by relevance
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | mpegvideoparse.c | 90 fail_unless (map.size == ctx_headers[0].size - 8); in verify_buffer() 91 fail_unless (memcmp (map.data, ctx_headers[0].data, map.size) == 0); in verify_buffer() 99 ctx_headers[0].size + vdata->data_to_verify_size); in verify_buffer() 100 fail_unless (memcmp (map.data, ctx_headers[0].data, in verify_buffer() 101 ctx_headers[0].size) == 0); in verify_buffer() 102 fail_unless (memcmp (map.data + ctx_headers[0].size, in verify_buffer() 108 ctx_headers[0].data + ctx_headers[0].size - 8, 8) == 0); in verify_buffer() 176 ctx_headers[0].data = seq; in mpeg_video_parse_check_caps() 177 ctx_headers[0].size = size; in mpeg_video_parse_check_caps() 307 ctx_headers[0].data = mpeg2_seq; in mpegvideoparse_suite() [all …]
|
D | h264parse.c | 201 fail_unless (gst_buffer_get_size (buffer) == ctx_headers[i].size); in verify_buffer() 202 fail_unless (gst_buffer_memcmp (buffer, 0, ctx_headers[i].data, in verify_buffer() 239 ctx_headers[0].size + ctx_headers[1].size + ctx_headers[2].size); in verify_buffer() 240 fail_unless (GST_READ_UINT32_BE (data) == ctx_headers[0].size - 4); in verify_buffer() 241 fail_unless (memcmp (data + 4, ctx_headers[0].data + 4, in verify_buffer() 242 ctx_headers[0].size - 4) == 0); in verify_buffer() 243 data += ctx_headers[0].size; in verify_buffer() 244 fail_unless (GST_READ_UINT32_BE (data) == ctx_headers[1].size - 4); in verify_buffer() 245 fail_unless (memcmp (data + 4, ctx_headers[1].data + 4, in verify_buffer() 246 ctx_headers[1].size - 4) == 0); in verify_buffer() [all …]
|
D | mpeg4videoparse.c | 72 fail_unless (map.size == ctx_headers[0].size + vdata->data_to_verify_size); in verify_buffer() 73 fail_unless (memcmp (map.data, ctx_headers[0].data, in verify_buffer() 74 ctx_headers[0].size) == 0); in verify_buffer() 75 fail_unless (memcmp (map.data + ctx_headers[0].size, in verify_buffer() 163 ctx_headers[0].data = mpeg4_config; in mpeg4videoparse_suite() 164 ctx_headers[0].size = sizeof (mpeg4_config); in mpeg4videoparse_suite()
|
D | h265parse.c | 210 ctx_headers[0].size + ctx_headers[1].size + ctx_headers[2].size); in verify_buffer_bs_au() 212 fail_unless (memcmp (data, ctx_headers[0].data, ctx_headers[0].size) == 0); in verify_buffer_bs_au() 213 data += ctx_headers[0].size; in verify_buffer_bs_au() 214 fail_unless (memcmp (data, ctx_headers[1].data, ctx_headers[1].size) == 0); in verify_buffer_bs_au() 215 data += ctx_headers[1].size; in verify_buffer_bs_au() 216 fail_unless (memcmp (data, ctx_headers[2].data, ctx_headers[2].size) == 0); in verify_buffer_bs_au() 217 data += ctx_headers[2].size; in verify_buffer_bs_au() 1107 ctx_headers[0].data = h265_vps; in main() 1108 ctx_headers[0].size = sizeof (h265_vps); in main() 1109 ctx_headers[1].data = h265_sps; in main() [all …]
|
D | pcapparse.c | 127 ctx_headers[0].data = pcap_header; in pcapparse_suite() 128 ctx_headers[0].size = sizeof (pcap_header); in pcapparse_suite()
|
D | parser.h | 62 extern datablob ctx_headers[MAX_HEADERS];
|
D | parser.c | 37 datablob ctx_headers[MAX_HEADERS] = { {NULL, 0}, }; variable 215 memcpy (ptest->headers, ctx_headers, sizeof (ptest->headers)); in gst_parser_test_init()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | flacparse.c | 259 ctx_headers[0].data = streaminfo_header; in flacparse_suite() 260 ctx_headers[0].size = sizeof (streaminfo_header); in flacparse_suite() 261 ctx_headers[1].data = comment_header; in flacparse_suite() 262 ctx_headers[1].size = sizeof (comment_header); in flacparse_suite()
|
D | parser.h | 44 extern datablob ctx_headers[MAX_HEADERS];
|
D | parser.c | 37 datablob ctx_headers[MAX_HEADERS] = { {NULL, 0}, }; variable 214 memcpy (ptest->headers, ctx_headers, sizeof (ptest->headers)); in gst_parser_test_init()
|