# Supporting Immersive Video Streaming via V2X Communication
## 2 Bandwidth Allocation for Diverse Streaming Services in V2X Communication
### Bandwidth Calculation Module for Vehicle Video Applications
\(\overline{pl}^{\
u}\) represents the system-set maximum point density for vehicle passengers, while \(pc^{R}_{pl^{\pi,\pi}_{j}}\) is the required point density for the video set by the vehicle passenger with the level set to \(pl^{\sigma,\pi}\). 1. Increase the point density of VoD PtCI for the user according to the following equation, then return to Step 2. \[ \begin{split} upc^{R}_{t^{\prime,\pi}_{j}}=\left\{\frac{pc^{R}_{pl^ {\pi,\pi}+1}}{\overline{pl}^{\pi}}&\quad if\;ursu_{t^{\prime, \pi}_{j}}>0,\;pl^{\pi,\pi}\leq\overline{pl}^{\pi},\;rt_{c^{\prime}_{t^{\prime}} }\leq t^{\prime,\pi}_{j}\leq rt_{c^{\prime}_{t^{\prime}+1}},\;1\leq j\leq e^{ \pi,\pi},1\leq i<h^{\sigma}\\ &\quad\text{others}\end{split} \right.\] (11)  
\[ \begin{split} dpc^{R}_{t^{\prime,\pi}_{j}}=\left\{\frac{pc^{R}_{pl^ {\pi,\pi}+1}}{\overline{pl}^{\pi}}&\quad if\;dsu_{t^{\prime,\pi} _{j}}>0,\;pl^{\pi,\pi}\leq\overline{pl}^{\pi},\;rt_{c^{\prime}_{t^{\prime}}} \leq t^{\prime,\pi}_{j}\leq rt_{c^{\prime}_{t^{\prime}+1}},\;1\leq j\leq e^{ \pi,\pi},1\leq i<h^{\sigma}\\ &\quad\text{others}\end{split} \right.\end{split} \tag{12}\]  
\[ \begin{split} upc^{E}_{t^{\prime,\pi}_{j}}=\left\{\frac{pc^{E}_{pl^ {\pi,\pi}+1}}{\overline{pl}^{\pi}}&\quad if\;ursu_{t^{\prime, \pi}_{j}}>0,\;pl^{\pi,\pi}\leq\overline{pl}^{\pi},\;rt_{c^{\prime}_{t^{\prime}} }\leq t^{\prime,\pi}_{j}\leq rt_{c^{\prime}_{t^{\prime}+1}},\;1\leq j\leq e^{ \pi,\pi},1\leq i<h^{\sigma}\\ &\quad\text{others}\end{split} \right.\end{split} \tag{13}\]  
\[ \begin{split} dpc^{E}_{t^{\prime,\pi}_{j}}=\left\{\frac{pc^{E}_{pl^ {\pi,\pi}+1}}{\overline{pl}^{\pi}}&\quad if\;dsu_{t^{\prime, \pi}_{j}}>0,\;pl^{\pi,\pi}\leq\overline{pl}^{\pi},\;rt_{c^{\prime}_{t^{\prime}} }\leq t^{\prime,\pi}_{j}\leq rt_{c^{\prime}_{t^{\prime}+1}},\;1\leq j\leq e^{ \pi,\pi},1\leq i<h^{\sigma}\\ &\quad\text{others}\end{split} \right.\end{split} \tag{14}\]  
\[ \begin{split}\text{where }upc^{B}_{t^{\prime,\pi}_{j}} \text{ and }upc^{E}_{t^{\prime,\pi}_{j}}\text{ represent the resolution of the base layer and enhancement layer PtCI uploaded for 6 DoF VoD by the vehicle passenger, respectively. Similarly, \(dpc^{B}_{t^{\prime,\pi}_{j}}\) and \(dpc^{E}_{t^{\prime,\pi}_{j}}\) denote the resolution of the base layer and enhancement layer PtCI downloaded for 6 DoF VoD, respectively. \(\overline{vl}^{\pi}\) represents the system-set maximum resolution for video of vehicle passengers, while \(vl_{\sigma^{\pi,\pi}}\) stands for the bandwidth requirement for video resolution as determined by the vehicle passenger, which is specified at the level specified by \(\kappa^{\sigma,\pi}\).  
1. If the video resolution has not reached the system-set maximum, increase the video resolution and return to Step 2. Otherwise, proceed to Step 10. \[\begin{split} uv\tau^{B}_{t^{\prime,\pi}_{j}}=\left\{\frac{vl^{B}_ {\sigma^{\pi,\pi}+1}}{\overline{pl}^{\pi}}&\quad if\;ursu_{t^{ \prime,\pi}_{j}}>0,\kappa^{\sigma,\pi}\leq\overline{vl}^{\pi},\;rt_{c^{\prime}_{t ^{\prime}}}\leq t^{\sigma,\pi}_{j}\leq rt_{c^{\prime}_{t^{\prime}+1}},\;1\leq j \leq e^{\pi,\pi},1\leq i<h^{\sigma}\\ &\quad\text{others}\end{split}\right.\end{split} \] (15)\[uvr_{t_{j}^{e,\
u}}^{E}= \begin{cases}vl_{o^{e,\
u},+1}^{E}&if\;ursu_{t_{j}^{e,\
u} }>0,\kappa^{e,\
u}\leq\overline{vl}^{\
u},\;rt_{c_{i}^{e}}\leq t_{j}^{e,\
u}\leq rt _{c_{i+1}^{e}},\;1\leq j\leq e^{e,\
u},1\leq i<h^{e}\\ \overline{vl}^{\
u}&\text{others}\end{cases}  \tag{16}\]  
\[dvr_{t_{j}^{e,\
u}}^{B}= \begin{cases}vl_{o^{e,\
u},+1}^{B}&if\;drsu_{t_{j}^{e, \
u}}>0,\kappa^{e,\
u}\leq\overline{vl}^{\
u},\;rt_{c_{i}^{e}}\leq t_{j}^{e,\
u }\leq rt_{c_{i+1}^{e}},\;1\leq j\leq e^{e,\
u},1\leq i<h^{e}\\ \overline{vl}^{\
u}&\text{others}\end{cases}  \tag{17}\]  
\[dvr_{t_{j}^{e,\
u}}^{E}= \begin{cases}vl_{o^{e,\
u},+1}^{E}&if\;drsu_{t_{j}^{e, \
u}}>0,\kappa^{e,\
u}\leq\overline{vl}^{\
u},\;rt_{c_{i}^{e}}\leq t_{j}^{e, \
u}\leq rt_{c_{i+1}^{e}},\;1\leq j\leq e^{e,\
u},1\leq i<h^{e}\\ \overline{vl}^{\
u}&\text{others}\end{cases}