Lines Matching refs:converter
510 GraphicView2MediaImageConverter converter(view, colorFormat); in Allocate() local
511 if (converter.initCheck() != OK) { in Allocate()
512 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
516 sp<ABuffer> buffer = converter.wrap(); in Allocate()
518 buffer = alloc(converter.backBufferSize()); in Allocate()
519 if (!converter.setBackBuffer(buffer)) { in Allocate()
530 converter.imageData(), in Allocate()
623 GraphicView2MediaImageConverter converter(*view, colorFormat); in Allocate() local
624 if (converter.initCheck() != OK) { in Allocate()
625 ALOGD("Converter init failed: %d", converter.initCheck()); in Allocate()
629 sp<ABuffer> aBuffer = converter.wrap(); in Allocate()
631 aBuffer = alloc(converter.backBufferSize()); in Allocate()
632 if (!converter.setBackBuffer(aBuffer)) { in Allocate()
637 converter.copyToMediaImage(); in Allocate()
646 converter.imageData(), in Allocate()
716 GraphicView2MediaImageConverter converter( in canCopy() local
718 if (converter.initCheck() != OK) { in canCopy()
719 ALOGD("ConstGraphicBlockBuffer::canCopy: converter init failed: %d", converter.initCheck()); in canCopy()
722 if (converter.backBufferSize() > capacity()) { in canCopy()
724 converter.backBufferSize(), capacity()); in canCopy()
738 GraphicView2MediaImageConverter converter( in copy() local
740 if (converter.initCheck() != OK) { in copy()
741 ALOGD("ConstGraphicBlockBuffer::copy: converter init failed: %d", converter.initCheck()); in copy()
745 if (!converter.setBackBuffer(aBuffer)) { in copy()
749 converter.copyToMediaImage(); in copy()
750 setImageData(converter.imageData()); in copy()