1 /* Copyright (c) 2015-2016, 2018, The Linux Foundation. All rights reserved. 2 * 3 * This program is free software; you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License version 2 and 5 * only version 2 as published by the Free Software Foundation. 6 * 7 * This program is distributed in the hope that it will be useful, 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * GNU General Public License for more details. 11 */ 12 13 #ifndef __UAPI_MSM_JPEG_DMA__ 14 #define __UAPI_MSM_JPEG_DMA__ 15 16 #include <linux/videodev2.h> 17 18 /* msm jpeg dma control ID's */ 19 #define V4L2_CID_JPEG_DMA_SPEED (V4L2_CID_PRIVATE_BASE) 20 #define V4L2_CID_JPEG_DMA_MAX_DOWN_SCALE (V4L2_CID_PRIVATE_BASE + 1) 21 22 /* msm_jpeg_dma_buf */ 23 struct msm_jpeg_dma_buff { 24 int32_t fd; 25 uint32_t offset; 26 }; 27 28 #endif /* __UAPI_MSM_JPEG_DMA__ */ 29