• Home
  • Raw
  • Download

Lines Matching refs:sample

32 int ConvertToARGB(const uint8* sample,  in ConvertToARGB()  argument
58 (rotation && format != FOURCC_ARGB) || crop_argb == sample; in ConvertToARGB()
64 if (crop_argb == NULL || sample == NULL || src_width <= 0 || in ConvertToARGB()
85 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
90 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
95 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
100 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
106 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
112 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
117 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
122 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
127 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToARGB()
132 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToARGB()
137 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToARGB()
142 src = sample + src_width * crop_y + crop_x; in ConvertToARGB()
149 src = sample + (src_width * crop_y + crop_x); in ConvertToARGB()
150 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
155 src = sample + (src_width * crop_y + crop_x); in ConvertToARGB()
156 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
162 src = sample + (src_width * crop_y) * 12 / 8 + crop_x; in ConvertToARGB()
169 const uint8* src_y = sample + (src_width * crop_y + crop_x); in ConvertToARGB()
175 src_v = sample + src_width * abs_src_height + in ConvertToARGB()
177 src_u = sample + src_width * abs_src_height + in ConvertToARGB()
180 src_u = sample + src_width * abs_src_height + in ConvertToARGB()
182 src_v = sample + src_width * abs_src_height + in ConvertToARGB()
191 const uint8* src_y = sample + (src_width * crop_y + crop_x); in ConvertToARGB()
196 src_u = sample + src_width * abs_src_height + in ConvertToARGB()
198 src_v = sample + src_width * abs_src_height + in ConvertToARGB()
207 const uint8* src_y = sample + src_width * crop_y + crop_x; in ConvertToARGB()
212 src_v = sample + src_width * abs_src_height + halfwidth * crop_y + in ConvertToARGB()
214 src_u = sample + src_width * abs_src_height + in ConvertToARGB()
217 src_u = sample + src_width * abs_src_height + halfwidth * crop_y + in ConvertToARGB()
219 src_v = sample + src_width * abs_src_height + in ConvertToARGB()
228 const uint8* src_y = sample + src_width * crop_y + crop_x; in ConvertToARGB()
232 src_v = sample + src_width * (abs_src_height + crop_y) + crop_x; in ConvertToARGB()
233 src_u = sample + src_width * (abs_src_height * 2 + crop_y) + crop_x; in ConvertToARGB()
235 src_u = sample + src_width * (abs_src_height + crop_y) + crop_x; in ConvertToARGB()
236 src_v = sample + src_width * (abs_src_height * 2 + crop_y) + crop_x; in ConvertToARGB()
244 r = MJPGToARGB(sample, sample_size, crop_argb, argb_stride, src_width, in ConvertToARGB()
259 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()