Lines Matching refs:bytes_per_row
78 p += priv->bytes_per_row[0]; in YCrCB_to_YUV420P_1x1()
91 p += priv->bytes_per_row[1] - 4; in YCrCB_to_YUV420P_1x1()
103 p += priv->bytes_per_row[2] - 4; in YCrCB_to_YUV420P_1x1()
124 p += priv->bytes_per_row[0]; in YCrCB_to_YUV420P_2x1()
136 p += priv->bytes_per_row[1]; in YCrCB_to_YUV420P_2x1()
145 p += priv->bytes_per_row[2]; in YCrCB_to_YUV420P_2x1()
169 p+=priv->bytes_per_row[0]; in YCrCB_to_YUV420P_1x2()
182 pr += priv->bytes_per_row[1]; in YCrCB_to_YUV420P_1x2()
194 pr += priv->bytes_per_row[2] - 4; in YCrCB_to_YUV420P_1x2()
217 p += priv->bytes_per_row[0]; in YCrCB_to_YUV420P_2x2()
229 p += priv->bytes_per_row[1]; in YCrCB_to_YUV420P_2x2()
238 p += priv->bytes_per_row[2]; in YCrCB_to_YUV420P_2x2()
249 if (!priv->bytes_per_row[0]) in initialize_yuv420p()
250 priv->bytes_per_row[0] = priv->width; in initialize_yuv420p()
252 priv->components[0] = malloc(priv->height * priv->bytes_per_row[0]); in initialize_yuv420p()
254 if (!priv->bytes_per_row[1]) in initialize_yuv420p()
255 priv->bytes_per_row[1] = half_width; in initialize_yuv420p()
257 priv->components[1] = malloc(half_height * priv->bytes_per_row[1]); in initialize_yuv420p()
259 if (!priv->bytes_per_row[2]) in initialize_yuv420p()
260 priv->bytes_per_row[2] = half_width; in initialize_yuv420p()
262 priv->components[2] = malloc(half_height * priv->bytes_per_row[2]); in initialize_yuv420p()