Home
last modified time | relevance | path

Searched refs:new_comp_frame (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c1567 u8 *new_comp_frame = NULL; in vicodec_start_streaming() local
1603 new_comp_frame = kvmalloc(ctx->comp_max_size, GFP_KERNEL); in vicodec_start_streaming()
1605 if (!state->ref_frame.luma || !new_comp_frame) { in vicodec_start_streaming()
1607 kvfree(new_comp_frame); in vicodec_start_streaming()
1619 memcpy(new_comp_frame, in vicodec_start_streaming()
1624 state->compressed_frame = new_comp_frame; in vicodec_start_streaming()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c1558 u8 *new_comp_frame = NULL; in vicodec_start_streaming() local
1594 new_comp_frame = kvmalloc(ctx->comp_max_size, GFP_KERNEL); in vicodec_start_streaming()
1596 if (!state->ref_frame.luma || !new_comp_frame) { in vicodec_start_streaming()
1598 kvfree(new_comp_frame); in vicodec_start_streaming()
1610 memcpy(new_comp_frame, in vicodec_start_streaming()
1615 state->compressed_frame = new_comp_frame; in vicodec_start_streaming()

Completed in 6 milliseconds