Home
last modified time | relevance | path

Searched refs:isHdr (Results 1 - 25 of 39) sorted by relevance

12

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_hdr_test.cpp70 bool isHdr = imageSource->IsHdrImage(); in HWTEST_F() local
71 ASSERT_EQ(isHdr, false); in HWTEST_F()
88 bool isHdr = imageSource->IsHdrImage(); in HWTEST_F() local
89 ASSERT_EQ(isHdr, false); in HWTEST_F()
106 bool isHdr = imageSource->IsHdrImage(); in HWTEST_F() local
107 ASSERT_EQ(isHdr, false); in HWTEST_F()
124 bool isHdr = imageSource->IsHdrImage(); in HWTEST_F() local
126 ASSERT_EQ(isHdr, true); in HWTEST_F()
128 ASSERT_EQ(isHdr, false); in HWTEST_F()
155 bool isHdr in HWTEST_F() local
182 bool isHdr = pixelMap->IsHdr(); HWTEST_F() local
209 bool isHdr = pixelMap->IsHdr(); HWTEST_F() local
236 bool isHdr = pixelMap->IsHdr(); HWTEST_F() local
267 bool isHdr = pixelMap->IsHdr(); HWTEST_F() local
298 bool isHdr = pixelMap->IsHdr(); HWTEST_F() local
325 bool isHdr = pixelMap->IsHdr(); HWTEST_F() local
352 bool isHdr = pixelMap->IsHdr(); HWTEST_F() local
446 bool isHdr = outImageSource->IsHdrImage(); HWTEST_F() local
[all...]
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/
H A Davmetadatahelper_impl.cpp264 bool isHdr = false; in DumpAVBuffer() local
267 bufferMeta->Get<Tag::VIDEO_IS_HDR_VIVID>(isHdr); in DumpAVBuffer()
270 std::string pixelFormat = isHdr ? pixelFormatToString(PixelFormat::YCBCR_P010): in DumpAVBuffer()
319 bufferMeta->Get<Tag::VIDEO_IS_HDR_VIVID>(pixelMapInfo.isHdr); in CreatePixelMapYuv()
371 bool isHdr = pixelMapInfo.isHdr; in CreatePixelMapFromSurfaceBuffer() local
372 options.srcPixelFormat = isHdr ? PixelFormat::YCBCR_P010 : PixelFormat::NV12; in CreatePixelMapFromSurfaceBuffer()
373 options.pixelFormat = isHdr ? PixelFormat::YCBCR_P010 : PixelFormat::NV12; in CreatePixelMapFromSurfaceBuffer()
374 options.useDMA = (isHdr || pixelMapInfo.pixelFormat == PixelFormat::NV12) ? true : false; in CreatePixelMapFromSurfaceBuffer()
376 colorLength = isHdr in CreatePixelMapFromSurfaceBuffer()
[all...]
H A Davmetadatahelper_impl.h59 bool isHdr = false; member
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_source_native.cpp68 bool isHdr; member
277 Image_ErrorCode OH_ImageSourceInfo_GetDynamicRange(OH_ImageSource_Info *info, bool *isHdr) in OH_ImageSourceInfo_GetDynamicRange() argument
279 if (info == nullptr || isHdr == nullptr) { in OH_ImageSourceInfo_GetDynamicRange()
282 *isHdr = info->isHdr; in OH_ImageSourceInfo_GetDynamicRange()
535 info->isHdr = source->GetInnerImageSource()->IsHdrImage(); in OH_ImageSourceNative_GetImageInfo()
/foundation/multimedia/av_codec/services/media_engine/filters/
H A Dsurface_decoder_filter.cpp131 bool isHdr = false; in Configure() local
132 configureParameter_->GetData(Tag::VIDEO_IS_HDR_VIVID, isHdr); in Configure()
133 if (isHdr) { in Configure()
134 MEDIA_LOG_D("isHdr true,set video_decoder_output_colorspace, pixel_format"); in Configure()
140 MEDIA_LOG_D("isHdr false"); in Configure()
/foundation/multimedia/player_framework/services/services/engine_intf/
H A Drecorder_param.h121 explicit VidIsHdr(bool r) : RecorderParam(RecorderPublicParamType::VID_IS_HDR), isHdr(r) {} in VidIsHdr()
122 bool isHdr; member
/foundation/multimedia/player_framework/frameworks/native/recorder/
H A Drecorder_impl.cpp115 int32_t RecorderImpl::RecorderImpl::SetVideoIsHdr(int32_t sourceId, bool isHdr) in SetVideoIsHdr() argument
117 MEDIA_LOGI("RecorderImpl:0x%{public}06" PRIXPTR " SetVideoIsHdr in, sourceId is %{public}d, isHdr is %{public}d", in SetVideoIsHdr()
118 FAKE_POINTER(this), sourceId, isHdr); in SetVideoIsHdr()
120 return recorderService_->SetVideoIsHdr(sourceId, isHdr); in SetVideoIsHdr()
H A Drecorder_impl.h37 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
/foundation/multimedia/image_framework/interfaces/kits/native/include/image/
H A Dimage_source_native.h130 * @brief Get isHdr for OH_ImageSource_Info struct.
133 * @param isHdr Whether the image has a high dynamic range.
137 Image_ErrorCode OH_ImageSourceInfo_GetDynamicRange(OH_ImageSource_Info *info, bool *isHdr);
H A Dpixelmap_native.h584 * @brief Get isHdr boolean for imageinfo struct.
587 * @param isHdr Whether the image has a high dynamic range.
591 Image_ErrorCode OH_PixelmapImageInfo_GetDynamicRange(OH_Pixelmap_ImageInfo *info, bool *isHdr);
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/include/
H A Dthumbnail_data.h61 EXPORT bool isHdr {false};
/foundation/multimedia/player_framework/services/services/recorder/server/
H A Drecorder_server.h76 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
157 bool isHdr = false; member
H A Drecorder_server.cpp262 int32_t RecorderServer::SetVideoIsHdr(int32_t sourceId, bool isHdr) in SetVideoIsHdr() argument
264 MEDIA_LOGI("RecorderServer:0x%{public}06" PRIXPTR " SetVideoIsHdr in, sourceId(%{public}d), isHdr(%{public}d)", in SetVideoIsHdr()
265 FAKE_POINTER(this), sourceId, isHdr); in SetVideoIsHdr()
269 config_.isHdr = isHdr; in SetVideoIsHdr()
270 VidIsHdr vidIsHdr(isHdr); in SetVideoIsHdr()
1025 dumpString += "RecorderServer isHdr is: " + std::to_string(config_.isHdr) + "\n"; in DumpInfo()
1155 if (config_.isHdr) { in SetMetaDataReport()
/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/
H A Dpixelmap_native.cpp75 bool isHdr = false; member
383 Image_ErrorCode OH_PixelmapImageInfo_GetDynamicRange(OH_Pixelmap_ImageInfo *info, bool *isHdr) in OH_PixelmapImageInfo_GetDynamicRange() argument
385 if (info == nullptr || isHdr == nullptr) { in OH_PixelmapImageInfo_GetDynamicRange()
388 *isHdr = info->isHdr; in OH_PixelmapImageInfo_GetDynamicRange()
540 imageInfo->isHdr = pixelmap->GetInnerPixelmap()->IsHdr(); in OH_PixelmapNative_GetImageInfo()
/foundation/multimedia/player_framework/services/services/recorder/client/
H A Drecorder_client.h38 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
H A Drecorder_client.cpp130 int32_t RecorderClient::SetVideoIsHdr(int32_t sourceId, bool isHdr) in SetVideoIsHdr() argument
135 MEDIA_LOGD("SetVideoIsHdr sourceId(%{public}d), isHdr(%{public}d)", sourceId, isHdr); in SetVideoIsHdr()
136 return recorderProxy_->SetVideoIsHdr(sourceId, isHdr); in SetVideoIsHdr()
/foundation/multimedia/player_framework/services/services/recorder/ipc/
H A Drecorder_service_proxy.h35 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
H A Di_standard_recorder_service.h90 virtual int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) = 0;
H A Drecorder_service_stub.cpp273 int32_t RecorderServiceStub::SetVideoIsHdr(int32_t sourceId, bool isHdr) in SetVideoIsHdr() argument
276 return recorderServer_->SetVideoIsHdr(sourceId, isHdr); in SetVideoIsHdr()
572 bool isHdr = data.ReadBool(); in SetVideoIsHdr() local
573 reply.WriteInt32(SetVideoIsHdr(sourceId, isHdr)); in SetVideoIsHdr()
H A Drecorder_service_stub.h44 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
/foundation/multimedia/player_framework/services/include/
H A Di_recorder_service.h182 * @param isHdr Indicates the HDR status to set.
187 virtual int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) = 0;
/foundation/multimedia/image_framework/frameworks/kits/cj/include/
H A Dimage_ffi.h33 bool isHdr; member
/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/
H A Dhitranscoder_impl.cpp341 bool isHdr = false; in ConfigureInputVideoMetaData() local
342 trackInfos[index]->GetData(Tag::VIDEO_IS_HDR_VIVID, isHdr); in ConfigureInputVideoMetaData()
343 if (isHdr) { in ConfigureInputVideoMetaData()
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/
H A Dav_thumbnail_generator.cpp422 bool isHdr = srcSurfaceBuffer->GetFormat() == in GenerateAlignmentAvBuffer() local
453 targetAvBuffer->meta_->Set<Tag::VIDEO_IS_HDR_VIVID>(isHdr); in GenerateAlignmentAvBuffer()
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmetadata_extractor.cpp486 const string isHdr = "yes"; in PopulateExtractedAVMetadataTwo() local
487 if (strcmp(strTemp.c_str(), isHdr.c_str()) == 0) { in PopulateExtractedAVMetadataTwo()

Completed in 22 milliseconds

12