From 601ecc9ca65fd8b1718f4b8db2534a2bfe23d778 Mon Sep 17 00:00:00 2001 From: Johan Mossberg Date: Tue, 2 Nov 2010 10:09:51 +0100 Subject: B2R2LIB: Add support for arbitrary offsets Add support for arbitrary offsets. This is needed by video and camera which have multiple buffers in one hwmem buffer. ST-Ericsson ID: ER 278069 Change-Id: I0629a134a4ba9b5f7aee421f7a28190a005e67d2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7654 Reviewed-by: Johan MOSSBERG Tested-by: Johan MOSSBERG Reviewed-by: Robert FEKETE --- include/blt_api.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/blt_api.h b/include/blt_api.h index 0633e04..5e61f88 100755 --- a/include/blt_api.h +++ b/include/blt_api.h @@ -218,10 +218,14 @@ enum blt_ptr_type { */ BLT_PTR_NONE, /** + * @deprecated Not supported, will be removed + * * @brief Use offset as a userspace virtual address */ BLT_PTR_VIRTUAL, /** + * @deprecated Will be removed + * * @brief Use offset as a physical address */ BLT_PTR_PHYSICAL, @@ -252,10 +256,9 @@ struct blt_buf { */ int32_t fd; /** - * @brief Offset where buffer can be found. When used in - * conjunction with a hwmem buffer the offset must be a multiple - * of the image size. If 'type' is set to BLT_PTR_VIRTUAL or - * BLT_PTR_PHYSICAL, then the offset is interpreted as an address. + * @brief Offset where buffer can be found. If 'type' is set to + * BLT_PTR_VIRTUAL or BLT_PTR_PHYSICAL, then the offset is interpreted as + * an address. */ uint32_t offset; /** -- cgit v1.2.3