Home
last modified time | relevance | path

Searched refs:stride_bytes (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/sm7250/display/gralloc/
Dgr_camera_info.cpp155 int CameraInfo::GetStrideInBytes(int format, int plane_type, int width, int *stride_bytes) { in GetStrideInBytes() argument
159 GetCamxPlaneType(plane_type), width, stride_bytes); in GetStrideInBytes()
295 int stride_bytes = 0; in GetCameraFormatPlaneInfo() local
348 result = GetStrideInBytes(format, plane_type[i], width, &stride_bytes); in GetCameraFormatPlaneInfo()
354 plane_info[i].stride_bytes = (int32_t)stride_bytes; in GetCameraFormatPlaneInfo()
Dgr_utils.cpp508 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvUbwcSPPlaneInfo()
515 plane_info[1].stride_bytes = static_cast<int32_t>(c_stride); in GetYuvUbwcSPPlaneInfo()
522 plane_info[2].stride_bytes = static_cast<int32_t>(y_meta_stride); in GetYuvUbwcSPPlaneInfo()
530 plane_info[3].stride_bytes = static_cast<int32_t>(c_meta_stride); in GetYuvUbwcSPPlaneInfo()
626 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvSPPlaneInfo()
634 plane_info[1].stride_bytes = static_cast<int32_t>(c_stride); in GetYuvSPPlaneInfo()
741 plane_info[0].stride_bytes = static_cast<int32_t>(alignedWidth); in GetRawPlaneInfo()
743 plane_info[0].stride_bytes = static_cast<int32_t>(alignedWidth * GetBpp(format)); in GetRawPlaneInfo()
1634 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYUVPlaneInfo()
1644 plane_info[1].stride_bytes = static_cast<int32_t>(c_stride); in GetYUVPlaneInfo()
[all …]
DQtiMapperExtensions.cpp386 plane_info[i].stride_bytes = plane_layout[i].stride_bytes; in getFormatLayout()
394 plane_info[i].stride, plane_info[i].stride_bytes, plane_info[i].scanlines, in getFormatLayout()
Dgr_camera_info.h143 int GetStrideInBytes(int format, int plane_type, int width, int *stride_bytes);
Dgr_utils.h160 int32_t stride_bytes; member
Dgr_buf_mgr.cpp713 plane_info[i].strideInBytes = static_cast<int64_t>(plane_layout[i].stride_bytes); in getFormatLayout()
/hardware/qcom/sm8150/display/gralloc/
Dgr_utils.cpp431 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvUbwcSPPlaneInfo()
438 plane_info[1].stride_bytes = static_cast<int32_t>(c_stride); in GetYuvUbwcSPPlaneInfo()
445 plane_info[2].stride_bytes = static_cast<int32_t>(y_meta_stride); in GetYuvUbwcSPPlaneInfo()
453 plane_info[3].stride_bytes = static_cast<int32_t>(c_meta_stride); in GetYuvUbwcSPPlaneInfo()
546 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYuvSPPlaneInfo()
554 plane_info[1].stride_bytes = static_cast<int32_t>(c_stride); in GetYuvSPPlaneInfo()
664 plane_info[0].stride_bytes = static_cast<int32_t>(alignedWidth); in GetRawPlaneInfo()
666 plane_info[0].stride_bytes = static_cast<int32_t>(alignedWidth * GetBpp(format)); in GetRawPlaneInfo()
1510 plane_info[0].stride_bytes = static_cast<int32_t>(y_stride); in GetYUVPlaneInfo()
1520 plane_info[1].stride_bytes = static_cast<int32_t>(c_stride); in GetYUVPlaneInfo()
[all …]
DQtiMapperExtensions.cpp381 plane_info[i].stride_bytes = plane_layout[i].stride_bytes; in getFormatLayout()
389 plane_info[i].stride, plane_info[i].stride_bytes, plane_info[i].scanlines, in getFormatLayout()
Dgr_utils.h146 int32_t stride_bytes; member
Dgr_buf_mgr.cpp728 plane_info[i].strideInBytes = static_cast<int64_t>(plane_layout[i].stride_bytes); in getFormatLayout()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dstb_image_write.h1092 static void stbiw__encode_png_line(unsigned char *pixels, int stride_bytes, int width, int height, … in stbiw__encode_png_line() argument
1099 unsigned char *z = pixels + stride_bytes * (stbi__flip_vertically_on_write ? height-1-y : y); in stbiw__encode_png_line()
1100 int signed_stride = stbi__flip_vertically_on_write ? -stride_bytes : stride_bytes; in stbiw__encode_png_line()
1128 STBIWDEF unsigned char *stbi_write_png_to_mem(const unsigned char *pixels, int stride_bytes, int x,… in stbi_write_png_to_mem() argument
1137 if (stride_bytes == 0) in stbi_write_png_to_mem()
1138 stride_bytes = x * n; in stbi_write_png_to_mem()
1150 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, force_filter, line_buff… in stbi_write_png_to_mem()
1154 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, filter_type, line_buffe… in stbi_write_png_to_mem()
1167 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, best_filter, line_buffe… in stbi_write_png_to_mem()
1215 …nt stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument
[all …]
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image_write.h1092 static void stbiw__encode_png_line(unsigned char *pixels, int stride_bytes, int width, int height, … in stbiw__encode_png_line() argument
1099 unsigned char *z = pixels + stride_bytes * (stbi__flip_vertically_on_write ? height-1-y : y); in stbiw__encode_png_line()
1100 int signed_stride = stbi__flip_vertically_on_write ? -stride_bytes : stride_bytes; in stbiw__encode_png_line()
1128 STBIWDEF unsigned char *stbi_write_png_to_mem(const unsigned char *pixels, int stride_bytes, int x,… in stbi_write_png_to_mem() argument
1137 if (stride_bytes == 0) in stbi_write_png_to_mem()
1138 stride_bytes = x * n; in stbi_write_png_to_mem()
1150 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, force_filter, line_buff… in stbi_write_png_to_mem()
1154 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, filter_type, line_buffe… in stbi_write_png_to_mem()
1167 …stbiw__encode_png_line((unsigned char*)(pixels), stride_bytes, x, y, j, n, best_filter, line_buffe… in stbi_write_png_to_mem()
1215 …nt stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument
[all …]