Lines Matching defs:MyOptIndex
18 enum class MyOptIndex {
31 {"width", required_argument, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_WIDTH)},
32 {"height", required_argument, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_HEIGHT)},
33 {"in", required_argument, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_INPUT)},
34 {"out", required_argument, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_OUTPUT)},
35 {"nocopy", no_argument, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_BUFFER_HANDLE)},
36 {"dma", no_argument, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_DMA_BUFFER)},
37 {"HEVC", no_argument, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_HEVC)},
38 {"help", no_argument, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_HELP)},
39 {nullptr, 0, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_UNKONWN)}
51 MyOptIndex index = (MyOptIndex)c;
53 case MyOptIndex::OPT_INDEX_BUFFER_HANDLE:
56 case MyOptIndex::OPT_INDEX_DMA_BUFFER:
59 case MyOptIndex::OPT_INDEX_HEVC:
62 case MyOptIndex::OPT_INDEX_HELP:
65 case MyOptIndex::OPT_INDEX_INPUT:
68 case MyOptIndex::OPT_INDEX_OUTPUT:
71 case MyOptIndex::OPT_INDEX_WIDTH:
74 case MyOptIndex::OPT_INDEX_HEIGHT: