Searched refs:metadata_ (Results 1 – 6 of 6) sorted by relevance
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | metadata_reader_test.cpp | 39 metadata_ = std::make_unique<android::CameraMetadata>(); in ResetMetadata() 43 dut_ = std::make_unique<MetadataReader>(std::move(metadata_)); in FillDUT() 48 std::unique_ptr<android::CameraMetadata> metadata_; member in default_camera_hal::MetadataReaderTest 71 metadata_.get(), facing_tag_, translation.first), in TEST_F() 85 v4l2_camera_hal::UpdateMetadata(metadata_.get(), facing_tag_, invalid), in TEST_F() 101 metadata_.get(), orientation_tag_, orientation), in TEST_F() 115 metadata_.get(), orientation_tag_, orientation + 1), in TEST_F() 124 metadata_.get(), orientation_tag_, orientation - 1), in TEST_F() 141 metadata_.get(), max_inputs_tag_, expected), in TEST_F() 161 metadata_.get(), max_outputs_tag_, expected), in TEST_F() [all …]
|
D | metadata_reader.cpp | 31 : metadata_(std::move(metadata)) {} in MetadataReader() 38 *metadata_, ANDROID_LENS_FACING, &metadata_facing); in Facing() 66 *metadata_, ANDROID_SENSOR_ORIENTATION, &metadata_orientation); in Orientation() 89 *metadata_, ANDROID_REQUEST_MAX_NUM_INPUT_STREAMS, max_input); in MaxInputStreams() 106 *metadata_, ANDROID_REQUEST_MAX_NUM_OUTPUT_STREAMS, &max_output_streams); in MaxOutputStreams() 121 *metadata_, ANDROID_REQUEST_AVAILABLE_CAPABILITIES, &raw_capabilities); in RequestCapabilities() 137 *metadata_, in StreamConfigurations() 180 v4l2_camera_hal::VectorTagValue(*metadata_, in StreamStallDurations() 219 *metadata_, in ReprocessFormats()
|
D | metadata_test.cpp | 44 metadata_.reset(new android::CameraMetadata()); in SetUp() 75 std::unique_ptr<android::CameraMetadata> metadata_; member in v4l2_camera_hal::MetadataTest 102 ASSERT_EQ(dut_->FillStaticMetadata(metadata_.get()), 0); in TEST_F() 124 metadata_->find(ANDROID_REQUEST_AVAILABLE_CHARACTERISTICS_KEYS)); in TEST_F() 126 metadata_->find(ANDROID_REQUEST_AVAILABLE_REQUEST_KEYS)); in TEST_F() 128 metadata_->find(ANDROID_REQUEST_AVAILABLE_RESULT_KEYS)); in TEST_F() 161 EXPECT_EQ(dut_->FillStaticMetadata(metadata_.get()), err); in TEST_F() 204 EXPECT_TRUE(dut_->IsValidRequest(*metadata_)); in TEST_F() 218 EXPECT_EQ(dut_->GetRequestTemplate(template_type, metadata_.get()), 0); in TEST_F() 235 EXPECT_EQ(dut_->GetRequestTemplate(template_type, metadata_.get()), err); in TEST_F() [all …]
|
D | metadata_reader.h | 44 return metadata_->getAndLock(); in raw_metadata() 68 std::unique_ptr<const android::CameraMetadata> metadata_;
|
/hardware/libhardware/modules/camera/3_4/ |
D | v4l2_camera.cpp | 64 metadata_(std::move(metadata)), in V4L2Camera() 121 int res = metadata_->FillStaticMetadata(out); in initStaticInfo() 147 return metadata_->GetRequestTemplate(type, out); in initTemplate() 224 int res = metadata_->SetRequestSettings(request->settings); in enqueueRequestBuffers() 233 res = metadata_->FillResultMetadata(&request->settings); in enqueueRequestBuffers() 420 if (!metadata_->IsValidRequest(settings)) { in isValidRequestSettings()
|
D | v4l2_camera.h | 95 std::unique_ptr<Metadata> metadata_; variable
|