Home
last modified time | relevance | path

Searched refs:y_stride (Results 1 – 25 of 31) sorted by relevance

12

/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsm_media_info.h237 unsigned int y_plane, uv_plane, y_stride, in VENUS_BUFFER_SIZE() local
242 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_BUFFER_SIZE()
250 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
257 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
274 unsigned int y_plane, uv_plane, y_stride, in VENUS_VIEW2_OFFSET() local
279 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_VIEW2_OFFSET()
285 y_plane = y_stride * y_sclines; in VENUS_VIEW2_OFFSET()
/hardware/qcom/msm8994/kernel-headers/media/
Dmsm_media_info.h530 unsigned int y_plane, uv_plane, y_stride, in VENUS_BUFFER_SIZE() local
540 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_BUFFER_SIZE()
548 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
555 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
563 y_ubwc_plane = MSM_MEDIA_ALIGN(y_stride * y_sclines, 4096); in VENUS_BUFFER_SIZE()
589 unsigned int y_plane, uv_plane, y_stride, in VENUS_VIEW2_OFFSET() local
594 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_VIEW2_OFFSET()
600 y_plane = y_stride * y_sclines; in VENUS_VIEW2_OFFSET()
/hardware/qcom/msm8994/original-kernel-headers/media/
Dmsm_media_info.h530 unsigned int y_plane, uv_plane, y_stride, in VENUS_BUFFER_SIZE() local
540 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_BUFFER_SIZE()
548 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
555 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
563 y_ubwc_plane = MSM_MEDIA_ALIGN(y_stride * y_sclines, 4096); in VENUS_BUFFER_SIZE()
589 unsigned int y_plane, uv_plane, y_stride, in VENUS_VIEW2_OFFSET() local
594 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_VIEW2_OFFSET()
600 y_plane = y_stride * y_sclines; in VENUS_VIEW2_OFFSET()
/hardware/qcom/msm8x09/kernel-headers/media/
Dmsm_media_info.h714 unsigned int y_plane, uv_plane, y_stride, in VENUS_BUFFER_SIZE() local
727 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_BUFFER_SIZE()
738 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
741 MSM_MEDIA_MAX(extra_size, 8 * y_stride); in VENUS_BUFFER_SIZE()
746 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
754 y_ubwc_plane = MSM_MEDIA_ALIGN(y_stride * y_sclines, 4096); in VENUS_BUFFER_SIZE()
767 MSM_MEDIA_MAX(extra_size + 8192, 48 * y_stride); in VENUS_BUFFER_SIZE()
797 unsigned int y_plane, uv_plane, y_stride, in VENUS_VIEW2_OFFSET() local
802 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_VIEW2_OFFSET()
808 y_plane = y_stride * y_sclines; in VENUS_VIEW2_OFFSET()
/hardware/qcom/msm8996/kernel-headers/media/
Dmsm_media_info.h714 unsigned int y_plane, uv_plane, y_stride, in VENUS_BUFFER_SIZE() local
727 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_BUFFER_SIZE()
738 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
741 MSM_MEDIA_MAX(extra_size, 8 * y_stride); in VENUS_BUFFER_SIZE()
746 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
754 y_ubwc_plane = MSM_MEDIA_ALIGN(y_stride * y_sclines, 4096); in VENUS_BUFFER_SIZE()
767 MSM_MEDIA_MAX(extra_size + 8192, 48 * y_stride); in VENUS_BUFFER_SIZE()
797 unsigned int y_plane, uv_plane, y_stride, in VENUS_VIEW2_OFFSET() local
802 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_VIEW2_OFFSET()
808 y_plane = y_stride * y_sclines; in VENUS_VIEW2_OFFSET()
/hardware/qcom/msm8x09/original-kernel-headers/media/
Dmsm_media_info.h714 unsigned int y_plane, uv_plane, y_stride, in VENUS_BUFFER_SIZE() local
727 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_BUFFER_SIZE()
738 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
741 MSM_MEDIA_MAX(extra_size, 8 * y_stride); in VENUS_BUFFER_SIZE()
746 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
754 y_ubwc_plane = MSM_MEDIA_ALIGN(y_stride * y_sclines, 4096); in VENUS_BUFFER_SIZE()
767 MSM_MEDIA_MAX(extra_size + 8192, 48 * y_stride); in VENUS_BUFFER_SIZE()
797 unsigned int y_plane, uv_plane, y_stride, in VENUS_VIEW2_OFFSET() local
802 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_VIEW2_OFFSET()
808 y_plane = y_stride * y_sclines; in VENUS_VIEW2_OFFSET()
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsm_media_info.h714 unsigned int y_plane, uv_plane, y_stride, in VENUS_BUFFER_SIZE() local
727 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_BUFFER_SIZE()
738 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
741 MSM_MEDIA_MAX(extra_size, 8 * y_stride); in VENUS_BUFFER_SIZE()
746 y_plane = y_stride * y_sclines; in VENUS_BUFFER_SIZE()
754 y_ubwc_plane = MSM_MEDIA_ALIGN(y_stride * y_sclines, 4096); in VENUS_BUFFER_SIZE()
767 MSM_MEDIA_MAX(extra_size + 8192, 48 * y_stride); in VENUS_BUFFER_SIZE()
797 unsigned int y_plane, uv_plane, y_stride, in VENUS_VIEW2_OFFSET() local
802 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_VIEW2_OFFSET()
808 y_plane = y_stride * y_sclines; in VENUS_VIEW2_OFFSET()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/
Domx_swvenc_mpeg4.h270 unsigned int y_plane, uv_plane, y_stride,uv_stride, y_scanlines, uv_scanlines; in SWVENC_BUFFER_SIZE() local
273 y_stride = SWVENC_Y_STRIDE(color_fmt, width); in SWVENC_BUFFER_SIZE()
274 uv_stride = y_stride; in SWVENC_BUFFER_SIZE()
283 y_plane = y_stride * y_scanlines; in SWVENC_BUFFER_SIZE()
/hardware/qcom/sm8150/display/gralloc/
Dgr_utils.cpp401 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
411 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
413 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
431 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvUbwcSPPlaneInfo()
480 unsigned int y_stride = 0, y_height = 0, y_size = 0; in GetYuvSPPlaneInfo() local
484 y_stride = c_stride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
486 y_size = y_stride * y_height; in GetYuvSPPlaneInfo()
546 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvSPPlaneInfo()
1384 unsigned int y_stride, c_stride, y_height, c_height, y_size, c_size; in GetYUVPlaneInfo() local
1495 y_stride = VENUS_Y_STRIDE(COLOR_FMT_P010, width); in GetYUVPlaneInfo()
[all …]
/hardware/qcom/sm7250/display/gralloc/
Dgr_utils.cpp432 unsigned int y_stride = 0, y_height = 0, y_size = 0; in GetYuvUbwcSPPlaneInfo() local
443 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
445 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
463 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvUbwcSPPlaneInfo()
516 unsigned int y_stride = 0, y_height = 0, y_size = 0; in GetYuvSPPlaneInfo() local
520 y_stride = c_stride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
522 y_size = y_stride * y_height; in GetYuvSPPlaneInfo()
581 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvSPPlaneInfo()
1438 unsigned int y_stride, c_stride, y_height, c_height, y_size, c_size; in GetYUVPlaneInfo() local
1574 y_stride = VENUS_Y_STRIDE(COLOR_FMT_P010, width); in GetYUVPlaneInfo()
[all …]
/hardware/google/camera/devices/EmulatedCamera/hwl/
DJpegCompressor.cpp133 .y_stride = static_cast<uint32_t>(thumbnail_width), in CompressYUV420()
137 job->input->yuv_planes.img_y, job->input->yuv_planes.y_stride, in CompressYUV420()
141 thumb_planes.y_stride, thumb_planes.img_cb, in CompressYUV420()
338 y_lines[i] = static_cast<JSAMPROW>(py + li * frame.yuv_planes.y_stride); in CompressYUV420Frame()
DBase.h38 uint32_t y_stride = 0; member
DEmulatedSensor.cpp858 .y_stride = jpeg_input->width, in threadLoop()
1422 uint8_t* px_y = yuv_layout.img_y + out_y * yuv_layout.y_stride; in CaptureYUV420()
1591 .y_stride = static_cast<uint32_t>(input_width), in ProcessYUV420()
1611 input_planes.img_y, input_planes.y_stride, input_planes.img_cb, in ProcessYUV420()
1613 input_width, input_height, output_planes.img_y, output_planes.y_stride, in ProcessYUV420()
DEmulatedRequestProcessor.cpp280 sensor_buffer->plane.img_y_crcb.y_stride = yuv_layout.yStride; in LockSensorBuffer()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_utils.cpp291 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
299 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
301 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
310 ycbcr->ystride = y_stride; in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8909/gralloc/
Dgr_utils.cpp291 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
299 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
301 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
310 ycbcr->ystride = y_stride; in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp334 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
342 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
344 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
353 ycbcr->ystride = y_stride; in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp333 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
341 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
343 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
352 ycbcr->ystride = y_stride; in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp739 unsigned int y_stride, y_height, y_size; in getYuvUbwcSPPlaneInfo() local
747 y_stride = VENUS_Y_STRIDE(color_format, width); in getYuvUbwcSPPlaneInfo()
749 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
759 ycbcr->ystride = y_stride; in getYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp718 unsigned int y_stride, y_height, y_size; in getYuvUbwcSPPlaneInfo() local
726 y_stride = VENUS_Y_STRIDE(color_format, width); in getYuvUbwcSPPlaneInfo()
728 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
738 ycbcr->ystride = y_stride; in getYuvUbwcSPPlaneInfo()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dalloc_controller.cpp718 unsigned int y_stride, y_height, y_size; in getYuvUbwcSPPlaneInfo() local
726 y_stride = VENUS_Y_STRIDE(color_format, width); in getYuvUbwcSPPlaneInfo()
728 y_size = ALIGN((y_stride * y_height), alignment); in getYuvUbwcSPPlaneInfo()
738 ycbcr->ystride = y_stride; in getYuvUbwcSPPlaneInfo()
/hardware/qcom/sdm845/display/gralloc/
Dgr_utils.cpp363 unsigned int y_stride, y_height, y_size; in GetYuvUbwcSPPlaneInfo() local
371 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
373 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
382 ycbcr->ystride = y_stride; in GetYuvUbwcSPPlaneInfo()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp501 unsigned int y_stride, y_scanlines; in set_parameter() local
597 y_stride = ALIGN(portDefn->format.video.nFrameWidth,128); in set_parameter()
602 Prop.info.frame_attributes.stride_luma = y_stride; in set_parameter()
603 Prop.info.frame_attributes.stride_chroma = y_stride; in set_parameter()
605 Prop.info.frame_attributes.offset_chroma = y_scanlines * y_stride; in set_parameter()
3646 OMX_U32 y_stride,y_scanlines,uv_scanlines,plane_size_y,plane_size_uv,src_chroma_offset; in swvenc_color_align() local
3647 y_stride = ALIGN(width,128); in swvenc_color_align()
3655 dst_buf += y_stride * y_scanlines; in swvenc_color_align()
3657 memmove(dst_buf + line * y_stride, in swvenc_color_align()
3665 memmove(dst_buf + line * y_stride, in swvenc_color_align()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp513 unsigned int y_stride, y_scanlines; in set_parameter() local
609 y_stride = SWVENC_Y_STRIDE(COLOR_FMT_NV12,portDefn->format.video.nFrameWidth); in set_parameter()
614 Prop.info.frame_attributes.stride_luma = y_stride; in set_parameter()
615 Prop.info.frame_attributes.stride_chroma = y_stride; in set_parameter()
617 Prop.info.frame_attributes.offset_chroma = y_scanlines * y_stride; in set_parameter()
3581 OMX_U32 y_stride,y_scanlines,uv_scanlines,plane_size_y,plane_size_uv,src_chroma_offset; in swvenc_color_align() local
3582 y_stride = SWVENC_Y_STRIDE(COLOR_FMT_NV12,width); in swvenc_color_align()
3590 dst_buf += y_stride * y_scanlines; in swvenc_color_align()
3592 memmove(dst_buf + line * y_stride, in swvenc_color_align()
3600 memmove(dst_buf + line * y_stride, in swvenc_color_align()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp2975 OMX_U32 y_stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width), in swvenc_color_align() local
2985 dst_buf += y_stride * y_scanlines; in swvenc_color_align()
2995 memmove(dst_buf + line * y_stride, in swvenc_color_align()

12