Home | History | Annotate | Download | only in com.example.android.hdrviewfinder

Lines Matching refs:Allocation

22 import android.renderscript.Allocation;
34 private Allocation mInputHdrAllocation;
35 private Allocation mInputNormalAllocation;
36 private Allocation mPrevAllocation;
37 private Allocation mOutputAllocation;
62 mInputHdrAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
63 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
64 mInputNormalAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
65 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
70 mPrevAllocation = Allocation.createTyped(rs, rgbTypeBuilder.create(),
71 Allocation.USAGE_SCRIPT);
72 mOutputAllocation = Allocation.createTyped(rs, rgbTypeBuilder.create(),
73 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
109 class ProcessingTask implements Runnable, Allocation.OnBufferAvailableListener {
115 private Allocation mInputAllocation;
117 public ProcessingTask(Allocation input, int cutPointX, boolean checkMerge) {
125 public void onBufferAvailable(Allocation a) {