Lines Matching refs:format
343 int format, in allocateStream() argument
357 if (format == CAMERA2_HAL_PIXEL_FORMAT_ZSL) { in allocateStream()
358 format = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; in allocateStream()
361 if (format != HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in allocateStream()
366 if (format == (int)kAvailableFormats[formatIdx]) break; in allocateStream()
369 ALOGE("%s: Format 0x%x is not supported", __FUNCTION__, format); in allocateStream()
376 switch (format) { in allocateStream()
399 ALOGE("%s: Unknown format 0x%x", __FUNCTION__, format); in allocateStream()
410 format, width, height); in allocateStream()
414 switch (format) { in allocateStream()
444 newStream.format = format; in allocateStream()
451 if (format_actual) *format_actual = format; in allocateStream()
456 *stream_id, width, height, format, *usage, *max_buffers); in allocateStream()
485 int finalFormat = streamBuffer->format; in registerStreamBuffers()
503 __FUNCTION__, stream_id, finalFormat, stream.format); in registerStreamBuffers()
505 stream.format = finalFormat; in registerStreamBuffers()
525 switch(mStreams.valueAt(streamIndex).format) { in releaseStream()
574 newStream.format = baseStream.format; in allocateReprocessStreamFromStream()
582 *stream_id, newStream.width, newStream.height, newStream.format, in allocateReprocessStreamFromStream()
645 id, s.width, s.height, s.format, s.stride); in dump()
841 if (s.format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in setupCapture()
851 b.format = s.format; in setupCapture()
856 i, b.streamId, b.width, b.height, b.format, b.stride); in setupCapture()
857 if (b.format == HAL_PIXEL_FORMAT_BLOB) { in setupCapture()
963 if (s.format != HAL_PIXEL_FORMAT_RGB_888) { in setupReprocess()
973 b.format = s.format; in setupReprocess()
992 if (s.format != HAL_PIXEL_FORMAT_BLOB) { in setupReprocess()
1003 b.format = s.format; in setupReprocess()
1008 i, b.streamId, b.width, b.height, b.format, b.stride); in setupReprocess()
1361 i, b.streamId, b.width, b.height, b.format, b.stride); in threadLoop()
1363 if (b.format == HAL_PIXEL_FORMAT_BLOB) { in threadLoop()