Home
last modified time | relevance | path

Searched refs:uv_buffer_size (Results 1 – 6 of 6) sorted by relevance

/external/libgav1/libgav1/src/
Dinternal_frame_buffer_list.cc76 if (info.uv_buffer_size > SIZE_MAX / 2 || in GetFrameBuffer()
77 info.y_buffer_size > SIZE_MAX - 2 * info.uv_buffer_size) { in GetFrameBuffer()
80 const size_t min_size = info.y_buffer_size + 2 * info.uv_buffer_size; in GetFrameBuffer()
107 (info.uv_buffer_size == 0) ? nullptr : y_buffer + info.y_buffer_size; in GetFrameBuffer()
109 (info.uv_buffer_size == 0) ? nullptr : u_buffer + info.uv_buffer_size; in GetFrameBuffer()
Dframe_buffer.cc94 const uint64_t uv_buffer_size = in Libgav1ComputeFrameBufferInfo() local
101 if (y_buffer_size > SIZE_MAX || uv_buffer_size > SIZE_MAX) { in Libgav1ComputeFrameBufferInfo()
117 info->uv_buffer_size = static_cast<size_t>(uv_buffer_size); in Libgav1ComputeFrameBufferInfo()
130 (info->uv_buffer_size == 0 && in Libgav1SetFrameBuffer()
135 if (y_buffer == nullptr || (info->uv_buffer_size != 0 && in Libgav1SetFrameBuffer()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/
Dframe_buffer.cc45 const int uv_buffer_size = in GetYuvDataFromOnePlaneFrameBuffer() local
74 result.v_buffer = result.u_buffer + uv_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
79 result.u_buffer = result.v_buffer + uv_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
/external/libgav1/libgav1/src/gav1/
Dframe_buffer.h116 size_t uv_buffer_size; // Size in bytes of the U or V buffer. member
/external/exoplayer/tree/extensions/av1/src/main/jni/
Dgav1_jni.cc341 info.y_buffer_size, info.uv_buffer_size, &jni_buffer); in Libgav1GetFrameBuffer()
349 (info.uv_buffer_size != 0) ? jni_buffer->RawBuffer(1) : nullptr; in Libgav1GetFrameBuffer()
351 (info.uv_buffer_size != 0) ? jni_buffer->RawBuffer(2) : nullptr; in Libgav1GetFrameBuffer()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dframe_buffer_utils.cc358 const int uv_buffer_size = uv_row_stride * (dimension.height + 1) / 2; in GetPlanes() local
366 {buffer + y_buffer_size + uv_buffer_size, /*stride=*/{ in GetPlanes()