Home
last modified time | relevance | path

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

12

/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
1497 y_stride = VENUS_Y_STRIDE(COLOR_FMT_P010, width); in GetYUVPlaneInfo()
[all …]
/hardware/qcom/sm7250/display/gralloc/
Dgr_utils.cpp477 unsigned int y_stride = 0, y_height = 0, y_size = 0; in GetYuvUbwcSPPlaneInfo() local
488 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
490 y_size = ALIGN((y_stride * y_height), alignment); in GetYuvUbwcSPPlaneInfo()
508 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvUbwcSPPlaneInfo()
561 unsigned int y_stride = 0, y_height = 0, y_size = 0; in GetYuvSPPlaneInfo() local
565 y_stride = c_stride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
567 y_size = y_stride * y_height; in GetYuvSPPlaneInfo()
626 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvSPPlaneInfo()
1482 unsigned int y_stride, c_stride, y_height, c_height, y_size, c_size; in GetYUVPlaneInfo() local
1621 y_stride = VENUS_Y_STRIDE(COLOR_FMT_P010, width); in GetYUVPlaneInfo()
[all …]
/hardware/google/camera/devices/EmulatedCamera/hwl/
DJpegCompressor.cpp261 .y_stride = static_cast<uint32_t>(thumbnail_width), in CompressYUV420()
265 job->input->yuv_planes.img_y, job->input->yuv_planes.y_stride, in CompressYUV420()
269 thumb_planes.y_stride, thumb_planes.img_cb, in CompressYUV420()
490 y_lines[i] = static_cast<JSAMPROW>(py + li * frame.yuv_planes.y_stride); in CompressYUV420Frame()
DBase.h37 uint32_t y_stride = 0; member
DEmulatedSensor.cpp1079 .y_stride = jpeg_input->width, in threadLoop()
1652 uint8_t* px_y = yuv_layout.img_y + out_y * yuv_layout.y_stride; in CaptureYUV420()
1831 .y_stride = static_cast<uint32_t>(input_width * bytes_per_pixel), in ProcessYUV420()
1857 input_planes.y_stride / bytes_per_pixel, in ProcessYUV420()
1863 output_planes.y_stride / bytes_per_pixel, in ProcessYUV420()
1870 ret = I420Scale(input_planes.img_y, input_planes.y_stride, in ProcessYUV420()
1873 input_height, output_planes.img_y, output_planes.y_stride, in ProcessYUV420()
DEmulatedRequestProcessor.cpp311 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/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/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/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/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()
Dvideo_encoder_device_v4l2.cpp602 unsigned int y_stride, uv_stride, y_sclines, in get_yuv_size() local
607 y_stride = VENUS_Y_STRIDE(fmt, width); in get_yuv_size()
614 y_plane = y_stride * y_sclines; in get_yuv_size()
4088 OMX_U32 y_stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width), in venc_color_align() local
4098 dst_buf += y_stride * y_scanlines; in venc_color_align()
4110 memmove(dst_buf + line * y_stride, in venc_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()
Dvideo_encoder_device_v4l2.cpp2463 OMX_U32 y_stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width), in venc_color_align() local
2473 dst_buf += y_stride * y_scanlines; in venc_color_align()
2485 memmove(dst_buf + line * y_stride, in venc_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()
Dvideo_encoder_device_v4l2.cpp626 unsigned int y_stride, uv_stride, y_sclines, in get_yuv_size() local
631 y_stride = VENUS_Y_STRIDE(fmt, width); in get_yuv_size()
638 y_plane = y_stride * y_sclines; in get_yuv_size()
3747 OMX_U32 y_stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width), in venc_color_align() local
3757 dst_buf += y_stride * y_scanlines; in venc_color_align()
3767 memmove(dst_buf + line * y_stride, in venc_color_align()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp2619 OMX_U32 y_stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width), in venc_color_align() local
2629 dst_buf += y_stride * y_scanlines; in venc_color_align()
2639 memmove(dst_buf + line * y_stride, in venc_color_align()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp3308 OMX_U32 y_stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width), in venc_color_align() local
3318 dst_buf += y_stride * y_scanlines; in venc_color_align()
3328 memmove(dst_buf + line * y_stride, in venc_color_align()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp1630 int y_stride = 0, y_sclines = 0; in log_output_buffers() local
1640 y_stride = VENUS_Y_STRIDE(color_fmt, width); in log_output_buffers()
1646 y_plane = MSM_MEDIA_ALIGN(y_stride * y_sclines, 4096); in log_output_buffers()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp1932 int y_stride = 0, y_sclines = 0; in log_output_buffers() local
1942 y_stride = VENUS_Y_STRIDE(color_fmt, width); in log_output_buffers()
1948 y_plane = MSM_MEDIA_ALIGN(y_stride * y_sclines, 4096); in log_output_buffers()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp2187 int y_stride = 0, y_sclines = 0; in log_output_buffers() local
2197 y_stride = VENUS_Y_STRIDE(color_fmt, width); in log_output_buffers()
2203 y_plane = MSM_MEDIA_ALIGN(y_stride * y_sclines, 4096); in log_output_buffers()

12