hi
i m facing problem in changing the default Highprofile to baseline profile
problem faced when
1.try to initialize the IH264VENC_Params parameters
params.size = sizeof(IH264VENC_Params);
memcpy(&h264params, &IH264VENC_PARAMS, sizeof(IH264VENC_Params));
h264params.videncParams = params;
h264params.profileIdc = 66;
h264params.levelIdc = 31;
as according to me the profile idc and levelidc values are changed other shud be default
when printed the values are
h264params.profileIdc = 66
h264params.levelIdc = 31
h264params.entropyMode = 1
h264params.transform8x8FlagIntraFrame = 1
h264params.transform8x8FlagInterFrame = 0
h264params.Log2MaxFrameNumMinus4 = 0
h264params.ConstraintSetFlag = 0
h264params.numTemporalLayers = 0
h264params.enableVUIparams = 0
h264params.svcSyntaxEnable = 0
h264params.meAlgo = 0
h264params.EnableLongTermFrame = 0
h264params.seqScalingFlag = 1
h264params.encQuality = 2
h264params.enableARM926Tcm = 0
h264params.enableDDRbuff = 0
h264params.sliceMode = 0
h264params.outputDataMode = 1
h264params.sliceFormat = 1
after that
i tried to pass the initialized value to
hVe1 = Venc1_create(hEngine, args->codecName, (VIDENC1_Params*)&h264params, &dynParams);
but encoder is not creating
error:Failed to create video encoder h264
before the code is to pass the params and dynparams no IH264VENC_Params
and the create function passed with values
hVe1 = Venc1_create(hEngine, args->codecName, ¶ms, &dynParams); and working fine
then
I ve included the file in ti/sdo/codecs/h264enc/apps/inc/ih264venc.h
2,the
VIDENC1_Params
VIDENC1_DynamicParams
are initialized for default values in ti/sdo/dmai/ce/Venc1.c
which is passed if no other values are equated
but
IH264VENC_Params is no where initialized in the whole dvsdk directory then frm where it is taking default values
and the header ih264venc.h called nowhwre in the whole directory again
so please tell me how to change the profile to base line profile necessary for my application
and where the IH264VENC_Params are getting initialised
and if we have to intialize it by ourself then how to do it
i ve read many e2e post but the problem still persist.
i m using Leopard board dm365 with rr sdk and which is using ti-dvsdk_dm365-evm_4_02_00_06
thanxx
kailash