Searched refs:width (Results 1 - 19 of 19) sorted by relevance

/device/samsung/crespo/libcamera/
H A DSecCamera.h303 int setPreviewSize(int width, int height, int pixel_format);
304 int getPreviewSize(int *width, int *height, int *frame_size);
305 int getPreviewMaxSize(int *width, int *height);
309 int setSnapshotSize(int width, int height);
310 int getSnapshotSize(int *width, int *height, int *frame_size);
311 int getSnapshotMaxSize(int *width, int *height);
318 int width, int height, int pixel_format);
320 int setJpegThumbnailSize(int width, int height);
321 int getJpegThumbnailSize(int *width, int *height);
409 int setRecordingSize(int width, in
[all...]
H A DSecCamera.cpp234 static int fimc_v4l2_s_fmt(int fp, int width, int height, unsigned int fmt, int flag_capture) argument
244 pixfmt.width = width;
248 pixfmt.sizeimage = (width * height * get_pixel_depth(fmt)) / 8;
264 static int fimc_v4l2_s_fmt_cap(int fp, int width, int height, unsigned int fmt) argument
274 pixfmt.width = width;
281 pixfmt.sizeimage = (width * height * get_pixel_depth(fmt)) / 8;
285 //ALOGE("ori_w %d, ori_h %d, w %d, h %d\n", width, height, v4l2_fmt.fmt.pix.width, v4l2_fm
995 setPreviewSize(int width, int height, int pixel_format) argument
1026 getPreviewSize(int *width, int *height, int *frame_size) argument
1035 getPreviewMaxSize(int *width, int *height) argument
1230 getPostViewConfig(int *width, int *height, int *size) argument
1245 getThumbnailConfig(int *width, int *height, int *size) argument
1428 setSnapshotSize(int width, int height) argument
1438 getSnapshotSize(int *width, int *height, int *frame_size) argument
1456 getSnapshotMaxSize(int *width, int *height) argument
2525 setRecordingSize(int width, int height) argument
2701 setJpegThumbnailSize(int width, int height) argument
2711 getJpegThumbnailSize(int *width, int *height) argument
2994 m_frameSize(int format, int width, int height) argument
[all...]
H A DSecCameraHWInterface.cpp67 unsigned int width; member in struct:android::addrs_cap
538 int width, height, frame_size, offset; local
540 mSecCamera->getPreviewSize(&width, &height, &frame_size);
556 0, 0, width, height, &vaddr)) {
567 memcpy(ptr, src, width);
569 src += width;
577 memcpy(ptr, src, width / 2);
579 src += width / 2;
584 memcpy(ptr, src, width / 2);
586 src += width /
711 int width, height, frame_size; local
1508 isSupportedPreviewSize(const int width, const int height) const argument
[all...]
H A DSecCameraHWInterface.h155 bool isSupportedPreviewSize(const int width,
/device/samsung/crespo/libhwcomposer/
H A DSecHWCUtils.cpp206 fmt.fmt.pix.width = src->full_width;
228 crop.c.width = src->width;
232 crop.c.left, crop.c.top, crop.c.width, crop.c.height);
295 fbuf.fmt.width = dst->full_width;
311 sFormat.fmt.win.w.width = dst->width;
315 dst->start_x, dst->start_y, dst->width, dst->height);
625 params->src.width = widthOfPP(fimc->hw_ver, src_color_space, src_rect->w);
635 params->src.start_x, params->src.start_y, params->src.width,
[all...]
/device/samsung/crespo/libs3cjpeg/
H A DJpegEncoder.cpp107 mArgs.enc_param->width = value;
146 mArgs.thumb_enc_param->width = value;
232 ret = checkMcu(param->sample_mode, param->width, param->height, false);
314 mArgs.in_thumb_buf = (char *)getThumbInBuf(param->width*param->height*2);
321 mArgs.enc_param->width,
324 param->width,
330 ret = checkMcu(param->sample_mode, param->width, param->height, true);
396 1, exifInfo->width);
469 1, exifInfo->width);
604 uint32_t width, uint32_
603 checkMcu(sample_mode_t sampleMode, uint32_t width, uint32_t height, bool isThumb) argument
[all...]
H A DJpegEncoder.h147 uint32_t width; member in struct:android::__anon57
158 uint32_t width; member in struct:android::__anon58
203 jpg_return_status checkMcu(sample_mode_t sampleMode, uint32_t width, uint32_t height, bool isThumb);
H A DExif.h187 uint32_t width; member in struct:__anon48
/device/samsung/crespo/include/
H A Ds5p_fimc.h118 unsigned int start_x; // Source Image Start width offset
120 unsigned int width; // Source Image Width member in struct:__anon34
/device/samsung/crespo/sec_mm/sec_omx/sec_omx_component/video/enc/
H A DSEC_OMX_Venc.c54 OMX_U32 width = 0, height = 0; local
60 width = secOutputPort->portDefinition.format.video.nStride =
68 if (width && height)
69 secOutputPort->portDefinition.nBufferSize = (width * height * 3) / 2;
72 if (width && height)
73 secOutputPort->portDefinition.nBufferSize = width * height * 2;
693 int width = pSECPort->portDefinition.format.video.nFrameWidth; local
695 inputUseBuffer->remainDataLen = inputUseBuffer->dataLen = (width * height * 3) / 2;
704 int width = pSECPort->portDefinition.format.video.nFrameWidth; local
709 oneFrameSize = (width * heigh
754 OMX_U32 width, height; local
1290 OMX_U32 width = pSECInputPort->portDefinition.format.video.nFrameWidth; local
[all...]
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
H A DSlider.java64 position = Math.max(0, (x - r.left) / r.width());
115 int indicatorX = (int) ((r.width() - kMargin) * mPosition) + r.left
/device/samsung/crespo/sec_mm/sec_omx/sec_codecs/video/mfc_c110/enc/src/
H A DSsbSipMfcEncAPI.c116 pCTX->width = mpeg4_arg->SourceWidth;
124 pCTX->width = h263_arg->SourceWidth;
132 pCTX->width = h264_arg->SourceWidth;
457 pCTX->width = nWidth;
486 y_size = pCTX->width * pCTX->height;
487 c_size = (pCTX->width * pCTX->height) >> 1;
489 aligned_y_size = ALIGN_TO_8KB(ALIGN_TO_128B(pCTX->width) * ALIGN_TO_32B(pCTX->height));
490 aligned_c_size = ALIGN_TO_8KB(ALIGN_TO_128B(pCTX->width) * ALIGN_TO_32B(pCTX->height/2));
/device/samsung/crespo/sec_mm/sec_omx/sec_omx_component/video/dec/h264dec/
H A DSEC_OMX_H264dec.c412 OMX_U32 width, height, size; local
438 width = ((pSECPort->portDefinition.format.video.nFrameWidth + 15) & (~15));
440 size = (width * height * 3) / 2;
441 pSECPort->portDefinition.format.video.nStride = width;
449 pSECOutputPort->portDefinition.format.video.nStride = width;
457 pSECOutputPort->portDefinition.nBufferSize = (width * height * 3) / 2;
938 SEC_OSAL_Log(SEC_LOG_TRACE, "set width height information : %d, %d",
941 SEC_OSAL_Log(SEC_LOG_TRACE, "mfc width height information : %d, %d",
942 imgResol.width, imgResol.height);
951 secOutputPort->cropRectangle.nWidth = imgResol.width
[all...]
/device/samsung/crespo/sec_mm/sec_omx/sec_codecs/video/mfc_c110/include/
H A DSsbSipMfcApi.h142 int img_width; // [OUT] width of real image
144 int buf_width; // [OUT] width aligned to 16
179 int SourceWidth; // [IN] width of video to be encoded
222 int SourceWidth; // [IN] width of video to be encoded
254 int SourceWidth; // [IN] width of video to be encoded
277 int width; member in struct:__anon77
H A Dmfc_interface.h97 int in_width; /* [IN] width of YUV420 frame to be encoded */
140 int in_width; /* [IN] width of YUV420 frame to be encoded */
214 int out_img_width; /* [OUT] width of YUV420 frame */
216 int out_buf_width; /* [OUT] width of YUV420 frame */
320 int width; member in struct:__anon91
/device/samsung/crespo/sec_mm/sec_omx/sec_omx_component/video/dec/mpeg4dec/
H A DSEC_OMX_Mpeg4dec.c124 imgResolution.width = pInfoHeader->BiWidth;
128 SEC_OSAL_Log(SEC_LOG_TRACE, "width(%d), height(%d)", imgResolution.width, imgResolution.height);
570 OMX_U32 width, height, size; local
596 width = ((pSECPort->portDefinition.format.video.nFrameWidth + 15) & (~15));
598 size = (width * height * 3) / 2;
599 pSECPort->portDefinition.format.video.nStride = width;
607 pSECOutputPort->portDefinition.format.video.nStride = width;
615 pSECOutputPort->portDefinition.nBufferSize = (width * height * 3) / 2;
1115 if ((pInputPort->portDefinition.format.video.nFrameWidth != imgResol.width) ||
[all...]
/device/samsung/crespo/sec_mm/sec_omx/sec_omx_component/video/dec/
H A DSEC_OMX_Vdec.c55 OMX_U32 width = 0, height = 0; local
61 width = secOutputPort->portDefinition.format.video.nStride =
70 if (width && height)
71 secOutputPort->portDefinition.nBufferSize = (width * height * 3) / 2;
74 if (width && height)
75 secOutputPort->portDefinition.nBufferSize = width * height * 2;
/device/samsung/crespo/sec_mm/sec_omx/sec_codecs/video/mfc_c110/dec/src/
H A DSsbSipMfcDecAPI.c431 DecArg.args.set_config.in_config_value[0] = img_resolution->width;
479 img_resolution->width = pCTX->decOutInfo.img_width;
/device/samsung/crespo/sec_mm/sec_omx/sec_osal/
H A DSEC_OSAL_Buffer.cpp315 bufWidth = ((buf->width + 15) / 16) * 16;

Completed in 222 milliseconds