Searched refs:uv_buffer_size (Results 1 – 6 of 6) sorted by relevance
76 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()
94 const uint64_t uv_buffer_size = in Libgav1ComputeFrameBufferInfo() local101 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()
45 const int uv_buffer_size = in GetYuvDataFromOnePlaneFrameBuffer() local74 result.v_buffer = result.u_buffer + uv_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()79 result.u_buffer = result.v_buffer + uv_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
116 size_t uv_buffer_size; // Size in bytes of the U or V buffer. member
341 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()
358 const int uv_buffer_size = uv_row_stride * (dimension.height + 1) / 2; in GetPlanes() local366 {buffer + y_buffer_size + uv_buffer_size, /*stride=*/{ in GetPlanes()