Home
last modified time | relevance | path

Searched refs:comp_magic_cnt (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c134 u32 comp_magic_cnt; member
360 p = memchr(p, magic[ctx->comp_magic_cnt], in get_next_header()
363 ctx->comp_magic_cnt = 0; in get_next_header()
367 copy = sizeof(magic) - ctx->comp_magic_cnt; in get_next_header()
371 memcpy(header + ctx->comp_magic_cnt, p, copy); in get_next_header()
372 ctx->comp_magic_cnt += copy; in get_next_header()
373 if (!memcmp(header, magic, ctx->comp_magic_cnt)) { in get_next_header()
378 ctx->comp_magic_cnt = 0; in get_next_header()
380 if (ctx->comp_magic_cnt < sizeof(magic)) { in get_next_header()
448 ctx->comp_magic_cnt = 0; in device_run()
[all …]