Home | History | Annotate | Download | only in CameraHal

Lines Matching full:bufinfo

743 void BufferSourceInput::setInput(buffer_info_t bufinfo, const char *format, ShotParameters &params) {
751 pixformat = bufinfo.format;
756 aligned_width = bufinfo.crop.right - bufinfo.crop.left;
758 aligned_width = ALIGN_UP(bufinfo.crop.right - bufinfo.crop.left, ALIGN_WIDTH);
760 aligned_height = bufinfo.crop.bottom - bufinfo.crop.top;
774 aligned_width, aligned_height, bufinfo.format);
780 if ((aligned_width != bufinfo.width) || (aligned_height != bufinfo.height) ||
790 if (bufinfo.buf.get()) {
791 bufinfo.buf->lock(GRALLOC_USAGE_SW_READ_OFTEN, src);
797 copyCroppedPacked16(bufinfo.offset,
798 bufinfo.width,
799 bufinfo.width,
800 bufinfo.height,
801 bufinfo.crop,
806 copyCroppedNV12(bufinfo.offset,
807 bufinfo.width,
809 bufinfo.width,
810 bufinfo.height,
811 bufinfo.crop,
821 if (bufinfo.buf.get()) {
822 bufinfo.buf->unlock();
827 mWindowTapIn->perform(mWindowTapIn.get(), NATIVE_WINDOW_ADD_BUFFER_SLOT, &bufinfo.buf);
828 anb = bufinfo.buf->getNativeBuffer();