HomeSort by relevance Sort by last modified time
    Searched refs:imgBuffer (Results 1 - 10 of 10) sorted by null

  /frameworks/av/services/camera/libcameraservice/api1/client2/
CallbackProcessor.cpp 246 CpuConsumer::LockedBuffer imgBuffer;
247 res = mCallbackConsumer->lockNextBuffer(&imgBuffer);
255 mCallbackConsumer->unlockBuffer(imgBuffer);
273 CpuConsumer::LockedBuffer imgBuffer;
281 res = mCallbackConsumer->lockNextBuffer(&imgBuffer);
297 mCallbackConsumer->unlockBuffer(imgBuffer);
304 mCallbackConsumer->unlockBuffer(imgBuffer);
311 mCallbackConsumer->unlockBuffer(imgBuffer);
315 if (imgBuffer.width != static_cast<uint32_t>(l.mParameters.previewWidth) ||
316 imgBuffer.height != static_cast<uint32_t>(l.mParameters.previewHeight))
    [all...]
BurstCapture.cpp 78 CpuConsumer::LockedBuffer *imgBuffer,
86 imgEncoded->width = imgBuffer->width;
87 imgEncoded->height = imgBuffer->height;
88 imgEncoded->stride = imgBuffer->stride;
91 buffers.push_back(imgBuffer);
JpegProcessor.cpp 205 CpuConsumer::LockedBuffer imgBuffer;
214 res = mCaptureConsumer->lockNextBuffer(&imgBuffer);
227 if (imgBuffer.format != HAL_PIXEL_FORMAT_BLOB) {
230 imgBuffer.format,
232 mCaptureConsumer->unlockBuffer(imgBuffer);
237 size_t jpegSize = findJpegSize(imgBuffer.data, imgBuffer.width);
239 jpegSize = imgBuffer.width;
252 memcpy(captureMemory, imgBuffer.data, jpegSize);
254 mCaptureConsumer->unlockBuffer(imgBuffer);
    [all...]
BurstCapture.h 59 CpuConsumer::LockedBuffer *imgBuffer,
StreamingProcessor.cpp 618 BufferItemConsumer::BufferItem imgBuffer;
619 res = mRecordingConsumer->acquireBuffer(&imgBuffer, 0);
627 mRecordingConsumer->releaseBuffer(imgBuffer);
636 BufferItemConsumer::BufferItem imgBuffer;
637 res = mRecordingConsumer->acquireBuffer(&imgBuffer, 0);
645 timestamp = imgBuffer.mTimestamp;
655 mRecordingConsumer->releaseBuffer(imgBuffer);
670 mRecordingConsumer->releaseBuffer(imgBuffer);
691 mRecordingConsumer->releaseBuffer(imgBuffer);
711 *((buffer_handle_t*)(data + 4)) = imgBuffer.mGraphicBuffer->handle
    [all...]
  /hardware/libhardware/tests/camera2/
CameraFrameTests.cpp 126 CpuConsumer::LockedBuffer imgBuffer;
127 ASSERT_EQ(OK, mCpuConsumer->lockNextBuffer(&imgBuffer));
128 ASSERT_EQ(OK, mCpuConsumer->unlockBuffer(imgBuffer));
CameraBurstTests.cpp 100 long long TotalBrightness(const CpuConsumer::LockedBuffer& imgBuffer,
104 const uint8_t* buf = imgBuffer.data;
105 size_t stride = imgBuffer.stride;
113 for (size_t y = 0; y < imgBuffer.height; ++y) {
114 for (size_t x = 0; x < imgBuffer.width; ++x) {
243 CpuConsumer::LockedBuffer imgBuffer;
244 ASSERT_EQ(OK, mCpuConsumer->lockNextBuffer(&imgBuffer));
247 long long brightness = TotalBrightness(imgBuffer, &underexposed,
258 ASSERT_EQ(OK, mCpuConsumer->unlockBuffer(imgBuffer));
657 CpuConsumer::LockedBuffer imgBuffer;
    [all...]
CameraMultiStreamTests.cpp 409 CpuConsumer::LockedBuffer imgBuffer;
410 ASSERT_EQ(OK, consumer->lockNextBuffer(&imgBuffer));
421 ASSERT_EQ(OK, consumer->unlockBuffer(imgBuffer));
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
SoftMPEG4Encoder.cpp 778 buffer_handle_t imgBuffer = *(buffer_handle_t*)((uint8_t*)data + 4);
782 res = GraphicBufferMapper::get().lock(imgBuffer,
787 imgBuffer);
791 *buffer = imgBuffer;
  /frameworks/av/media/libstagefright/codecs/avc/enc/
SoftAVCEncoder.cpp     [all...]

Completed in 332 milliseconds