summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/algorithms
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-08-26 17:00:21 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-27 00:52:32 +0300
commit6453e75c7ab28622d948745a768f3cc0ad2a2882 (patch)
treeed9df8718183e9b263719a443be5de35fd58a4f8 /src/ipa/ipu3/algorithms
parentc5e2ed7806be482e682b7466beeff83130297a3f (diff)
android: camera_buffer: Add stride/offset/size function
This adds getter functions of stride, offset and size to CameraBuffer interface. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/ipu3/algorithms')
0 files changed, 0 insertions, 0 deletions
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Copyright (C) 2020, Google Inc.
#
%YAML 1.1
---
formats:
  - R8:
      fourcc: DRM_FORMAT_R8
  - R10:
      fourcc: DRM_FORMAT_R10
  - R12:
      fourcc: DRM_FORMAT_R12

  - RGB565:
      fourcc: DRM_FORMAT_RGB565
  - RGB565_BE:
      fourcc: DRM_FORMAT_RGB565
      big_endian: true

  - RGB888:
      fourcc: DRM_FORMAT_RGB888
  - BGR888:
      fourcc: DRM_FORMAT_BGR888

  - XRGB8888:
      fourcc: DRM_FORMAT_XRGB8888
  - XBGR8888:
      fourcc: DRM_FORMAT_XBGR8888
  - RGBX8888:
      fourcc: DRM_FORMAT_RGBX8888
  - BGRX8888:
      fourcc: DRM_FORMAT_BGRX8888

  - ARGB8888:
      fourcc: DRM_FORMAT_ARGB8888
  - ABGR8888:
      fourcc: DRM_FORMAT_ABGR8888
  - RGBA8888:
      fourcc: DRM_FORMAT_RGBA8888
  - BGRA8888:
      fourcc: DRM_FORMAT_BGRA8888

  - YUYV:
      fourcc: DRM_FORMAT_YUYV
  - YVYU:
      fourcc: DRM_FORMAT_YVYU
  - UYVY:
      fourcc: DRM_FORMAT_UYVY
  - VYUY:
      fourcc: DRM_FORMAT_VYUY
  - AVUY8888:
      fourcc: DRM_FORMAT_AVUY8888
  - XVUY8888:
      fourcc: DRM_FORMAT_XVUY8888

  - NV12:
      fourcc: DRM_FORMAT_NV12
  - NV21:
      fourcc: DRM_FORMAT_NV21
  - NV16:
      fourcc: DRM_FORMAT_NV16
  - NV61:
      fourcc: DRM_FORMAT_NV61
  - NV24:
      fourcc: DRM_FORMAT_NV24
  - NV42:
      fourcc: DRM_FORMAT_NV42

  - YUV420:
      fourcc: DRM_FORMAT_YUV420
  - YVU420:
      fourcc: DRM_FORMAT_YVU420
  - YUV422:
      fourcc: DRM_FORMAT_YUV422
  - YVU422:
      fourcc: DRM_FORMAT_YVU422
  - YUV444:
      fourcc: DRM_FORMAT_YUV444
  - YVU444:
      fourcc: DRM_FORMAT_YVU444

  - MJPEG:
      fourcc: DRM_FORMAT_MJPEG

  - SRGGB8:
      fourcc: DRM_FORMAT_SRGGB8
  - SGRBG8:
      fourcc: DRM_FORMAT_SGRBG8
  - SGBRG8:
      fourcc: DRM_FORMAT_SGBRG8
  - SBGGR8:
      fourcc: DRM_FORMAT_SBGGR8

  - SRGGB10:
      fourcc: DRM_FORMAT_SRGGB10
  - SGRBG10:
      fourcc: DRM_FORMAT_SGRBG10
  - SGBRG10:
      fourcc: DRM_FORMAT_SGBRG10
  - SBGGR10:
      fourcc: DRM_FORMAT_SBGGR10

  - SRGGB12:
      fourcc: DRM_FORMAT_SRGGB12
  - SGRBG12:
      fourcc: DRM_FORMAT_SGRBG12
  - SGBRG12:
      fourcc: DRM_FORMAT_SGBRG12
  - SBGGR12:
      fourcc: DRM_FORMAT_SBGGR12

  - SRGGB14:
      fourcc: DRM_FORMAT_SRGGB14
  - SGRBG14:
      fourcc: DRM_FORMAT_SGRBG14
  - SGBRG14:
      fourcc: DRM_FORMAT_SGBRG14
  - SBGGR14:
      fourcc: DRM_FORMAT_SBGGR14

  - SRGGB16:
      fourcc: DRM_FORMAT_SRGGB16
  - SGRBG16:
      fourcc: DRM_FORMAT_SGRBG16
  - SGBRG16:
      fourcc: DRM_FORMAT_SGBRG16
  - SBGGR16:
      fourcc: DRM_FORMAT_SBGGR16

  - R10_CSI2P:
      fourcc: DRM_FORMAT_R10
      mod: MIPI_FORMAT_MOD_CSI2_PACKED

  - SRGGB10_CSI2P:
      fourcc: DRM_FORMAT_SRGGB10
      mod: MIPI_FORMAT_MOD_CSI2_PACKED
  - SGRBG10_CSI2P:
      fourcc: DRM_FORMAT_SGRBG10
      mod: MIPI_FORMAT_MOD_CSI2_PACKED
  - SGBRG10_CSI2P:
      fourcc: DRM_FORMAT_SGBRG10
      mod: MIPI_FORMAT_MOD_CSI2_PACKED
  - SBGGR10_CSI2P:
      fourcc: DRM_FORMAT_SBGGR10
      mod: MIPI_FORMAT_MOD_CSI2_PACKED

  - SRGGB12_CSI2P:
      fourcc: DRM_FORMAT_SRGGB12
      mod: MIPI_FORMAT_MOD_CSI2_PACKED
  - SGRBG12_CSI2P:
      fourcc: DRM_FORMAT_SGRBG12
      mod: MIPI_FORMAT_MOD_CSI2_PACKED
  - SGBRG12_CSI2P:
      fourcc: DRM_FORMAT_SGBRG12
      mod: MIPI_FORMAT_MOD_CSI2_PACKED
  - SBGGR12_CSI2P:
      fourcc: DRM_FORMAT_SBGGR12
      mod: MIPI_FORMAT_MOD_CSI2_PACKED

  - SRGGB14_CSI2P:
      fourcc: DRM_FORMAT_SRGGB14
      mod: MIPI_FORMAT_MOD_CSI2_PACKED
  - SGRBG14_CSI2P: