APX-3302 User's Manual (OM110000019A)
-104 -
7.3.2 Extended error codes related to buffer
These are error codes that are stored when problem occurs at buffer registration process.
It is mainly occurred when function like AcapSelectFile or AcapReflectParam is executed
or setting is reflected (initialized) by function like AcapSetBufferAddress or AcapSetInfo.
Definition value
Value Content
ACL_BUFFINFO_ERR_NUMOFMEM
-1
Disagreement occurs in buffer number that is going to set up, and
a number of buffers
that is allocated by the AcapLib2.
Example:
Registers 5th buffer even ACL_MEM_NUM is“4”.
ACL_BUFFINFO_ERR_ALLOCATE
-2
Fails to secure memory of Acap library buffer.
It occurs when 1 frame size (X size x Y size) or number of
memories are too big.
ACL_BUFFINFO_ERR_EXIST
-3
It occurs when buffer number, which is going to register, is
already registered.
Also when you perform
“Buffer divided DMA”, this error occurs if
there is blank in Region rectangle.
ACL_BUFFINFO_ERR_XSIZE
-4
It is generated when X size of registering buffer is invalid.
ACL_BUFFINFO_ERR_YSIZE
-5
It is generated when Y size of registering buffer is invalid.
ACL_BUFFINFO_ERR_BITWIDTH
-6
It is generated when Bit width of registering buffer is invalid.
ACL_BUFFINFO_ERR_PTRNULL
-7
It is generated when pointer of registering buffer is “NULL”.
ACL_BUFFINFO_ERR_NO_BUFFER
-8
It occurs when specified buffer does not exist.
Also, it is occurred when buffer for storing pointer does not exist
at getting buffer address.
ACL_BUFFINFO_ERR_REGION_SIZE
-9
It occurs when rectangle size of Region structure specified by
“Non-linear DMA (ROI Transfer)”or “Buffer divided DMA” is
invalid.
ACL_BUFFINFO_ERR_REGION_PTRNULL -10
It occurs when buffer pointer, which is specified by
“Non-linear
DMA (ROI Transfer)”or “Buffer divided DMA”, is NULL.
ACL_BUFFINFO_ERR_REGION_NUM
-11
It occurs when number of Region structure in
“Buffer divided
DMA” is 2 or less.
ACL_BUFFINFO_ERR_INITDMA
-12
Buffer, which cannot be initialized by driver, is registered.
The following causes are thought for this problem.
Cause 1 : Alignment limit of buffer start address is not followed
Cause 2 : It is lower than alignment limit of X size
Cause 3 :
Multiple buffer’s size are not same
Cause 4 : Size information and actual buffer size are not same
ACL_BUFFINFO_ERR_SETBUFFER
-13
ACL_BUFFINFO_ERR_SIZEOF
-14
The SizeOf, which is member of structure that specified in 4th
argument of AcapSetDmaOptionEx, is invalid.
Table7-5: Extended error codes related to buffer
Summary of Contents for APX-3302
Page 1: ...APX 3302 User s Manual ...