Age | Commit message (Collapse) | Author |
|
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Signed-off-by: ming_qian <ming.qian@nxp.com>
|
|
set skip firmware bss flag when when driver clear firmware buffer.
If driver didn't clear the buffer, and the flag is set.
Something unexpected may happen.
So clear firmware buffer before download firmware every times.
Signed-off-by: ming_qian <ming.qian@nxp.com>
|
|
in the former patch, the order of allocate dma buffer will be changed.
if there is no enough memory, some error may occur.
so revert the former change, and add lock for alloc and free dma
Signed-off-by: ming_qian <ming.qian@nxp.com>
|
|
the api supplied by videobuf2 is not thread safe.
so in multi thread case, it may cause crash
refine the encoder driver, make sure the api are synchronized
Signed-off-by: ming_qian <ming.qian@nxp.com>
|
|
H264 frame
H264 may re-order the sequence of frame. report the sequence through
v4l2_buffer->sequence.
copy the timestamp of yuv frame to h264 frame
Signed-off-by: ming_qian <ming.qian@nxp.com>
|
|
If pointer is released, but it didn't set to NULL, it will be a wild
pointer. It may cause unexpected error, and hard to debug.
To avoid this bug, define a macro to release pointer and set it to NULL.
Signed-off-by: ming_qian <ming.qian@nxp.com>
|
|
the region of CMA associated with M0+ core is in [256M, 1G]
It can't be guaranteed that it's uncachable for M0+ core.
There are some risk, reserve memory to make sure it's in [128M, 256M].
Eliminate the potential risks
Signed-off-by: ming_qian <ming.qian@nxp.com>
|
|
change MXC_VPU_DECODER to MXC_VPU_MALONE
change the directory name vpu-encoder-b0 to vpu_windsor
Signed-off-by: ming_qian <ming.qian@nxp.com>
|