Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/test-drivers/vicodec/
Dvicodec-core.c132 u32 comp_magic_cnt; member
362 p = memchr(p, magic[ctx->comp_magic_cnt], in get_next_header()
365 ctx->comp_magic_cnt = 0; in get_next_header()
369 copy = sizeof(magic) - ctx->comp_magic_cnt; in get_next_header()
373 memcpy(header + ctx->comp_magic_cnt, p, copy); in get_next_header()
374 ctx->comp_magic_cnt += copy; in get_next_header()
375 if (!memcmp(header, magic, ctx->comp_magic_cnt)) { in get_next_header()
380 ctx->comp_magic_cnt = 0; in get_next_header()
382 if (ctx->comp_magic_cnt < sizeof(magic)) { in get_next_header()
450 ctx->comp_magic_cnt = 0; in device_run()
[all …]