Home | History | Annotate | Download | only in src

Lines Matching refs:pImagePlanesTemp

3094     M4VIFI_ImagePlane pImagePlanesTemp[3];
3143 pImagePlanesTemp[0].u_width = pOutplane[0].u_width;
3144 pImagePlanesTemp[0].u_height = pOutplane[0].u_height;
3145 pImagePlanesTemp[0].u_stride = pOutplane[0].u_width;
3146 pImagePlanesTemp[0].u_topleft = 0;
3148 pImagePlanesTemp[1].u_width = pOutplane[1].u_width;
3149 pImagePlanesTemp[1].u_height = pOutplane[1].u_height;
3150 pImagePlanesTemp[1].u_stride = pOutplane[1].u_width;
3151 pImagePlanesTemp[1].u_topleft = 0;
3153 pImagePlanesTemp[2].u_width = pOutplane[2].u_width;
3154 pImagePlanesTemp[2].u_height = pOutplane[2].u_height;
3155 pImagePlanesTemp[2].u_stride = pOutplane[2].u_width;
3156 pImagePlanesTemp[2].u_topleft = 0;
3160 pImagePlanesTemp[0].pac_data =
3162 pImagePlanesTemp[0].u_width * pImagePlanesTemp[0].u_height,
3164 if (pImagePlanesTemp[0].pac_data == M4OSA_NULL) {
3168 pImagePlanesTemp[1].pac_data =
3170 pImagePlanesTemp[1].u_width * pImagePlanesTemp[1].u_height,
3172 if (pImagePlanesTemp[1].pac_data == M4OSA_NULL) {
3174 free(pImagePlanesTemp[0].pac_data);
3177 pImagePlanesTemp[2].pac_data =
3179 pImagePlanesTemp[2].u_width * pImagePlanesTemp[2].u_height,
3181 if (pImagePlanesTemp[2].pac_data == M4OSA_NULL) {
3183 free(pImagePlanesTemp[0].pac_data);
3184 free(pImagePlanesTemp[1].pac_data);
3188 pInPlaneY = pImagePlanesTemp[0].pac_data ;
3189 pInPlaneU = pImagePlanesTemp[1].pac_data ;
3190 pInPlaneV = pImagePlanesTemp[2].pac_data ;
3192 memset((void *)pImagePlanesTemp[0].pac_data, Y_PLANE_BORDER_VALUE,
3193 (pImagePlanesTemp[0].u_height*pImagePlanesTemp[0].u_stride));
3194 memset((void *)pImagePlanesTemp[1].pac_data, U_PLANE_BORDER_VALUE,
3195 (pImagePlanesTemp[1].u_height*pImagePlanesTemp[1].u_stride));
3196 memset((void *)pImagePlanesTemp[2].pac_data, V_PLANE_BORDER_VALUE,
3197 (pImagePlanesTemp[2].u_height*pImagePlanesTemp[2].u_stride));
3209 pImagePlanesTemp[0].u_topleft =
3210 (M4xVSS_ABS((M4OSA_Int32)(pImagePlanesTemp[0].u_height -
3212 pImagePlanesTemp[0].u_stride;
3213 pImagePlanesTemp[0].u_height = airParams.m_outputSize.m_height;
3214 pImagePlanesTemp[1].u_topleft =
3215 (M4xVSS_ABS((M4OSA_Int32)(pImagePlanesTemp[1].u_height -
3217 pImagePlanesTemp[1].u_stride;
3218 pImagePlanesTemp[1].u_height =
3220 pImagePlanesTemp[2].u_topleft =
3221 (M4xVSS_ABS((M4OSA_Int32)(pImagePlanesTemp[2].u_height -
3223 pImagePlanesTemp[2].u_stride;
3224 pImagePlanesTemp[2].u_height =
3233 pImagePlanesTemp[0].u_topleft =
3234 (M4xVSS_ABS((M4OSA_Int32)(pImagePlanesTemp[0].u_width -
3236 pImagePlanesTemp[0].u_width = airParams.m_outputSize.m_width;
3237 pImagePlanesTemp[1].u_topleft =
3238 (M4xVSS_ABS((M4OSA_Int32)(pImagePlanesTemp[1].u_width -
3240 pImagePlanesTemp[1].u_width = airParams.m_outputSize.m_width>>1;
3241 pImagePlanesTemp[2].u_topleft =
3242 (M4xVSS_ABS((M4OSA_Int32)(pImagePlanesTemp[2].u_width -
3244 pImagePlanesTemp[2].u_width = airParams.m_outputSize.m_width>>1;
3257 pImagePlanesTemp[0].u_width =
3258 (pImagePlanesTemp[0].u_width>>1)<<1;
3259 pImagePlanesTemp[1].u_width =
3260 pImagePlanesTemp[1].u_width>>1)<<1;
3261 pImagePlanesTemp[2].u_width =
3262 (pImagePlanesTemp[2].u_width>>1)<<1;
3263 pImagePlanesTemp[0].u_height =
3264 (pImagePlanesTemp[0].u_height>>1)<<1;
3265 pImagePlanesTemp[1].u_height =
3266 (pImagePlanesTemp[1].u_height>>1)<<1;
3267 pImagePlanesTemp[2].u_height =
3268 (pImagePlanesTemp[2].u_height>>1)<<1;
3281 pPlaneTemp = pImagePlanesTemp;
3365 if (pImagePlanesTemp[i].pac_data != M4OSA_NULL) {
3366 free(pImagePlanesTemp[i].pac_data);
3367 pImagePlanesTemp[i].pac_data = M4OSA_NULL;