Lines Matching refs:converter

523     GraphicView2MediaImageConverter converter(view, colorFormat, false /* copy */);  in Allocate()  local
524 if (converter.initCheck() != OK) { in Allocate()
525 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
529 sp<ABuffer> buffer = converter.wrap(); in Allocate()
531 buffer = alloc(converter.backBufferSize()); in Allocate()
532 if (!converter.setBackBuffer(buffer)) { in Allocate()
543 converter.imageData(), in Allocate()
640 GraphicView2MediaImageConverter converter(*view, colorFormat, false /* copy */); in Allocate() local
641 if (converter.initCheck() != OK) { in Allocate()
642 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
646 sp<ABuffer> aBuffer = converter.wrap(); in Allocate()
648 aBuffer = alloc(converter.backBufferSize()); in Allocate()
649 if (!converter.setBackBuffer(aBuffer)) { in Allocate()
654 converter.copyToMediaImage(); in Allocate()
663 converter.imageData(), in Allocate()
736 GraphicView2MediaImageConverter converter( in canCopy() local
738 if (converter.initCheck() != OK) { in canCopy()
739 ALOGD("ConstGraphicBlockBuffer::canCopy: converter init failed: %d", converter.initCheck()); in canCopy()
742 if (converter.backBufferSize() > capacity()) { in canCopy()
744 converter.backBufferSize(), capacity()); in canCopy()
758 GraphicView2MediaImageConverter converter( in copy() local
760 if (converter.initCheck() != OK) { in copy()
761 ALOGD("ConstGraphicBlockBuffer::copy: converter init failed: %d", converter.initCheck()); in copy()
765 if (!converter.setBackBuffer(aBuffer)) { in copy()
770 converter.copyToMediaImage(); in copy()
771 setImageData(converter.imageData()); in copy()