Searched refs:opt_ (Results 1 - 12 of 12) sorted by relevance
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | tester_capi.cpp | 87 string mime = GetCodecMime(opt_.protocol); in Create() 89 codec_ = opt_.isEncoder ? OH_VideoEncoder_CreateByMime(mime.c_str()) : OH_VideoDecoder_CreateByMime(mime.c_str()); in Create() 95 opt_.isEncoder ? "OH_VideoEncoder_CreateByMime" : "OH_VideoDecoder_CreateByMime"); in Create() 108 OH_AVErrCode ret = opt_.isEncoder ? OH_VideoEncoder_SetCallback(codec_, cb, this) : in SetCallback() 115 opt_.isEncoder ? "OH_VideoEncoder_SetCallback" : "OH_VideoDecoder_SetCallback"); in SetCallback() 128 OH_AVErrCode ret = opt_.isEncoder ? OH_VideoEncoder_RegisterCallback(codec_, cb, this) : in SetCallback() 135 opt_.isEncoder ? "OH_VideoEncoder_RegisterCallback" : "OH_VideoDecoder_RegisterCallback"); in SetCallback() 142 OH_AVErrCode ret = opt_.isEncoder ? OH_VideoEncoder_Start(codec_) : in Start() 149 opt_.isEncoder ? "OH_VideoEncoder_Start" : "OH_VideoDecoder_Start"); in Start() 156 OH_AVErrCode ret = opt_ in Stop() [all...] |
H A D | tester_codecbase.cpp | 61 string mime = GetCodecMime(opt_.protocol); in Create() 62 string name = GetCodecName(opt_.isEncoder, mime); in Create() 154 if (opt_.isHighPerfMode) { in EnableHighPerf() 162 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, opt_.dispW); in ConfigureEncoder() 163 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, opt_.dispH); in ConfigureEncoder() 164 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(opt_.pixFmt)); in ConfigureEncoder() 165 fmt.PutDoubleValue(MediaDescriptionKey::MD_KEY_FRAME_RATE, opt_.frameRate); in ConfigureEncoder() 166 if (opt_.rangeFlag.has_value()) { in ConfigureEncoder() 167 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_RANGE_FLAG, opt_.rangeFlag.value()); in ConfigureEncoder() 169 if (opt_ in ConfigureEncoder() [all...] |
H A D | tester_common.cpp | 125 return opt_.isEncoder ? RunEncoder() : RunDecoder(); in RunOnce() 130 const char* codecStr = opt_.isEncoder ? "encoder" : "decoder"; in BeforeQueueInput() 133 if (!opt_.isEncoder && opt_.decThenEnc) { in BeforeQueueInput() 157 const char* codecStr = opt_.isEncoder ? "encoder" : "decoder"; in AfterGotOutput() 196 if (opt_.isEncoder && opt_.decThenEnc) { in OutputLoop() 215 shared_ptr<StartCodeDetector> demuxer = StartCodeDetector::Create(opt_.protocol); in CheckVivid() 236 ifs_ = ifstream(opt_.inputFile, ios::binary); in RunEncoder() 237 IF_TRUE_RETURN_VAL_WITH_MSG(!ifs_, false, "Failed to open file %s", opt_ in RunEncoder() [all...] |
H A D | tester_common.h | 59 explicit TesterCommon(const CommandOpt &opt) : opt_(opt) {} in TesterCommon() 82 CommandOpt opt_; member
|
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/ |
H A D | avimagegenerator_napi.h | 107 std::string opt_ = ""; member
|
H A D | avmetadataextractor_napi.h | 86 std::string opt_ = ""; member
|
/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/ |
H A D | avscreen_capture_napi.h | 169 std::string opt_ = ""; member
|
H A D | avscreen_capture_napi.cpp | 895 asyncCtx->opt_ = opt; 913 MEDIA_LOGI("The js thread of %{public}s finishes execution and returns", asyncCtx->opt_.c_str());
|
/foundation/multimedia/player_framework/frameworks/js/avtranscoder/ |
H A D | avtranscoder_napi.cpp | 458 asyncCtx->opt_ = opt;
in ExecuteByPromise() 475 MEDIA_LOGI("The js thread of %{public}s finishes execution and returns", asyncCtx->opt_.c_str());
in ExecuteByPromise() 544 MEDIA_LOGI("The js thread of %{public}s finishes execution and returns", asyncCtx->opt_.c_str());
in JsSetSrcFd() 610 MEDIA_LOGI("The js thread of %{public}s finishes execution and returns", asyncCtx->opt_.c_str());
in JsSetDstFd()
|
H A D | avtranscoder_napi.h | 237 std::string opt_ = "";
member
|
/foundation/multimedia/player_framework/frameworks/js/avrecorder/ |
H A D | avrecorder_napi.cpp | 714 asyncCtx->opt_ = opt; 731 (asyncCtx->opt_ == AVRecordergOpt::GET_AV_RECORDER_CONFIG)) { 766 asyncCtx->opt_ = opt; 783 (asyncCtx->opt_ == AVRecordergOpt::GET_CURRENT_AUDIO_CAPTURER_INFO)) { 817 asyncCtx->opt_ = opt; 834 (asyncCtx->opt_ == AVRecordergOpt::GET_MAX_AMPLITUDE)) { 868 asyncCtx->opt_ = opt; 885 (asyncCtx->opt_ == AVRecordergOpt::GET_ENCODER_INFO)) { 1036 asyncCtx->opt_ = opt; 1053 (asyncCtx->opt_ [all...] |
H A D | avrecorder_napi.h | 436 std::string opt_ = ""; member
|
Completed in 10 milliseconds