Age | Commit message (Collapse) | Author |
|
support for encoder
- Add level and profile for h264 encoder, level is mapped like level 5.1
to uLevel 51 for firmware except 1b to uLevel 14
- Add check for the function enc_mem_alloc() to ensure buffers are
allocated once to prevent memory leak
- modify streamoff() streamon() update_yuv_addr() and report_stream_done()
function to enable loop for encoder
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
Add support for i.MX8QM B0 vpu decoder and encoder and it is compatiable
with i.MX8QXP B0 VPU.
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
- Add sync frame flags
- modify width & height value when get format after set format for capture
- modify poll function
- decrease MIN_BUFFER_COUNT count to 3
- change file license
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
reset before start
Set default colorspace value in v4l2_ioctl_try_fmt()
Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
|
|
Add support for VC1 by adding start code and adjust transfer format for
H263
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
and modify interlaced
- Reserve 24M memory for vpu decoder stream buffers in dts, and 8M
for each instance
- Modify interlaced by using ctx->pSeqinfo->uProgressive to judge
interlaced or progressive
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
Add encoder driver changes to support multi-planar and min-count for
output buffers
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
Add multi-planar support for vpu encoder, and add more debug logs for
vpu decoder
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
fix encoder multi-instance bug
modify wait to wait_timeout
complete encoder suspend and resume
Signed-off-by: GuoRui <rui.guo_4@nxp.com>
|
|
create multi workqueue for vpu encoder
add suspend and resume code to encoder driver
add wait resume done in decoder resume function
solve coverity issue: 3520461 Out-of-bounds read
Signed-off-by: GuoRui <rui.guo_4@nxp.com>
|
|
1. Change enum format to get right compressed and yuv format
2. Modify profile when receive the case V4L2_CID_MPEG_VIDEO_H264_PROFILE
3. when receive V4L2_CID_MPEG_VIDEO_GOP_SIZE set the value for
uIFrameInterval but not for uGopBLength
4. need send stop if app call release without calling of
V4L2_ENC_CMD_STOP
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
Handle event 'frameone' and 'inputdone' when waiting stop
check forceStop and wakeup the wait event
add wait complete when close device
remove MFD access in encoder set and reset function
add V4L2_CID_MPEG_VIDEO_H264_LEVEL and cmd log, event log
Signed-off-by: GuoRui <rui.guo_4@nxp.com>
|
|
scfw xrdc enforcing, and add sync for v4l2 driver and firmware
Add MU for vpu encoder and decoder power in dts for scfw xrdc enforcing,
and add sync for v4l2 driver and firmware
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
firmware, cmd buffer protection, mb() and firmware version
initialize cmdword in send command
add cmd buf mutex to protect command buf
show firmware version number while starting encode
Signed-off-by: GuoRui <rui.guo_4@nxp.com>
|
|
encoder
Add runtime resume and suspend operation in vpu decoder and encoder
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
format convert, modify decoder log level
-Max instances count be set to three
-Encoder will stop when receive STOP command
-modify decoder log level between error and info
Signed-off-by: GuoRui <rui.guo_4@nxp.com>
|
|
for encoder driver
Remove uAlignmentMask to sync with vpu firmware for encoder driver
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
imx8qxp B0 board
VPU fault when use the latest toolchain for imx8qxp B0 board, replace
"ioreamp" with "ioremap_wc" in decoder and encoder for the following
memcpy action
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
qxp board
Change the definition of vpu B0 firmware name for qxp board to follow
previous platforms
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
Change VPU_PIX_FMT_ASP to V4L2_PIX_FMT_MPEG4 for vpu b0 encoder and
decoder
Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
|
|
Deal with the case that vpu firmware download fails, release the context
data
Signed-off-by: nxa13443 <chaofan.huang@nxp.com>
|
|
and decoder driver
change a repeated line in vpu B0 encoder and decoder driver, missed qxp
Signed-off-by: nxa13443 <chaofan.huang@nxp.com>
|
|
Change compatible name for B0 encoder and decoder in fsl-imx8qxp.dtsi
Signed-off-by: nxa13443 <chaofan.huang@nxp.com>
|
|
Modify seek for vpu decoder on B0
Signed-off-by: nxa13443 <chaofan.huang@nxp.com>
|
|
Add vpu decoder and encoder for imx8qxp b0 board,
decoder can support H265 H264 MPEG2 MPEG4 H263 etc
encoder can support H264
Signed-off-by: nxa13443 <chaofan.huang@nxp.com>
|