Namespaces
Enumerations
enum SherlockConfigs
| Name | Value |
|---|---|
| MONITORING | 0u |
| VIDEO | 1 |
| VIDEO_EXTENDED_FOV | 2 |
| MAX | 3 |
Defined at line 13 of file ../../src/camera/drivers/controller/test/constants.h
enum GdcConfig
| Name | Value |
|---|---|
| MONITORING_360p | 0 |
| MONITORING_480p | 1 |
| MONITORING_720p | 2 |
| MONITORING_ML | 3 |
| VIDEO_CONFERENCE | 4 |
| VIDEO_CONFERENCE_EXTENDED_FOV | 5 |
| VIDEO_CONFERENCE_ML | 6 |
| INVALID | 7 |
Defined at line 16 of file ../../src/camera/drivers/controller/configs/internal_config.h
enum WriteFlags
| Name | Value |
|---|---|
| NONE | 0 |
| IN_DEFAULT | 1 << 0 |
| IN_NV12 | 1 << 1 |
| IN_BAYER8 | 1 << 2 |
| IN_BAYER16 | 1 << 3 |
| OUT_RAW | 1 << 8 |
| OUT_PGM | 1 << 9 |
| OUT_PNG_GRAY | 1 << 10 |
| OUT_PPM | 1 << 11 |
| OUT_PNG_RGB | 1 << 12 |
| MOD_SWAP | 1 << 16 |
| MOD_CENTER | 1 << 17 |
| MOD_UNPROCESSED | 1 << 18 |
| MOD_BAYER8HACK | 1 << 19 |
Defined at line 20 of file ../../src/camera/bin/factory/capture.h
enum Ge2DConfig
| Name | Value |
|---|---|
| GE2D_WATERMARK | 0 |
| GE2D_RESIZE | 1 |
| GE2D_COUNT | 2 |
Defined at line 27 of file ../../src/camera/drivers/controller/configs/internal_config.h
enum CameraType
| Name | Value |
|---|---|
| kCameraTypeMipiCsi | 1 |
| kCameraTypeUvc | 2 |
Defined at line 44 of file ../../src/camera/bin/device_watcher/device_watcher_impl.h
enum NodeType
| Name | Value |
|---|---|
| kInputStream | 0 |
| kGdc | 1 |
| kGe2d | 2 |
| kOutputStream | 3 |
| kPassthrough | 4 |
Defined at line 87 of file ../../src/camera/drivers/controller/configs/internal_config.h
Records
-
class AmlMipiDevice -
class AnalogGain -
class BlcResult -
class BufferCollection -
class BufferCollectionWithLifetime -
class CallStat -
class CameraGymStreamCyclerTest -
class CameraGymTest -
class CameraGymTest_PendingCollectionId_Test -
class Capture -
class CapturedFrame -
class ColorSource -
class ConstraintsOverrides -
class ControllerClientApp -
class ControllerDevice -
class ControllerErrorTest -
class ControllerErrorTest_TestSingleCommandPassCases_Test -
class ControllerImpl -
class ControllerMemoryAllocator -
class ControllerMemoryAllocatorTest -
class ControllerMemoryAllocatorTest_ConvertImageFormat2TypeTest_Test -
class ControllerMemoryAllocatorTest_MonitorConfigDS_Test -
class ControllerMemoryAllocatorTest_MonitorConfigFR_Test -
class ControllerMemoryAllocatorTest_VideoConfigFRGDC1_Test -
class ControllerMemoryAllocatorTest_VideoConfigGDC1GDC2_Test -
class ControllerParser -
class ControllerParserTest -
class ControllerParserTest_TestMultipleCommandFailCases_Test -
class ControllerParserTest_TestMultipleCommandPassCases_Test -
class ControllerParserTest_TestSingleCommandFailCases_Test -
class ControllerParserTest_TestSingleCommandPassCases_Test -
class ControllerReceiver -
class Crop -
class DebugClient -
class DebugImpl -
class DeviceImpl -
class DeviceImplTest -
class DeviceImplTest_ConfigurationSwitchingWhileAllocated_Test -
class DeviceImplTest_Configurations_Test -
class DeviceImplTest_CreateStreamFakeLegacyStream_Test -
class DeviceImplTest_CreateStreamNullConnection_Test -
class DeviceImplTest_DISABLED_SetBufferCollectionAgainWhileFramesHeld_Test -
class DeviceImplTest_FrameWaiterTest_Test -
class DeviceImplTest_GetFramesInvalidCall_Test -
class DeviceImplTest_GetFramesMultiClient_Test -
class DeviceImplTest_GetFrames_Test -
class DeviceImplTest_GetProperties_Test -
class DeviceImplTest_GoodToken_Test -
class DeviceImplTest_HardwareMuteState_Test -
class DeviceImplTest_Identifier_Test -
class DeviceImplTest_LegacyStreamPropertiesRestored_Test -
class DeviceImplTest_MultipleDeviceClients_Test -
class DeviceImplTest_NullToken_Test -
class DeviceImplTest_OrphanStream_Test -
class DeviceImplTest_Rebind_Test -
class DeviceImplTest_RequestStreamFromController_Test -
class DeviceImplTest_SetConfigurationDisconnectsStreams_Test -
class DeviceImplTest_SetCropRegion_Test -
class DeviceImplTest_SetResolutionInvalid_Test -
class DeviceImplTest_SetResolution_Test -
class DeviceImplTest_SoftwareMuteState_Test -
class DeviceImplTest_StreamClientDisconnect_Test -
class DeviceImplTest_WatchOrientation_Test -
class DeviceInstance -
class DeviceWatcherImpl -
class DigitalGain -
class FactoryServer -
class FakeCamera -
class FakeCameraImpl -
class FakeDeviceListenerRegistry -
class FakeLegacyStream -
class FakeLegacyStreamImpl -
class FakeLogicalBufferCollection -
class FakeStream -
class FakeStreamImpl -
class FrameCapture -
class FrameRateRange -
class FrameWaiter -
class GdcInfo -
class GdcNode -
class Ge2DInfo -
class Ge2dNode -
class HangingGetHelper -
class HangingGetHelper -
class HangingGetHelper -
class ImageIOUtil -
class ImageIter -
class ImageWriter -
class Imx227AnalogGainRegisters -
class Imx227Device -
class Imx227DigitalGainRegisters -
class InitSeqFmt -
class InputNode -
class IntegrationTime -
class InternalConfigInfo -
class InternalConfigNode -
class InternalConfigs -
class IsFidlChannelWrapper -
class IsFidlChannelWrapper -
class IsFidlChannelWrapper -
class IsFidlChannelWrapper -
class IsFidlChannelWrapper -
class IsFidlChannelWrapper -
class MetricsReporter -
class MovingWindow -
class MuteState -
class OutputNode -
class PassthroughNode -
class PipelineManager -
class ProcessNode -
class ProductConfig -
class Raw12Writer -
class Rgba -
class RgbaPixelFormatInfo -
class Service -
class SharedToken -
class SherlockProductConfig -
class StreamConstraints -
class StreamCreationData -
class StreamCycler -
class StreamCyclerTest_CommandSuccessNotify_Test -
class StreamCyclerTest_ComplexConfiguration_AutomaticMode_ConnectToStream_Test -
class StreamCyclerTest_ComplexConfiguration_ManualMode_ExecuteAddStreamCommand_Test -
class StreamCyclerTest_ComplexConfiguration_ManualMode_ExecuteSetConfigCommand_DifferentConfig_Test -
class StreamCyclerTest_ComplexConfiguration_ManualMode_ExecuteSetConfigCommand_SameConfig_Test -
class StreamCyclerTest_ComplexConfiguration_ManualMode_ExecuteSetCropCommand_Test -
class StreamCyclerTest_ComplexConfiguration_ManualMode_WatchCurrentConfigurationCallback_Test -
class StreamCyclerTest_SimpleConfiguration_AutomaticMode_ConnectToStream_Test -
class StreamCyclerTest_SimpleConfiguration_AutomaticMode_Create_Test -
class StreamCyclerTest_SimpleConfiguration_AutomaticMode_WatchCurrentConfigurationCallback_Test -
class StreamCyclerTest_SimpleConfiguration_AutomaticMode_WatchDevicesCallback_Test -
class StreamCyclerTest_SimpleConfiguration_ManualMode_ConnectToStream_Test -
class StreamCyclerTest_SimpleConfiguration_ManualMode_WatchCurrentConfigurationCallback_Test -
class StreamImpl -
class StreamInfo -
class StreamStorage -
class Streamer -
class SysmemAllocator -
class UniqueDevice -
class UtilTest_ConvertConfig_Test -
class VirtualCamera -
class VirtualCameraAgent -
class VirtualCameraHalController -
class VirtualCameraImpl -
class VmoPoolWrapper -
class WatermarkInfo -
class WebUI -
class WebUIControl
Functions
-
fuchsia::math::Size ConvertToSize (fuchsia::sysmem::ImageFormat_2 format)Defined at line 9 of file ../../src/camera/bin/usb_device/size_util.cc
-
uint8_t BitWidthToByteMask (uint8_t bit_width)Defined at line 11 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
fuchsia_sysmem::wire::ImageFormat2 ConvertToWireType (fuchsia::sysmem::ImageFormat_2 image_format)Defined at line 16 of file ../../src/camera/lib/format_conversion/format_conversion.cc
-
std::string CommandErrorString (fuchsia::camera::gym::CommandError status)Defined at line 11 of file ../../src/camera/bin/camera-gym/controller_error/controller_error.cc
-
bool SizeEqual (fuchsia::math::Size a, fuchsia::math::Size b)Defined at line 16 of file ../../src/camera/bin/usb_device/size_util.cc
-
fuchsia::sysmem2::BufferCollectionConstraints V2CopyFromV1BufferCollectionConstraints (const fuchsia::sysmem::BufferCollectionConstraints & v1)Defined at line 19 of file ../../src/camera/drivers/controller/sherlock/video_conferencing_config.cc
-
bool operator== (const BlcResult lhs, const BlcResult rhs)Comparator logic for blc_result
Defined at line 20 of file ../../src/camera/lib/image_utils/blc.h
-
template <class PixelSize>void WriteByteAligned (void * start, PixelSize value, uint32_t width, uint32_t height, uint32_t stride)Write an image plane whose pixels are 2^n bytes wide.
Defined at line 24 of file ../../src/camera/lib/image_utils/hsv_generator.cc
-
fit::function<void (zx_status_t)> MakeErrorHandler (bool panic, cpp20::source_location location)Defined at line 27 of file ../../src/camera/drivers/controller/util.h
-
fuchsia::sysmem::BufferCollectionConstraints CopyConstraintsWithNewCampingBufferCount (const fuchsia::sysmem::BufferCollectionConstraints & original, uint32_t new_camping_buffer_count)Defined at line 29 of file ../../src/camera/drivers/controller/sherlock/common_util.cc
-
template <class T>void Unbind (fidl::InterfacePtr<T> & p)Safely unbinds a client connection, doing so on the connection's thread if it differs from the
caller's thread.
Defined at line 29 of file ../../src/camera/bin/device/util.h
-
void WriteSingleColorImage (Rgba rgba, const fuchsia::sysmem::ImageFormat_2 & format, void * buffer)Defined at line 34 of file ../../src/camera/lib/image_utils/hsv_generator.cc
-
zx_status_t GetImageFormat (image_format_2_t & image_format, uint32_t pixel_format_type, uint32_t width, uint32_t height)Create a fake ImageFormat2.
Defined at line 37 of file ../../src/camera/drivers/test_utils/fake_buffer_collection.cc
-
WriteFlags operator| (WriteFlags _lhs, WriteFlags _rhs)Defined at line 43 of file ../../src/camera/bin/factory/capture.h
-
fpromise::result<fuchsia::camera3::Configuration2, zx_status_t> Convert (const fuchsia::camera2::hal::Config & config)Converts a camera2.hal.Config to a camera3.Configuration
Defined at line 43 of file ../../src/camera/bin/device/util.h
-
fuchsia_sysmem::wire::ImageFormat2 ConvertV2ToV1WireType (const fuchsia::images2::ImageFormat & image_format)Defined at line 45 of file ../../src/camera/lib/format_conversion/format_conversion.cc
-
std::array<uint8_t, kBytesPerDoublePixel> PixelValuesToDoublePixel (uint16_t first_pixel_val, uint16_t second_pixel_val)Helper method that organizes two individual pixel values into the appropriate RAW12
double-pixel format.
Args:
|first_pixel| A 12-bit value representing either a R or G pixel.
|second_pixel| A 12-bit value representing either a G or B pixel.
Returns:
An array of the bytes that were passed in arranged in RAW12 pixel format.
Defined at line 15 of file ../../src/camera/lib/image_utils/raw12_writer.cc
-
WriteFlags operator& (WriteFlags _lhs, WriteFlags _rhs)Defined at line 47 of file ../../src/camera/bin/factory/capture.h
-
const char * NodeTypeName (const InternalConfigNode & node)Defined at line 48 of file ../../src/camera/drivers/controller/util.h
-
zx_koid_t GetRelatedKoid (zx_handle_t handle)Defined at line 55 of file ../../src/camera/drivers/controller/controller_protocol.cc
-
RgbaPixelFormatInfo GetPixelInfo (const fuchsia::sysmem::PixelFormatType & format)Defined at line 59 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
fuchsia_sysmem::wire::ImageFormatConstraints ConvertToWireType (fuchsia::sysmem::ImageFormatConstraints constraints)TODO: Please use fidl::ToWire() instead. See sysmem-version.cc for an UnusedArena that can
avoid the caller needing to pass in a real arena, since sysmem V1 flat structs don't really need
one (but fidl::ToWire() requires an arena param).
Defined at line 59 of file ../../src/camera/lib/format_conversion/format_conversion.cc
-
template <typename ElementType, typename... Elements>std::vector<ElementType> MakeVec (ElementType && element0, Elements &&... rest)This template can be used to syntactically-inline initialize a vector whose element type is
move-only.
Defined at line 66 of file ../../src/camera/drivers/controller/sherlock/common_util.h
-
fit::function<void (fit::closure)> MakeContinuation (fit::function<void (fit::closure)> func, fit::function<void (fit::closure)> then)This function helps chain together async methods to provide continuation semantics. While inline
lambdas can easily transform `foo(callback)` into `bar([
&
]{foo(callback);})`, this function can
transform it into a form equivalent to `foo([
&
]{bar(callback);})`
Defined at line 68 of file ../../src/camera/drivers/controller/util.h
-
zx_status_t HsvGenerator (void * start, const fuchsia::sysmem::ImageFormat_2 & format, uint32_t frame_index)HsvGenerator steps through hue at a constant rate in HSV colorspace,
with saturation and value remaining constant. A color is written to
a buffer provided, in the image format specified.
Currently only RGB types are supported
Defined at line 69 of file ../../src/camera/lib/image_utils/hsv_generator.cc
-
bool ComparePacked (fuchsia::sysmem::PixelFormatType format1, uint32_t value1, fuchsia::sysmem::PixelFormatType format2, uint32_t value2)Defined at line 72 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
zx_status_t CreateContiguousBufferCollectionInfo (buffer_collection_info_2_t & buffer_collection, const image_format_2_t & image_format, zx_handle_t bti_handle, uint32_t num_buffers)Creates a BufferCollectionInfo2 that is allocated with contiguous memory.
This is meant as a helper utility for testing puroposes.
The format of the BufferCollection is hardcoded to NV12
There are no format modifiers, and the planes are unpopulated.
|buffer_collection| : output BufferCollectionInfo_2
|image_format| : ImageFormat_2 structure containing size information
|bti_handle| : bti used for allocating the contiguous vmos
|num_buffers| : number of buffers to allocate in the buffer collection
Returns
: ZX_OK if allocation works, otherwise returns status from
failed zx_vmo_create_contiguous.
Defined at line 74 of file ../../src/camera/drivers/test_utils/fake_buffer_collection.cc
-
Rgba BitWidthToByteMask (Rgba bit_width)Converts the bit width (0-8) a field has into a mask
for that value, assuming it is shifted into the most significant region
of the byte.
Defined at line 20 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
BlcResult BlcRaw12 (const zx::vmo * vmo, uint32_t width, uint32_t height, uint8_t bytes_per_pixel)Args:
|vmo| Memory object containing the image to run BLC on.
|width| The width of the image; needed to calculate image size and stride.
|height| The height of the image; needed to calculate image size.
|bytes_per_pixel| Integer denoting how many bytes each pixel consists of; needed to calculate
image stride.
Returns:
A struct containing the results of the BLC run on the passed-in image.
Defined at line 13 of file ../../src/camera/lib/image_utils/blc.cc
-
Rgba Min (const Rgba & a, const Rgba & b)Defined at line 16 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
std::pair<uint16_t, uint16_t> DoublePixelToPixelValues (std::array<uint8_t, kBytesPerDoublePixel> double_pixel)Helper method that extracts the original pixel values from a RAW12 double-pixel.
Args:
|double_pixel| An array of bytes arranged in RAW12 pixel format (represents two pixels).
Returns:
A pair of each of the two 12-bit pixel values that comprised the original double-pixel.
Defined at line 24 of file ../../src/camera/lib/image_utils/raw12_writer.cc
-
void AddValsFromPairToTargetInts (uint32_t * first_val, uint32_t * second_val, std::pair<uint16_t, uint16_t> p)Helper method to add integers from a tuple to other integers, in their respective order.
Args:
|first_val| The target integer to add the first tuple value to.
|second_val| The target integer to add the second tuple value to.
|p| The pair containing values to add to the target integers.
Defined at line 43 of file ../../src/camera/lib/image_utils/blc.cc
-
fuchsia::camera2::StreamProperties GetStreamProperties (fuchsia::camera2::CameraStreamType type)Defined at line 14 of file ../../src/camera/drivers/controller/sherlock/common_util.cc
-
fuchsia::sysmem2::BufferCollectionConstraints InvalidConstraints ()Defined at line 20 of file ../../src/camera/drivers/controller/sherlock/common_util.cc
-
void UvcHackGetClientStreamProperties2 (fuchsia::camera3::StreamProperties2 * stream_properties)Client buffers are supporting NV12
Defined at line 69 of file ../../src/camera/bin/usb_device/uvc_hack.cc
-
fuchsia::camera3::StreamProperties Convert (const fuchsia::camera3::StreamProperties2 & properties)Converts a valid camera3.StreamProperties2 to a camera3.StreamProperties, dropping the
|supported_resolutions| field.
Defined at line 77 of file ../../src/camera/bin/device/util.h
-
InternalConfigNode DebugConfigFullRes ()Returns the internal debug configuration(FR).
Defined at line 86 of file ../../src/camera/drivers/controller/sherlock/isp_debug_config.cc
-
fuchsia::camera2::hal::Config DebugConfig ()Return the external debug configuration.
Defined at line 57 of file ../../src/camera/drivers/controller/sherlock/isp_debug_config.cc
-
Rgba RgbaUnpack (fuchsia::sysmem::PixelFormatType format, uint32_t packed)Converts a packed RGB(A) format into 4 individual values.
For formats that have fewer than 8 bits per color, the color values are shifted
to their most significant bits. If the bitwidth of a channel is 0,
(for example a format with no alpha channel), that value is 0.
Defined at line 64 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
uint32_t RgbaPack (fuchsia::sysmem::PixelFormatType format, Rgba in)Converts an r, g, b and a value into an RGB(A) format. The format may be smaller
than 4 bytes, in which case the packed pixel value occupies to least significant
position.
Defined at line 68 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
numerics::Rational FramerateToInterval (const fuchsia::camera2::FrameRate & fps)Converts a camera2.FrameRate (Hz) to a frame time interval (seconds).
Defined at line 78 of file ../../src/camera/drivers/controller/util.h
-
std::string ToString (const fuchsia::sysmem::PixelFormatType & type)Defined at line 84 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
Rgba BitWidth (const fuchsia::sysmem::PixelFormatType & type)Get the width in bits of each of the components of an RGBA format.
Defined at line 88 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
fuchsia::sysmem2::BufferCollectionConstraints CopyConstraintsWithOverrides (const fuchsia::sysmem::BufferCollectionConstraints & original, ConstraintsOverrides overrides)This function returns a copy of the provided constraints struct but with certain parameters
modified to the provided values. This can be used to set output constraints of an internal node
based on the an external stream config. This is useful because external configs apply real
constraints to the collection (e.g. min_buffer_count), but they also represent aggregate views of
the controller constraints to the client (specifically, min_buffer_count_for_camping). Because it
is not possible for a collection client to voluntarily relinquish ownership of its camping
allocation (https://fxbug.dev/42182036) it is necessary to set this field to zero when the
constraints are being used as a proxy to reserve space for a future client.
Defined at line 37 of file ../../src/camera/drivers/controller/sherlock/common_util.cc
-
void UvcHackGetClientBufferImageFormatConstraints (fuchsia::sysmem2::ImageFormatConstraints * image_format_constraints)Client buffers are supporting NV12
Defined at line 10 of file ../../src/camera/bin/usb_device/uvc_hack.cc
-
void UvcHackGetClientBufferCollectionConstraints (fuchsia::sysmem2::BufferCollectionConstraints * buffer_collection_constraints)Client buffers are supporting NV12
Defined at line 35 of file ../../src/camera/bin/usb_device/uvc_hack.cc
-
void UvcHackGetClientStreamProperties (fuchsia::camera3::StreamProperties * stream_properties)Client buffers are supporting NV12
Defined at line 54 of file ../../src/camera/bin/usb_device/uvc_hack.cc
-
fuchsia::camera2::hal::Config VideoConferencingConfig (bool extended_fov)Return the external video conferencing configuration.
Defined at line 85 of file ../../src/camera/drivers/controller/sherlock/video_conferencing_config.cc
-
uint32_t BytesPerPixel (const fuchsia::sysmem::PixelFormatType & type)Defined at line 90 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
fuchsia_sysmem::wire::ImageFormat2 GetImageFormatFromConstraints (fuchsia_sysmem::wire::ImageFormatConstraints constraints, uint32_t coded_width, uint32_t coded_height)Defined at line 119 of file ../../src/camera/lib/format_conversion/format_conversion.cc
-
fuchsia_sysmem::wire::ImageFormatConstraints ConvertV2ToV1WireType (const fuchsia::sysmem2::ImageFormatConstraints & constraints)Defined at line 105 of file ../../src/camera/lib/format_conversion/format_conversion.cc
-
std::vector<fuchsia::sysmem::PixelFormatType> GetSupportedFormats ()Defined at line 97 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
void UvcHackGetServerFrameRate (fuchsia::camera::FrameRate * frame_rate)Server buffers are supporting YUY2 (a.k.a. YUYV).
Defined at line 90 of file ../../src/camera/bin/usb_device/uvc_hack.cc
-
void UvcHackGetServerBufferVideoFormat (fuchsia::camera::VideoFormat * video_format)Server buffers are supporting YUY2 (a.k.a. YUYV).
Defined at line 96 of file ../../src/camera/bin/usb_device/uvc_hack.cc
-
template <typename R, typename T, typename U = T, typename... Args>auto BindPolyMethod (T * instance, R (U::*)(Args...) fn)This method extends fit::bind_member with an implicit derived-class cast.
Defined at line 99 of file ../../src/camera/drivers/controller/util.h
-
zx_status_t DestroyContiguousBufferCollection (buffer_collection_info_2_t & buffer_collection)Tears down the buffer collection.
Defined at line 102 of file ../../src/camera/drivers/test_utils/fake_buffer_collection.cc
-
template <typename T>std::string Format (const std::vector<T> & v, const std::array<char, 3> separators)Formats a vector into a string using the given separators.
Defined at line 106 of file ../../src/camera/drivers/controller/util.h
-
fuchsia_sysmem::wire::PixelFormat ConvertPixelFormatToWire (const fuchsia::sysmem::PixelFormat & format)Defined at line 106 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
fuchsia_sysmem::wire::ImageFormat2 ConvertImageFormatToWire (const fuchsia::sysmem::ImageFormat_2 & format)Defined at line 118 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
void UvcHackConvertYUY2ToNV12 (uint8_t * client_frame, const uint8_t * driver_frame)Warning! Grotesquely hard coded for YUY2 server side
&
NV12 client side.
TODO(ernesthua) - Replace this with libyuv!
Defined at line 111 of file ../../src/camera/bin/usb_device/uvc_hack.cc
-
fuchsia::camera2::hal::Config MonitoringConfig ()Return the external monitor configuration.
Defined at line 120 of file ../../src/camera/drivers/controller/sherlock/monitoring_config.cc
-
void ForEachLine (const std::string & s, fit::function<void (const std::string &)> fn)Invokes the provided function for each line (spans between newline characters) of the provided
string. This is used for breaking up long syslog messages to stay under the message size limit.
Defined at line 120 of file ../../src/camera/drivers/controller/util.h
-
InternalConfigNode DebugConfigDownScaledRes ()Returns the internal debug configuration(DS).
Defined at line 127 of file ../../src/camera/drivers/controller/sherlock/isp_debug_config.cc
-
bool IsSupportedPixelFormat (const fuchsia::sysmem::PixelFormatType & type)Return if |type| is a supported format for the above functions.
Defined at line 93 of file ../../src/camera/lib/image_utils/image_format_rgba.cc
-
fuchsia::sysmem2::BufferCollectionConstraints GdcVideo2Constraints ()Defined at line 138 of file ../../src/camera/drivers/controller/sherlock/video_conferencing_config.cc
-
template <typename T>zx_handle_t GetFidlChannelHandle (const T & fidl)Defined at line 159 of file ../../src/camera/bin/device/util.h
-
template <typename T>zx_koid_t GetKoid (const T & fidl)Defined at line 165 of file ../../src/camera/bin/device/util.h
-
template <typename T>zx_koid_t GetRelatedKoid (const T & fidl)Defined at line 170 of file ../../src/camera/bin/device/util.h
-
fuchsia::sysmem2::BufferCollectionConstraints Gdc1Constraints ()Defined at line 174 of file ../../src/camera/drivers/controller/sherlock/monitoring_config.cc
-
template <typename T>std::pair<zx_koid_t, zx_koid_t> GetKoids (const T & fidl)Defined at line 175 of file ../../src/camera/bin/device/util.h
-
fuchsia::sysmem2::BufferCollectionConstraints Ge2dConstraints ()Defined at line 176 of file ../../src/camera/drivers/controller/sherlock/video_conferencing_config.cc
-
fuchsia::sysmem2::BufferCollectionConstraints MonitorConfigFullResConstraints ()Defined at line 214 of file ../../src/camera/drivers/controller/sherlock/monitoring_config.cc
-
fuchsia::sysmem2::BufferCollectionConstraints GdcVideo1InputConstraints ()Defined at line 223 of file ../../src/camera/drivers/controller/sherlock/video_conferencing_config.cc
-
fuchsia::sysmem2::BufferCollectionConstraints GdcVideo1OutputConstraints ()Defined at line 232 of file ../../src/camera/drivers/controller/sherlock/video_conferencing_config.cc
-
Rgba RgbaMinRes (fuchsia::sysmem::PixelFormatType format1, fuchsia::sysmem::PixelFormatType format2)Returns the minimum shared bit width between the two formats: |format1| and |format2|.
Each of the |r|, |g|, |b|, |a| return contain a bit width (0-8) for that channel.
-
fuchsia::sysmem2::BufferCollectionConstraints VideoConfigFullResConstraints ()Defined at line 287 of file ../../src/camera/drivers/controller/sherlock/video_conferencing_config.cc
-
InternalConfigNode VideoConfigFullRes (bool extended_fov)Returns the internal video conferencing configuration (FR).
Defined at line 300 of file ../../src/camera/drivers/controller/sherlock/video_conferencing_config.cc
-
fuchsia::sysmem2::BufferCollectionConstraints Gdc2Constraints ()Defined at line 304 of file ../../src/camera/drivers/controller/sherlock/monitoring_config.cc
-
fuchsia::sysmem2::BufferCollectionConstraints Ge2dMonitoringConstraints ()Defined at line 314 of file ../../src/camera/drivers/controller/sherlock/monitoring_config.cc
-
std::list<std::reference_wrapper<const InternalConfigNode>> GetPathICNodes (const std::vector<InternalConfigNode> & roots, std::vector<uint8_t> path)Returns a list of nodes corresponding to the given path.
TODO(100525): Ideally the controller would just create a bidirectionally traversible
representation of the product config when first loaded.
Defined at line 325 of file ../../src/camera/drivers/controller/pipeline_manager.cc
-
fuchsia::sysmem2::BufferCollectionConstraints Gdc2OutputConstraints ()Defined at line 383 of file ../../src/camera/drivers/controller/sherlock/monitoring_config.cc
-
fuchsia::sysmem2::BufferCollectionConstraints MonitorConfigDownScaledResConstraints ()Defined at line 426 of file ../../src/camera/drivers/controller/sherlock/monitoring_config.cc
-
zx_status_t RgbaUnpack (fuchsia::sysmem::PixelFormatType format, uint8_t * r, uint8_t * g, uint8_t * b, uint8_t * a, uint32_t packed)Converts a packed RGB(A) format into 4 individual values.
For formats that have fewer than 8 bits per color, the color values are shifted
to their most significant bits.
-
zx_status_t RgbaPack (fuchsia::sysmem::PixelFormatType format, uint8_t r, uint8_t g, uint8_t b, uint8_t a, uint32_t * out)Converts an r, g, b and a value into an RGB(A) format.
-
InternalConfigNode MonitorConfigDownScaledRes ()Returns the internal monitor configuration (DS).
Defined at line 436 of file ../../src/camera/drivers/controller/sherlock/monitoring_config.cc
-
InternalConfigNode MonitorConfigFullRes ()Returns the internal monitor configuration (FR).
Defined at line 224 of file ../../src/camera/drivers/controller/sherlock/monitoring_config.cc
Variables
const uint16_t kHighByteMask
Defined at line 12 of file ../../src/camera/lib/image_utils/image_writer.h
const uint16_t kLowHalfByteMask
Defined at line 13 of file ../../src/camera/lib/image_utils/image_writer.h
const char *const kExtension
Defined at line 13 of file ../../src/camera/lib/stream_utils/image_io_util.h
const uint8_t kDoubleByteShift
Defined at line 14 of file ../../src/camera/lib/image_utils/image_writer.h
const uint16_t kMaxVal
Defined at line 14 of file ../../src/camera/lib/image_utils/raw12_writer.h
const char *const kFilename
Defined at line 14 of file ../../src/camera/lib/stream_utils/image_io_util.h
const uint8_t kByteShift
Defined at line 15 of file ../../src/camera/lib/image_utils/image_writer.h
const uint16_t kRedPixel
Defined at line 15 of file ../../src/camera/lib/image_utils/raw12_writer.h
const uint8_t kHalfByteShift
Defined at line 16 of file ../../src/camera/lib/image_utils/image_writer.h
const uint32_t kBytesPerDoublePixel
Defined at line 16 of file ../../src/camera/lib/image_utils/raw12_writer.h
const char * base_dir
Defined at line 22 of file ../../src/camera/bin/camera-gym/frame_capture.cc
const uint32_t kMaxCoarseIntegrationTimeFor30fpsInLines
Defined at line 38 of file ../../src/camera/drivers/sensors/imx227/constants.h
const uint32_t kMaxCoarseIntegrationTimeFor15fpsInLines
Defined at line 40 of file ../../src/camera/drivers/sensors/imx227/constants.h
const std::array<frame_rate_info_t, 32U> frame_rate_to_integration_time_lut
Defined at line 43 of file ../../src/camera/drivers/sensors/imx227/constants.h
const bool IsFidlChannelWrapperV
Defined at line 60 of file ../../src/camera/bin/usb_device/util_fidl.h
const bool IsFidlChannelWrapperV
Defined at line 60 of file ../../src/camera/bin/usb_device/util_fidl.h
const bool IsFidlChannelWrapperV
Defined at line 155 of file ../../src/camera/bin/device/util.h
const bool IsFidlChannelWrapperV
Defined at line 155 of file ../../src/camera/bin/device/util.h
const bool IsFidlChannelWrapperV
Defined at line 155 of file ../../src/camera/bin/device/util.h
const bool IsFidlChannelWrapperV
Defined at line 156 of file ../../src/camera/bin/device/util.h