Lines Matching refs:format
36 // Format specifier for picking the best format for CPU reading the given device
61 *os << "Format: 0x" << std::hex << p.mFormat << ", ";
62 *os << "Format name: " << fmt << ", ";
168 int format = MapAutoFormat(p.mFormat);
172 mWidth, mHeight, format, /*size (for jpegs)*/0,
186 int MapAutoFormat(int format) {
187 if (format == CAMERA_STREAM_AUTO_CPU_FORMAT) {
189 format = HAL_PIXEL_FORMAT_YCbCr_420_888;
191 format = HAL_PIXEL_FORMAT_YCrCb_420_SP;
194 return format;