extension

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CameraOutputConfigTypeSurface             int32 = 0
	CameraOutputConfigTypeImagereader         int32 = 1
	CameraOutputConfigTypeMultiresImagereader int32 = 2
)
View Source
const (
	TransactionIAdvancedExtenderImplIsExtensionAvailable                 = binder.FirstCallTransaction + 0
	TransactionIAdvancedExtenderImplInit                                 = binder.FirstCallTransaction + 1
	TransactionIAdvancedExtenderImplGetEstimatedCaptureLatencyRange      = binder.FirstCallTransaction + 2
	TransactionIAdvancedExtenderImplGetSupportedPreviewOutputResolutions = binder.FirstCallTransaction + 3
	TransactionIAdvancedExtenderImplGetSupportedCaptureOutputResolutions = binder.FirstCallTransaction + 4
	TransactionIAdvancedExtenderImplGetSupportedPostviewResolutions      = binder.FirstCallTransaction + 5
	TransactionIAdvancedExtenderImplGetSessionProcessor                  = binder.FirstCallTransaction + 6
	TransactionIAdvancedExtenderImplGetAvailableCaptureRequestKeys       = binder.FirstCallTransaction + 7
	TransactionIAdvancedExtenderImplGetAvailableCaptureResultKeys        = binder.FirstCallTransaction + 8
	TransactionIAdvancedExtenderImplIsCaptureProcessProgressAvailable    = binder.FirstCallTransaction + 9
	TransactionIAdvancedExtenderImplIsPostviewAvailable                  = binder.FirstCallTransaction + 10
	TransactionIAdvancedExtenderImplGetAvailableCharacteristicsKeyValues = binder.FirstCallTransaction + 11
)
View Source
const (
	MethodIAdvancedExtenderImplIsExtensionAvailable                 = "isExtensionAvailable"
	MethodIAdvancedExtenderImplInit                                 = "init"
	MethodIAdvancedExtenderImplGetEstimatedCaptureLatencyRange      = "getEstimatedCaptureLatencyRange"
	MethodIAdvancedExtenderImplGetSupportedPreviewOutputResolutions = "getSupportedPreviewOutputResolutions"
	MethodIAdvancedExtenderImplGetSupportedCaptureOutputResolutions = "getSupportedCaptureOutputResolutions"
	MethodIAdvancedExtenderImplGetSupportedPostviewResolutions      = "getSupportedPostviewResolutions"
	MethodIAdvancedExtenderImplGetSessionProcessor                  = "getSessionProcessor"
	MethodIAdvancedExtenderImplGetAvailableCaptureRequestKeys       = "getAvailableCaptureRequestKeys"
	MethodIAdvancedExtenderImplGetAvailableCaptureResultKeys        = "getAvailableCaptureResultKeys"
	MethodIAdvancedExtenderImplIsCaptureProcessProgressAvailable    = "isCaptureProcessProgressAvailable"
	MethodIAdvancedExtenderImplIsPostviewAvailable                  = "isPostviewAvailable"
	MethodIAdvancedExtenderImplGetAvailableCharacteristicsKeyValues = "getAvailableCharacteristicsKeyValues"
)
View Source
const (
	TransactionICameraExtensionsProxyServiceRegisterClient              = binder.FirstCallTransaction + 0
	TransactionICameraExtensionsProxyServiceUnregisterClient            = binder.FirstCallTransaction + 1
	TransactionICameraExtensionsProxyServiceAdvancedExtensionsSupported = binder.FirstCallTransaction + 2
	TransactionICameraExtensionsProxyServiceInitializeSession           = binder.FirstCallTransaction + 3
	TransactionICameraExtensionsProxyServiceReleaseSession              = binder.FirstCallTransaction + 4
	TransactionICameraExtensionsProxyServiceInitializePreviewExtension  = binder.FirstCallTransaction + 5
	TransactionICameraExtensionsProxyServiceInitializeImageExtension    = binder.FirstCallTransaction + 6
	TransactionICameraExtensionsProxyServiceInitializeAdvancedExtension = binder.FirstCallTransaction + 7
)
View Source
const (
	MethodICameraExtensionsProxyServiceRegisterClient              = "registerClient"
	MethodICameraExtensionsProxyServiceUnregisterClient            = "unregisterClient"
	MethodICameraExtensionsProxyServiceAdvancedExtensionsSupported = "advancedExtensionsSupported"
	MethodICameraExtensionsProxyServiceInitializeSession           = "initializeSession"
	MethodICameraExtensionsProxyServiceReleaseSession              = "releaseSession"
	MethodICameraExtensionsProxyServiceInitializePreviewExtension  = "initializePreviewExtension"
	MethodICameraExtensionsProxyServiceInitializeImageExtension    = "initializeImageExtension"
	MethodICameraExtensionsProxyServiceInitializeAdvancedExtension = "initializeAdvancedExtension"
)
View Source
const (
	TransactionICaptureCallbackOnCaptureStarted           = binder.FirstCallTransaction + 0
	TransactionICaptureCallbackOnCaptureProcessStarted    = binder.FirstCallTransaction + 1
	TransactionICaptureCallbackOnCaptureFailed            = binder.FirstCallTransaction + 2
	TransactionICaptureCallbackOnCaptureSequenceCompleted = binder.FirstCallTransaction + 3
	TransactionICaptureCallbackOnCaptureSequenceAborted   = binder.FirstCallTransaction + 4
	TransactionICaptureCallbackOnCaptureCompleted         = binder.FirstCallTransaction + 5
	TransactionICaptureCallbackOnCaptureProcessProgressed = binder.FirstCallTransaction + 6
	TransactionICaptureCallbackOnCaptureProcessFailed     = binder.FirstCallTransaction + 7
)
View Source
const (
	MethodICaptureCallbackOnCaptureStarted           = "onCaptureStarted"
	MethodICaptureCallbackOnCaptureProcessStarted    = "onCaptureProcessStarted"
	MethodICaptureCallbackOnCaptureFailed            = "onCaptureFailed"
	MethodICaptureCallbackOnCaptureSequenceCompleted = "onCaptureSequenceCompleted"
	MethodICaptureCallbackOnCaptureSequenceAborted   = "onCaptureSequenceAborted"
	MethodICaptureCallbackOnCaptureCompleted         = "onCaptureCompleted"
	MethodICaptureCallbackOnCaptureProcessProgressed = "onCaptureProcessProgressed"
	MethodICaptureCallbackOnCaptureProcessFailed     = "onCaptureProcessFailed"
)
View Source
const (
	TransactionICaptureProcessorImplOnOutputSurface         = binder.FirstCallTransaction + 0
	TransactionICaptureProcessorImplOnPostviewOutputSurface = binder.FirstCallTransaction + 1
	TransactionICaptureProcessorImplOnResolutionUpdate      = binder.FirstCallTransaction + 2
	TransactionICaptureProcessorImplOnImageFormatUpdate     = binder.FirstCallTransaction + 3
	TransactionICaptureProcessorImplProcess                 = binder.FirstCallTransaction + 4
)
View Source
const (
	MethodICaptureProcessorImplOnOutputSurface         = "onOutputSurface"
	MethodICaptureProcessorImplOnPostviewOutputSurface = "onPostviewOutputSurface"
	MethodICaptureProcessorImplOnResolutionUpdate      = "onResolutionUpdate"
	MethodICaptureProcessorImplOnImageFormatUpdate     = "onImageFormatUpdate"
	MethodICaptureProcessorImplProcess                 = "process"
)
View Source
const (
	TransactionIImageCaptureExtenderImplOnInit                            = binder.FirstCallTransaction + 0
	TransactionIImageCaptureExtenderImplOnDeInit                          = binder.FirstCallTransaction + 1
	TransactionIImageCaptureExtenderImplOnPresetSession                   = binder.FirstCallTransaction + 2
	TransactionIImageCaptureExtenderImplOnEnableSession                   = binder.FirstCallTransaction + 3
	TransactionIImageCaptureExtenderImplOnDisableSession                  = binder.FirstCallTransaction + 4
	TransactionIImageCaptureExtenderImplGetSessionType                    = binder.FirstCallTransaction + 5
	TransactionIImageCaptureExtenderImplIsExtensionAvailable              = binder.FirstCallTransaction + 6
	TransactionIImageCaptureExtenderImplInit                              = binder.FirstCallTransaction + 7
	TransactionIImageCaptureExtenderImplGetCaptureProcessor               = binder.FirstCallTransaction + 8
	TransactionIImageCaptureExtenderImplGetCaptureStages                  = binder.FirstCallTransaction + 9
	TransactionIImageCaptureExtenderImplGetMaxCaptureStage                = binder.FirstCallTransaction + 10
	TransactionIImageCaptureExtenderImplGetSupportedResolutions           = binder.FirstCallTransaction + 11
	TransactionIImageCaptureExtenderImplGetSupportedPostviewResolutions   = binder.FirstCallTransaction + 12
	TransactionIImageCaptureExtenderImplGetEstimatedCaptureLatencyRange   = binder.FirstCallTransaction + 13
	TransactionIImageCaptureExtenderImplGetAvailableCaptureRequestKeys    = binder.FirstCallTransaction + 14
	TransactionIImageCaptureExtenderImplGetAvailableCaptureResultKeys     = binder.FirstCallTransaction + 15
	TransactionIImageCaptureExtenderImplIsCaptureProcessProgressAvailable = binder.FirstCallTransaction + 16
	TransactionIImageCaptureExtenderImplGetRealtimeCaptureLatency         = binder.FirstCallTransaction + 17
	TransactionIImageCaptureExtenderImplIsPostviewAvailable               = binder.FirstCallTransaction + 18
)
View Source
const (
	MethodIImageCaptureExtenderImplOnInit                            = "onInit"
	MethodIImageCaptureExtenderImplOnDeInit                          = "onDeInit"
	MethodIImageCaptureExtenderImplOnPresetSession                   = "onPresetSession"
	MethodIImageCaptureExtenderImplOnEnableSession                   = "onEnableSession"
	MethodIImageCaptureExtenderImplOnDisableSession                  = "onDisableSession"
	MethodIImageCaptureExtenderImplGetSessionType                    = "getSessionType"
	MethodIImageCaptureExtenderImplIsExtensionAvailable              = "isExtensionAvailable"
	MethodIImageCaptureExtenderImplInit                              = "init"
	MethodIImageCaptureExtenderImplGetCaptureProcessor               = "getCaptureProcessor"
	MethodIImageCaptureExtenderImplGetCaptureStages                  = "getCaptureStages"
	MethodIImageCaptureExtenderImplGetMaxCaptureStage                = "getMaxCaptureStage"
	MethodIImageCaptureExtenderImplGetSupportedResolutions           = "getSupportedResolutions"
	MethodIImageCaptureExtenderImplGetSupportedPostviewResolutions   = "getSupportedPostviewResolutions"
	MethodIImageCaptureExtenderImplGetEstimatedCaptureLatencyRange   = "getEstimatedCaptureLatencyRange"
	MethodIImageCaptureExtenderImplGetAvailableCaptureRequestKeys    = "getAvailableCaptureRequestKeys"
	MethodIImageCaptureExtenderImplGetAvailableCaptureResultKeys     = "getAvailableCaptureResultKeys"
	MethodIImageCaptureExtenderImplIsCaptureProcessProgressAvailable = "isCaptureProcessProgressAvailable"
	MethodIImageCaptureExtenderImplGetRealtimeCaptureLatency         = "getRealtimeCaptureLatency"
	MethodIImageCaptureExtenderImplIsPostviewAvailable               = "isPostviewAvailable"
)
View Source
const (
	TransactionIInitializeSessionCallbackOnSuccess = binder.FirstCallTransaction + 0
	TransactionIInitializeSessionCallbackOnFailure = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIInitializeSessionCallbackOnSuccess = "onSuccess"
	MethodIInitializeSessionCallbackOnFailure = "onFailure"
)
View Source
const (
	TransactionIOutputSurfaceConfigurationGetPreviewOutputSurface       = binder.FirstCallTransaction + 0
	TransactionIOutputSurfaceConfigurationGetImageCaptureOutputSurface  = binder.FirstCallTransaction + 1
	TransactionIOutputSurfaceConfigurationGetImageAnalysisOutputSurface = binder.FirstCallTransaction + 2
	TransactionIOutputSurfaceConfigurationGetPostviewOutputSurface      = binder.FirstCallTransaction + 3
)
View Source
const (
	MethodIOutputSurfaceConfigurationGetPreviewOutputSurface       = "getPreviewOutputSurface"
	MethodIOutputSurfaceConfigurationGetImageCaptureOutputSurface  = "getImageCaptureOutputSurface"
	MethodIOutputSurfaceConfigurationGetImageAnalysisOutputSurface = "getImageAnalysisOutputSurface"
	MethodIOutputSurfaceConfigurationGetPostviewOutputSurface      = "getPostviewOutputSurface"
)
View Source
const (
	TransactionIPreviewExtenderImplOnInit                    = binder.FirstCallTransaction + 0
	TransactionIPreviewExtenderImplOnDeInit                  = binder.FirstCallTransaction + 1
	TransactionIPreviewExtenderImplOnPresetSession           = binder.FirstCallTransaction + 2
	TransactionIPreviewExtenderImplOnEnableSession           = binder.FirstCallTransaction + 3
	TransactionIPreviewExtenderImplOnDisableSession          = binder.FirstCallTransaction + 4
	TransactionIPreviewExtenderImplInit                      = binder.FirstCallTransaction + 5
	TransactionIPreviewExtenderImplIsExtensionAvailable      = binder.FirstCallTransaction + 6
	TransactionIPreviewExtenderImplGetCaptureStage           = binder.FirstCallTransaction + 7
	TransactionIPreviewExtenderImplGetSessionType            = binder.FirstCallTransaction + 8
	TransactionIPreviewExtenderImplGetProcessorType          = binder.FirstCallTransaction + 9
	TransactionIPreviewExtenderImplGetPreviewImageProcessor  = binder.FirstCallTransaction + 10
	TransactionIPreviewExtenderImplGetRequestUpdateProcessor = binder.FirstCallTransaction + 11
	TransactionIPreviewExtenderImplGetSupportedResolutions   = binder.FirstCallTransaction + 12
)
View Source
const (
	MethodIPreviewExtenderImplOnInit                    = "onInit"
	MethodIPreviewExtenderImplOnDeInit                  = "onDeInit"
	MethodIPreviewExtenderImplOnPresetSession           = "onPresetSession"
	MethodIPreviewExtenderImplOnEnableSession           = "onEnableSession"
	MethodIPreviewExtenderImplOnDisableSession          = "onDisableSession"
	MethodIPreviewExtenderImplInit                      = "init"
	MethodIPreviewExtenderImplIsExtensionAvailable      = "isExtensionAvailable"
	MethodIPreviewExtenderImplGetCaptureStage           = "getCaptureStage"
	MethodIPreviewExtenderImplGetSessionType            = "getSessionType"
	MethodIPreviewExtenderImplGetProcessorType          = "getProcessorType"
	MethodIPreviewExtenderImplGetPreviewImageProcessor  = "getPreviewImageProcessor"
	MethodIPreviewExtenderImplGetRequestUpdateProcessor = "getRequestUpdateProcessor"
	MethodIPreviewExtenderImplGetSupportedResolutions   = "getSupportedResolutions"
)
View Source
const (
	IPreviewExtenderImplProcessorTypeRequestUpdateOnly int32 = 0
	IPreviewExtenderImplProcessorTypeImageProcessor    int32 = 1
	IPreviewExtenderImplProcessorTypeNone              int32 = 2
)
View Source
const (
	TransactionIPreviewImageProcessorImplOnOutputSurface     = binder.FirstCallTransaction + 0
	TransactionIPreviewImageProcessorImplOnResolutionUpdate  = binder.FirstCallTransaction + 1
	TransactionIPreviewImageProcessorImplOnImageFormatUpdate = binder.FirstCallTransaction + 2
	TransactionIPreviewImageProcessorImplProcess             = binder.FirstCallTransaction + 3
)
View Source
const (
	MethodIPreviewImageProcessorImplOnOutputSurface     = "onOutputSurface"
	MethodIPreviewImageProcessorImplOnResolutionUpdate  = "onResolutionUpdate"
	MethodIPreviewImageProcessorImplOnImageFormatUpdate = "onImageFormatUpdate"
	MethodIPreviewImageProcessorImplProcess             = "process"
)
View Source
const (
	TransactionIProcessResultImplOnCaptureCompleted         = binder.FirstCallTransaction + 0
	TransactionIProcessResultImplOnCaptureProcessProgressed = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIProcessResultImplOnCaptureCompleted         = "onCaptureCompleted"
	MethodIProcessResultImplOnCaptureProcessProgressed = "onCaptureProcessProgressed"
)
View Source
const (
	TransactionIRequestCallbackOnCaptureStarted           = binder.FirstCallTransaction + 0
	TransactionIRequestCallbackOnCaptureProgressed        = binder.FirstCallTransaction + 1
	TransactionIRequestCallbackOnCaptureCompleted         = binder.FirstCallTransaction + 2
	TransactionIRequestCallbackOnCaptureFailed            = binder.FirstCallTransaction + 3
	TransactionIRequestCallbackOnCaptureBufferLost        = binder.FirstCallTransaction + 4
	TransactionIRequestCallbackOnCaptureSequenceCompleted = binder.FirstCallTransaction + 5
	TransactionIRequestCallbackOnCaptureSequenceAborted   = binder.FirstCallTransaction + 6
)
View Source
const (
	MethodIRequestCallbackOnCaptureStarted           = "onCaptureStarted"
	MethodIRequestCallbackOnCaptureProgressed        = "onCaptureProgressed"
	MethodIRequestCallbackOnCaptureCompleted         = "onCaptureCompleted"
	MethodIRequestCallbackOnCaptureFailed            = "onCaptureFailed"
	MethodIRequestCallbackOnCaptureBufferLost        = "onCaptureBufferLost"
	MethodIRequestCallbackOnCaptureSequenceCompleted = "onCaptureSequenceCompleted"
	MethodIRequestCallbackOnCaptureSequenceAborted   = "onCaptureSequenceAborted"
)
View Source
const (
	TransactionIRequestProcessorImplSetImageProcessor = binder.FirstCallTransaction + 0
	TransactionIRequestProcessorImplSubmit            = binder.FirstCallTransaction + 1
	TransactionIRequestProcessorImplSubmitBurst       = binder.FirstCallTransaction + 2
	TransactionIRequestProcessorImplSetRepeating      = binder.FirstCallTransaction + 3
	TransactionIRequestProcessorImplAbortCaptures     = binder.FirstCallTransaction + 4
	TransactionIRequestProcessorImplStopRepeating     = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIRequestProcessorImplSetImageProcessor = "setImageProcessor"
	MethodIRequestProcessorImplSubmit            = "submit"
	MethodIRequestProcessorImplSubmitBurst       = "submitBurst"
	MethodIRequestProcessorImplSetRepeating      = "setRepeating"
	MethodIRequestProcessorImplAbortCaptures     = "abortCaptures"
	MethodIRequestProcessorImplStopRepeating     = "stopRepeating"
)
View Source
const (
	TransactionIRequestUpdateProcessorImplOnOutputSurface     = binder.FirstCallTransaction + 0
	TransactionIRequestUpdateProcessorImplOnResolutionUpdate  = binder.FirstCallTransaction + 1
	TransactionIRequestUpdateProcessorImplOnImageFormatUpdate = binder.FirstCallTransaction + 2
	TransactionIRequestUpdateProcessorImplProcess             = binder.FirstCallTransaction + 3
)
View Source
const (
	MethodIRequestUpdateProcessorImplOnOutputSurface     = "onOutputSurface"
	MethodIRequestUpdateProcessorImplOnResolutionUpdate  = "onResolutionUpdate"
	MethodIRequestUpdateProcessorImplOnImageFormatUpdate = "onImageFormatUpdate"
	MethodIRequestUpdateProcessorImplProcess             = "process"
)
View Source
const (
	TransactionISessionProcessorImplInitSession               = binder.FirstCallTransaction + 0
	TransactionISessionProcessorImplDeInitSession             = binder.FirstCallTransaction + 1
	TransactionISessionProcessorImplOnCaptureSessionStart     = binder.FirstCallTransaction + 2
	TransactionISessionProcessorImplOnCaptureSessionEnd       = binder.FirstCallTransaction + 3
	TransactionISessionProcessorImplStartRepeating            = binder.FirstCallTransaction + 4
	TransactionISessionProcessorImplStopRepeating             = binder.FirstCallTransaction + 5
	TransactionISessionProcessorImplStartCapture              = binder.FirstCallTransaction + 6
	TransactionISessionProcessorImplSetParameters             = binder.FirstCallTransaction + 7
	TransactionISessionProcessorImplStartTrigger              = binder.FirstCallTransaction + 8
	TransactionISessionProcessorImplGetRealtimeCaptureLatency = binder.FirstCallTransaction + 9
)
View Source
const (
	MethodISessionProcessorImplInitSession               = "initSession"
	MethodISessionProcessorImplDeInitSession             = "deInitSession"
	MethodISessionProcessorImplOnCaptureSessionStart     = "onCaptureSessionStart"
	MethodISessionProcessorImplOnCaptureSessionEnd       = "onCaptureSessionEnd"
	MethodISessionProcessorImplStartRepeating            = "startRepeating"
	MethodISessionProcessorImplStopRepeating             = "stopRepeating"
	MethodISessionProcessorImplStartCapture              = "startCapture"
	MethodISessionProcessorImplSetParameters             = "setParameters"
	MethodISessionProcessorImplStartTrigger              = "startTrigger"
	MethodISessionProcessorImplGetRealtimeCaptureLatency = "getRealtimeCaptureLatency"
)
View Source
const DescriptorIAdvancedExtenderImpl = "android.hardware.camera2.extension.IAdvancedExtenderImpl"
View Source
const DescriptorICameraExtensionsProxyService = "android.hardware.camera2.extension.ICameraExtensionsProxyService"
View Source
const DescriptorICaptureCallback = "android.hardware.camera2.extension.ICaptureCallback"
View Source
const DescriptorICaptureProcessorImpl = "android.hardware.camera2.extension.ICaptureProcessorImpl"
View Source
const DescriptorIImageCaptureExtenderImpl = "android.hardware.camera2.extension.IImageCaptureExtenderImpl"
View Source
const DescriptorIImageProcessorImpl = "android.hardware.camera2.extension.IImageProcessorImpl"
View Source
const DescriptorIInitializeSessionCallback = "android.hardware.camera2.extension.IInitializeSessionCallback"
View Source
const DescriptorIOutputSurfaceConfiguration = "android.hardware.camera2.extension.IOutputSurfaceConfiguration"
View Source
const DescriptorIPreviewExtenderImpl = "android.hardware.camera2.extension.IPreviewExtenderImpl"
View Source
const DescriptorIPreviewImageProcessorImpl = "android.hardware.camera2.extension.IPreviewImageProcessorImpl"
View Source
const DescriptorIProcessResultImpl = "android.hardware.camera2.extension.IProcessResultImpl"
View Source
const DescriptorIRequestCallback = "android.hardware.camera2.extension.IRequestCallback"
View Source
const DescriptorIRequestProcessorImpl = "android.hardware.camera2.extension.IRequestProcessorImpl"
View Source
const DescriptorIRequestUpdateProcessorImpl = "android.hardware.camera2.extension.IRequestUpdateProcessorImpl"
View Source
const DescriptorISessionProcessorImpl = "android.hardware.camera2.extension.ISessionProcessorImpl"
View Source
const (
	MethodIImageProcessorImplOnNextImageAvailable = "onNextImageAvailable"
)
View Source
const (
	TransactionIImageProcessorImplOnNextImageAvailable = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvancedExtenderImplProxy

type AdvancedExtenderImplProxy struct {
	Remote binder.IBinder
}

func NewAdvancedExtenderImplProxy

func NewAdvancedExtenderImplProxy(
	remote binder.IBinder,
) *AdvancedExtenderImplProxy

func (*AdvancedExtenderImplProxy) AsBinder

func (*AdvancedExtenderImplProxy) GetAvailableCaptureRequestKeys

func (p *AdvancedExtenderImplProxy) GetAvailableCaptureRequestKeys(
	ctx context.Context,
	cameraId string,
) (impl.CameraMetadataNative, error)

func (*AdvancedExtenderImplProxy) GetAvailableCaptureResultKeys

func (p *AdvancedExtenderImplProxy) GetAvailableCaptureResultKeys(
	ctx context.Context,
	cameraId string,
) (impl.CameraMetadataNative, error)

func (*AdvancedExtenderImplProxy) GetAvailableCharacteristicsKeyValues

func (p *AdvancedExtenderImplProxy) GetAvailableCharacteristicsKeyValues(
	ctx context.Context,
	cameraId string,
) (impl.CameraMetadataNative, error)

func (*AdvancedExtenderImplProxy) GetEstimatedCaptureLatencyRange

func (p *AdvancedExtenderImplProxy) GetEstimatedCaptureLatencyRange(
	ctx context.Context,
	cameraId string,
	outputSize Size,
	format int32,
) (LatencyRange, error)

func (*AdvancedExtenderImplProxy) GetSessionProcessor

func (p *AdvancedExtenderImplProxy) GetSessionProcessor(
	ctx context.Context,
) (ISessionProcessorImpl, error)

func (*AdvancedExtenderImplProxy) GetSupportedCaptureOutputResolutions

func (p *AdvancedExtenderImplProxy) GetSupportedCaptureOutputResolutions(
	ctx context.Context,
	cameraId string,
) ([]SizeList, error)

func (*AdvancedExtenderImplProxy) GetSupportedPostviewResolutions

func (p *AdvancedExtenderImplProxy) GetSupportedPostviewResolutions(
	ctx context.Context,
	captureSize Size,
) ([]SizeList, error)

func (*AdvancedExtenderImplProxy) GetSupportedPreviewOutputResolutions

func (p *AdvancedExtenderImplProxy) GetSupportedPreviewOutputResolutions(
	ctx context.Context,
	cameraId string,
) ([]SizeList, error)

func (*AdvancedExtenderImplProxy) Init

func (p *AdvancedExtenderImplProxy) Init(
	ctx context.Context,
	cameraId string,
	charsMap map[string]impl.CameraMetadataNative,
) error

func (*AdvancedExtenderImplProxy) IsCaptureProcessProgressAvailable

func (p *AdvancedExtenderImplProxy) IsCaptureProcessProgressAvailable(
	ctx context.Context,
) (bool, error)

func (*AdvancedExtenderImplProxy) IsExtensionAvailable

func (p *AdvancedExtenderImplProxy) IsExtensionAvailable(
	ctx context.Context,
	cameraId string,
	charsMap map[string]impl.CameraMetadataNative,
) (bool, error)

func (*AdvancedExtenderImplProxy) IsPostviewAvailable

func (p *AdvancedExtenderImplProxy) IsPostviewAvailable(
	ctx context.Context,
) (bool, error)

type AdvancedExtenderImplStub

type AdvancedExtenderImplStub struct {
	Impl      IAdvancedExtenderImpl
	Transport binder.VersionAwareTransport
}

AdvancedExtenderImplStub dispatches incoming binder transactions to a typed IAdvancedExtenderImpl implementation.

func (*AdvancedExtenderImplStub) Descriptor

func (s *AdvancedExtenderImplStub) Descriptor() string

func (*AdvancedExtenderImplStub) OnTransaction

func (s *AdvancedExtenderImplStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type CameraExtensionsProxyServiceProxy

type CameraExtensionsProxyServiceProxy struct {
	Remote binder.IBinder
}

func NewCameraExtensionsProxyServiceProxy

func NewCameraExtensionsProxyServiceProxy(
	remote binder.IBinder,
) *CameraExtensionsProxyServiceProxy

func (*CameraExtensionsProxyServiceProxy) AdvancedExtensionsSupported

func (p *CameraExtensionsProxyServiceProxy) AdvancedExtensionsSupported(
	ctx context.Context,
) (bool, error)

func (*CameraExtensionsProxyServiceProxy) AsBinder

func (*CameraExtensionsProxyServiceProxy) InitializeAdvancedExtension

func (p *CameraExtensionsProxyServiceProxy) InitializeAdvancedExtension(
	ctx context.Context,
	extensionType int32,
) (IAdvancedExtenderImpl, error)

func (*CameraExtensionsProxyServiceProxy) InitializeImageExtension

func (p *CameraExtensionsProxyServiceProxy) InitializeImageExtension(
	ctx context.Context,
	extensionType int32,
) (IImageCaptureExtenderImpl, error)

func (*CameraExtensionsProxyServiceProxy) InitializePreviewExtension

func (p *CameraExtensionsProxyServiceProxy) InitializePreviewExtension(
	ctx context.Context,
	extensionType int32,
) (IPreviewExtenderImpl, error)

func (*CameraExtensionsProxyServiceProxy) InitializeSession

func (*CameraExtensionsProxyServiceProxy) RegisterClient

func (p *CameraExtensionsProxyServiceProxy) RegisterClient(
	ctx context.Context,
	token binder.IBinder,
) (bool, error)

func (*CameraExtensionsProxyServiceProxy) ReleaseSession

func (p *CameraExtensionsProxyServiceProxy) ReleaseSession(
	ctx context.Context,
) error

func (*CameraExtensionsProxyServiceProxy) UnregisterClient

func (p *CameraExtensionsProxyServiceProxy) UnregisterClient(
	ctx context.Context,
	token binder.IBinder,
) error

type CameraExtensionsProxyServiceStub

type CameraExtensionsProxyServiceStub struct {
	Impl      ICameraExtensionsProxyService
	Transport binder.VersionAwareTransport
}

CameraExtensionsProxyServiceStub dispatches incoming binder transactions to a typed ICameraExtensionsProxyService implementation.

func (*CameraExtensionsProxyServiceStub) Descriptor

func (s *CameraExtensionsProxyServiceStub) Descriptor() string

func (*CameraExtensionsProxyServiceStub) OnTransaction

type CameraOutputConfig

type CameraOutputConfig struct {
	Size                    Size
	Surface                 view.Surface
	ImageFormat             int32
	Capacity                int32
	Usage                   int64
	Type                    int32
	OutputId                OutputConfigId
	SurfaceGroupId          int32
	PhysicalCameraId        string
	SharedSurfaceConfigs    []CameraOutputConfig
	IsMultiResolutionOutput bool
}

func (*CameraOutputConfig) MarshalParcel

func (s *CameraOutputConfig) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CameraOutputConfig) UnmarshalParcel

func (s *CameraOutputConfig) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CameraSessionConfig

type CameraSessionConfig struct {
	OutputConfigs     []CameraOutputConfig
	SessionParameter  impl.CameraMetadataNative
	SessionTemplateId int32
	SessionType       int32
}

func (*CameraSessionConfig) MarshalParcel

func (s *CameraSessionConfig) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CameraSessionConfig) UnmarshalParcel

func (s *CameraSessionConfig) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CaptureBundle

type CaptureBundle struct {
	Stage         int32
	SequenceId    int32
	CaptureResult impl.CameraMetadataNative
	CaptureImage  ParcelImage
}

func (*CaptureBundle) MarshalParcel

func (s *CaptureBundle) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CaptureBundle) UnmarshalParcel

func (s *CaptureBundle) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CaptureCallbackProxy

type CaptureCallbackProxy struct {
	Remote binder.IBinder
}

func NewCaptureCallbackProxy

func NewCaptureCallbackProxy(
	remote binder.IBinder,
) *CaptureCallbackProxy

func (*CaptureCallbackProxy) AsBinder

func (p *CaptureCallbackProxy) AsBinder() binder.IBinder

func (*CaptureCallbackProxy) OnCaptureCompleted

func (p *CaptureCallbackProxy) OnCaptureCompleted(
	ctx context.Context,
	shutterTimestamp int64,
	requestId int32,
	results impl.CameraMetadataNative,
) error

func (*CaptureCallbackProxy) OnCaptureFailed

func (p *CaptureCallbackProxy) OnCaptureFailed(
	ctx context.Context,
	captureSequenceId int32,
) error

func (*CaptureCallbackProxy) OnCaptureProcessFailed

func (p *CaptureCallbackProxy) OnCaptureProcessFailed(
	ctx context.Context,
	captureSequenceId int32,
	captureFailureReason int32,
) error

func (*CaptureCallbackProxy) OnCaptureProcessProgressed

func (p *CaptureCallbackProxy) OnCaptureProcessProgressed(
	ctx context.Context,
	progress int32,
) error

func (*CaptureCallbackProxy) OnCaptureProcessStarted

func (p *CaptureCallbackProxy) OnCaptureProcessStarted(
	ctx context.Context,
	captureSequenceId int32,
) error

func (*CaptureCallbackProxy) OnCaptureSequenceAborted

func (p *CaptureCallbackProxy) OnCaptureSequenceAborted(
	ctx context.Context,
	captureSequenceId int32,
) error

func (*CaptureCallbackProxy) OnCaptureSequenceCompleted

func (p *CaptureCallbackProxy) OnCaptureSequenceCompleted(
	ctx context.Context,
	captureSequenceId int32,
) error

func (*CaptureCallbackProxy) OnCaptureStarted

func (p *CaptureCallbackProxy) OnCaptureStarted(
	ctx context.Context,
	captureSequenceId int32,
	timestamp int64,
) error

type CaptureCallbackStub

type CaptureCallbackStub struct {
	Impl      ICaptureCallback
	Transport binder.VersionAwareTransport
}

CaptureCallbackStub dispatches incoming binder transactions to a typed ICaptureCallback implementation.

func (*CaptureCallbackStub) Descriptor

func (s *CaptureCallbackStub) Descriptor() string

func (*CaptureCallbackStub) OnTransaction

func (s *CaptureCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type CaptureFailure

type CaptureFailure struct {
	Request               camera2.CaptureRequest
	Reason                int32
	Dropped               bool
	SequenceId            int32
	FrameNumber           int64
	ErrorPhysicalCameraId string
}

func (*CaptureFailure) MarshalParcel

func (s *CaptureFailure) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CaptureFailure) UnmarshalParcel

func (s *CaptureFailure) UnmarshalParcel(
	p *parcel.Parcel,
) error

type CaptureProcessorImplProxy

type CaptureProcessorImplProxy struct {
	Remote binder.IBinder
}

func NewCaptureProcessorImplProxy

func NewCaptureProcessorImplProxy(
	remote binder.IBinder,
) *CaptureProcessorImplProxy

func (*CaptureProcessorImplProxy) AsBinder

func (*CaptureProcessorImplProxy) OnImageFormatUpdate

func (p *CaptureProcessorImplProxy) OnImageFormatUpdate(
	ctx context.Context,
	imageFormat int32,
) error

func (*CaptureProcessorImplProxy) OnOutputSurface

func (p *CaptureProcessorImplProxy) OnOutputSurface(
	ctx context.Context,
	surface view.Surface,
	imageFormat int32,
) error

func (*CaptureProcessorImplProxy) OnPostviewOutputSurface

func (p *CaptureProcessorImplProxy) OnPostviewOutputSurface(
	ctx context.Context,
	surface view.Surface,
) error

func (*CaptureProcessorImplProxy) OnResolutionUpdate

func (p *CaptureProcessorImplProxy) OnResolutionUpdate(
	ctx context.Context,
	size Size,
	postviewSize Size,
) error

func (*CaptureProcessorImplProxy) Process

func (p *CaptureProcessorImplProxy) Process(
	ctx context.Context,
	capturelist []CaptureBundle,
	resultCallback IProcessResultImpl,
	isPostviewRequested bool,
) error

type CaptureProcessorImplStub

type CaptureProcessorImplStub struct {
	Impl      ICaptureProcessorImpl
	Transport binder.VersionAwareTransport
}

CaptureProcessorImplStub dispatches incoming binder transactions to a typed ICaptureProcessorImpl implementation.

func (*CaptureProcessorImplStub) Descriptor

func (s *CaptureProcessorImplStub) Descriptor() string

func (*CaptureProcessorImplStub) OnTransaction

func (s *CaptureProcessorImplStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type CaptureStageImpl

type CaptureStageImpl struct {
	Id         int32
	Parameters impl.CameraMetadataNative
}

func (*CaptureStageImpl) MarshalParcel

func (s *CaptureStageImpl) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CaptureStageImpl) UnmarshalParcel

func (s *CaptureStageImpl) UnmarshalParcel(
	p *parcel.Parcel,
) error

type IAdvancedExtenderImpl

type IAdvancedExtenderImpl interface {
	AsBinder() binder.IBinder
	IsExtensionAvailable(ctx context.Context, cameraId string, charsMap map[string]impl.CameraMetadataNative) (bool, error)
	Init(ctx context.Context, cameraId string, charsMap map[string]impl.CameraMetadataNative) error
	GetEstimatedCaptureLatencyRange(ctx context.Context, cameraId string, outputSize Size, format int32) (LatencyRange, error)
	GetSupportedPreviewOutputResolutions(ctx context.Context, cameraId string) ([]SizeList, error)
	GetSupportedCaptureOutputResolutions(ctx context.Context, cameraId string) ([]SizeList, error)
	GetSupportedPostviewResolutions(ctx context.Context, captureSize Size) ([]SizeList, error)
	GetSessionProcessor(ctx context.Context) (ISessionProcessorImpl, error)
	GetAvailableCaptureRequestKeys(ctx context.Context, cameraId string) (impl.CameraMetadataNative, error)
	GetAvailableCaptureResultKeys(ctx context.Context, cameraId string) (impl.CameraMetadataNative, error)
	IsCaptureProcessProgressAvailable(ctx context.Context) (bool, error)
	IsPostviewAvailable(ctx context.Context) (bool, error)
	GetAvailableCharacteristicsKeyValues(ctx context.Context, cameraId string) (impl.CameraMetadataNative, error)
}

func NewAdvancedExtenderImplStub

func NewAdvancedExtenderImplStub(
	impl IAdvancedExtenderImplServer,
) IAdvancedExtenderImpl

NewAdvancedExtenderImplStub creates a server-side IAdvancedExtenderImpl wrapping the given server implementation. The returned value satisfies IAdvancedExtenderImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IAdvancedExtenderImplServer

type IAdvancedExtenderImplServer interface {
	IsExtensionAvailable(ctx context.Context, cameraId string, charsMap map[string]impl.CameraMetadataNative) (bool, error)
	Init(ctx context.Context, cameraId string, charsMap map[string]impl.CameraMetadataNative) error
	GetEstimatedCaptureLatencyRange(ctx context.Context, cameraId string, outputSize Size, format int32) (LatencyRange, error)
	GetSupportedPreviewOutputResolutions(ctx context.Context, cameraId string) ([]SizeList, error)
	GetSupportedCaptureOutputResolutions(ctx context.Context, cameraId string) ([]SizeList, error)
	GetSupportedPostviewResolutions(ctx context.Context, captureSize Size) ([]SizeList, error)
	GetSessionProcessor(ctx context.Context) (ISessionProcessorImpl, error)
	GetAvailableCaptureRequestKeys(ctx context.Context, cameraId string) (impl.CameraMetadataNative, error)
	GetAvailableCaptureResultKeys(ctx context.Context, cameraId string) (impl.CameraMetadataNative, error)
	IsCaptureProcessProgressAvailable(ctx context.Context) (bool, error)
	IsPostviewAvailable(ctx context.Context) (bool, error)
	GetAvailableCharacteristicsKeyValues(ctx context.Context, cameraId string) (impl.CameraMetadataNative, error)
}

IAdvancedExtenderImplServer is the server-side interface that user implementations provide to NewAdvancedExtenderImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ICameraExtensionsProxyService

type ICameraExtensionsProxyService interface {
	AsBinder() binder.IBinder
	RegisterClient(ctx context.Context, token binder.IBinder) (bool, error)
	UnregisterClient(ctx context.Context, token binder.IBinder) error
	AdvancedExtensionsSupported(ctx context.Context) (bool, error)
	InitializeSession(ctx context.Context, cb IInitializeSessionCallback) error
	ReleaseSession(ctx context.Context) error
	InitializePreviewExtension(ctx context.Context, extensionType int32) (IPreviewExtenderImpl, error)
	InitializeImageExtension(ctx context.Context, extensionType int32) (IImageCaptureExtenderImpl, error)
	InitializeAdvancedExtension(ctx context.Context, extensionType int32) (IAdvancedExtenderImpl, error)
}

func NewCameraExtensionsProxyServiceStub

func NewCameraExtensionsProxyServiceStub(
	impl ICameraExtensionsProxyServiceServer,
) ICameraExtensionsProxyService

NewCameraExtensionsProxyServiceStub creates a server-side ICameraExtensionsProxyService wrapping the given server implementation. The returned value satisfies ICameraExtensionsProxyService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ICameraExtensionsProxyServiceServer

type ICameraExtensionsProxyServiceServer interface {
	RegisterClient(ctx context.Context, token binder.IBinder) (bool, error)
	UnregisterClient(ctx context.Context, token binder.IBinder) error
	AdvancedExtensionsSupported(ctx context.Context) (bool, error)
	InitializeSession(ctx context.Context, cb IInitializeSessionCallback) error
	ReleaseSession(ctx context.Context) error
	InitializePreviewExtension(ctx context.Context, extensionType int32) (IPreviewExtenderImpl, error)
	InitializeImageExtension(ctx context.Context, extensionType int32) (IImageCaptureExtenderImpl, error)
	InitializeAdvancedExtension(ctx context.Context, extensionType int32) (IAdvancedExtenderImpl, error)
}

ICameraExtensionsProxyServiceServer is the server-side interface that user implementations provide to NewCameraExtensionsProxyServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ICaptureCallback

type ICaptureCallback interface {
	AsBinder() binder.IBinder
	OnCaptureStarted(ctx context.Context, captureSequenceId int32, timestamp int64) error
	OnCaptureProcessStarted(ctx context.Context, captureSequenceId int32) error
	OnCaptureFailed(ctx context.Context, captureSequenceId int32) error
	OnCaptureSequenceCompleted(ctx context.Context, captureSequenceId int32) error
	OnCaptureSequenceAborted(ctx context.Context, captureSequenceId int32) error
	OnCaptureCompleted(ctx context.Context, shutterTimestamp int64, requestId int32, results impl.CameraMetadataNative) error
	OnCaptureProcessProgressed(ctx context.Context, progress int32) error
	OnCaptureProcessFailed(ctx context.Context, captureSequenceId int32, captureFailureReason int32) error
}

func NewCaptureCallbackStub

func NewCaptureCallbackStub(
	impl ICaptureCallbackServer,
) ICaptureCallback

NewCaptureCallbackStub creates a server-side ICaptureCallback wrapping the given server implementation. The returned value satisfies ICaptureCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ICaptureCallbackServer

type ICaptureCallbackServer interface {
	OnCaptureStarted(ctx context.Context, captureSequenceId int32, timestamp int64) error
	OnCaptureProcessStarted(ctx context.Context, captureSequenceId int32) error
	OnCaptureFailed(ctx context.Context, captureSequenceId int32) error
	OnCaptureSequenceCompleted(ctx context.Context, captureSequenceId int32) error
	OnCaptureSequenceAborted(ctx context.Context, captureSequenceId int32) error
	OnCaptureCompleted(ctx context.Context, shutterTimestamp int64, requestId int32, results impl.CameraMetadataNative) error
	OnCaptureProcessProgressed(ctx context.Context, progress int32) error
	OnCaptureProcessFailed(ctx context.Context, captureSequenceId int32, captureFailureReason int32) error
}

ICaptureCallbackServer is the server-side interface that user implementations provide to NewCaptureCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ICaptureProcessorImpl

type ICaptureProcessorImpl interface {
	AsBinder() binder.IBinder
	OnOutputSurface(ctx context.Context, surface view.Surface, imageFormat int32) error
	OnPostviewOutputSurface(ctx context.Context, surface view.Surface) error
	OnResolutionUpdate(ctx context.Context, size Size, postviewSize Size) error
	OnImageFormatUpdate(ctx context.Context, imageFormat int32) error
	Process(ctx context.Context, capturelist []CaptureBundle, resultCallback IProcessResultImpl, isPostviewRequested bool) error
}

func NewCaptureProcessorImplStub

func NewCaptureProcessorImplStub(
	impl ICaptureProcessorImplServer,
) ICaptureProcessorImpl

NewCaptureProcessorImplStub creates a server-side ICaptureProcessorImpl wrapping the given server implementation. The returned value satisfies ICaptureProcessorImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ICaptureProcessorImplServer

type ICaptureProcessorImplServer interface {
	OnOutputSurface(ctx context.Context, surface view.Surface, imageFormat int32) error
	OnPostviewOutputSurface(ctx context.Context, surface view.Surface) error
	OnResolutionUpdate(ctx context.Context, size Size, postviewSize Size) error
	OnImageFormatUpdate(ctx context.Context, imageFormat int32) error
	Process(ctx context.Context, capturelist []CaptureBundle, resultCallback IProcessResultImpl, isPostviewRequested bool) error
}

ICaptureProcessorImplServer is the server-side interface that user implementations provide to NewCaptureProcessorImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IImageCaptureExtenderImpl

type IImageCaptureExtenderImpl interface {
	AsBinder() binder.IBinder
	OnInit(ctx context.Context, token binder.IBinder, cameraId string, cameraCharacteristics impl.CameraMetadataNative) error
	OnDeInit(ctx context.Context, token binder.IBinder) error
	OnPresetSession(ctx context.Context) (CaptureStageImpl, error)
	OnEnableSession(ctx context.Context) (CaptureStageImpl, error)
	OnDisableSession(ctx context.Context) (CaptureStageImpl, error)
	GetSessionType(ctx context.Context) (int32, error)
	IsExtensionAvailable(ctx context.Context, cameraId string, chars impl.CameraMetadataNative) (bool, error)
	Init(ctx context.Context, cameraId string, chars impl.CameraMetadataNative) error
	GetCaptureProcessor(ctx context.Context) (ICaptureProcessorImpl, error)
	GetCaptureStages(ctx context.Context) ([]CaptureStageImpl, error)
	GetMaxCaptureStage(ctx context.Context) (int32, error)
	GetSupportedResolutions(ctx context.Context) ([]SizeList, error)
	GetSupportedPostviewResolutions(ctx context.Context, captureSize Size) ([]SizeList, error)
	GetEstimatedCaptureLatencyRange(ctx context.Context, outputSize Size) (LatencyRange, error)
	GetAvailableCaptureRequestKeys(ctx context.Context) (impl.CameraMetadataNative, error)
	GetAvailableCaptureResultKeys(ctx context.Context) (impl.CameraMetadataNative, error)
	IsCaptureProcessProgressAvailable(ctx context.Context) (bool, error)
	GetRealtimeCaptureLatency(ctx context.Context) (LatencyPair, error)
	IsPostviewAvailable(ctx context.Context) (bool, error)
}

func NewImageCaptureExtenderImplStub

func NewImageCaptureExtenderImplStub(
	impl IImageCaptureExtenderImplServer,
) IImageCaptureExtenderImpl

NewImageCaptureExtenderImplStub creates a server-side IImageCaptureExtenderImpl wrapping the given server implementation. The returned value satisfies IImageCaptureExtenderImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IImageCaptureExtenderImplServer

type IImageCaptureExtenderImplServer interface {
	OnInit(ctx context.Context, token binder.IBinder, cameraId string, cameraCharacteristics impl.CameraMetadataNative) error
	OnDeInit(ctx context.Context, token binder.IBinder) error
	OnPresetSession(ctx context.Context) (CaptureStageImpl, error)
	OnEnableSession(ctx context.Context) (CaptureStageImpl, error)
	OnDisableSession(ctx context.Context) (CaptureStageImpl, error)
	GetSessionType(ctx context.Context) (int32, error)
	IsExtensionAvailable(ctx context.Context, cameraId string, chars impl.CameraMetadataNative) (bool, error)
	Init(ctx context.Context, cameraId string, chars impl.CameraMetadataNative) error
	GetCaptureProcessor(ctx context.Context) (ICaptureProcessorImpl, error)
	GetCaptureStages(ctx context.Context) ([]CaptureStageImpl, error)
	GetMaxCaptureStage(ctx context.Context) (int32, error)
	GetSupportedResolutions(ctx context.Context) ([]SizeList, error)
	GetSupportedPostviewResolutions(ctx context.Context, captureSize Size) ([]SizeList, error)
	GetEstimatedCaptureLatencyRange(ctx context.Context, outputSize Size) (LatencyRange, error)
	GetAvailableCaptureRequestKeys(ctx context.Context) (impl.CameraMetadataNative, error)
	GetAvailableCaptureResultKeys(ctx context.Context) (impl.CameraMetadataNative, error)
	IsCaptureProcessProgressAvailable(ctx context.Context) (bool, error)
	GetRealtimeCaptureLatency(ctx context.Context) (LatencyPair, error)
	IsPostviewAvailable(ctx context.Context) (bool, error)
}

IImageCaptureExtenderImplServer is the server-side interface that user implementations provide to NewImageCaptureExtenderImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IImageProcessorImpl

type IImageProcessorImpl interface {
	AsBinder() binder.IBinder
	OnNextImageAvailable(ctx context.Context, outputConfigId OutputConfigId, image ParcelImage, physicalCameraId string) error
}

func NewImageProcessorImplStub

func NewImageProcessorImplStub(
	impl IImageProcessorImplServer,
) IImageProcessorImpl

NewImageProcessorImplStub creates a server-side IImageProcessorImpl wrapping the given server implementation. The returned value satisfies IImageProcessorImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IImageProcessorImplServer

type IImageProcessorImplServer interface {
	OnNextImageAvailable(ctx context.Context, outputConfigId OutputConfigId, image ParcelImage, physicalCameraId string) error
}

IImageProcessorImplServer is the server-side interface that user implementations provide to NewImageProcessorImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IInitializeSessionCallback

type IInitializeSessionCallback interface {
	AsBinder() binder.IBinder
	OnSuccess(ctx context.Context) error
	OnFailure(ctx context.Context) error
}

func NewInitializeSessionCallbackStub

func NewInitializeSessionCallbackStub(
	impl IInitializeSessionCallbackServer,
) IInitializeSessionCallback

NewInitializeSessionCallbackStub creates a server-side IInitializeSessionCallback wrapping the given server implementation. The returned value satisfies IInitializeSessionCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IInitializeSessionCallbackServer

type IInitializeSessionCallbackServer interface {
	OnSuccess(ctx context.Context) error
	OnFailure(ctx context.Context) error
}

IInitializeSessionCallbackServer is the server-side interface that user implementations provide to NewInitializeSessionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IOutputSurfaceConfiguration

type IOutputSurfaceConfiguration interface {
	AsBinder() binder.IBinder
	GetPreviewOutputSurface(ctx context.Context) (OutputSurface, error)
	GetImageCaptureOutputSurface(ctx context.Context) (OutputSurface, error)
	GetImageAnalysisOutputSurface(ctx context.Context) (OutputSurface, error)
	GetPostviewOutputSurface(ctx context.Context) (OutputSurface, error)
}

func NewOutputSurfaceConfigurationStub

func NewOutputSurfaceConfigurationStub(
	impl IOutputSurfaceConfigurationServer,
) IOutputSurfaceConfiguration

NewOutputSurfaceConfigurationStub creates a server-side IOutputSurfaceConfiguration wrapping the given server implementation. The returned value satisfies IOutputSurfaceConfiguration and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IOutputSurfaceConfigurationServer

type IOutputSurfaceConfigurationServer interface {
	GetPreviewOutputSurface(ctx context.Context) (OutputSurface, error)
	GetImageCaptureOutputSurface(ctx context.Context) (OutputSurface, error)
	GetImageAnalysisOutputSurface(ctx context.Context) (OutputSurface, error)
	GetPostviewOutputSurface(ctx context.Context) (OutputSurface, error)
}

IOutputSurfaceConfigurationServer is the server-side interface that user implementations provide to NewOutputSurfaceConfigurationStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IPreviewExtenderImpl

type IPreviewExtenderImpl interface {
	AsBinder() binder.IBinder
	OnInit(ctx context.Context, token binder.IBinder, cameraId string, cameraCharacteristics impl.CameraMetadataNative) error
	OnDeInit(ctx context.Context, token binder.IBinder) error
	OnPresetSession(ctx context.Context) (CaptureStageImpl, error)
	OnEnableSession(ctx context.Context) (CaptureStageImpl, error)
	OnDisableSession(ctx context.Context) (CaptureStageImpl, error)
	Init(ctx context.Context, cameraId string, chars impl.CameraMetadataNative) error
	IsExtensionAvailable(ctx context.Context, cameraId string, chars impl.CameraMetadataNative) (bool, error)
	GetCaptureStage(ctx context.Context) (CaptureStageImpl, error)
	GetSessionType(ctx context.Context) (int32, error)
	GetProcessorType(ctx context.Context) (int32, error)
	GetPreviewImageProcessor(ctx context.Context) (IPreviewImageProcessorImpl, error)
	GetRequestUpdateProcessor(ctx context.Context) (IRequestUpdateProcessorImpl, error)
	GetSupportedResolutions(ctx context.Context) ([]SizeList, error)
}

func NewPreviewExtenderImplStub

func NewPreviewExtenderImplStub(
	impl IPreviewExtenderImplServer,
) IPreviewExtenderImpl

NewPreviewExtenderImplStub creates a server-side IPreviewExtenderImpl wrapping the given server implementation. The returned value satisfies IPreviewExtenderImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IPreviewExtenderImplServer

type IPreviewExtenderImplServer interface {
	OnInit(ctx context.Context, token binder.IBinder, cameraId string, cameraCharacteristics impl.CameraMetadataNative) error
	OnDeInit(ctx context.Context, token binder.IBinder) error
	OnPresetSession(ctx context.Context) (CaptureStageImpl, error)
	OnEnableSession(ctx context.Context) (CaptureStageImpl, error)
	OnDisableSession(ctx context.Context) (CaptureStageImpl, error)
	Init(ctx context.Context, cameraId string, chars impl.CameraMetadataNative) error
	IsExtensionAvailable(ctx context.Context, cameraId string, chars impl.CameraMetadataNative) (bool, error)
	GetCaptureStage(ctx context.Context) (CaptureStageImpl, error)
	GetSessionType(ctx context.Context) (int32, error)
	GetProcessorType(ctx context.Context) (int32, error)
	GetPreviewImageProcessor(ctx context.Context) (IPreviewImageProcessorImpl, error)
	GetRequestUpdateProcessor(ctx context.Context) (IRequestUpdateProcessorImpl, error)
	GetSupportedResolutions(ctx context.Context) ([]SizeList, error)
}

IPreviewExtenderImplServer is the server-side interface that user implementations provide to NewPreviewExtenderImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IPreviewImageProcessorImpl

type IPreviewImageProcessorImpl interface {
	AsBinder() binder.IBinder
	OnOutputSurface(ctx context.Context, surface view.Surface, imageFormat int32) error
	OnResolutionUpdate(ctx context.Context, size Size) error
	OnImageFormatUpdate(ctx context.Context, imageFormat int32) error
	Process(ctx context.Context, image ParcelImage, result impl.CameraMetadataNative, sequenceId int32, resultCallback IProcessResultImpl) error
}

func NewPreviewImageProcessorImplStub

func NewPreviewImageProcessorImplStub(
	impl IPreviewImageProcessorImplServer,
) IPreviewImageProcessorImpl

NewPreviewImageProcessorImplStub creates a server-side IPreviewImageProcessorImpl wrapping the given server implementation. The returned value satisfies IPreviewImageProcessorImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IPreviewImageProcessorImplServer

type IPreviewImageProcessorImplServer interface {
	OnOutputSurface(ctx context.Context, surface view.Surface, imageFormat int32) error
	OnResolutionUpdate(ctx context.Context, size Size) error
	OnImageFormatUpdate(ctx context.Context, imageFormat int32) error
	Process(ctx context.Context, image ParcelImage, result impl.CameraMetadataNative, sequenceId int32, resultCallback IProcessResultImpl) error
}

IPreviewImageProcessorImplServer is the server-side interface that user implementations provide to NewPreviewImageProcessorImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IProcessResultImpl

type IProcessResultImpl interface {
	AsBinder() binder.IBinder
	OnCaptureCompleted(ctx context.Context, shutterTimestamp int64, results impl.CameraMetadataNative) error
	OnCaptureProcessProgressed(ctx context.Context, progress int32) error
}

func NewProcessResultImplStub

func NewProcessResultImplStub(
	impl IProcessResultImplServer,
) IProcessResultImpl

NewProcessResultImplStub creates a server-side IProcessResultImpl wrapping the given server implementation. The returned value satisfies IProcessResultImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IProcessResultImplServer

type IProcessResultImplServer interface {
	OnCaptureCompleted(ctx context.Context, shutterTimestamp int64, results impl.CameraMetadataNative) error
	OnCaptureProcessProgressed(ctx context.Context, progress int32) error
}

IProcessResultImplServer is the server-side interface that user implementations provide to NewProcessResultImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IRequestCallback

type IRequestCallback interface {
	AsBinder() binder.IBinder
	OnCaptureStarted(ctx context.Context, requestId int32, frameNumber int64, timestamp int64) error
	OnCaptureProgressed(ctx context.Context, requestId int32, partialResult ParcelCaptureResult) error
	OnCaptureCompleted(ctx context.Context, requestId int32, totalCaptureResult ParcelTotalCaptureResult) error
	OnCaptureFailed(ctx context.Context, requestId int32, captureFailure CaptureFailure) error
	OnCaptureBufferLost(ctx context.Context, requestId int32, frameNumber int64, outputStreamId int32) error
	OnCaptureSequenceCompleted(ctx context.Context, sequenceId int32, frameNumber int64) error
	OnCaptureSequenceAborted(ctx context.Context, sequenceId int32) error
}

func NewRequestCallbackStub

func NewRequestCallbackStub(
	impl IRequestCallbackServer,
) IRequestCallback

NewRequestCallbackStub creates a server-side IRequestCallback wrapping the given server implementation. The returned value satisfies IRequestCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IRequestCallbackServer

type IRequestCallbackServer interface {
	OnCaptureStarted(ctx context.Context, requestId int32, frameNumber int64, timestamp int64) error
	OnCaptureProgressed(ctx context.Context, requestId int32, partialResult ParcelCaptureResult) error
	OnCaptureCompleted(ctx context.Context, requestId int32, totalCaptureResult ParcelTotalCaptureResult) error
	OnCaptureFailed(ctx context.Context, requestId int32, captureFailure CaptureFailure) error
	OnCaptureBufferLost(ctx context.Context, requestId int32, frameNumber int64, outputStreamId int32) error
	OnCaptureSequenceCompleted(ctx context.Context, sequenceId int32, frameNumber int64) error
	OnCaptureSequenceAborted(ctx context.Context, sequenceId int32) error
}

IRequestCallbackServer is the server-side interface that user implementations provide to NewRequestCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IRequestProcessorImpl

type IRequestProcessorImpl interface {
	AsBinder() binder.IBinder
	SetImageProcessor(ctx context.Context, outputConfigId OutputConfigId, imageProcessor IImageProcessorImpl) error
	Submit(ctx context.Context, request Request, callback IRequestCallback) (int32, error)
	SubmitBurst(ctx context.Context, requests []Request, callback IRequestCallback) (int32, error)
	SetRepeating(ctx context.Context, request Request, callback IRequestCallback) (int32, error)
	AbortCaptures(ctx context.Context) error
	StopRepeating(ctx context.Context) error
}

func NewRequestProcessorImplStub

func NewRequestProcessorImplStub(
	impl IRequestProcessorImplServer,
) IRequestProcessorImpl

NewRequestProcessorImplStub creates a server-side IRequestProcessorImpl wrapping the given server implementation. The returned value satisfies IRequestProcessorImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IRequestProcessorImplServer

type IRequestProcessorImplServer interface {
	SetImageProcessor(ctx context.Context, outputConfigId OutputConfigId, imageProcessor IImageProcessorImpl) error
	Submit(ctx context.Context, request Request, callback IRequestCallback) (int32, error)
	SubmitBurst(ctx context.Context, requests []Request, callback IRequestCallback) (int32, error)
	SetRepeating(ctx context.Context, request Request, callback IRequestCallback) (int32, error)
	AbortCaptures(ctx context.Context) error
	StopRepeating(ctx context.Context) error
}

IRequestProcessorImplServer is the server-side interface that user implementations provide to NewRequestProcessorImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type IRequestUpdateProcessorImpl

type IRequestUpdateProcessorImpl interface {
	AsBinder() binder.IBinder
	OnOutputSurface(ctx context.Context, surface view.Surface, imageFormat int32) error
	OnResolutionUpdate(ctx context.Context, size Size) error
	OnImageFormatUpdate(ctx context.Context, imageFormat int32) error
	Process(ctx context.Context, result impl.CameraMetadataNative, sequenceId int32) (CaptureStageImpl, error)
}

func NewRequestUpdateProcessorImplStub

func NewRequestUpdateProcessorImplStub(
	impl IRequestUpdateProcessorImplServer,
) IRequestUpdateProcessorImpl

NewRequestUpdateProcessorImplStub creates a server-side IRequestUpdateProcessorImpl wrapping the given server implementation. The returned value satisfies IRequestUpdateProcessorImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type IRequestUpdateProcessorImplServer

type IRequestUpdateProcessorImplServer interface {
	OnOutputSurface(ctx context.Context, surface view.Surface, imageFormat int32) error
	OnResolutionUpdate(ctx context.Context, size Size) error
	OnImageFormatUpdate(ctx context.Context, imageFormat int32) error
	Process(ctx context.Context, result impl.CameraMetadataNative, sequenceId int32) (CaptureStageImpl, error)
}

IRequestUpdateProcessorImplServer is the server-side interface that user implementations provide to NewRequestUpdateProcessorImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ISessionProcessorImpl

type ISessionProcessorImpl interface {
	AsBinder() binder.IBinder
	InitSession(ctx context.Context, token binder.IBinder, cameraId string, charsMap map[string]impl.CameraMetadataNative, previewSurface OutputSurface, imageCaptureSurface OutputSurface, postviewSurface OutputSurface) (CameraSessionConfig, error)
	DeInitSession(ctx context.Context, token binder.IBinder) error
	OnCaptureSessionStart(ctx context.Context, requestProcessor IRequestProcessorImpl, statsKey string) error
	OnCaptureSessionEnd(ctx context.Context) error
	StartRepeating(ctx context.Context, callback ICaptureCallback) (int32, error)
	StopRepeating(ctx context.Context) error
	StartCapture(ctx context.Context, callback ICaptureCallback, isPostviewRequested bool) (int32, error)
	SetParameters(ctx context.Context, captureRequest camera2.CaptureRequest) error
	StartTrigger(ctx context.Context, captureRequest camera2.CaptureRequest, callback ICaptureCallback) (int32, error)
	GetRealtimeCaptureLatency(ctx context.Context) (LatencyPair, error)
}

func NewSessionProcessorImplStub

func NewSessionProcessorImplStub(
	impl ISessionProcessorImplServer,
) ISessionProcessorImpl

NewSessionProcessorImplStub creates a server-side ISessionProcessorImpl wrapping the given server implementation. The returned value satisfies ISessionProcessorImpl and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ISessionProcessorImplServer

type ISessionProcessorImplServer interface {
	InitSession(ctx context.Context, token binder.IBinder, cameraId string, charsMap map[string]impl.CameraMetadataNative, previewSurface OutputSurface, imageCaptureSurface OutputSurface, postviewSurface OutputSurface) (CameraSessionConfig, error)
	DeInitSession(ctx context.Context, token binder.IBinder) error
	OnCaptureSessionStart(ctx context.Context, requestProcessor IRequestProcessorImpl, statsKey string) error
	OnCaptureSessionEnd(ctx context.Context) error
	StartRepeating(ctx context.Context, callback ICaptureCallback) (int32, error)
	StopRepeating(ctx context.Context) error
	StartCapture(ctx context.Context, callback ICaptureCallback, isPostviewRequested bool) (int32, error)
	SetParameters(ctx context.Context, captureRequest camera2.CaptureRequest) error
	StartTrigger(ctx context.Context, captureRequest camera2.CaptureRequest, callback ICaptureCallback) (int32, error)
	GetRealtimeCaptureLatency(ctx context.Context) (LatencyPair, error)
}

ISessionProcessorImplServer is the server-side interface that user implementations provide to NewSessionProcessorImplStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type ImageCaptureExtenderImplProxy

type ImageCaptureExtenderImplProxy struct {
	Remote binder.IBinder
}

func NewImageCaptureExtenderImplProxy

func NewImageCaptureExtenderImplProxy(
	remote binder.IBinder,
) *ImageCaptureExtenderImplProxy

func (*ImageCaptureExtenderImplProxy) AsBinder

func (*ImageCaptureExtenderImplProxy) GetAvailableCaptureRequestKeys

func (p *ImageCaptureExtenderImplProxy) GetAvailableCaptureRequestKeys(
	ctx context.Context,
) (impl.CameraMetadataNative, error)

func (*ImageCaptureExtenderImplProxy) GetAvailableCaptureResultKeys

func (p *ImageCaptureExtenderImplProxy) GetAvailableCaptureResultKeys(
	ctx context.Context,
) (impl.CameraMetadataNative, error)

func (*ImageCaptureExtenderImplProxy) GetCaptureProcessor

func (p *ImageCaptureExtenderImplProxy) GetCaptureProcessor(
	ctx context.Context,
) (ICaptureProcessorImpl, error)

func (*ImageCaptureExtenderImplProxy) GetCaptureStages

func (p *ImageCaptureExtenderImplProxy) GetCaptureStages(
	ctx context.Context,
) ([]CaptureStageImpl, error)

func (*ImageCaptureExtenderImplProxy) GetEstimatedCaptureLatencyRange

func (p *ImageCaptureExtenderImplProxy) GetEstimatedCaptureLatencyRange(
	ctx context.Context,
	outputSize Size,
) (LatencyRange, error)

func (*ImageCaptureExtenderImplProxy) GetMaxCaptureStage

func (p *ImageCaptureExtenderImplProxy) GetMaxCaptureStage(
	ctx context.Context,
) (int32, error)

func (*ImageCaptureExtenderImplProxy) GetRealtimeCaptureLatency

func (p *ImageCaptureExtenderImplProxy) GetRealtimeCaptureLatency(
	ctx context.Context,
) (LatencyPair, error)

func (*ImageCaptureExtenderImplProxy) GetSessionType

func (p *ImageCaptureExtenderImplProxy) GetSessionType(
	ctx context.Context,
) (int32, error)

func (*ImageCaptureExtenderImplProxy) GetSupportedPostviewResolutions

func (p *ImageCaptureExtenderImplProxy) GetSupportedPostviewResolutions(
	ctx context.Context,
	captureSize Size,
) ([]SizeList, error)

func (*ImageCaptureExtenderImplProxy) GetSupportedResolutions

func (p *ImageCaptureExtenderImplProxy) GetSupportedResolutions(
	ctx context.Context,
) ([]SizeList, error)

func (*ImageCaptureExtenderImplProxy) Init

func (*ImageCaptureExtenderImplProxy) IsCaptureProcessProgressAvailable

func (p *ImageCaptureExtenderImplProxy) IsCaptureProcessProgressAvailable(
	ctx context.Context,
) (bool, error)

func (*ImageCaptureExtenderImplProxy) IsExtensionAvailable

func (p *ImageCaptureExtenderImplProxy) IsExtensionAvailable(
	ctx context.Context,
	cameraId string,
	chars impl.CameraMetadataNative,
) (bool, error)

func (*ImageCaptureExtenderImplProxy) IsPostviewAvailable

func (p *ImageCaptureExtenderImplProxy) IsPostviewAvailable(
	ctx context.Context,
) (bool, error)

func (*ImageCaptureExtenderImplProxy) OnDeInit

func (p *ImageCaptureExtenderImplProxy) OnDeInit(
	ctx context.Context,
	token binder.IBinder,
) error

func (*ImageCaptureExtenderImplProxy) OnDisableSession

func (p *ImageCaptureExtenderImplProxy) OnDisableSession(
	ctx context.Context,
) (CaptureStageImpl, error)

func (*ImageCaptureExtenderImplProxy) OnEnableSession

func (p *ImageCaptureExtenderImplProxy) OnEnableSession(
	ctx context.Context,
) (CaptureStageImpl, error)

func (*ImageCaptureExtenderImplProxy) OnInit

func (p *ImageCaptureExtenderImplProxy) OnInit(
	ctx context.Context,
	token binder.IBinder,
	cameraId string,
	cameraCharacteristics impl.CameraMetadataNative,
) error

func (*ImageCaptureExtenderImplProxy) OnPresetSession

func (p *ImageCaptureExtenderImplProxy) OnPresetSession(
	ctx context.Context,
) (CaptureStageImpl, error)

type ImageCaptureExtenderImplStub

type ImageCaptureExtenderImplStub struct {
	Impl      IImageCaptureExtenderImpl
	Transport binder.VersionAwareTransport
}

ImageCaptureExtenderImplStub dispatches incoming binder transactions to a typed IImageCaptureExtenderImpl implementation.

func (*ImageCaptureExtenderImplStub) Descriptor

func (s *ImageCaptureExtenderImplStub) Descriptor() string

func (*ImageCaptureExtenderImplStub) OnTransaction

type ImageProcessorImplProxy

type ImageProcessorImplProxy struct {
	Remote binder.IBinder
}

func NewImageProcessorImplProxy

func NewImageProcessorImplProxy(
	remote binder.IBinder,
) *ImageProcessorImplProxy

func (*ImageProcessorImplProxy) AsBinder

func (p *ImageProcessorImplProxy) AsBinder() binder.IBinder

func (*ImageProcessorImplProxy) OnNextImageAvailable

func (p *ImageProcessorImplProxy) OnNextImageAvailable(
	ctx context.Context,
	outputConfigId OutputConfigId,
	image ParcelImage,
	physicalCameraId string,
) error

type ImageProcessorImplStub

type ImageProcessorImplStub struct {
	Impl      IImageProcessorImpl
	Transport binder.VersionAwareTransport
}

ImageProcessorImplStub dispatches incoming binder transactions to a typed IImageProcessorImpl implementation.

func (*ImageProcessorImplStub) Descriptor

func (s *ImageProcessorImplStub) Descriptor() string

func (*ImageProcessorImplStub) OnTransaction

func (s *ImageProcessorImplStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type InitializeSessionCallbackProxy

type InitializeSessionCallbackProxy struct {
	Remote binder.IBinder
}

func NewInitializeSessionCallbackProxy

func NewInitializeSessionCallbackProxy(
	remote binder.IBinder,
) *InitializeSessionCallbackProxy

func (*InitializeSessionCallbackProxy) AsBinder

func (*InitializeSessionCallbackProxy) OnFailure

func (p *InitializeSessionCallbackProxy) OnFailure(
	ctx context.Context,
) error

func (*InitializeSessionCallbackProxy) OnSuccess

func (p *InitializeSessionCallbackProxy) OnSuccess(
	ctx context.Context,
) error

type InitializeSessionCallbackStub

type InitializeSessionCallbackStub struct {
	Impl      IInitializeSessionCallback
	Transport binder.VersionAwareTransport
}

InitializeSessionCallbackStub dispatches incoming binder transactions to a typed IInitializeSessionCallback implementation.

func (*InitializeSessionCallbackStub) Descriptor

func (s *InitializeSessionCallbackStub) Descriptor() string

func (*InitializeSessionCallbackStub) OnTransaction

type LatencyPair

type LatencyPair struct {
	First  int64
	Second int64
}

func (*LatencyPair) MarshalParcel

func (s *LatencyPair) MarshalParcel(
	p *parcel.Parcel,
) error

func (*LatencyPair) UnmarshalParcel

func (s *LatencyPair) UnmarshalParcel(
	p *parcel.Parcel,
) error

type LatencyRange

type LatencyRange struct {
	Min int64
	Max int64
}

func (*LatencyRange) MarshalParcel

func (s *LatencyRange) MarshalParcel(
	p *parcel.Parcel,
) error

func (*LatencyRange) UnmarshalParcel

func (s *LatencyRange) UnmarshalParcel(
	p *parcel.Parcel,
) error

type OutputConfigId

type OutputConfigId struct {
	Id int32
}

func (*OutputConfigId) MarshalParcel

func (s *OutputConfigId) MarshalParcel(
	p *parcel.Parcel,
) error

func (*OutputConfigId) UnmarshalParcel

func (s *OutputConfigId) UnmarshalParcel(
	p *parcel.Parcel,
) error

type OutputSurface

type OutputSurface struct {
	Surface             view.Surface
	Size                Size
	ImageFormat         int32
	DynamicRangeProfile int64
	ColorSpace          int32
}

func (*OutputSurface) MarshalParcel

func (s *OutputSurface) MarshalParcel(
	p *parcel.Parcel,
) error

func (*OutputSurface) UnmarshalParcel

func (s *OutputSurface) UnmarshalParcel(
	p *parcel.Parcel,
) error

type OutputSurfaceConfigurationProxy

type OutputSurfaceConfigurationProxy struct {
	Remote binder.IBinder
}

func NewOutputSurfaceConfigurationProxy

func NewOutputSurfaceConfigurationProxy(
	remote binder.IBinder,
) *OutputSurfaceConfigurationProxy

func (*OutputSurfaceConfigurationProxy) AsBinder

func (*OutputSurfaceConfigurationProxy) GetImageAnalysisOutputSurface

func (p *OutputSurfaceConfigurationProxy) GetImageAnalysisOutputSurface(
	ctx context.Context,
) (OutputSurface, error)

func (*OutputSurfaceConfigurationProxy) GetImageCaptureOutputSurface

func (p *OutputSurfaceConfigurationProxy) GetImageCaptureOutputSurface(
	ctx context.Context,
) (OutputSurface, error)

func (*OutputSurfaceConfigurationProxy) GetPostviewOutputSurface

func (p *OutputSurfaceConfigurationProxy) GetPostviewOutputSurface(
	ctx context.Context,
) (OutputSurface, error)

func (*OutputSurfaceConfigurationProxy) GetPreviewOutputSurface

func (p *OutputSurfaceConfigurationProxy) GetPreviewOutputSurface(
	ctx context.Context,
) (OutputSurface, error)

type OutputSurfaceConfigurationStub

type OutputSurfaceConfigurationStub struct {
	Impl      IOutputSurfaceConfiguration
	Transport binder.VersionAwareTransport
}

OutputSurfaceConfigurationStub dispatches incoming binder transactions to a typed IOutputSurfaceConfiguration implementation.

func (*OutputSurfaceConfigurationStub) Descriptor

func (s *OutputSurfaceConfigurationStub) Descriptor() string

func (*OutputSurfaceConfigurationStub) OnTransaction

type ParcelCaptureResult

type ParcelCaptureResult struct {
	CameraId    string
	Results     impl.CameraMetadataNative
	Parent      camera2.CaptureRequest
	SequenceId  int32
	FrameNumber int64
}

func (*ParcelCaptureResult) MarshalParcel

func (s *ParcelCaptureResult) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ParcelCaptureResult) UnmarshalParcel

func (s *ParcelCaptureResult) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ParcelImage

type ParcelImage struct {
	Format      int32
	Width       int32
	Height      int32
	Transform   int32
	ScalingMode int32
	Timestamp   int64
	PlaneCount  int32
	Crop        common.Rect
	Buffer      common.HardwareBuffer
	Fence       int32
}

func (*ParcelImage) MarshalParcel

func (s *ParcelImage) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ParcelImage) UnmarshalParcel

func (s *ParcelImage) UnmarshalParcel(
	p *parcel.Parcel,
) error

type ParcelTotalCaptureResult

type ParcelTotalCaptureResult struct {
	LogicalCameraId string
	Results         impl.CameraMetadataNative
	Parent          camera2.CaptureRequest
	SequenceId      int32
	FrameNumber     int64
	Partials        []ParcelCaptureResult
	SessionId       int32
	PhysicalResult  []impl.PhysicalCaptureResultInfo
}

func (*ParcelTotalCaptureResult) MarshalParcel

func (s *ParcelTotalCaptureResult) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ParcelTotalCaptureResult) UnmarshalParcel

func (s *ParcelTotalCaptureResult) UnmarshalParcel(
	p *parcel.Parcel,
) error

type PreviewExtenderImplProxy

type PreviewExtenderImplProxy struct {
	Remote binder.IBinder
}

func NewPreviewExtenderImplProxy

func NewPreviewExtenderImplProxy(
	remote binder.IBinder,
) *PreviewExtenderImplProxy

func (*PreviewExtenderImplProxy) AsBinder

func (p *PreviewExtenderImplProxy) AsBinder() binder.IBinder

func (*PreviewExtenderImplProxy) GetCaptureStage

func (p *PreviewExtenderImplProxy) GetCaptureStage(
	ctx context.Context,
) (CaptureStageImpl, error)

func (*PreviewExtenderImplProxy) GetPreviewImageProcessor

func (p *PreviewExtenderImplProxy) GetPreviewImageProcessor(
	ctx context.Context,
) (IPreviewImageProcessorImpl, error)

func (*PreviewExtenderImplProxy) GetProcessorType

func (p *PreviewExtenderImplProxy) GetProcessorType(
	ctx context.Context,
) (int32, error)

func (*PreviewExtenderImplProxy) GetRequestUpdateProcessor

func (p *PreviewExtenderImplProxy) GetRequestUpdateProcessor(
	ctx context.Context,
) (IRequestUpdateProcessorImpl, error)

func (*PreviewExtenderImplProxy) GetSessionType

func (p *PreviewExtenderImplProxy) GetSessionType(
	ctx context.Context,
) (int32, error)

func (*PreviewExtenderImplProxy) GetSupportedResolutions

func (p *PreviewExtenderImplProxy) GetSupportedResolutions(
	ctx context.Context,
) ([]SizeList, error)

func (*PreviewExtenderImplProxy) Init

func (*PreviewExtenderImplProxy) IsExtensionAvailable

func (p *PreviewExtenderImplProxy) IsExtensionAvailable(
	ctx context.Context,
	cameraId string,
	chars impl.CameraMetadataNative,
) (bool, error)

func (*PreviewExtenderImplProxy) OnDeInit

func (p *PreviewExtenderImplProxy) OnDeInit(
	ctx context.Context,
	token binder.IBinder,
) error

func (*PreviewExtenderImplProxy) OnDisableSession

func (p *PreviewExtenderImplProxy) OnDisableSession(
	ctx context.Context,
) (CaptureStageImpl, error)

func (*PreviewExtenderImplProxy) OnEnableSession

func (p *PreviewExtenderImplProxy) OnEnableSession(
	ctx context.Context,
) (CaptureStageImpl, error)

func (*PreviewExtenderImplProxy) OnInit

func (p *PreviewExtenderImplProxy) OnInit(
	ctx context.Context,
	token binder.IBinder,
	cameraId string,
	cameraCharacteristics impl.CameraMetadataNative,
) error

func (*PreviewExtenderImplProxy) OnPresetSession

func (p *PreviewExtenderImplProxy) OnPresetSession(
	ctx context.Context,
) (CaptureStageImpl, error)

type PreviewExtenderImplStub

type PreviewExtenderImplStub struct {
	Impl      IPreviewExtenderImpl
	Transport binder.VersionAwareTransport
}

PreviewExtenderImplStub dispatches incoming binder transactions to a typed IPreviewExtenderImpl implementation.

func (*PreviewExtenderImplStub) Descriptor

func (s *PreviewExtenderImplStub) Descriptor() string

func (*PreviewExtenderImplStub) OnTransaction

func (s *PreviewExtenderImplStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type PreviewImageProcessorImplProxy

type PreviewImageProcessorImplProxy struct {
	Remote binder.IBinder
}

func NewPreviewImageProcessorImplProxy

func NewPreviewImageProcessorImplProxy(
	remote binder.IBinder,
) *PreviewImageProcessorImplProxy

func (*PreviewImageProcessorImplProxy) AsBinder

func (*PreviewImageProcessorImplProxy) OnImageFormatUpdate

func (p *PreviewImageProcessorImplProxy) OnImageFormatUpdate(
	ctx context.Context,
	imageFormat int32,
) error

func (*PreviewImageProcessorImplProxy) OnOutputSurface

func (p *PreviewImageProcessorImplProxy) OnOutputSurface(
	ctx context.Context,
	surface view.Surface,
	imageFormat int32,
) error

func (*PreviewImageProcessorImplProxy) OnResolutionUpdate

func (p *PreviewImageProcessorImplProxy) OnResolutionUpdate(
	ctx context.Context,
	size Size,
) error

func (*PreviewImageProcessorImplProxy) Process

func (p *PreviewImageProcessorImplProxy) Process(
	ctx context.Context,
	image ParcelImage,
	result impl.CameraMetadataNative,
	sequenceId int32,
	resultCallback IProcessResultImpl,
) error

type PreviewImageProcessorImplStub

type PreviewImageProcessorImplStub struct {
	Impl      IPreviewImageProcessorImpl
	Transport binder.VersionAwareTransport
}

PreviewImageProcessorImplStub dispatches incoming binder transactions to a typed IPreviewImageProcessorImpl implementation.

func (*PreviewImageProcessorImplStub) Descriptor

func (s *PreviewImageProcessorImplStub) Descriptor() string

func (*PreviewImageProcessorImplStub) OnTransaction

type ProcessResultImplProxy

type ProcessResultImplProxy struct {
	Remote binder.IBinder
}

func NewProcessResultImplProxy

func NewProcessResultImplProxy(
	remote binder.IBinder,
) *ProcessResultImplProxy

func (*ProcessResultImplProxy) AsBinder

func (p *ProcessResultImplProxy) AsBinder() binder.IBinder

func (*ProcessResultImplProxy) OnCaptureCompleted

func (p *ProcessResultImplProxy) OnCaptureCompleted(
	ctx context.Context,
	shutterTimestamp int64,
	results impl.CameraMetadataNative,
) error

func (*ProcessResultImplProxy) OnCaptureProcessProgressed

func (p *ProcessResultImplProxy) OnCaptureProcessProgressed(
	ctx context.Context,
	progress int32,
) error

type ProcessResultImplStub

type ProcessResultImplStub struct {
	Impl      IProcessResultImpl
	Transport binder.VersionAwareTransport
}

ProcessResultImplStub dispatches incoming binder transactions to a typed IProcessResultImpl implementation.

func (*ProcessResultImplStub) Descriptor

func (s *ProcessResultImplStub) Descriptor() string

func (*ProcessResultImplStub) OnTransaction

func (s *ProcessResultImplStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type Request

type Request struct {
	TargetOutputConfigIds []OutputConfigId
	Parameters            impl.CameraMetadataNative
	TemplateId            int32
	RequestId             int32
}

func (*Request) MarshalParcel

func (s *Request) MarshalParcel(
	p *parcel.Parcel,
) error

func (*Request) UnmarshalParcel

func (s *Request) UnmarshalParcel(
	p *parcel.Parcel,
) error

type RequestCallbackProxy

type RequestCallbackProxy struct {
	Remote binder.IBinder
}

func NewRequestCallbackProxy

func NewRequestCallbackProxy(
	remote binder.IBinder,
) *RequestCallbackProxy

func (*RequestCallbackProxy) AsBinder

func (p *RequestCallbackProxy) AsBinder() binder.IBinder

func (*RequestCallbackProxy) OnCaptureBufferLost

func (p *RequestCallbackProxy) OnCaptureBufferLost(
	ctx context.Context,
	requestId int32,
	frameNumber int64,
	outputStreamId int32,
) error

func (*RequestCallbackProxy) OnCaptureCompleted

func (p *RequestCallbackProxy) OnCaptureCompleted(
	ctx context.Context,
	requestId int32,
	totalCaptureResult ParcelTotalCaptureResult,
) error

func (*RequestCallbackProxy) OnCaptureFailed

func (p *RequestCallbackProxy) OnCaptureFailed(
	ctx context.Context,
	requestId int32,
	captureFailure CaptureFailure,
) error

func (*RequestCallbackProxy) OnCaptureProgressed

func (p *RequestCallbackProxy) OnCaptureProgressed(
	ctx context.Context,
	requestId int32,
	partialResult ParcelCaptureResult,
) error

func (*RequestCallbackProxy) OnCaptureSequenceAborted

func (p *RequestCallbackProxy) OnCaptureSequenceAborted(
	ctx context.Context,
	sequenceId int32,
) error

func (*RequestCallbackProxy) OnCaptureSequenceCompleted

func (p *RequestCallbackProxy) OnCaptureSequenceCompleted(
	ctx context.Context,
	sequenceId int32,
	frameNumber int64,
) error

func (*RequestCallbackProxy) OnCaptureStarted

func (p *RequestCallbackProxy) OnCaptureStarted(
	ctx context.Context,
	requestId int32,
	frameNumber int64,
	timestamp int64,
) error

type RequestCallbackStub

type RequestCallbackStub struct {
	Impl      IRequestCallback
	Transport binder.VersionAwareTransport
}

RequestCallbackStub dispatches incoming binder transactions to a typed IRequestCallback implementation.

func (*RequestCallbackStub) Descriptor

func (s *RequestCallbackStub) Descriptor() string

func (*RequestCallbackStub) OnTransaction

func (s *RequestCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type RequestProcessorImplProxy

type RequestProcessorImplProxy struct {
	Remote binder.IBinder
}

func NewRequestProcessorImplProxy

func NewRequestProcessorImplProxy(
	remote binder.IBinder,
) *RequestProcessorImplProxy

func (*RequestProcessorImplProxy) AbortCaptures

func (p *RequestProcessorImplProxy) AbortCaptures(
	ctx context.Context,
) error

func (*RequestProcessorImplProxy) AsBinder

func (*RequestProcessorImplProxy) SetImageProcessor

func (p *RequestProcessorImplProxy) SetImageProcessor(
	ctx context.Context,
	outputConfigId OutputConfigId,
	imageProcessor IImageProcessorImpl,
) error

func (*RequestProcessorImplProxy) SetRepeating

func (p *RequestProcessorImplProxy) SetRepeating(
	ctx context.Context,
	request Request,
	callback IRequestCallback,
) (int32, error)

func (*RequestProcessorImplProxy) StopRepeating

func (p *RequestProcessorImplProxy) StopRepeating(
	ctx context.Context,
) error

func (*RequestProcessorImplProxy) Submit

func (p *RequestProcessorImplProxy) Submit(
	ctx context.Context,
	request Request,
	callback IRequestCallback,
) (int32, error)

func (*RequestProcessorImplProxy) SubmitBurst

func (p *RequestProcessorImplProxy) SubmitBurst(
	ctx context.Context,
	requests []Request,
	callback IRequestCallback,
) (int32, error)

type RequestProcessorImplStub

type RequestProcessorImplStub struct {
	Impl      IRequestProcessorImpl
	Transport binder.VersionAwareTransport
}

RequestProcessorImplStub dispatches incoming binder transactions to a typed IRequestProcessorImpl implementation.

func (*RequestProcessorImplStub) Descriptor

func (s *RequestProcessorImplStub) Descriptor() string

func (*RequestProcessorImplStub) OnTransaction

func (s *RequestProcessorImplStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type RequestUpdateProcessorImplProxy

type RequestUpdateProcessorImplProxy struct {
	Remote binder.IBinder
}

func NewRequestUpdateProcessorImplProxy

func NewRequestUpdateProcessorImplProxy(
	remote binder.IBinder,
) *RequestUpdateProcessorImplProxy

func (*RequestUpdateProcessorImplProxy) AsBinder

func (*RequestUpdateProcessorImplProxy) OnImageFormatUpdate

func (p *RequestUpdateProcessorImplProxy) OnImageFormatUpdate(
	ctx context.Context,
	imageFormat int32,
) error

func (*RequestUpdateProcessorImplProxy) OnOutputSurface

func (p *RequestUpdateProcessorImplProxy) OnOutputSurface(
	ctx context.Context,
	surface view.Surface,
	imageFormat int32,
) error

func (*RequestUpdateProcessorImplProxy) OnResolutionUpdate

func (p *RequestUpdateProcessorImplProxy) OnResolutionUpdate(
	ctx context.Context,
	size Size,
) error

func (*RequestUpdateProcessorImplProxy) Process

type RequestUpdateProcessorImplStub

type RequestUpdateProcessorImplStub struct {
	Impl      IRequestUpdateProcessorImpl
	Transport binder.VersionAwareTransport
}

RequestUpdateProcessorImplStub dispatches incoming binder transactions to a typed IRequestUpdateProcessorImpl implementation.

func (*RequestUpdateProcessorImplStub) Descriptor

func (s *RequestUpdateProcessorImplStub) Descriptor() string

func (*RequestUpdateProcessorImplStub) OnTransaction

type SessionProcessorImplProxy

type SessionProcessorImplProxy struct {
	Remote binder.IBinder
}

func NewSessionProcessorImplProxy

func NewSessionProcessorImplProxy(
	remote binder.IBinder,
) *SessionProcessorImplProxy

func (*SessionProcessorImplProxy) AsBinder

func (*SessionProcessorImplProxy) DeInitSession

func (p *SessionProcessorImplProxy) DeInitSession(
	ctx context.Context,
	token binder.IBinder,
) error

func (*SessionProcessorImplProxy) GetRealtimeCaptureLatency

func (p *SessionProcessorImplProxy) GetRealtimeCaptureLatency(
	ctx context.Context,
) (LatencyPair, error)

func (*SessionProcessorImplProxy) InitSession

func (p *SessionProcessorImplProxy) InitSession(
	ctx context.Context,
	token binder.IBinder,
	cameraId string,
	charsMap map[string]impl.CameraMetadataNative,
	previewSurface OutputSurface,
	imageCaptureSurface OutputSurface,
	postviewSurface OutputSurface,
) (CameraSessionConfig, error)

func (*SessionProcessorImplProxy) OnCaptureSessionEnd

func (p *SessionProcessorImplProxy) OnCaptureSessionEnd(
	ctx context.Context,
) error

func (*SessionProcessorImplProxy) OnCaptureSessionStart

func (p *SessionProcessorImplProxy) OnCaptureSessionStart(
	ctx context.Context,
	requestProcessor IRequestProcessorImpl,
	statsKey string,
) error

func (*SessionProcessorImplProxy) SetParameters

func (p *SessionProcessorImplProxy) SetParameters(
	ctx context.Context,
	captureRequest camera2.CaptureRequest,
) error

func (*SessionProcessorImplProxy) StartCapture

func (p *SessionProcessorImplProxy) StartCapture(
	ctx context.Context,
	callback ICaptureCallback,
	isPostviewRequested bool,
) (int32, error)

func (*SessionProcessorImplProxy) StartRepeating

func (p *SessionProcessorImplProxy) StartRepeating(
	ctx context.Context,
	callback ICaptureCallback,
) (int32, error)

func (*SessionProcessorImplProxy) StartTrigger

func (p *SessionProcessorImplProxy) StartTrigger(
	ctx context.Context,
	captureRequest camera2.CaptureRequest,
	callback ICaptureCallback,
) (int32, error)

func (*SessionProcessorImplProxy) StopRepeating

func (p *SessionProcessorImplProxy) StopRepeating(
	ctx context.Context,
) error

type SessionProcessorImplStub

type SessionProcessorImplStub struct {
	Impl      ISessionProcessorImpl
	Transport binder.VersionAwareTransport
}

SessionProcessorImplStub dispatches incoming binder transactions to a typed ISessionProcessorImpl implementation.

func (*SessionProcessorImplStub) Descriptor

func (s *SessionProcessorImplStub) Descriptor() string

func (*SessionProcessorImplStub) OnTransaction

func (s *SessionProcessorImplStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type Size

type Size struct {
	Width  int32
	Height int32
}

func (*Size) MarshalParcel

func (s *Size) MarshalParcel(
	p *parcel.Parcel,
) error

func (*Size) UnmarshalParcel

func (s *Size) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SizeList

type SizeList struct {
	Format int32
	Sizes  []Size
}

func (*SizeList) MarshalParcel

func (s *SizeList) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SizeList) UnmarshalParcel

func (s *SizeList) UnmarshalParcel(
	p *parcel.Parcel,
) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL