Home
last modified time | relevance | path

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

/linux/drivers/staging/media/meson/vdec/
H A Dvdec_helpers.c80 static int canvas_alloc(struct amvdec_session *sess, u8 *canvas_id) in canvas_alloc() argument
89 ret = meson_canvas_alloc(sess->core->canvas, canvas_id); in canvas_alloc()
93 sess->canvas_alloc[sess->canvas_num++] = *canvas_id; in canvas_alloc()
102 u8 canvas_id[NUM_CANVAS_YUV420]; /* Y U V */ in set_canvas_yuv420m() local
107 ret = canvas_alloc(sess, &canvas_id[i]); in set_canvas_yuv420m()
116 meson_canvas_config(core->canvas, canvas_id[0], buf_paddr[0], in set_canvas_yuv420m()
122 meson_canvas_config(core->canvas, canvas_id[1], buf_paddr[1], in set_canvas_yuv420m()
128 meson_canvas_config(core->canvas, canvas_id[2], buf_paddr[2], in set_canvas_yuv420m()
134 ((canvas_id[2]) << 16) | in set_canvas_yuv420m()
135 ((canvas_id[1]) << 8) | in set_canvas_yuv420m()
[all …]