/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/include/ |
H A D | image_source_native_impl.h | 35 int fileDescriptor_ = -1; member
|
/foundation/multimedia/image_framework/interfaces/kits/js/common/include/sendable/ |
H A D | sendable_image_source_napi.h | 38 static int fileDescriptor_;
member in OHOS::Media::SendableImageSourceNapi
|
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/ |
H A D | avimagegenerator_napi.cpp | 360 !CommonNapi::GetFdArgument(env, args[0], generator->fileDescriptor_); in JsSetAVFileDescriptor() 364 auto fileDescriptor = generator->fileDescriptor_; in JsSetAVFileDescriptor() 382 (void)CommonNapi::AddNumberPropInt32(env, value, "fd", generator->fileDescriptor_.fd); in JsGetAVFileDescriptor() 383 (void)CommonNapi::AddNumberPropInt64(env, value, "offset", generator->fileDescriptor_.offset); in JsGetAVFileDescriptor() 384 (void)CommonNapi::AddNumberPropInt64(env, value, "length", generator->fileDescriptor_.length); in JsGetAVFileDescriptor()
|
H A D | avimagegenerator_napi.h | 89 struct AVFileDescriptor fileDescriptor_; member in OHOS::Media::AVImageGeneratorNapi
|
H A D | avmetadataextractor_napi.h | 74 struct AVFileDescriptor fileDescriptor_; member in OHOS::Media::AVMetadataExtractorNapi
|
H A D | avmetadataextractor_napi.cpp | 428 !CommonNapi::GetFdArgument(env, args[0], extractor->fileDescriptor_); in JsSetAVFileDescriptor() 432 auto fileDescriptor = extractor->fileDescriptor_; in JsSetAVFileDescriptor() 450 (void)CommonNapi::AddNumberPropInt32(env, value, "fd", extractor->fileDescriptor_.fd); in JsGetAVFileDescriptor() 451 (void)CommonNapi::AddNumberPropInt64(env, value, "offset", extractor->fileDescriptor_.offset); in JsGetAVFileDescriptor() 452 (void)CommonNapi::AddNumberPropInt64(env, value, "length", extractor->fileDescriptor_.length); in JsGetAVFileDescriptor() 476 !CommonNapi::GetFdArgument(env, args[0], jsMetaHelper->fileDescriptor_); in JsSetDataSrc()
|
/foundation/multimedia/image_framework/interfaces/kits/js/common/include/ |
H A D | image_source_napi.h | 45 static thread_local int fileDescriptor_; member in OHOS::Media::ImageSourceNapi
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/ |
H A D | image_source_native.cpp | 380 imageSource->fileDescriptor_ = fd; in OH_ImageSourceNative_CreateFromFd() 601 } else if (source->fileDescriptor_ != INVALID_FD) { in OH_ImageSourceNative_ModifyImageProperty() 603 source->fileDescriptor_); in OH_ImageSourceNative_ModifyImageProperty()
|
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_napi.cpp | 1552 if (!CommonNapi::GetFdArgument(env, args[0], jsPlayer->fileDescriptor_)) { in JsSetAVFileDescriptor() 1562 auto playerFd = jsPlayer->fileDescriptor_; in JsSetAVFileDescriptor() 1588 (void)CommonNapi::AddNumberPropInt32(env, value, "fd", jsPlayer->fileDescriptor_.fd); in JsGetAVFileDescriptor() 1589 (void)CommonNapi::AddNumberPropInt64(env, value, "offset", jsPlayer->fileDescriptor_.offset); in JsGetAVFileDescriptor() 1590 (void)CommonNapi::AddNumberPropInt64(env, value, "length", jsPlayer->fileDescriptor_.length); in JsGetAVFileDescriptor() 2897 fileDescriptor_.fd = 0; in ResetUserParameters() 2898 fileDescriptor_.offset = 0; in ResetUserParameters() 2899 fileDescriptor_.length = -1; in ResetUserParameters()
|
H A D | avplayer_napi.h | 369 struct AVFileDescriptor fileDescriptor_; member in OHOS::Media::AVPlayerNapi
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_source_napi.cpp | 42 int SendableImageSourceNapi::fileDescriptor_ = -1;
member in OHOS::Media::SendableImageSourceNapi 726 fileDescriptor_ = asyncContext->fdIndex;
in CreateImageSource()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_source_napi.cpp | 54 thread_local int ImageSourceNapi::fileDescriptor_ = -1; member in OHOS::Media::ImageSourceNapi 1315 fileDescriptor_ = asyncContext->fdIndex; in CreateImageSource() 2068 context->fdIndex = ImageSourceNapi::fileDescriptor_; in UnwrapContextForModify()
|