Add ViewProvider<FrameBuffer> to YuvImage storage backend.
PiperOrigin-RevId: 506881556
This commit is contained in:
parent
e485961c2d
commit
386445c8dd
|
@ -441,14 +441,26 @@ cc_library(
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cc_library(
|
||||||
|
name = "frame_buffer_view",
|
||||||
|
hdrs = ["frame_buffer_view.h"],
|
||||||
|
visibility = ["//visibility:public"],
|
||||||
|
deps = [
|
||||||
|
":gpu_buffer_storage",
|
||||||
|
"//mediapipe/framework/formats:frame_buffer",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "gpu_buffer_storage_yuv_image",
|
name = "gpu_buffer_storage_yuv_image",
|
||||||
srcs = ["gpu_buffer_storage_yuv_image.cc"],
|
srcs = ["gpu_buffer_storage_yuv_image.cc"],
|
||||||
hdrs = ["gpu_buffer_storage_yuv_image.h"],
|
hdrs = ["gpu_buffer_storage_yuv_image.h"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
|
":frame_buffer_view",
|
||||||
":gpu_buffer_format",
|
":gpu_buffer_format",
|
||||||
":gpu_buffer_storage",
|
":gpu_buffer_storage",
|
||||||
|
"//mediapipe/framework/formats:frame_buffer",
|
||||||
"//mediapipe/framework/formats:yuv_image",
|
"//mediapipe/framework/formats:yuv_image",
|
||||||
"//third_party/libyuv",
|
"//third_party/libyuv",
|
||||||
"@com_google_absl//absl/log",
|
"@com_google_absl//absl/log",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user