Loading camera/device/3.2/ICameraDeviceSession.hal +1 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ interface ICameraDeviceSession { * camera3_stream_configuration_t->operation_mode requirements * for non-NORMAL mode, or the requested operation_mode is not * supported by the HAL. * - Unsupported usage flag * The camera service cannot filter out all possible illegal stream * configurations, since some devices may support more simultaneous * streams or larger stream resolutions than the minimum required Loading camera/device/3.2/types.hal +6 −0 Original line number Diff line number Diff line Loading @@ -248,6 +248,12 @@ struct Stream { * streamType INPUT, the value of this field is always 0. For all streams * passed via configureStreams(), the HAL must set its own * additional usage flags in its output HalStreamConfiguration. * * The usage flag for an output stream may be bitwise combination of usage * flags for multiple consumers, for the purpose of sharing one camera * stream between those consumers. The HAL must fail configureStreams call * with ILLEGAL_ARGUMENT if the combined flags cannot be supported due to * imcompatible buffer format, dataSpace, or other hardware limitations. */ ConsumerUsageFlags usage; Loading Loading
camera/device/3.2/ICameraDeviceSession.hal +1 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ interface ICameraDeviceSession { * camera3_stream_configuration_t->operation_mode requirements * for non-NORMAL mode, or the requested operation_mode is not * supported by the HAL. * - Unsupported usage flag * The camera service cannot filter out all possible illegal stream * configurations, since some devices may support more simultaneous * streams or larger stream resolutions than the minimum required Loading
camera/device/3.2/types.hal +6 −0 Original line number Diff line number Diff line Loading @@ -248,6 +248,12 @@ struct Stream { * streamType INPUT, the value of this field is always 0. For all streams * passed via configureStreams(), the HAL must set its own * additional usage flags in its output HalStreamConfiguration. * * The usage flag for an output stream may be bitwise combination of usage * flags for multiple consumers, for the purpose of sharing one camera * stream between those consumers. The HAL must fail configureStreams call * with ILLEGAL_ARGUMENT if the combined flags cannot be supported due to * imcompatible buffer format, dataSpace, or other hardware limitations. */ ConsumerUsageFlags usage; Loading