Home
last modified time | relevance | path

Searched refs:avcType (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhencoder.cpp565 InitOMXParam(avcType); in SetupAVCEncoderParameters()
572 avcType.nBFrames = 0; in SetupAVCEncoderParameters()
586 if (avcType.nBFrames != 0) { in SetupAVCEncoderParameters()
592 avcType.bEnableRS = OMX_FALSE; in SetupAVCEncoderParameters()
594 avcType.bMBAFF = OMX_FALSE; in SetupAVCEncoderParameters()
607 iFrameInterval, frameRate, avcType.eProfile, avcType.eLevel); in SetAvcFields()
612 avcType.nRefFrames = 1; in SetAvcFields()
613 avcType.nPFrames = SetPFramesSpacing(iFrameInterval, frameRate, avcType.nBFrames); in SetAvcFields()
624 avcType.nCabacInitIdc = 0; in SetAvcFields()
628 avcType.nRefFrames = avcType.nBFrames == 0 ? 1 : 2; // 2 is number of reference frames in SetAvcFields()
[all …]
H A Dhencoder.h60 void SetAvcFields(OMX_VIDEO_PARAM_AVCTYPE& avcType, int32_t iFrameInterval, double frameRate);