summaryrefslogtreecommitdiff
path: root/drivers/media/rc/ir-spi.c
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>2017-08-04 12:32:40 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-20 09:30:37 -0400
commit25b6beabd0f918c38d4f830c5a60feda2e146e43 (patch)
tree14a2fd8bd7a96301575c271a103d0e676b1b8087 /drivers/media/rc/ir-spi.c
parent801c6a17784217dbc36216b6050ffc0f2208c5a2 (diff)
media: v4l: vsp1: Calculate partition sizes at stream start
Previously the active window and partition sizes for each partition were calculated for each partition every frame. This data is constant and only needs to be calculated once at the start of the stream. Extend the vsp1_pipe object to dynamically store the number of partitions required and pre-calculate the partition sizes into this table. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/ir-spi.c')
0 files changed, 0 insertions, 0 deletions