Skip to content

Commit

Permalink
examples/devpmtest: cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
vs49688 committed Sep 27, 2024
1 parent 53947b5 commit 4665055
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions examples/devpmtest/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -910,16 +910,24 @@ typedef struct br_drawtest {
br_boolean _failed;
} br_drawtest;

#define MAKE_SMPTE_TEST(filename, type, suffix) \
{ \
.name = "SMPTE (" BR_STR(type) suffix ")", .init = smpte_init, .draw = smpte_draw, .fini = smpte_fini, \
.arg = filename, .user_size = sizeof(br_smpte_state), \
#define MAKE_SMPTE_TEST(filename, type, suffix) \
{ \
.name = "SMPTE (" BR_STR(type) suffix ")", \
.init = smpte_init, \
.draw = smpte_draw, \
.fini = smpte_fini, \
.arg = filename, \
.user_size = sizeof(br_smpte_state), \
}

#define MAKE_XBPP_TEST(filename, type, suffix) \
{ \
.name = "XBPP (" BR_STR(type) suffix ")", .init = xbpp_init, .draw = xbpp_draw, .fini = xbpp_fini, \
.arg = filename, .user_size = sizeof(xbpp_state), \
#define MAKE_XBPP_TEST(filename, type, suffix) \
{ \
.name = "XBPP (" BR_STR(type) suffix ")", \
.init = xbpp_init, \
.draw = xbpp_draw, \
.fini = xbpp_fini, \
.arg = filename, \
.user_size = sizeof(xbpp_state), \
}

// clang-format off
Expand Down

0 comments on commit 4665055

Please sign in to comment.