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