55#include " noctx.hpp"
66
77St20pHandler::St20pHandler (st_tests_context* ctx, FrameTestStrategy* sessionUserData,
8- st20p_tx_ops ops_tx, st20p_rx_ops ops_rx, bool create, bool start)
8+ st20p_tx_ops ops_tx, st20p_rx_ops ops_rx, bool create,
9+ bool start)
910 : Handlers(ctx, sessionUserData) {
1011 if (ops_tx.name == nullptr && ops_rx.name == nullptr ) {
1112 fillSt20Ops ();
@@ -27,7 +28,8 @@ St20pHandler::St20pHandler(st_tests_context* ctx, FrameTestStrategy* sessionUser
2728 }
2829}
2930
30- St20pHandler::St20pHandler (st_tests_context* ctx, st20p_tx_ops ops_tx, st20p_rx_ops ops_rx)
31+ St20pHandler::St20pHandler (st_tests_context* ctx, st20p_tx_ops ops_tx,
32+ st20p_rx_ops ops_rx)
3133 : Handlers(ctx) {
3234 if (ops_tx.name == nullptr && ops_rx.name == nullptr ) {
3335 fillSt20Ops ();
@@ -49,9 +51,9 @@ St20pHandler::~St20pHandler() {
4951}
5052
5153void St20pHandler::fillSt20Ops (uint transmissionPort, uint framebufferQueueSize,
52- enum st20_fmt fmt, uint width, uint height,
53- uint payloadType, enum st_fps fps, bool interlaced,
54- enum st20_packing packing) {
54+ enum st20_fmt fmt, uint width, uint height,
55+ uint payloadType, enum st_fps fps, bool interlaced,
56+ enum st20_packing packing) {
5557 memset (&sessionsOpsTx, 0 , sizeof (sessionsOpsTx));
5658 sessionsOpsTx.name = " st20p_noctx_test_tx" ;
5759 sessionsOpsTx.priv = ctx;
@@ -98,9 +100,9 @@ void St20pHandler::fillSt20Ops(uint transmissionPort, uint framebufferQueueSize,
98100 sessionsOpsRx.interlaced = interlaced;
99101 sessionsOpsRx.framebuff_cnt = framebufferQueueSize;
100102
101-
102103 nsFrameTime = st_frame_rate (fps);
103- if (nsFrameTime == 0 ) nsFrameTime = NS_PER_S / 25 ;
104+ if (nsFrameTime == 0 )
105+ nsFrameTime = NS_PER_S / 25 ;
104106 else
105107 nsFrameTime = NS_PER_S / nsFrameTime;
106108}
@@ -246,7 +248,7 @@ void St20pHandler::startSession(
246248 * SESSION_SKIP_PORT to skip.
247249 */
248250void St20pHandler::setSessionPorts (int txPortIdx, int rxPortIdx, int txPortRedundantIdx,
249- int rxPortRedundantIdx) {
251+ int rxPortRedundantIdx) {
250252 setSessionPortsTx (&(this ->sessionsOpsTx .port ), txPortIdx, txPortRedundantIdx);
251253 setSessionPortsRx (&(this ->sessionsOpsRx .port ), rxPortIdx, rxPortRedundantIdx);
252254}
0 commit comments