Home
last modified time | relevance | path

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

/drivers/media/platform/vivid/
Dvivid-vid-out.c935 void *new_bitmap = NULL; in vidioc_s_fmt_vid_out_overlay() local
941 new_bitmap = vzalloc(bitmap_size); in vidioc_s_fmt_vid_out_overlay()
943 if (!new_bitmap) in vidioc_s_fmt_vid_out_overlay()
945 if (copy_from_user(new_bitmap, win->bitmap, bitmap_size)) { in vidioc_s_fmt_vid_out_overlay()
946 vfree(new_bitmap); in vidioc_s_fmt_vid_out_overlay()
954 dev->bitmap_out = new_bitmap; in vidioc_s_fmt_vid_out_overlay()
Dvivid-vid-cap.c1159 void *new_bitmap = NULL; in vidioc_s_fmt_vid_overlay() local
1165 new_bitmap = vzalloc(bitmap_size); in vidioc_s_fmt_vid_overlay()
1167 if (new_bitmap == NULL) in vidioc_s_fmt_vid_overlay()
1169 if (copy_from_user(new_bitmap, win->bitmap, bitmap_size)) { in vidioc_s_fmt_vid_overlay()
1170 vfree(new_bitmap); in vidioc_s_fmt_vid_overlay()
1179 dev->bitmap_cap = new_bitmap; in vidioc_s_fmt_vid_overlay()