Searched refs:videoStream (Results 1 - 5 of 5) sorted by relevance
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_reference_parser.cpp | 58 AVStream *videoStream = formatContext_->streams[videoStreamIdx];
in ParserBoxInfo() local 59 FALSE_RETURN_MSG(videoStream != nullptr, "Video stream is nullptr");
in ParserBoxInfo() 61 if (videoStream->avg_frame_rate.den == 0 || videoStream->avg_frame_rate.num == 0) {
in ParserBoxInfo() 62 fps_ = videoStream->r_frame_rate.num / (double)videoStream->r_frame_rate.den;
in ParserBoxInfo() 64 fps_ = videoStream->avg_frame_rate.num / (double)videoStream->avg_frame_rate.den;
in ParserBoxInfo() 67 if (av_get_key_frame_pos_from_stream(videoStream, &keyFramePosInfo) == 0) {
in ParserBoxInfo() 165 Status FFmpegDemuxerPlugin::ParserRefCheckVideoValid(const AVStream *videoStream)
in ParserRefCheckVideoValid() argument 203 AVStream *videoStream = parserRefFormatContext_->streams[parserRefVideoStreamIdx_]; ParserRefInit() local [all...] |
H A D | ffmpeg_demuxer_plugin.h | 237 Status ParserRefCheckVideoValid(const AVStream *videoStream);
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/src/ |
H A D | rtp_codec_ts.cpp | 303 videoStream = avformat_new_stream(avFormatContext_, NULL); in StartEncoding() 304 videoStream->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in StartEncoding() 305 videoStream->codecpar->codec_id = AV_CODEC_ID_H264; in StartEncoding() 306 videoStream->codecpar->codec_tag = 0; in StartEncoding() 307 videoStream->time_base.num = 1; in StartEncoding() 308 videoStream->time_base.den = SAMPLE_RATE_90K; // 90000: video sample rate in StartEncoding() 320 audioStream->index, videoStream->index, audioCodeId_); in StartEncoding() 379 packet->dts = av_rescale(frame->Dts(), videoStream->time_base.den, WFD_MSEC_IN_SEC); in ReadFrame() 380 packet->pts = av_rescale(frame->Pts(), videoStream->time_base.den, WFD_MSEC_IN_SEC); in ReadFrame() 381 packet->stream_index = videoStream in ReadFrame() [all...] |
/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | media_audio_encoder.cpp | 327 AVStream *videoStream = nullptr; in InitMux() local 328 videoStream = apiWrap_->FormatNewStream(formatContext_.get(), nullptr); in InitMux() 329 FALSE_RETURN_V_MSG_E(videoStream != nullptr, ERROR, "new video stream error"); in InitMux() 330 ret = apiWrap_->CodecParamFromContext(videoStream->codecpar, videoCodecContext_.get()); in InitMux() 332 videoStream->codecpar->codec_tag = 0; in InitMux()
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/include/ |
H A D | rtp_codec_ts.h | 98 AVStream *videoStream = nullptr; member in OHOS::Sharing::RtpEncoderTs
|
Completed in 4 milliseconds