Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/vicodec/
Dvicodec-core.c120 u32 comp_magic_cnt; member
386 ctx->comp_magic_cnt = 0; in device_run()
441 p = memchr(p, magic[ctx->comp_magic_cnt], sz); in job_ready()
443 ctx->comp_magic_cnt = 0; in job_ready()
446 copy = sizeof(magic) - ctx->comp_magic_cnt; in job_ready()
449 memcpy(ctx->compressed_frame + ctx->comp_magic_cnt, in job_ready()
451 ctx->comp_magic_cnt += copy; in job_ready()
452 if (!memcmp(ctx->compressed_frame, magic, ctx->comp_magic_cnt)) { in job_ready()
457 ctx->comp_magic_cnt = 0; in job_ready()
459 if (ctx->comp_magic_cnt < sizeof(magic)) { in job_ready()
[all …]