Lines Matching refs:crop_x
36 int crop_x, in ConvertToI420() argument
93 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
99 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
105 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
111 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
117 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
123 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
129 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
135 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
141 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
147 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
153 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
160 src = sample + src_width * crop_y + crop_x; in ConvertToI420()
166 src = sample + (src_width * crop_y + crop_x); in ConvertToI420()
168 ((crop_y / 2) * aligned_src_width) + ((crop_x / 2) * 2); in ConvertToI420()
174 src = sample + (src_width * crop_y + crop_x); in ConvertToI420()
176 ((crop_y / 2) * aligned_src_width) + ((crop_x / 2) * 2); in ConvertToI420()
183 src = sample + (src_width * crop_y) * 12 / 8 + crop_x; in ConvertToI420()
190 const uint8_t* src_y = sample + (src_width * crop_y + crop_x); in ConvertToI420()
197 (crop_x / 2); in ConvertToI420()
199 halfwidth * (halfheight + (crop_y / 2)) + (crop_x / 2); in ConvertToI420()
202 (crop_x / 2); in ConvertToI420()
204 halfwidth * (halfheight + (crop_y / 2)) + (crop_x / 2); in ConvertToI420()
213 const uint8_t* src_y = sample + src_width * crop_y + crop_x; in ConvertToI420()
219 (crop_x / 2); in ConvertToI420()
221 halfwidth * (abs_src_height + crop_y) + (crop_x / 2); in ConvertToI420()
224 (crop_x / 2); in ConvertToI420()
226 halfwidth * (abs_src_height + crop_y) + (crop_x / 2); in ConvertToI420()
235 const uint8_t* src_y = sample + src_width * crop_y + crop_x; in ConvertToI420()
239 src_v = sample + src_width * (abs_src_height + crop_y) + crop_x; in ConvertToI420()
240 src_u = sample + src_width * (abs_src_height * 2 + crop_y) + crop_x; in ConvertToI420()
242 src_u = sample + src_width * (abs_src_height + crop_y) + crop_x; in ConvertToI420()
243 src_v = sample + src_width * (abs_src_height * 2 + crop_y) + crop_x; in ConvertToI420()