Searched refs:videoStream (Results 1 – 3 of 3) sorted by relevance
55 AVStream *videoStream = GetVideoStream(); in ParserBoxInfo() local56 FALSE_RETURN_MSG(videoStream != nullptr, "Video stream is nullptr"); in ParserBoxInfo()57 if (videoStream->avg_frame_rate.den == 0 || videoStream->avg_frame_rate.num == 0) { in ParserBoxInfo()58 fps_ = videoStream->r_frame_rate.num / (double)videoStream->r_frame_rate.den; in ParserBoxInfo()60 fps_ = videoStream->avg_frame_rate.num / (double)videoStream->avg_frame_rate.den; in ParserBoxInfo()185 if (videoStream == nullptr || videoStream->codecpar == nullptr) { in ParserRefCheckVideoValid()190 …videoStream->codecpar->codec_id == AV_CODEC_ID_HEVC || videoStream->codecpar->codec_id == AV_CODEC… in ParserRefCheckVideoValid()216 AVStream *videoStream = GetVideoStream(); in ParserRefInit() local217 …FALSE_RETURN_V_MSG_E(videoStream != nullptr && videoStream->codecpar != nullptr, Status::ERROR_UNK… in ParserRefInit()224 ParserSdtpInfo *sc = (ParserSdtpInfo *)videoStream->priv_data; in ParserRefInit()[all …]
244 Status ParserRefCheckVideoValid(const AVStream *videoStream);
328 AVStream *videoStream = nullptr; in InitMux() local329 videoStream = apiWrap_->FormatNewStream(formatContext_.get(), nullptr); in InitMux()330 FALSE_RETURN_V_MSG_E(videoStream != nullptr, ERROR, "new video stream error"); in InitMux()331 ret = apiWrap_->CodecParamFromContext(videoStream->codecpar, videoCodecContext_.get()); in InitMux()333 videoStream->codecpar->codec_tag = 0; in InitMux()