/* linux/drivers/media/video/samsung/jpeg_v2x/jpeg_mem.h * * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * Definition for Operation of Jpeg encoder/docoder with memory * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __JPEG_MEM_H__ #define __JPEG_MEM_H__ #include #include #include #include #include #include #include #include #include #include #include #if defined(CONFIG_VIDEOBUF2_CMA_PHYS) extern const struct jpeg_vb2 jpeg_vb2_cma; #elif defined(CONFIG_VIDEOBUF2_ION) extern const struct jpeg_vb2 jpeg_vb2_ion; #endif #define MAX_JPEG_WIDTH 3264 #define MAX_JPEG_HEIGHT 2448 #endif /* __JPEG_MEM_H__ */