Lines Matching refs:converter
512 GraphicView2MediaImageConverter converter(view, colorFormat); in Allocate() local
513 if (converter.initCheck() != OK) { in Allocate()
514 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
518 sp<ABuffer> buffer = converter.wrap(); in Allocate()
520 buffer = alloc(converter.backBufferSize()); in Allocate()
521 if (!converter.setBackBuffer(buffer)) { in Allocate()
532 converter.imageData(), in Allocate()
625 GraphicView2MediaImageConverter converter(*view, colorFormat); in Allocate() local
626 if (converter.initCheck() != OK) { in Allocate()
627 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
631 sp<ABuffer> aBuffer = converter.wrap(); in Allocate()
633 aBuffer = alloc(converter.backBufferSize()); in Allocate()
634 if (!converter.setBackBuffer(aBuffer)) { in Allocate()
639 converter.copyToMediaImage(); in Allocate()
648 converter.imageData(), in Allocate()
718 GraphicView2MediaImageConverter converter( in canCopy() local
720 if (converter.initCheck() != OK) { in canCopy()
721 ALOGD("ConstGraphicBlockBuffer::canCopy: converter init failed: %d", converter.initCheck()); in canCopy()
724 if (converter.backBufferSize() > capacity()) { in canCopy()
726 converter.backBufferSize(), capacity()); in canCopy()
740 GraphicView2MediaImageConverter converter( in copy() local
742 if (converter.initCheck() != OK) { in copy()
743 ALOGD("ConstGraphicBlockBuffer::copy: converter init failed: %d", converter.initCheck()); in copy()
747 if (!converter.setBackBuffer(aBuffer)) { in copy()
751 converter.copyToMediaImage(); in copy()
752 setImageData(converter.imageData()); in copy()