Home
last modified time | relevance | path

Searched refs:findInt32 (Results 1 – 11 of 11) sorted by relevance

/hardware/google/av/media/eco/tests/
DEcoSessionTest.cpp261 EXPECT_TRUE(info.findInt32(ENCODER_TYPE, &codecType) == ECODataStatus::OK); in TEST_F()
265 EXPECT_TRUE(info.findInt32(ENCODER_PROFILE, &profile) == ECODataStatus::OK); in TEST_F()
269 EXPECT_TRUE(info.findInt32(ENCODER_LEVEL, &level) == ECODataStatus::OK); in TEST_F()
273 EXPECT_TRUE(info.findInt32(ENCODER_TARGET_BITRATE_BPS, &bitrate) == ECODataStatus::OK); in TEST_F()
277 EXPECT_TRUE(info.findInt32(ENCODER_KFI_FRAMES, &kfi) == ECODataStatus::OK); in TEST_F()
299 EXPECT_TRUE(info.findInt32(FRAME_NUM, &frameNum) == ECODataStatus::OK); in TEST_F()
307 EXPECT_TRUE(info.findInt32(FRAME_AVG_QP, &frameQp) == ECODataStatus::OK); in TEST_F()
311 EXPECT_TRUE(info.findInt32(FRAME_SIZE_BYTES, &frameSize) == ECODataStatus::OK); in TEST_F()
341 EXPECT_TRUE(info.findInt32(FRAME_NUM, &frameNum) == ECODataStatus::OK); in TEST_F()
345 EXPECT_TRUE(info.findInt32(FRAME_AVG_QP, &frameQp) == ECODataStatus::OK); in TEST_F()
[all …]
DEcoDataTest.cpp112 EXPECT_TRUE(data->findInt32(ENCODER_TARGET_BITRATE_BPS, &testValue) == ECODataStatus::OK); in TEST()
117 EXPECT_EQ(data->findInt32(ENCODER_TARGET_BITRATE_BPS, &testValue), ECODataStatus::OK); in TEST()
135 EXPECT_TRUE(data->findInt32(it->first, &testValue) == ECODataStatus::OK); in TEST()
144 EXPECT_TRUE(data->findInt32("encoder-name", nullptr) != ECODataStatus::OK); in TEST()
148 EXPECT_TRUE(data->findInt32("encoder-name", &testValue) != ECODataStatus::OK); in TEST()
154 EXPECT_TRUE(data->findInt32("", &testValue) != ECODataStatus::OK); in TEST()
/hardware/google/av/media/sfplugin/tests/
DMediaCodec_sanity_test.cpp124 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P()
153 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P()
183 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P()
186 if (ifmt->findInt32("max-input-size", &maxInputSize)) { in TEST_P()
302 EXPECT_TRUE(ofmt->findInt32("color-format", &ocolor)); in TEST_P()
339 ASSERT_TRUE(ofmt->findInt32("color-format", &ocolor)); in TEST_P()
358 ofmt->findInt32("stride", &stride) || ofmt->findInt32("width", &stride); in TEST_P()
359 ofmt->findInt32("slice-height", &vstride) || ofmt->findInt32("height", &vstride); in TEST_P()
/hardware/google/av/media/sfplugin/
DCCodec.cpp686 if (!msg->findInt32("encoder", &encoder)) { in configure()
697 && msg->findInt32("android._input-metadata-buffer-type", &storeMeta) in configure()
752 if (msg->findInt32("create-input-buffers-suspended", &value) && value) { in configure()
763 if (!msg->findInt32(KEY_COLOR_FORMAT, &format)) { in configure()
820 msg->findInt32(KEY_MAX_INPUT_SIZE, &clientInputSize) && clientInputSize > 0; in configure()
877 if (msg->findInt32("android._color-format", &format)) { in configure()
889 if (msg->findInt32("encoder-delay", &delay)) { in configure()
893 if (msg->findInt32("encoder-padding", &padding)) { in configure()
901 if (msg->findInt32(KEY_CHANNEL_MASK, &mask)) { in configure()
971 (void)outputFormat->findInt32("width", &width); in createInputSurface()
[all …]
DCCodecConfig.cpp1088 if (msg->findInt32("crop-left", &left) && msg->findInt32("crop-width", &width) in getSdkFormatForDomain()
1089 && msg->findInt32("crop-top", &top) && msg->findInt32("crop-height", &height) in getSdkFormatForDomain()
1097 } else if (msg->findInt32("width", &width) && msg->findInt32("height", &height)) { in getSdkFormatForDomain()
1146 if (msg->findInt32("color-primaries", (int32_t*)&primaries) in getSdkFormatForDomain()
1147 && msg->findInt32("color-matrix", (int32_t*)&matrix)) { in getSdkFormatForDomain()
1179 (void)msg->findInt32(KEY_WIDTH, &width); in getSdkFormatForDomain()
1180 (void)msg->findInt32(KEY_HEIGHT, &height); in getSdkFormatForDomain()
1186 if (!msg->findInt32("android._dataspace", (int32_t*)&dataspace) in getSdkFormatForDomain()
1387 if (params->findInt32("crop-left", &offset) && params->findInt32("crop-right", &end) in getReflectedFormat()
1394 if (params->findInt32("crop-top", &offset) && params->findInt32("crop-bottom", &end) in getReflectedFormat()
[all …]
DCodec2Buffer.cpp510 (void)format->findInt32("color-format", &colorFormat); in Allocate()
623 (void)format->findInt32("color-format", &colorFormat); in Allocate()
657 if (!format->findInt32("width", &width) in AllocateEmpty()
658 || !format->findInt32("height", &height)) { in AllocateEmpty()
716 const_cast<ConstGraphicBlockBuffer *>(this)->format()->findInt32("color-format", &colorFormat); in canCopy()
738 format()->findInt32("color-format", &colorFormat); in copy()
DCCodecBufferChannel.cpp402 if (!format->findInt32("width", &width) || !format->findInt32("height", &height)) { in AllocateGraphicBuffer()
775 (void)mFormat->findInt32(KEY_MAX_INPUT_SIZE, &capacity); in requestNewBuffer()
812 (void)mFormat->findInt32(KEY_MAX_INPUT_SIZE, &capacity); in toArrayMode()
1626 if (buffer->meta()->findInt32("eos", &tmp) && tmp) { in queueInputBufferInternal()
1631 if (buffer->meta()->findInt32("csd", &tmp) && tmp) { in queueInputBufferInternal()
1918 (void)buffer->format()->findInt32("android._dataspace", (int32_t *)&dataSpace); in renderOutputBuffer()
2177 (void)inputFormat->findInt32(KEY_MAX_INPUT_SIZE, &capacity); in start()
2354 if (outputFormat->findInt32(KEY_CHANNEL_COUNT, &channelCount) in start()
2355 && outputFormat->findInt32(KEY_SAMPLE_RATE, &sampleRate)) { in start()
2358 if (!outputFormat->findInt32("encoder-delay", &delay)) { in start()
[all …]
/hardware/google/av/media/eco/include/eco/
DECOData.h107 ECODataStatus findInt32(const std::string& key, int32_t* out) const;
/hardware/google/av/media/eco/
DECOSession.cpp474 if (config.findInt32(KEY_LISTENER_QP_BLOCKINESS_THRESHOLD, in addInfoListener()
476 config.findInt32(KEY_LISTENER_QP_CHANGE_THRESHOLD, in addInfoListener()
DECOData.cpp246 ECODataStatus ECOData::findInt32(const std::string& key, int32_t* out) const { in findInt32() function in android::media::eco::ECOData
/hardware/google/av/media/codecs/base/
DSimpleC2Component.cpp271 CHECK(reply->findInt32("err", &err)); in start()
303 CHECK(reply->findInt32("err", &err)); in stop()