Commit 030a7b5c authored by Xia Jiang's avatar Xia Jiang Committed by Mauro Carvalho Chehab

media: platform: Rename jpeg dec file name

Rename the files which are for decode feature. This is preparing
path since the jpeg enc patch will be added later.
Reviewed-by: default avatarTomasz Figa <tfiga@chromium.org>
Signed-off-by: default avatarXia Jiang <xia.jiang@mediatek.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 3e66e1d8
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
mtk_jpeg-objs := mtk_jpeg_core.o mtk_jpeg_hw.o mtk_jpeg_parse.o mtk_jpeg-objs := mtk_jpeg_core.o mtk_jpeg_dec_hw.o mtk_jpeg_dec_parse.o
obj-$(CONFIG_VIDEO_MEDIATEK_JPEG) += mtk_jpeg.o obj-$(CONFIG_VIDEO_MEDIATEK_JPEG) += mtk_jpeg.o
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
#include <media/videobuf2-dma-contig.h> #include <media/videobuf2-dma-contig.h>
#include <soc/mediatek/smi.h> #include <soc/mediatek/smi.h>
#include "mtk_jpeg_hw.h" #include "mtk_jpeg_dec_hw.h"
#include "mtk_jpeg_core.h" #include "mtk_jpeg_core.h"
#include "mtk_jpeg_parse.h" #include "mtk_jpeg_dec_parse.h"
static struct mtk_jpeg_fmt mtk_jpeg_formats[] = { static struct mtk_jpeg_fmt mtk_jpeg_formats[] = {
{ {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <media/videobuf2-core.h> #include <media/videobuf2-core.h>
#include "mtk_jpeg_hw.h" #include "mtk_jpeg_dec_hw.h"
#define MTK_JPEG_DUNUM_MASK(val) (((val) - 1) & 0x3) #define MTK_JPEG_DUNUM_MASK(val) (((val) - 1) & 0x3)
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <media/videobuf2-core.h> #include <media/videobuf2-core.h>
#include "mtk_jpeg_core.h" #include "mtk_jpeg_core.h"
#include "mtk_jpeg_reg.h" #include "mtk_jpeg_dec_reg.h"
enum { enum {
MTK_JPEG_DEC_RESULT_EOF_DONE = 0, MTK_JPEG_DEC_RESULT_EOF_DONE = 0,
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/videodev2.h> #include <linux/videodev2.h>
#include "mtk_jpeg_parse.h" #include "mtk_jpeg_dec_parse.h"
#define TEM 0x01 #define TEM 0x01
#define SOF0 0xc0 #define SOF0 0xc0
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifndef _MTK_JPEG_PARSE_H #ifndef _MTK_JPEG_PARSE_H
#define _MTK_JPEG_PARSE_H #define _MTK_JPEG_PARSE_H
#include "mtk_jpeg_hw.h" #include "mtk_jpeg_dec_hw.h"
bool mtk_jpeg_parse(struct mtk_jpeg_dec_param *param, u8 *src_addr_va, bool mtk_jpeg_parse(struct mtk_jpeg_dec_param *param, u8 *src_addr_va,
u32 src_size); u32 src_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment