Searched refs:venc_ (Results 1 – 2 of 2) sorted by relevance
124 OH_VideoEncoder_Destroy(venc_); in ~VDecEncNdkSample()465 if (vcodecSignal_ == nullptr || venc_== nullptr) { in SendEncEos()469 int32_t ret = OH_VideoEncoder_NotifyEndOfStream(venc_); in SendEncEos()525 venc_ = OH_VideoEncoder_CreateByMime(OH_AVCODEC_MIMETYPE_VIDEO_AVC); in CreateVideoEncoderByMime()527 venc_ = OH_VideoEncoder_CreateByMime(mimetype.c_str()); in CreateVideoEncoderByMime()529 NDK_CHECK_AND_RETURN_RET_LOG(venc_ != nullptr, nullptr, "Fatal: OH_VideoEncoder_CreateByMime"); in CreateVideoEncoderByMime()538 int32_t ret = OH_VideoEncoder_SetCallback(venc_, cbEnc_, static_cast<void *>(vcodecSignal_)); in CreateVideoEncoderByMime()540 return venc_; in CreateVideoEncoderByMime()545 venc_ = OH_VideoEncoder_CreateByName(name.c_str()); in CreateVideoEncoderByName()546 NDK_CHECK_AND_RETURN_RET_LOG(venc_ != nullptr, nullptr, "Fatal: OH_VideoEncoder_CreateByName"); in CreateVideoEncoderByName()[all …]
131 struct OH_AVCodec* venc_; variable