Lines Matching refs:Params
126 M4AIR_Params Params;
168 /*Initialize AIR Params*/
169 Params.m_inputCoord.m_x = 0;
170 Params.m_inputCoord.m_y = 0;
171 Params.m_inputSize.m_height = pC->pPreResizeFrame->u_height;
172 Params.m_inputSize.m_width = pC->pPreResizeFrame->u_width;
173 Params.m_outputSize.m_width = pPlaneOut->u_width;
174 Params.m_outputSize.m_height = pPlaneOut->u_height;
175 Params.m_bOutputStripe = M4OSA_FALSE;
176 Params.m_outputOrientation = M4COMMON_kOrientationTopLeft;
239 //Params.m_inputSize.m_height < Params.m_inputSize.m_width)
242 Params.m_outputSize.m_width = pPlaneOut->u_width;
243 Params.m_outputSize.m_height =
251 -Params.m_outputSize.m_height)>>1)) *
253 pImagePlanesTemp[0].u_height = Params.m_outputSize.m_height;
256 -(Params.m_outputSize.m_height>>1)))>>1)\
258 pImagePlanesTemp[1].u_height = Params.m_outputSize.m_height>>1;
261 -(Params.m_outputSize.m_height>>1)))>>1)\
263 pImagePlanesTemp[2].u_height = Params.m_outputSize.m_height>>1;
268 Params.m_outputSize.m_height = pPlaneOut->u_height;
269 Params.m_outputSize.m_width =
276 Params.m_outputSize.m_width)>>1));
277 pImagePlanesTemp[0].u_width = Params.m_outputSize.m_width;
280 (Params.m_outputSize.m_width>>1)))>>1);
281 pImagePlanesTemp[1].u_width = Params.m_outputSize.m_width>>1;
284 (Params.m_outputSize.m_width>>1)))>>1);
285 pImagePlanesTemp[2].u_width = Params.m_outputSize.m_width>>1;
289 Params.m_outputSize.m_width = (Params.m_outputSize.m_width>>1)<<1;
290 Params.m_outputSize.m_height = (Params.m_outputSize.m_height>>1)<<1;
291 Params.m_inputSize.m_width = (Params.m_inputSize.m_width>>1)<<1;
292 Params.m_inputSize.m_height = (Params.m_inputSize.m_height>>1)<<1;
301 if(Params.m_inputSize.m_height == Params.m_outputSize.m_height)
303 Params.m_inputSize.m_width = Params.m_outputSize.m_width;
305 else if(Params.m_inputSize.m_width == Params.m_outputSize.m_width)
307 Params.m_inputSize.m_height = Params.m_outputSize.m_height;
316 Params.m_outputSize.m_height = pPlaneOut->u_height;
317 Params.m_outputSize.m_width = pPlaneOut->u_width;
318 if((Params.m_outputSize.m_height * Params.m_inputSize.m_width)\
319 /Params.m_outputSize.m_width<Params.m_inputSize.m_height)
322 Params.m_inputSize.m_height =
323 (M4OSA_UInt32)((Params.m_outputSize.m_height \
324 * Params.m_inputSize.m_width) /
325 Params.m_outputSize.m_width);
326 Params.m_inputSize.m_height =
327 (Params.m_inputSize.m_height>>1)<<1;
328 Params.m_inputCoord.m_y =
331 - Params.m_inputSize.m_height))>>1);
336 Params.m_inputSize.m_width =
337 (M4OSA_UInt32)((Params.m_outputSize.m_width\
338 * Params.m_inputSize.m_height) /
339 Params.m_outputSize.m_height);
340 Params.m_inputSize.m_width =
341 (Params.m_inputSize.m_width>>1)<<1;
342 Params.m_inputCoord.m_x =
345 - Params.m_inputSize.m_width))>>1);
362 err = M4AIR_configure(pC->m_air_context, &Params);