\newcommand\bithead[1]{\bitbox[]{#1}{\scriptsize #1}} \newcommand{\colorbitbox}[3]{% \rlap{\bitbox{#2}{\color{#1}\rule{\width}{\height}}}% \bitbox{#2}{#3}} % \begin{figure*} % \centering \begin{tikzpicture} % \begin{scope} % \coordinate (A) at (0cm,0); % \coordinate (B) at (7.73cm,0); % \draw[transform canvas={xshift = -3.5cm, yshift = 0.1cm}, <->] (A) -- (B) node[midway,fill=white] {{Frame 1}}; % \end{scope} % \begin{scope} % \coordinate (A) at (0cm,0); % \coordinate (B) at (7.73cm,0); % \draw[transform canvas={xshift = 0.04cm - 3.5cm + 7.73cm + 0.65cm, yshift = 0.1cm}, <->] (A) -- (B) node[midway,fill=white] {{Frame N}}; % \end{scope} \end{tikzpicture} \begin{bytefield}[bitwidth=20pt]{50} \bitheader{0-31} \\ \colorbitbox{gray!20}{1}{F} & \colorbitbox{gray!60}{6}{NAL Type} & \colorbitbox{gray!20}{6}{Reserved} & \colorbitbox{gray!60}{3}{TIDP} \end{bytefield} % \caption{MRP stream frame-based structure.}\label{fig:mrp-bitstream} % \end{figure*}