Home | History | Annotate | Download | only in camera

Lines Matching defs:previewHeight

2806     int CbCrOffset = PAD_TO_WORD(previewWidth * previewHeight);
2851 int mBufferSize = previewWidth * previewHeight * 3/2;
2852 int mCbCrOffset = PAD_TO_WORD(previewWidth * previewHeight);
3072 in_buf.dy = in_buf.dy = previewHeight;
3079 in_buf.dy = previewHeight;
3090 'previewWidth * previewHeight * 3/2'. Needed when gralloc allocated extra memory.*/
3092 previewBufSize = previewWidth * previewHeight * 3/2;
3394 int mBufferSize = previewWidth * previewHeight * 3/2;
3395 int mCbCrOffset = PAD_TO_WORD(previewWidth * previewHeight);
3718 mParameters.getPreviewSize(&previewWidth, &previewHeight);
3721 ALOGI("%s Got preview dimension as %d x %d ", __func__, previewWidth, previewHeight);
3727 videoHeight = previewHeight;
3732 if( (previewWidth > videoWidth) || (previewHeight > videoHeight)) {
3736 previewHeight, videoWidth, videoHeight);
3738 previewHeight = videoHeight;
3739 mParameters.setPreviewSize(previewWidth, previewHeight);
3746 previewHeight = videoHeight;
3747 mParameters.setPreviewSize(previewWidth, previewHeight);
3756 mDimension.display_height= previewHeight;
3762 ALOGV("initPreview E: preview size=%dx%d videosize = %d x %d", previewWidth, previewHeight, videoWidth, videoHeight );
3772 ALOGV("initPreview : preview size=%dx%d videosize = %d x %d", previewWidth, previewHeight,
3800 mPreviewFrameSize = previewWidth * previewHeight * 3/2;
3801 ALOGI("Width = %d Height = %d \n", previewWidth, previewHeight);
3803 myv12_params.CbOffset = PAD_TO_WORD(previewWidth * previewHeight);
3804 myv12_params.CrOffset = myv12_params.CbOffset + PAD_TO_WORD((previewWidth * previewHeight)/4);
3808 CbCrOffset = PAD_TO_WORD(previewWidth * previewHeight);
3814 mDimension.display_luma_height = previewHeight;
3816 mDimension.display_chroma_height = previewHeight;
3818 mPreviewFrameSize = PAD_TO_4K(CEILING32(previewWidth) * CEILING32(previewHeight)) +
3819 2 * (CEILING32(previewWidth/2) * CEILING32(previewHeight/2));
3820 CbCrOffset = PAD_TO_4K(CEILING32(previewWidth) * CEILING32(previewHeight));
3823 mDimension.display_luma_height = CEILING32(previewHeight);
3826 mDimension.display_chroma_height = CEILING32(previewHeight/2);
3920 yv12framesize = (previewWidth*previewHeight)
3921 + 2* ( CEILING16(previewWidth/2) * (previewHeight/2)) ;
4369 int mBufferSize = previewWidth * previewHeight * 3/2;
4370 int mCbCrOffset = PAD_TO_WORD(previewWidth * previewHeight);
4503 if((mPictureHeight >= previewHeight) &&
4505 mPostviewHeight = previewHeight;
4506 mPostviewWidth = (previewHeight * mPictureWidth) / mPictureHeight;
4592 mParameters.getPreviewSize(&previewWidth, &previewHeight);
4593 mBufferSize = previewWidth * previewHeight * 3/2;
4594 CbCrOffset = PAD_TO_WORD(previewWidth * previewHeight);
4729 int mBufferSize = previewWidth * previewHeight * 3/2;
4730 int mCbCrOffset = PAD_TO_WORD(previewWidth * previewHeight);
4870 mParameters.getPreviewSize(&previewWidth, &previewHeight);
4873 previewWidth, previewHeight, previewFormat);
4889 int CbCrOffset = PAD_TO_WORD(previewWidth * previewHeight);
4891 int mBufferSize = previewWidth * previewHeight * 3/2;
4951 myv12_params.CbOffset = PAD_TO_WORD(previewWidth * previewHeight);
4952 myv12_params.CrOffset = myv12_params.CbOffset + PAD_TO_WORD((previewWidth * previewHeight)/4);
5354 previewHeightToNativeZoom = previewHeight;
5558 int mBufferSize = previewWidth * previewHeight * 3/2;
5559 int mCbCrOffset = PAD_TO_WORD(previewWidth * previewHeight);
6655 e->src.height = previewHeight;
6661 e->dst.height = previewHeight;
6678 e->src_rect.h = previewHeight;
6686 e->dst_rect.h = previewHeight;
7169 nh->data[2] = previewWidth * previewHeight * 3/2;
7780 videoHeight = previewHeight;
7787 if( (previewWidth > videoWidth) || (previewHeight > videoHeight)) {
7791 previewHeight, videoWidth, videoHeight);
7793 previewHeight = videoHeight;
7794 mParameters.setPreviewSize(previewWidth, previewHeight);
7801 previewHeight = videoHeight;
7802 mParameters.setPreviewSize(previewWidth, previewHeight);
7812 previewHeight = videoHeight;
7813 mParameters.setPreviewSize(previewWidth, previewHeight);
7821 ALOGI("%s: preview dimensions: %dx%d", __FUNCTION__, previewWidth, previewHeight);
7824 mDimension.display_height= previewHeight;
7870 //previewHeight = height;
7972 previewHeight;
7973 params.getPreviewSize(&previewWidth, &previewHeight);
7975 previewWidth, previewHeight);
7976 if ((width < previewWidth) && (height < previewHeight)) {
7993 height = previewHeight;
8546 // So, they are transformed to range (0, 0) to (previewWidth, previewHeight)