diff options
author | Johan Mossberg <johan.xx.mossberg@stericsson.com> | 2010-11-02 10:09:51 +0100 |
---|---|---|
committer | Robert FEKETE <robert.fekete@stericsson.com> | 2010-11-11 15:40:45 +0100 |
commit | 601ecc9ca65fd8b1718f4b8db2534a2bfe23d778 (patch) | |
tree | 0b1414d8ad3401960ed37f254a4fe00bb842c664 /include/blt_api.h | |
parent | 1ed6bfdc0327fc89baa96f6236200da7799b8010 (diff) |
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 <johan.xx.mossberg@stericsson.com>
Tested-by: Johan MOSSBERG <johan.xx.mossberg@stericsson.com>
Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com>
Diffstat (limited to 'include/blt_api.h')
-rwxr-xr-x | include/blt_api.h | 11 |
1 files 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; /** |