Lines Matching defs:h264type

1114     OMX_VIDEO_PARAM_AVCTYPE h264type;
1115 InitOMXParams(&h264type);
1116 h264type.nPortIndex = kPortIndexOutput;
1119 mNode, OMX_IndexParamVideoAvc, &h264type, sizeof(h264type));
1122 h264type.nAllowedPictureTypes =
1127 defaultProfileLevel.mProfile = h264type.eProfile;
1128 defaultProfileLevel.mLevel = h264type.eLevel;
1131 h264type.eProfile = static_cast<OMX_VIDEO_AVCPROFILETYPE>(profileLevel.mProfile);
1132 h264type.eLevel = static_cast<OMX_VIDEO_AVCLEVELTYPE>(profileLevel.mLevel);
1135 if (h264type.eProfile != OMX_VIDEO_AVCProfileBaseline) {
1137 h264type.eProfile);
1138 h264type.eProfile = OMX_VIDEO_AVCProfileBaseline;
1141 if (h264type.eProfile == OMX_VIDEO_AVCProfileBaseline) {
1142 h264type.nSliceHeaderSpacing = 0;
1143 h264type.bUseHadamard = OMX_TRUE;
1144 h264type.nRefFrames = 1;
1145 h264type.nBFrames = 0;
1146 h264type.nPFrames = setPFramesSpacing(iFramesInterval, frameRate);
1147 if (h264type.nPFrames == 0) {
1148 h264type.nAllowedPictureTypes = OMX_VIDEO_PictureTypeI;
1150 h264type.nRefIdx10ActiveMinus1 = 0;
1151 h264type.nRefIdx11ActiveMinus1 = 0;
1152 h264type.bEntropyCodingCABAC = OMX_FALSE;
1153 h264type.bWeightedPPrediction = OMX_FALSE;
1154 h264type.bconstIpred = OMX_FALSE;
1155 h264type.bDirect8x8Inference = OMX_FALSE;
1156 h264type.bDirectSpatialTemporal = OMX_FALSE;
1157 h264type.nCabacInitIdc = 0;
1160 if (h264type.nBFrames != 0) {
1161 h264type.nAllowedPictureTypes |= OMX_VIDEO_PictureTypeB;
1164 h264type.bEnableUEP = OMX_FALSE;
1165 h264type.bEnableFMO = OMX_FALSE;
1166 h264type.bEnableASO = OMX_FALSE;
1167 h264type.bEnableRS = OMX_FALSE;
1168 h264type.bFrameMBsOnly = OMX_TRUE;
1169 h264type.bMBAFF = OMX_FALSE;
1170 h264type.eLoopFilterMode = OMX_VIDEO_AVCLoopFilterEnable;
1173 mNode, OMX_IndexParamVideoAvc, &h264type, sizeof(h264type));