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