Lines Matching refs:params
82 OMX_PARAM_PORTDEFINITIONTYPE *params = (OMX_PARAM_PORTDEFINITIONTYPE *)malloc( in main() local
84 if (!params) { in main()
89 params->nPortIndex = OMX_UTILS_IP_PORT; in main()
90 params->nBufferSize = INPUT_BUFFER_SIZE; in main()
91 params->nBufferCountActual = params->nBufferCountMin = NUMBER_OF_BUFFERS; in main()
92 omxUtilsSetParameter(OMX_UTILS_IP_PORT, params); in main()
93 memset(params, 0, sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); in main()
94 omxUtilsGetParameter(OMX_UTILS_IP_PORT, params); in main()
97 int inMemSize = params->nBufferCountActual * params->nBufferSize; in main()
98 int inBufferCnt = params->nBufferCountActual; in main()
103 omxUtilsGetParameter(OMX_UTILS_OP_PORT, params); in main()
104 params->nPortIndex = OMX_UTILS_OP_PORT; in main()
105 params->nBufferSize = VULNERABLE_SIZE; in main()
106 params->nBufferCountActual = params->nBufferCountMin = NUMBER_OF_BUFFERS; in main()
107 omxUtilsSetParameter(OMX_UTILS_OP_PORT, params); in main()
108 memset(params, 0, sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); in main()
109 omxUtilsGetParameter(OMX_UTILS_OP_PORT, params); in main()
112 int outBufferCnt = params->nBufferCountActual; in main()
162 free(params); in main()
177 free(params); in main()