Home
last modified time | relevance | path

Searched refs:c2Value (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/av/media/codec2/sfplugin/
H A DReflectedParamUpdater.cpp45 C2Value c2Value; in debugString() local
54 switch (c2Value.type()) { in debugString()
406 C2Value c2Value; in parseMessageAndDoWork() local
412 if ((param->second.find(&c2Value) && c2Value.get(&int32Value)) in parseMessageAndDoWork()
418 if ((param->second.find(&c2Value) && c2Value.get((uint32_t*)&int32Value)) in parseMessageAndDoWork()
424 if ((param->second.find(&c2Value) && c2Value.get((c2_cntr32_t*)&int32Value)) in parseMessageAndDoWork()
430 if ((param->second.find(&c2Value) && c2Value.get(&int64Value)) in parseMessageAndDoWork()
436 if ((param->second.find(&c2Value) && c2Value.get((uint64_t*)&int64Value)) in parseMessageAndDoWork()
442 if ((param->second.find(&c2Value) && c2Value.get((c2_cntr64_t*)&int64Value)) in parseMessageAndDoWork()
449 if (param->second.find(&c2Value) && c2Value.get(&tmp)) { in parseMessageAndDoWork()
[all …]
H A DCCodecConfig.cpp122 C2Type c2Value; in withC2Mappers() local
124 return c2Value; in withC2Mappers()
130 C2Type c2Value; in withC2Mappers() local
132 if (v.get((C2ValueType*)&c2Value) && C2Mapper::map(c2Value, &sdkValue)) { in withC2Mappers()
1241 C2Value c2Value; in getFormatForDomain() local
1275 C2Value c2Value; in getFormatForDomain() local
1279 if (value.find(&c2Value)) { in getFormatForDomain()
1548 C2Value c2Value; in relaxValues() local
1551 (void)item.find(&c2Value); in relaxValues()
1552 if (c2Value.get(&int32Value) || c2Value.get((uint32_t*)&int32Value) in relaxValues()
[all …]
/aosp12/frameworks/av/media/codec2/sfplugin/utils/
H A DCodec2Mapper.h80 int32_t frameworkValue, uint32_t *c2Value);
82 uint32_t c2Value, int32_t *frameworkValue);
H A DCodec2Mapper.cpp958 int32_t frameworkValue, uint32_t *c2Value) { in mapPixelFormatFrameworkToCodec() argument
961 *c2Value = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; in mapPixelFormatFrameworkToCodec()
968 *c2Value = HAL_PIXEL_FORMAT_YCBCR_420_888; in mapPixelFormatFrameworkToCodec()
972 *c2Value = uint32_t(frameworkValue); in mapPixelFormatFrameworkToCodec()
979 uint32_t c2Value, int32_t *frameworkValue) { in mapPixelFormatCodecToFramework() argument
980 switch (c2Value) { in mapPixelFormatCodecToFramework()
993 *frameworkValue = int32_t(c2Value); in mapPixelFormatCodecToFramework()
/aosp12/frameworks/av/media/codec2/sfplugin/tests/
H A DReflectedParamUpdater_test.cpp178 C2Value c2Value; in TEST_F() local
183 EXPECT_EQ(true, msg["int.value"].find(&c2Value)); in TEST_F()
184 EXPECT_EQ(true, c2Value.get(&int32Value)); in TEST_F()
188 EXPECT_EQ(true, msg["vendor.long.value"].find(&c2Value)); in TEST_F()
189 EXPECT_EQ(true, c2Value.get(&int64Value)); in TEST_F()