• Home
  • Raw
  • Download

Lines Matching refs:sample

28 int ConvertToI420(const uint8* sample,  in ConvertToI420()  argument
55 y == sample; in ConvertToI420()
66 if (!y || !u || !v || !sample || src_width <= 0 || crop_width <= 0 || in ConvertToI420()
93 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
98 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
103 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
108 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
113 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
118 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
123 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
128 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
133 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
138 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
143 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
148 src = sample + src_width * crop_y + crop_x; in ConvertToI420()
154 src = sample + (src_width * crop_y + crop_x); in ConvertToI420()
155 src_uv = sample + (src_width * src_height) + in ConvertToI420()
162 src = sample + (src_width * crop_y + crop_x); in ConvertToI420()
163 src_uv = sample + (src_width * src_height) + in ConvertToI420()
171 src = sample + (src_width * crop_y) * 12 / 8 + crop_x; in ConvertToI420()
178 const uint8* src_y = sample + (src_width * crop_y + crop_x); in ConvertToI420()
184 src_v = sample + src_width * abs_src_height + in ConvertToI420()
186 src_u = sample + src_width * abs_src_height + in ConvertToI420()
189 src_u = sample + src_width * abs_src_height + in ConvertToI420()
191 src_v = sample + src_width * abs_src_height + in ConvertToI420()
201 const uint8* src_y = sample + src_width * crop_y + crop_x; in ConvertToI420()
206 src_v = sample + src_width * abs_src_height + halfwidth * crop_y + in ConvertToI420()
208 src_u = sample + src_width * abs_src_height + in ConvertToI420()
211 src_u = sample + src_width * abs_src_height + halfwidth * crop_y + in ConvertToI420()
213 src_v = sample + src_width * abs_src_height + in ConvertToI420()
223 const uint8* src_y = sample + src_width * crop_y + crop_x; in ConvertToI420()
227 src_v = sample + src_width * (abs_src_height + crop_y) + crop_x; in ConvertToI420()
228 src_u = sample + src_width * (abs_src_height * 2 + crop_y) + crop_x; in ConvertToI420()
230 src_u = sample + src_width * (abs_src_height + crop_y) + crop_x; in ConvertToI420()
231 src_v = sample + src_width * (abs_src_height * 2 + crop_y) + crop_x; in ConvertToI420()
240 r = MJPGToI420(sample, sample_size, y, y_stride, u, u_stride, v, v_stride, in ConvertToI420()