Home
last modified time | relevance | path

Searched refs:TMetadata (Results 1 – 6 of 6) sorted by relevance

/hardware/libhardware/modules/camera/3_4/metadata/
Dscaling_converter.h26 template <typename TMetadata, typename TV4L2>
27 class ScalingConverter : public ConverterInterface<TMetadata, TV4L2> {
29 ScalingConverter(TMetadata v4l2_to_metadata_numerator,
30 TMetadata v4l2_to_metadata_denominator);
32 virtual int MetadataToV4L2(TMetadata value, TV4L2* conversion) override;
33 virtual int V4L2ToMetadata(TV4L2 value, TMetadata* conversion) override;
36 const TMetadata v4l2_to_metadata_numerator_;
37 const TMetadata v4l2_to_metadata_denominator_;
44 template <typename TMetadata, typename TV4L2>
45 ScalingConverter<TMetadata, TV4L2>::ScalingConverter( in ScalingConverter()
[all …]
Dranged_converter.h31 template <typename TMetadata, typename TV4L2>
32 class RangedConverter : public ConverterInterface<TMetadata, TV4L2> {
35 std::shared_ptr<ConverterInterface<TMetadata, TV4L2>> wrapped_converter,
40 virtual int MetadataToV4L2(TMetadata value, TV4L2* conversion) override;
41 virtual int V4L2ToMetadata(TV4L2 value, TMetadata* conversion) override;
44 std::shared_ptr<ConverterInterface<TMetadata, TV4L2>> wrapped_converter_;
54 template <typename TMetadata, typename TV4L2>
55 RangedConverter<TMetadata, TV4L2>::RangedConverter( in RangedConverter()
56 std::shared_ptr<ConverterInterface<TMetadata, TV4L2>> wrapped_converter, in RangedConverter() argument
67 template <typename TMetadata, typename TV4L2>
[all …]
Dmap_converter.h32 template <typename TMetadata, typename TV4L2, typename TMapKey>
33 class MapConverter : public ConverterInterface<TMetadata, TV4L2> {
36 std::shared_ptr<ConverterInterface<TMetadata, TMapKey>> wrapped_converter,
39 virtual int MetadataToV4L2(TMetadata value, TV4L2* conversion) override;
40 virtual int V4L2ToMetadata(TV4L2 value, TMetadata* conversion) override;
43 std::shared_ptr<ConverterInterface<TMetadata, TMapKey>> wrapped_converter_;
51 template <typename TMetadata, typename TV4L2, typename TMapKey>
52 MapConverter<TMetadata, TV4L2, TMapKey>::MapConverter( in MapConverter()
53 std::shared_ptr<ConverterInterface<TMetadata, TMapKey>> wrapped_converter, in MapConverter() argument
60 template <typename TMetadata, typename TV4L2, typename TMapKey>
[all …]
Dv4l2_control_delegate.h27 template <typename TMetadata, typename TV4L2 = int32_t>
28 class V4L2ControlDelegate : public ControlDelegateInterface<TMetadata> {
33 std::shared_ptr<ConverterInterface<TMetadata, TV4L2>> converter) in V4L2ControlDelegate() argument
38 int GetValue(TMetadata* value) override { in GetValue()
48 int SetValue(const TMetadata& value) override { in SetValue()
61 std::shared_ptr<ConverterInterface<TMetadata, TV4L2>> converter_;
Dconverter_interface_mock.h28 template <typename TMetadata, typename TV4L2>
29 class ConverterInterfaceMock : public ConverterInterface<TMetadata, TV4L2> {
32 MOCK_METHOD2_T(MetadataToV4L2, int(TMetadata, TV4L2*));
33 MOCK_METHOD2_T(V4L2ToMetadata, int(TV4L2, TMetadata*));
Dconverter_interface.h23 template <typename TMetadata, typename TV4L2>
29 virtual int MetadataToV4L2(TMetadata value, TV4L2* conversion) = 0;
30 virtual int V4L2ToMetadata(TV4L2 value, TMetadata* conversion) = 0;