Lines Matching refs:format

101   CamxPixelFormat format = (CamxPixelFormat)0;  in GetCameraPixelFormat()  local
104 format = CAMERA_PIXEL_FORMAT_NV21_ZSL; in GetCameraPixelFormat()
107 format = CAMERA_PIXEL_FORMAT_YUV_FLEX; in GetCameraPixelFormat()
110 format = CAMERA_PIXEL_FORMAT_UBWC_FLEX; in GetCameraPixelFormat()
113 format = CAMERA_PIXEL_FORMAT_UBWC_FLEX_2_BATCH; in GetCameraPixelFormat()
116 format = CAMERA_PIXEL_FORMAT_UBWC_FLEX_4_BATCH; in GetCameraPixelFormat()
119 format = CAMERA_PIXEL_FORMAT_UBWC_FLEX_8_BATCH; in GetCameraPixelFormat()
122 format = CAMERA_PIXEL_FORMAT_MULTIPLANAR_FLEX; in GetCameraPixelFormat()
125 format = CAMERA_PIXEL_FORMAT_RAW_OPAQUE; in GetCameraPixelFormat()
128 format = CAMERA_PIXEL_FORMAT_RAW10; in GetCameraPixelFormat()
131 format = CAMERA_PIXEL_FORMAT_RAW12; in GetCameraPixelFormat()
138 return format; in GetCameraPixelFormat()
141 int CameraInfo::GetBufferSize(int format, int width, int height, unsigned int *size) { in GetBufferSize() argument
144 result = LINK_camera_get_buffer_size(GetCameraPixelFormat(format), width, height, size); in GetBufferSize()
155 int CameraInfo::GetStrideInBytes(int format, int plane_type, int width, int *stride_bytes) { in GetStrideInBytes() argument
158 result = LINK_camera_get_stride_in_bytes(GetCameraPixelFormat(format), in GetStrideInBytes()
171 int CameraInfo::GetStrideInPixels(int format, int plane_type, int width, float *stride_pixel) { in GetStrideInPixels() argument
174 result = LINK_camera_get_stride_in_pixels(GetCameraPixelFormat(format), in GetStrideInPixels()
187 int CameraInfo::GetPixelIncrement(int format, int plane_type, int *pixel_increment) { in GetPixelIncrement() argument
190 result = LINK_camera_get_pixel_increment(GetCameraPixelFormat(format), in GetPixelIncrement()
203 int CameraInfo::GetPlaneOffset(int format, int plane_type, int width, int height, int *offset) { in GetPlaneOffset() argument
206 result = LINK_camera_get_plane_offset(GetCameraPixelFormat(format), in GetPlaneOffset()
219 int CameraInfo::GetSubsamplingFactor(int format, int plane_type, bool isHorizontal, in GetSubsamplingFactor() argument
223 result = LINK_camera_get_subsampling_factor(GetCameraPixelFormat(format), in GetSubsamplingFactor()
237 int CameraInfo::GetPlaneTypes(int format, PlaneComponent *plane_component_array, int *plane_count) { in GetPlaneTypes() argument
242 LINK_camera_get_plane_types(GetCameraPixelFormat(format), plane_types_array, plane_count); in GetPlaneTypes()
257 int CameraInfo::GetScanline(int format, int plane_type, int height, int *scanlines) { in GetScanline() argument
260 result = LINK_camera_get_scanline(GetCameraPixelFormat(format), GetCamxPlaneType(plane_type), in GetScanline()
272 int CameraInfo::GetPlaneSize(int format, int plane_type, int width, int height, in GetPlaneSize() argument
276 result = LINK_camera_get_plane_size(GetCameraPixelFormat(format), GetCamxPlaneType(plane_type), in GetPlaneSize()
288 int CameraInfo::GetCameraFormatPlaneInfo(int format, int width, int height, int *plane_count, in GetCameraFormatPlaneInfo() argument
300 result = GetPlaneTypes(format, plane_type, plane_count); in GetCameraFormatPlaneInfo()
308 result = GetSubsamplingFactor(format, plane_type[i], true, &h_subsampling); in GetCameraFormatPlaneInfo()
316 result = GetSubsamplingFactor(format, plane_type[i], false, &v_subsampling); in GetCameraFormatPlaneInfo()
324 result = GetPlaneOffset(format, plane_type[i], width, height, &offset); in GetCameraFormatPlaneInfo()
332 result = GetPixelIncrement(format, plane_type[i], &pixel_increment); in GetCameraFormatPlaneInfo()
340 result = GetStrideInPixels(format, plane_type[i], width, &stride_pixel); in GetCameraFormatPlaneInfo()
348 result = GetStrideInBytes(format, plane_type[i], width, &stride_bytes); in GetCameraFormatPlaneInfo()
356 result = GetScanline(format, plane_type[i], height, &scanlines); in GetCameraFormatPlaneInfo()
364 result = GetPlaneSize(format, plane_type[i], width, height, &plane_size); in GetCameraFormatPlaneInfo()
376 int CameraInfo::GetUBWCInfo(int format, bool *is_supported, bool *is_pi, int *version) { in GetUBWCInfo() argument
379 result = LINK_camera_get_ubwc_info(GetCameraPixelFormat(format), is_supported, is_pi, version); in GetUBWCInfo()
390 int CameraInfo::GetPlaneAlignment(int format, int plane_type, unsigned int *alignment) { in GetPlaneAlignment() argument
393 result = LINK_camera_get_plane_alignment(GetCameraPixelFormat(format), in GetPlaneAlignment()
406 int CameraInfo::IsPerPlaneFdNeeded(int format, bool *is_per_plane_fd_needed) { in IsPerPlaneFdNeeded() argument
410 LINK_camera_is_per_plane_fd_needed(GetCameraPixelFormat(format), is_per_plane_fd_needed); in IsPerPlaneFdNeeded()
422 int CameraInfo::GetBpp(int format, int *bpp) { in GetBpp() argument
425 result = LINK_camera_get_bpp(GetCameraPixelFormat(format), bpp); in GetBpp()
436 int CameraInfo::GetPerPlaneBpp(int format, int plane_type, int *bpp) { in GetPerPlaneBpp() argument
439 result = LINK_camera_get_per_plane_bpp(GetCameraPixelFormat(format), in GetPerPlaneBpp()
452 int CameraInfo::GetPlaneStartAddressAlignment(int format, int plane_type, int *alignment) { in GetPlaneStartAddressAlignment() argument
455 result = LINK_camera_get_plane_start_address_alignment(GetCameraPixelFormat(format), in GetPlaneStartAddressAlignment()