summaryrefslogtreecommitdiff
path: root/drivers/mxc/vpu-encoder-b0
AgeCommit message (Collapse)Author
2018-08-24MLK-19285 VPU: Add level and profile support for encoder and loopHuang Chaofan
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>
2018-08-24MLK-19226 VPU: Add support for i.MX8QM B0 vpu decoder and encoderHuang Chaofan
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>
2018-08-24MLK-19136 VPU: Modify vpu encoder code for AndroidHuang Chaofan
- 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>
2018-08-24MLK-19058 - [I.MX8QXP/VPU]: Refine negotiation protocol to avoid camera ↵Zhou Peng
reset before start Set default colorspace value in v4l2_ioctl_try_fmt() Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2018-08-24MLK-18954 VPU: Add support for H263 and VC1Huang Chaofan
Add support for VC1 by adding start code and adjust transfer format for H263 Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
2018-08-24MLK-18659 VPU: Reserve 24M memory for vpu decoder stream buffers in dtsHuang Chaofan
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>
2018-08-24MLK-18638 VPU: Add encoder driver changes to support multi-planarHuang Chaofan
Add encoder driver changes to support multi-planar and min-count for output buffers Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
2018-08-24MLK-18604 VPU: Add multi-planar support for vpu encoderHuang Chaofan
Add multi-planar support for vpu encoder, and add more debug logs for vpu decoder Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
2018-08-24MLK-18481: encoder multi-instance, wait_timeout, suspend & resumeGuoRui
fix encoder multi-instance bug modify wait to wait_timeout complete encoder suspend and resume Signed-off-by: GuoRui <rui.guo_4@nxp.com>
2018-08-24MLK-18389:vpu encoder add multi-workqueue suspend and resumeGuoRui
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>
2018-08-24MLK-18321 VPU: Adjust vpu encoder code to run for gst-launch-1.0Huang Chaofan
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>
2018-08-24MLK-18270:fix VPU encoder one stream hang issueGuoRui
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>
2018-08-24MLK-18250 VPU: Add MU for vpu encoder and decoder power in dts forHuang Chaofan
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>
2018-08-24MLK-18133 fix encoder one instance hang issue, add start sync withGuoRui
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>
2018-08-24MLK-18103 VPU: Enable runtime resume and suspend in vpu decoder andHuang Chaofan
encoder Add runtime resume and suspend operation in vpu decoder and encoder Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
2018-08-24MLK-18079 add encoder multi-instance and stop cmd to firmware, remove yuv ↵GuoRui
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>
2018-08-24MLK-18032[IMX8QXP B0] Remove uAlignmentMask to sync with vpu firmwareHuang Chaofan
for encoder driver Remove uAlignmentMask to sync with vpu firmware for encoder driver Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
2018-08-24MLK-18006[IMX8QXP B0] VPU fault when use the latest toolchain forHuang Chaofan
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>
2018-08-24MLK-17999[IMX8QXP B0] Change the definition of vpu B0 firmware name forHuang Chaofan
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>
2018-08-24MLK-17946[IMX8QXP B0] Change VPU_PIX_FMT_ASP to V4L2_PIX_FMT_MPEG4Huang Chaofan
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>
2018-08-24MLK-17945[IMX8QXP B0] Deal with the case that firmware download failsnxa13443
Deal with the case that vpu firmware download fails, release the context data Signed-off-by: nxa13443 <chaofan.huang@nxp.com>
2018-08-24MLK-17936[IMX8QXP B0] Change repeated compatible name in vpu B0 encodernxa13443
and decoder driver change a repeated line in vpu B0 encoder and decoder driver, missed qxp Signed-off-by: nxa13443 <chaofan.huang@nxp.com>
2018-08-24MLK-17933[IMX8QXP B0] Change compatible name for B0 encoder and decodernxa13443
Change compatible name for B0 encoder and decoder in fsl-imx8qxp.dtsi Signed-off-by: nxa13443 <chaofan.huang@nxp.com>
2018-08-24MLK-17912 [IMX8QXP B0] ENABLE SEEK for DECODER on IMX8QXP B0 boardnxa13443
Modify seek for vpu decoder on B0 Signed-off-by: nxa13443 <chaofan.huang@nxp.com>
2018-08-24MLK-17902 [IMX8QXP B0]VPU ENCODER and DECODER on IMX8QXP B0 boardnxa13443
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>