Home | History | Annotate | Download | only in libstagefright

Lines Matching refs:h264type

1947     OMX_VIDEO_PARAM_AVCTYPE h264type;
1948 InitOMXParams(&h264type);
1949 h264type.nPortIndex = kPortIndexOutput;
1952 mNode, OMX_IndexParamVideoAvc, &h264type, sizeof(h264type));
1958 h264type.nAllowedPictureTypes =
1974 h264type.eProfile = static_cast<OMX_VIDEO_AVCPROFILETYPE>(profile);
1975 h264type.eLevel = static_cast<OMX_VIDEO_AVCLEVELTYPE>(level);
1979 if (h264type.eProfile != OMX_VIDEO_AVCProfileBaseline) {
1981 h264type.eProfile);
1982 h264type.eProfile = OMX_VIDEO_AVCProfileBaseline;
1985 if (h264type.eProfile == OMX_VIDEO_AVCProfileBaseline) {
1986 h264type.nSliceHeaderSpacing = 0;
1987 h264type.bUseHadamard = OMX_TRUE;
1988 h264type.nRefFrames = 1;
1989 h264type.nBFrames = 0;
1990 h264type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate);
1991 if (h264type.nPFrames == 0) {
1992 h264type.nAllowedPictureTypes = OMX_VIDEO_PictureTypeI;
1994 h264type.nRefIdx10ActiveMinus1 = 0;
1995 h264type.nRefIdx11ActiveMinus1 = 0;
1996 h264type.bEntropyCodingCABAC = OMX_FALSE;
1997 h264type.bWeightedPPrediction = OMX_FALSE;
1998 h264type.bconstIpred = OMX_FALSE;
1999 h264type.bDirect8x8Inference = OMX_FALSE;
2000 h264type.bDirectSpatialTemporal = OMX_FALSE;
2001 h264type.nCabacInitIdc = 0;
2004 if (h264type.nBFrames != 0) {
2005 h264type.nAllowedPictureTypes |= OMX_VIDEO_PictureTypeB;
2008 h264type.bEnableUEP = OMX_FALSE;
2009 h264type.bEnableFMO = OMX_FALSE;
2010 h264type.bEnableASO = OMX_FALSE;
2011 h264type.bEnableRS = OMX_FALSE;
2012 h264type.bFrameMBsOnly = OMX_TRUE;
2013 h264type.bMBAFF = OMX_FALSE;
2014 h264type.eLoopFilterMode = OMX_VIDEO_AVCLoopFilterEnable;
2017 mNode, OMX_IndexParamVideoAvc, &h264type, sizeof(h264type));