BUILD 732 字节
Newer Older
1
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
M
michael4338 已提交
2 3 4 5 6 7
load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

cc_binary(
    name = "video2jpg",
M
michael4338 已提交
8
    srcs = ["video2jpg.cc"],
M
michael4338 已提交
9
    deps = [
M
michael4338 已提交
10
        ":frame_processor",
11
        "@com_github_gflags_gflags//:gflags",
12
    ],
M
michael4338 已提交
13 14 15
)

cc_library(
M
michael4338 已提交
16 17 18
    name = "frame_processor",
    srcs = ["frame_processor.cc"],
    hdrs = ["frame_processor.h"],
19
    deps = [
M
michael4338 已提交
20 21
        ":h265_decoder",
        "//modules/common/util",
22
        "@com_google_absl//absl/strings",
23 24 25 26
    ],
)

cc_library(
M
michael4338 已提交
27 28 29
    name = "h265_decoder",
    srcs = ["h265_decoder.cc"],
    hdrs = ["h265_decoder.h"],
M
michael4338 已提交
30
    deps = [
M
michael4338 已提交
31 32
        "//cyber/common:log",
        "@ffmpeg",
M
michael4338 已提交
33 34 35 36
    ],
)

cpplint()