FROMLIST: media: mtk-vcodec: vdec: move stateful ops into their own file
We are planning to add support for stateless decoders to this driver. Part of the driver will be shared between stateful and stateless codecs, but a few ops need to be specialized for both. Extract the stateful part of the driver and move it into its own file, accessible through ops that the common driver parts can call. This patch only moves code around and introduces a set of abstractions ; the behavior of the driver should not be changed in any way. Changes to code styling has been done to accommodate 'checkpatch.pl --strict'. Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com> [acourbot: refactor, cleanup and split] Co-developed-by: Alexandre Courbot <acourbot@chromium.org> Signed-off-by: Alexandre Courbot <acourbot@chromium.org> Change-Id: I0bf192c6dbfca7fe0e542000ca3d1d4817c0425d
Showing
- drivers/media/platform/mtk-vcodec/Makefile 1 addition, 0 deletionsdrivers/media/platform/mtk-vcodec/Makefile
- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c 59 additions, 678 deletionsdrivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h 14 additions, 1 deletiondrivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h
- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c 8 additions, 2 deletionsdrivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c
- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c 625 additions, 0 deletionsdrivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c
- drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h 41 additions, 0 deletionsdrivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h
Loading
Please register or sign in to comment