Lines Matching refs:decompBuffer
531 SmartPtr<CLWaveletDecompBuffer> decompBuffer; in prepare_output_buf() local
539 decompBuffer = new CLWaveletDecompBuffer (); in prepare_output_buf()
540 if (decompBuffer.ptr ()) { in prepare_output_buf()
541 decompBuffer->width = XCAM_ALIGN_UP (video_info.width, 1 << layer) >> layer; in prepare_output_buf()
542 decompBuffer->height = XCAM_ALIGN_UP (video_info.height, 1 << layer) >> layer; in prepare_output_buf()
543 decompBuffer->width = XCAM_ALIGN_UP (decompBuffer->width, 4); in prepare_output_buf()
544 decompBuffer->height = XCAM_ALIGN_UP (decompBuffer->height, 2); in prepare_output_buf()
546 decompBuffer->channel = CL_IMAGE_CHANNEL_Y; in prepare_output_buf()
547 decompBuffer->layer = layer; in prepare_output_buf()
548 decompBuffer->noise_variance[0] = 0; in prepare_output_buf()
550 cl_desc.width = decompBuffer->width / 4; in prepare_output_buf()
551 cl_desc.height = decompBuffer->height; in prepare_output_buf()
556 decompBuffer->ll = new CLImage2D (context, cl_desc); in prepare_output_buf()
558 decompBuffer->hl[0] = new CLImage2D (context, cl_desc); in prepare_output_buf()
559 decompBuffer->lh[0] = new CLImage2D (context, cl_desc); in prepare_output_buf()
560 decompBuffer->hh[0] = new CLImage2D (context, cl_desc); in prepare_output_buf()
581 decompBuffer->hl[1] = new CLImage2D (context, cl_desc); in prepare_output_buf()
582 decompBuffer->lh[1] = new CLImage2D (context, cl_desc); in prepare_output_buf()
583 decompBuffer->hh[1] = new CLImage2D (context, cl_desc); in prepare_output_buf()
586 decompBuffer->hl[2] = new CLImage2D (context, cl_desc); in prepare_output_buf()
587 decompBuffer->lh[2] = new CLImage2D (context, cl_desc); in prepare_output_buf()
588 decompBuffer->hh[2] = new CLImage2D (context, cl_desc); in prepare_output_buf()
590 _decompBufferList.push_back (decompBuffer); in prepare_output_buf()
600 decompBuffer = new CLWaveletDecompBuffer (); in prepare_output_buf()
601 if (decompBuffer.ptr ()) { in prepare_output_buf()
602 decompBuffer->width = XCAM_ALIGN_UP (video_info.width, 1 << layer) >> layer; in prepare_output_buf()
603 … decompBuffer->height = XCAM_ALIGN_UP (video_info.height, 1 << (layer + 1)) >> (layer + 1); in prepare_output_buf()
604 decompBuffer->width = XCAM_ALIGN_UP (decompBuffer->width, 4); in prepare_output_buf()
605 decompBuffer->height = XCAM_ALIGN_UP (decompBuffer->height, 2); in prepare_output_buf()
607 decompBuffer->channel = CL_IMAGE_CHANNEL_UV; in prepare_output_buf()
608 decompBuffer->layer = layer; in prepare_output_buf()
609 decompBuffer->noise_variance[1] = 0; in prepare_output_buf()
610 decompBuffer->noise_variance[2] = 0; in prepare_output_buf()
612 cl_desc.width = decompBuffer->width / 4; in prepare_output_buf()
613 cl_desc.height = decompBuffer->height; in prepare_output_buf()
618 decompBuffer->ll = new CLImage2D (context, cl_desc); in prepare_output_buf()
620 decompBuffer->hl[0] = new CLImage2D (context, cl_desc); in prepare_output_buf()
621 decompBuffer->lh[0] = new CLImage2D (context, cl_desc); in prepare_output_buf()
622 decompBuffer->hh[0] = new CLImage2D (context, cl_desc); in prepare_output_buf()
641 decompBuffer->hl[1] = new CLImage2D (context, cl_desc); in prepare_output_buf()
642 decompBuffer->lh[1] = new CLImage2D (context, cl_desc); in prepare_output_buf()
643 decompBuffer->hh[1] = new CLImage2D (context, cl_desc); in prepare_output_buf()
646 decompBuffer->hl[2] = new CLImage2D (context, cl_desc); in prepare_output_buf()
647 decompBuffer->lh[2] = new CLImage2D (context, cl_desc); in prepare_output_buf()
648 decompBuffer->hh[2] = new CLImage2D (context, cl_desc); in prepare_output_buf()
650 _decompBufferList.push_back (decompBuffer); in prepare_output_buf()