Home | History | Annotate | Download | only in xcore

Lines Matching refs:info

25     XCamVideoBufferInfo *info,
33 XCAM_ASSERT (info && format);
42 info->format = format;
43 info->width = width;
44 info->height = height;
45 info->aligned_width = aligned_width;
46 info->aligned_height = aligned_height;
50 info->color_bits = 8;
51 info->components = 1;
52 info->strides [0] = aligned_width;
53 info->offsets [0] = 0;
54 image_size = info->strides [0] * aligned_height;
57 info->color_bits = 8;
58 info->components = 2;
59 info->strides [0] = aligned_width;
60 info->strides [1] = info->strides [0];
61 info->offsets [0] = 0;
62 info->offsets [1] = info->offsets [0] + info->strides [0] * aligned_height;
63 image_size = info->strides [0] * aligned_height + info->strides [1] * aligned_height / 2;
66 info->color_bits = 8;
67 info->components = 1;
68 info->strides [0] = aligned_width * 2;
69 info->offsets [0] = 0;
70 image_size = info->strides [0] * aligned_height;
73 info->color_bits = 16;
74 info->components = 1;
75 info->strides [0] = aligned_width * 2;
76 info->offsets [0] = 0;
77 image_size = info->strides [0] * aligned_height;
80 info->color_bits = 8;
81 info->components = 1;
82 info->strides [0] = aligned_width * 3;
83 info->offsets [0] = 0;
84 image_size = info->strides [0] * aligned_height;
96 info->color_bits = 8;
97 info->components = 1;
98 info->strides [0] = aligned_width * 4;
99 info->offsets [0] = 0;
100 image_size = info->strides [0] * aligned_height;
103 info->color_bits = 16;
104 info->components = 1;
105 info->strides [0] = aligned_width * 3 * 2;
106 info->offsets [0] = 0;
107 image_size = info->strides [0] * aligned_height;
110 info->color_bits = 16;
111 info->components = 1;
112 info->strides [0] = aligned_width * 4 * 2;
113 info->offsets [0] = 0;
114 image_size = info->strides [0] * aligned_height;
121 info->color_bits = 8;
122 info->components = 1;
123 info->strides [0] = aligned_width;
124 info->offsets [0] = 0;
125 image_size = info->strides [0] * aligned_height;
132 info->color_bits = 10;
133 info->components = 1;
134 info->strides [0] = aligned_width * 2;
135 info->offsets [0] = 0;
136 image_size = info->strides [0] * aligned_height;
143 info->color_bits = 12;
144 info->components = 1;
145 info->strides [0] = aligned_width * 2;
146 info->offsets [0] = 0;
147 image_size = info->strides [0] * aligned_height;
152 info->color_bits = 16;
153 info->components = 1;
154 info->strides [0] = aligned_width * 2;
155 info->offsets [0] = 0;
156 image_size = info->strides [0] * aligned_height;
160 info->color_bits = 8;
161 info->components = 1;
162 info->strides [0] = aligned_width * 3;
163 info->offsets [0] = 0;
164 image_size = info->strides [0] * aligned_height;
170 info->color_bits = 16;
172 info->color_bits = 8;
173 info->components = 3;
174 info->strides [0] = info->strides [1] = info->strides [2] = aligned_width * (info->color_bits / 8);
175 info->offsets [0] = 0;
176 info->offsets [1] = info->offsets [0] + info->strides [0] * aligned_height;
177 info->offsets [2] = info->offsets [1] + info->strides [1] * aligned_height;
178 image_size = info->offsets [2] + info->strides [2] * aligned_height;
184 info->color_bits = 16;
186 info->color_bits = 8;
187 info->components = 4;
188 for (i = 0; i < info->components; ++i) {
189 info->strides [i] = aligned_width * (info->color_bits / 8);
191 info->offsets [0] = 0;
192 for (i = 1; i < info->components; ++i) {
193 info->offsets [i] = info->offsets [i - 1] + info->strides [i - 1] * aligned_height;
195 image_size = info->offsets [info->components - 1] + info->strides [info->components - 1] * aligned_height;
204 info->size = image_size;
207 info->size = size;