/hardware/google/av/media/eco/tests/ |
D | EcoSessionTest.cpp | 261 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 …]
|
D | EcoDataTest.cpp | 112 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/ |
D | MediaCodec_sanity_test.cpp | 124 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/ |
D | CCodec.cpp | 686 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 …]
|
D | CCodecConfig.cpp | 1088 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 …]
|
D | Codec2Buffer.cpp | 510 (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()
|
D | CCodecBufferChannel.cpp | 402 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/ |
D | ECOData.h | 107 ECODataStatus findInt32(const std::string& key, int32_t* out) const;
|
/hardware/google/av/media/eco/ |
D | ECOSession.cpp | 474 if (config.findInt32(KEY_LISTENER_QP_BLOCKINESS_THRESHOLD, in addInfoListener() 476 config.findInt32(KEY_LISTENER_QP_CHANGE_THRESHOLD, in addInfoListener()
|
D | ECOData.cpp | 246 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/ |
D | SimpleC2Component.cpp | 271 CHECK(reply->findInt32("err", &err)); in start() 303 CHECK(reply->findInt32("err", &err)); in stop()
|