Lines Matching refs:format
39 // Format specifier for picking the best format for CPU reading the given device
64 *os << "Format: 0x" << std::hex << p.mFormat << ", ";
65 *os << "Format name: " << fmt << ", ";
117 int format = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED;
119 getResolutionList(format,
141 int64_t getMinFrameDurationFor(int32_t format, int32_t width, int32_t height) {
148 if (format == availableMinDurations.data.i64[i] &&
168 int32_t format = availableStrmConfigs.data.i32[i];
173 int index = mOutputResolutions.indexOfKey(format);
175 index = mOutputResolutions.add(format, new Vector<int32_t>());
186 void getResolutionList(int32_t format,
190 ALOGV("Getting resolutions for format %x", format);
194 int index = mOutputResolutions.indexOfKey(format);
255 int format = MapAutoFormat(p.mFormat);
259 mWidth, mHeight, format,
273 int MapAutoFormat(int format) {
274 if (format == CAMERA_STREAM_AUTO_CPU_FORMAT) {
276 format = HAL_PIXEL_FORMAT_YCbCr_420_888;
278 format = HAL_PIXEL_FORMAT_YCrCb_420_SP;
281 return format;
290 switch (img.format) {
313 ALOGE("Unknown format %d, not dumping", img.format);