find_most_energetic_window_be[find_most_energetic_window_be()]; find_most_energetic_window_be --> accumulate_be[accumulate_be()]; accumulate_be --> find_most_energetic_window2_be[find_most_energetic_window2_be()]; find_most_energetic_window2_be --> Mpy_lw_sw1[Mpy_lw_sw()]; SelectFinalPitch_be[SelectFinalPitch_be()] --> qsort_be["qsort_be()*
+(* qsort_be() is a recursive function)"]; qsort_be --> swap[swap()]; swap --> ComparePitchFreqDescending_be[ComparePitchFreqDescending_be()]; ComparePitchFreqDescending_be --> ClearPitch_be[ClearPitch_be()]; ClearPitch_be --> GOOD_ENOUGH_H_be[GOOD_ENOUGH_H_be()]; GOOD_ENOUGH_H_be --> CLOSELY_LOCATED_be[CLOSELY_LOCATED_be()]; CLOSELY_LOCATED_be --> Mpy_lw_sw2[Mpy_lw_sw()]; Mpy_lw_sw2 --> BETTER_be[BETTER_be()]; BETTER_be --> IsContinuousPitch_be[IsContinuousPitch_be()]; IsContinuousPitch_be --> Mpy_lw_sw3[Mpy_lw_sw()]; CalculateDoubleWindowDft_be[CalculateDoubleWindowDft_be()] --> classify_frame[classify_frame()];
+```
+
+A dependency graph showing function calls between various be() functions. Nodes include SelectFinalPitch\_be(), qsort\_be()\* (with a note that it is a recursive function), ComparePitchFreqDescending\_be(), ClearPitch\_be(), GOOD\_ENOUGH\_H\_be(), CLOSELY\_LOCATED\_be(), BETTER\_be(), IsContinuousPitch\_be(), CalculateDoubleWindowDft\_be(), classify\_frame(), find\_most\_energetic\_window\_be(), accumulate\_be(), find\_most\_energetic\_window2\_be(), sqrt\_l\_fix(), and Mpy\_lw\_sw().
+
+## 4.5 Variables, constants and tables
+
+The data types of variables and tables used in the fixed point implementation are signed integers in 2's complement representation, defined by:
+
+- **Word16** 16 bit variable;
+- **Word32** 32 bit variable.
+
+### 4.5.1 Description of constants used in the C-code
+
+**Table 5a: Global constants for AFE**
+
+| Constant | Value | Description |
+|----------------------------------|-------------|------------------------------------------------------------------------------|
+| NS_SPEC_ORDER_16K | 64 | Noise suppression Array length |
+| NS_HANGOVER_16K | 15 | Noise suppression hangover count |
+| NS_MIN_SPEECH_FRAME_HANGOVER_16K | 4 | Noise suppression minimum speech frame hangover count |
+| NS_ANALYSIS_WINDOW_16K | 80 | Noise suppression analysis window |
+| PERC_CODED | 0.7 | lambda merge (empirically set constant) |
+| LAMBDA_NSE16K | 0.99 | Noise estimation Lambda |
+| NS_NB_FRAME_THRESHOLD_NSE | 100 | Noise suppression number of frame threshold used for NSE |
+| LENGTH_QMF | 118 | QMF filter length |
+| f24 | 1 | multiplier for QMF filter coefficients |
+| SHFF_H | 8 | shift to get higher value |
+| L_H | 16 | shift to get lower value |
+| HP16K_MEL_USED | 3 | Higher frequency band Mel used |
+| NB_LP_BANDS_CODING | 3 | Lower frequency band used in coding |
+| NE16K_FRAMES_THRESH | 100 | Noise estimation frames threshold |
+| NB_TOPOSTPROC | 12 | Number of coefficients to postprocess |
+| CEP_FRAME_LENGTH | 200 | Frame length for cepstral coefficients |
+| CEP_NB_COEF | 13 | Number of cepstral coefficients (including c0) |
+| CEP_NB_CHANNELS | 23 | Number of filters used for cepstral coefficients |
+| CEP_FFT_LENGTH | 256 | FFT length for cepstral coefficients |
+| FRAME_BUF_SIZE | 241 | Denoised Output buffer size |
+| FRAME_SHIFT | 80 | WaveProcessing input frame shift |
+| FRAME_LENGTH | 200 | WaveProcessing frame size |
+| NS_SPEC_ORDER | 65 | Noise suppression array length (8khz) |
+| NS_BUFFER_SIZE | 180 | Noise suppression past frame size |
+| NS_FRAME_SHIFT | 80 | Noise suppression input frame shift |
+| NS_HALF_FILTER_LENGTH | 8 | Noise suppression filter half size |
+| NS_NB_FRAME_THRESHOLD_LTE | 10 | Noise suppression long term energy forgetting factor threshold (in frames) |
+| NS_NB_FRAME_THRESHOLD_NSE | 100 | Noise suppression spectrum estimate forgetting factor threshold (in frames) |
+| NS_MIN_FRAME | 10 | Number of frame threshold to update average energy for Noise suppression VAD |
+| NS_FFT_LENGTH | 256 | FFT length for noise suppression |
+| WF_MEL_ORDER | 25 | Noise suppression Wiener filter order |
+| SHFT_NOISE | 14 | shift applied to noise spectrum estimate |
+| SHFT_FACT_MUL | 14 | shift applied to gain coefficient (noise suppression gain factorization) |
+| IDCT_ORDER | 25 | Noise suppression idct order |
+| NS_BETA | 0.98 | Noiseless signal suppression factor |
+| NS_RSB_MIN | 0.079432823 | Minimum a priori SNR |
+| NS_LAMBDA_NSE | 0.99 | Forgetting factor for noise spectrum estimate |
+| NS_LOG_SPEC_FLOOR | -10.0 | average energy minimum threshold |
+| NS_SNR_THRESHOLD_VAD | 15 | SNR threshold for noise suppression VAD |
+| NS_SNR_THRESHOLD_UPD_LTE | 20 | Long term energy update threshold for noise suppression VAD |
+| NS_ENERGY_FLOOR | 80 | Energy Minimum threshold for noise suppression VAD |
+| MaxPos | 10 | Maximum number of maxima in waveprocessing |
+| WP_EPS | 0.2 | weighting value added or subtracted for waveprocessing |
+
+**Table 5b: Global constants for VQ**
+
+| Constant | Value | Description |
+|--------------------|---------|----------------------------------------|
+| MIN_PERIOD | 1245184 | Minimum pitch period allowed |
+| MAX_PERIOD | 9175040 | Maximum pitch period allowed |
+| NUM_MULTI_LEVELS_1 | 26 | number of levels in pitch quantization |
+| NUM_MULTI_LEVELS_2 | 24 | number of levels in pitch quantization |
+| UNVOICED_CODE | 0 | init value for Qindex |
+
+**Table 5c: Global constants for Extension**
+
+| Constant | Value | Description |
+|----------------------------|------------|-----------------------------------------------------------|
+| HISTORY_LEN | 100 | History length - past samples for pitch extraction |
+| DOWN_SAMP_FACTOR | 4 | Down-sampling factor - used in computing correlation |
+| NO_OF_DFT_POINTS | 128 | Number of DFT points |
+| BREAK_POINT | 12 | Break point - marks the end of low frequency band |
+| LBN_HIST_WEIGHT | 32440 | Low band noise history weight |
+| LBN_CURR_WEIGHT | 328 | Low band noise current weight (32768 - LBN_HIST_WEIGHT) |
+| LBN_MAX_THR | 124518 | Low band noise maximum threshold |
+| LBN_LOW_ENR_LEVEL_MANT | 32000 | Low band noise low energy level mantissa |
+| LBN_LOW_ENR_LEVEL_SHFT | 22 | Low band noise low energy level shift |
+| RVC_OK | 0 | Return code for success |
+| RVC_ERR | -1 | Return code for unspecified error |
+| RVC_ERR_NOT_ENOUGH_MEMORY | -2 | Return code for not enough memory |
+| RVC_ERR_ILLEGAL_ARGUMENT | -3 | Return code for an illegal input / output argument |
+| RVC_ERR_IO_FAILED | -4 | Return code for failed input / output to a file |
+| RVC_ERR_BAD_FILE_FORMAT | -5 | Return code for a bad file header |
+| RVC_ERR_NOT_INITIALIZED | -6 | Return code for failure due to improper initialization |
+| RVC_ERR_ILLEGAL_USAGE | -7 | Return code for illegal usage of a function |
+| RVC_ERR_NOT_ENOUGH_SAMPLES | -8 | Return code for insufficient number of samples |
+| RVC_ERR_NOT_IMPLEMENTED | -9 | Return code for an unimplemented function |
+| RVC_ERR_FAIL_OPEN_FILE | -10 | Return code for failure to open a file |
+| UB_ENRG_FRAC | 59 | Upper band energy fraction |
+| ZCM_THLD | 87 | Zero crossing measure threshold |
+| SQRT_ONE_HALF | 0x5A82 | Square root of 0.5 (0.707) |
+| FRAME_LEN_DS | 50 | Frame length downsampled (200/4) |
+| FRAME_LEN_DS_BY_2 | 25 | Frame length downsampled divided by 2 |
+| HISTORY_LEN_DS | 25 | History length downsampled (100/4) |
+| WINDOW_LENGTH | 18 | Window length used in computing correlation |
+| INV_WINDOW_LENGTH | 1820 | Inverse of window length (1/18 = 0.05556) |
+| NUM_CHAN | 23 | Number of channels or Mel-frequency bands |
+| MIN_CH_ENRG_MANTISSA | 20000 | Minimum channel energy mantissa |
+| MIN_CH_ENRG_SHIFT | 25 | Minimum channel energy shift |
+| INIT_SIG_ENRG_MANTISSA | 30518 | Initial signal energy mantissa |
+| INIT_SIG_ENRG_SHIFT | 8 | Initial signal energy shift |
+| CE_SM_FAC | 18022 | Channel energy smoothing factor |
+| CE_SM_FAC_COMPL | 14746 | Channel energy smoothing factor complement |
+| CNE_SM_FAC | 3277 | Channel noise energy smoothing factor |
+| CNE_SM_FAC_COMPL | 29491 | Channel noise energy smoothing factor complement |
+| LO_GAMMA | 22938 | Low gamma value |
+| LO_GAMMA_COMPL | 9830 | Low gamma value complement |
+| HI_GAMMA | 29491 | High gamma value |
+| HI_GAMMA_COMPL | 3277 | High gamma value complement |
+| LO_BETA | 31130 | Low beta value |
+| HI_BETA | 32702 | High beta value |
+| INIT_FRAMES | 10 | Initial number of frames (considered to be noise frames) |
+| SINE_START_CHAN | 4 | Sine start channel (for sine wave detection) |
+| PEAK_TO_AVE_THLD | 10 | Peak to average threshold |
+| DEV_THLD | 1523942 | Deviation threshold |
+| HYSTER_CNT_THLD | 9 | Hysteresis count threshold |
+| F_UPDATE_CNT_THLD | 500 | Forced update count threshold |
+| NON_SPEECH_THLD | 32 | Non-speech threshold |
+| FIX_34 | 24576 | (short) (32768.0 * 3.0/4.0) |
+| FIX_18 | 4096 | (short) (32768.0 * 1.0/8.0) |
+| FIX_INVSQRT2 | -23170 | 1 / sqrt(2) |
+| swTHIRD_REF_BANDWIDTH | 85 | One third of the reference bandwidth |
+| swTWO_THIRDS_REF_BANDWIDTH | 171 | Two thirds of the reference bandwidth |
+| MIN_ENERGY_MANTISSA | 25600 | Minimum energy mantissa |
+| MIN_ENERGY_SHIFT | 18 | Minimum energy shift |
+| swREF_SAMPLE_RATE_Q0 | 0x1F40 | Reference sampling rate in Q0 format |
+| swCLOSE_FACTOR_Q14 | 0x4CCD | Closeness factor in Q14 format |
+| swFD_SCORE_THLD1_Q15 | 0x63D7 | Frequency domain score threshold 1 in Q15 format |
+| swFD_SCORE_THLD2_Q15 | 0x570A | Frequency domain score threshold 2 in Q15 format |
+| swCORR_THLD_Q15 | 0x651F | Correlation threshold in Q15 format |
+| swSUM_THLD_Q14 | 0x6667 | Sum threshold in Q14 format |
+| swCRIT0_OFFSET_Q15 | 0x0000170A | Offset for finding a better pitch candidate in Q15 format |
+| swCANDCORR_THLD1_Q15 | 0x799A | Pitch candidate correlation threshold 1 in Q15 format |
+| swCANDCORR_THLD2_Q15 | 0x599A | Pitch candidate correlation threshold 2 in Q15 format |
+| swCANDCORR_THLD3_Q15 | 0x6CCD | Pitch candidate correlation threshold 3 in Q15 format |
+| swCANDAMP_THLD3_Q15 | 0x68F6 | Pitch candidate amplitude threshold 3 in Q15 format |
+| swSTARTFREQ_COEFF | 0x553F | Start frequency coefficient (for candidate search) |
+| swENDFREQ_COEFF | 0x4666 | End frequency coefficient (for candidate search) |
+| DIRICHLET_KERNEL_SPAN | 8 | Dirichlet kernel span (for interpolation) |
+| REF_SAMPLE_RATE | 8000 | Reference sampling rate |
+| REF_BANDWIDTH | 4000 | Reference bandwidth |
+| swTHIRD_REF_BANDWIDTH | 87381333 | One third of the reference bandwidth |
+| swTWO_THIRDS_REF_BANDWIDTH | 174762667 | Two thirds of the reference bandwidth |
+| swCENTER_WEIGHT | 0x5000 | Center weight |
+| swSIDE_WEIGHT | 0x1800 | Side weight |
+| swAMP_SCALE_DOWN1 | 0x5333 | Amplitude scale down factor 1 |
+| swAMP_SCALE_DOWN2 | 0x399A | Amplitude scale down factor 2 |
+| swAMP_SCALE_DOWN2b | 0x7333 | Amplitude scale down factor 2b |
+| swUDIST1 | -4160 | Utility function distance 1 |
+| swUDIST2 | -6400 | Utility function distance 2 |
+| swUSTEP | -16384 | Utility function step |
+| swFREQ_MARGIN1 | 0x4AE1 | Frequency margin 1 |
+| swAMP_MARGIN1 | 0x07AE | Amplitude margin 1 |
+| swAMP_MARGIN2 | 0x07AE | Amplitude margin 2 |
+| MIN_STABLE_FRAMES | 6 | Minimum number of stable frames |
+| MAX_TRACK_GAP_FRAMES | 2 | Maximum pitch track gap frames |
+| swSTABLE_FREQ_UPPER_MARGIN | 0x4E14 | Stable frequency upper margin |
+| swSTABLE_FREQ_LOWER_MARGIN | 0x68EB | Stable frequency lower margin |
+| UNVOICED | 0 | Pitch frequency of an unvoiced frame |
+| swMAX_PITCH_FREQ | 0x01A4000L | Maximum pitch frequency |
+
+| | | |
+|------------------------------------|-------------|-------------------------------------------------------------------------------------------------------------------------------|
+| IWMIN_PITCH_FREQ | 0x00340000L | Minimum pitch frequency |
+| MAX_PITCH_FREQ | 420 | Maximum pitch frequency in Hz |
+| MIN_PITCH_FREQ | 52 | Minimum pitch frequency in Hz |
+| HIGHPASS_CUTOFF_FREQ | 300 | Highpass cut-off frequency in Hz |
+| NO_OF_FRACS | 77 | Number of fractions in the fractions table |
+| IWSHORT_WIN_START_FREQ | 0x00C80000L | Short window start frequency |
+| IWSHORT_WIN_END_FREQ | 0x01A40000 | Short window end frequency |
+| IWSINGLE_WIN_START_FREQ | 0x00640000L | Single window start frequency |
+| IWSINGLE_WIN_END_FREQ | 0x00D20000L | Single window end frequency |
+| IWDOUBLE_WIN_START_FREQ | 0x00340000 | Double window start frequency |
+| IWDOUBLE_WIN_END_FREQ | 0x00780000L | Double window end frequency |
+| MAX_LOCAL_MAXIMA_ON_SPECTRUM | 70 | Maximum number of local maxima on the spectrum |
+| MAX_PEAKS_FOR_SORT | 30 | Maximum number peaks for sorting |
+| MAX_PEAKS_PRELIM | 7 | Maximum number of peaks (preliminary) |
+| MIN_PEAKS | 7 | Minimum number of peaks |
+| MAX_PEAKS_FINAL | 20 | Maximum number of peaks (final) |
+| MAX_PRELIM_CANDS | 4 | Maximum number of preliminary candidates (pitch) |
+| CREATE_PIECEWISE_FUNC_LOOP_LIM_SH | 20 | Create Piecewise function loop limit for short window |
+| CREATE_PIECEWISE_FUNC_LOOP_LIM_SNG | 30 | Create Piecewise function loop limit for single window |
+| CREATE_PIECEWISE_FUNC_LOOP_LIM_DBL | 60 | Create Piecewise function loop limit for double window |
+| swSUM_FRACTION | 0x799A | Sum fraction |
+| swAMP_FRACTION | 0x33F8 | Amplitude fraction |
+| MAX_BEST_CANDS | 2 | Maximum number of best candidates (pitch) |
+| N_OF_BEST_CANDS_SHORT | 2 | Number of best candidates for short window |
+| N_OF_BEST_CANDS_SINGLE | 2 | Number of best candidates for single window |
+| N_OF_BEST_CANDS_DOUBLE | 2 | Number of best candidates for double window |
+| N_OF_BEST_CANDS | 6 | Number of best candidates for all windows |
+| SIZE_SCRATCH_DOPITCH | 1090 | Scratch memory size for DoPitch() function (This is the actual size required. The declared size in C simulation is 1632) |
+| SIZE_SCRATCH_ADVPROCESS | 825 | Scratch memory size for DoAdvProcess() function (This is the actual size required. The declared size in C simulation is 1100) |
+| RVC_PITCH_ROM_SIG | 11031 | Signature for RVC_PITCH_ROM structure |
+| RVC_PITCH_METER_SIG | 21053 | Signature for RVC_PITCH_METER structure |
+
+### 4.5.2 Description of fixed tables used in the C-code
+
+This section contains a listing of all fixed tables sorted by source file name and table name. All table data is declared as **Word16**.
+
+**Table 6a: Fixed tables for AFE**
+
+| File | Table Name | Length | Description |
+|---------------------|--------------------|--------|-----------------------------------------------------------------|
+| 16kHzProcessing_B.c | table_pow2 | 33 | Table for square root |
+| | LambdaNSE2 | 100 | Table used to compute first 100 LambdaNSE |
+| | dp02_h | 59 | MSB of QMF filter coefficients |
+| | dp02_l | 43 | LSB of QMF filter coefficients |
+| PostProc_B.c | targetLMS16 | 12 | Target for blind equalization |
+| ComCeps_B.c | HalfHamming16 | 100 | Hamming window coefficients |
+| | CosMatrix16 | 144 | Inverse cosinus coefficients at 8Khz (not used at 16khz) |
+| | CosMatrix16_16khz | 156 | Inverse cosinus coefficients at 16Khz |
+| | pondMelFilter | 309 | Mel bank coefficients |
+| ff4nrFix16_B.c | tabSin | 64 | Sine table |
+| | tabCos | 64 | Cosine table |
+| MathFunc.c | tblnt0 | 48 | Coefficients for computation of square root |
+| ExtNoiseSup_B.c | lambda_1divX | 20 | Computation of 1/N |
+| | Hann_sh32_hi | 100 | MSB of hanning window coefficients (32 bits) |
+| | Hann_sh32_lo | 100 | LSB of hanning window coefficients (32 bits) |
+| | Hann_sh24_hi | 100 | MSB of hanning window coefficients (24 bits) |
+| | Hann_sh24_lo | 100 | LSB of hanning window coefficients (24 bits) |
+| | pondMelFilterNoise | 157 | Mel-frequency scale coefficients (applied to the Wiener filter) |
+| | idctMel16 | 234 | Mel-warped inverse DCT coefficients |
+| | pondMelFilter16k | 134 | Filter bank coefficients at 16Khz |
+| | M1_LamdaLTE | 8 | Computation of 1/N |
+| | M1_LambdaNSE2 | 100 | Computation of 2/N |
+| | M1_LamdaNSE | 9 | Computation of 1/N |
+| | mlnvLambda16 | 10 | Comutation od 2/N |
+
+**Table 6b: Fixed tables for VQ**
+
+| File | Table Name | Length | Description |
+|-------------|--------------------------|--------|----------------------------------------|
+| coder_VAD.c | quantizer16kHz_0_1 | 128 | vq table |
+| | quantizer16kHz_2_3 | 128 | vq table |
+| | quantizer16kHz_4_5 | 128 | vq table |
+| | quantizer16kHz_6_7 | 128 | vq table |
+| | quantizer16kHz_8_9 | 128 | vq table |
+| | quantizer16kHz_10_11 | 64 | vq table |
+| | quantizer16kHz_12_13 | 512 | vq table |
+| | quantizer8kHz_0_1 | 128 | vq table |
+| | quantizer8kHz_2_3 | 128 | vq table |
+| | quantizer8kHz_4_5 | 128 | vq table |
+| | quantizer8kHz_6_7 | 128 | vq table |
+| | quantizer8kHz_8_9 | 128 | vq table |
+| | quantizer8kHz_10_11 | 64 | vq table |
+| | quantizer8kHz_12_13 | 512 | vq table |
+| | weight16kHz_c0_shift | 1 | vq weights |
+| | weight16kHz_c0_norm | 1 | vq weights |
+| | weight16kHz_logE | 1 | vq weights |
+| | weight8kHz_c0_shift | 1 | vq weights |
+| | weight8kHz_c0_norm | 1 | vq weights |
+| | weight8kHz_logE | 1 | vq weights |
+| | plwQuantLevels[127] | 127*2 | vq tables for pitch/class quantization |
+| | ppplwQuantSections[8][3] | 24*2 | vq tables for pitch/class quantization |
+| | plwQuantLevels[31] | 31*2 | vq tables for pitch/class quantization |
+| | ppplwQuantSections[4][3] | 12*2 | vq tables for pitch/class quantization |
+| | pswRatioThld_1[4][6] | 24 | vq tables for pitch/class quantization |
+| | piMultiLevelIndex[4] | 4 | vq tables for pitch/class quantization |
+| | pswRatioThld_2[4][8] | 32 | vq tables for pitch/class quantization |
+| | piMultiLevelIndex_2[4] | 4 | vq tables for pitch/class quantization |
+| | swAlpha1 | 1 | pitch/class constants |
+| | swAlpha2 | 1 | pitch/class constants |
+
+**Table 6c: Fixed Tables for Extension**
+
+| File | Table name | Length | Description |
+|--------------------|-------------------------|--------|---------------------------------------------------------------|
+| ExtNoiseSup_B.c | pswPePower | 129 | Coefficients to compute the pre-emphasis power spectrum |
+| preProc_B.c | pswHpfCoef | 15 | High pass filter coefficients |
+| preProc_B.c | pswLpfCoef | 15 | Low pass filter coefficients |
+| preProc_B.c | pswLfeCoef | 3 | Low frequency emphasis filter coefficients |
+| dsrAfeVad_B.c | piBurstConst | 20 | Burst length constants for different SNR's |
+| dsrAfeVad_B.c | piHangConst | 20 | Hang length constants for different SNR's |
+| dsrAfeVad_B.c | piVADThld | 20 | VAD voice metric thresholds for different SNR's |
+| dsrAfeVad_B.c | piVMTable | 90 | Voice metric table as a function of SNR index |
+| dsrAfeVad_B.c | piSigThld | 20 | Signal threshold table as a function of SNR |
+| dsrAfeVad_B.c | piUpdateThld | 20 | Update threshold table as a function of SNR |
+| dsrAfeVad_B.c | pswShapeTable | 23 | Spectral shape correction table |
+| fix_mathlib.c | coeff_sqrt5_58 | 5 | Coefficients for computation of square root |
+| fix_mathlib.c | coeff_sqrt5_78 | 5 | Coefficients for computation of square root |
+| rvc_pitch_init_B.h | ROM_astFrac | 312 | Fractions table |
+| rvc_pitch_init_B.h | ROM_pstWindowshiftTable | 514 | Complex exponents table for time shifting in frequency domain |
+| rvc_pitch_init_B.h | ROM_aswDirichletImag | 8 | Imaginary part of the Dirichlet kernel |
+
+### 4.5.3 Static variables used in the C-code
+
+In this section two tables that specify the static variables for the AFE, VQ, and Extension respectively are shown.
+
+#### **Table 7a: AFE static variables**
+
+| Struct Name | Variable | Type[Length] | Description |
+|------------------|--------------------------------|--------------|------------------------------------------------------------------------|
+| QMF_FIR | | | |
+| | lengthQMF | Word32 | QMF Filter length |
+| | *dp_l | Word16 | QMF filter low frequency Coeff |
+| | *dp_h | Word16 | QMF filter high frequency Coeff |
+| | *T | Word16 | Temporary QMF filter buffer |
+| | T_dec | Word16 | Multiplier for T |
+| DataFor16kProc_B | | | |
+| | FrameLength | Word32 | Input Frame length |
+| | FrameShift | Word32 | Shift value for the frame |
+| | numFramesInBuffer | Word32 | Number of frames in buffer |
+| | SamplingFrequency | Word32 | Sampling frequency (8/16) |
+| | Do16kHzProc | BOOLEAN | Flag to enable 16kHz processing |
+| | *hpBands_B | Word32 | Buffer for HP bands |
+| | hpBandsSize | Word32 | hpBands_B buffer size |
+| | CodeForBands16k_B | Word32[9] | HP coding buffer |
+| | bufferCodeForBands16k_B | Word32[27] | buffer used for HP coding |
+| | codeWeights_B | Word16[3] | code Weights buffer |
+| | bufferCodeWeights_B | Word16[9] | buffer used for code Weights |
+| | *pQMF_Fir | QMF_FIR | Pointer to QMF_FIR structure |
+| | *bufferData16k_B | Word32 | temporary buffer to carry QMF LP data |
+| | bufData16kSize | Word32 | 16k data buffer size |
+| | *FirstWindow16k | MelFB_Window | pointer to MelFB_Window structure |
+| | noiseSE16k_B | Word32[3] | noise spectral energy variable |
+| | noise_dec | Word16 | Multiplier for noiseSE16k_B |
+| | BandsForCoding16k_B | Word32[9] | buffer for storing Bands for Coding |
+| | vadCounter16k | Word32 | vad flag counter |
+| | vad16k | Word32 | vad flag |
+| | nbSpeechFrames16k | Word32 | number of speech frames counter |
+| | hangOver16k | Word32 | hang over used for VAD |
+| | meanEn16k | Word32 | mean Energy variable |
+| | nb_frame_threshold_nse | Word32 | threshold NSE for frame |
+| | lambda_nse | Word16 | lambda NSE variable |
+| | *dataHP_B | Word32 | buffer stores QMF HP value |
+| | dec_16k | Word16[5] | Multiplier for dataHP_B buffer |
+| | BFC_dec | Word16[1] | Multiplier for computing bands for coding |
+| | fb16k_dec | Word16[3] | Buffer is used to store multiplier for current and pervious two frames |
+| PostProcStructX | | | |
+| | weightLMS | Word32[12] | Current LMS weight |
+| CompCepsStructX | | | |
+| | FFTLenght | Word32 | FFT size |
+| | Do16kHzProc | Word16 | Flag to enable 16kHz processing |
+| | *pData16k | Word32 | Pointer to data for 16kHz processing |
+| WaveProcStructX | | | |
+| | *TeagerFilter16 | Word32 | Pointer to teager filter |
+| | *TeagerWindow32 | Word32 | Pointer to teager window |
+| | TeagerOnset | Word32 | Unused |
+| | FrameLength | Word32 | Input frame length |
+| ns_var_F | | | |
+| | SampFreq | Word16 | Sampling frequency (8/16) |
+| | Do16kHzProc | Word16 | Flag to enable 16kHz processing |
+| | buffers.nbFramesInFirstStage | Word32 | number of frames in first stage |
+| | buffers.nbFramesInSecondStage | Word32 | number of frames in second stage |
+| | buffers.nbFramesOutSecondStage | Word32 | number of frames out of second stage |
+| | buffers.FirstStageIn16Buffer | Word16[180] | First stage buffer |
+| | buffers.SecondStageInBuffer32 | Word32[180] | Second stage buffer |
+| | buffers.SecondDecalSiq | Word16[4] | Shift factor for each sub-frame of second stage buffer |
+| | prevSamples32.lastSampleIn32 | Word32 | Last input sample of DC offset compensation |
+| | prevSamples32.lastDCOut32 | Word32 | last output sample of DC offset compensation |
+| | prevSamples32.oldShift | Word16 | previous window shift factor of DC offset compensation |
+| | spectrum.indexBuffer1 | Word16 | Where to enter new PSD for first stage, alternatively 0 and 1 |
+| | spectrum.indexBuffer2 | Word16 | Where to enter new PSD for second stage, alternatively 0 and 1 |
+| | spectrum.noiseSE1_32 | Word32[65] | Noise spectrum estimate for first stage |
+| | spectrum.noiseSE1_dec | Word16[65] | Shift factor for Noise spectrum estimate (first stage) |
+| | spectrum.noiseSE2_32 | Word32[65] | Noise spectrum estimate for second stage |
+| | spectrum.noiseSE2_dec | Word16[65] | Shift factor for Noise spectrum estimate (second stage) |
+| | spectrum.PSDMeanAntBuffer1 | Word32[65] | 1st stage PSD Mean buffer for precedent frame |
+| | spectrum.nSigSE1Ant_dec | Word16[65] | Shift factor for PSD Mean buffer for precedent frame (1st stage) |
+| | spectrum.PSDMeanAntBuffer2 | Word32[65] | 2nd stage PSD Mean buffer for precedent frame |
+| | spectrum.nSigSE2Ant_dec | Word16[65] | Shift factor for PSD Mean buffer for precedent frame (2nd stage) |
+| | spectrum.denSigSE1_32 | Word32[65] | 1st stage PSD Mean buffer |
+| | spectrum.nSigSE1Cur_dec | Word16[65] | Shift factor for PSD Mean buffer (1st stage) |
+| | spectrum.denSigSE2_32 | Word32[65] | 2nd stage PSD Mean buffer |
+| | spectrum.nSigSE2Cur_dec | Word16[65] | Shift factor for PSD Mean buffer (2nd stage) |
+| | vad_data_ns_F.nbFrame | Word16[2] | Number of frames (for the 2 stages) |
+| | vad_data_ns_F.flagVAD | Word16 | Vad Flag (1 = SPEECH, 0 = NON SPEECH) |
+| | vad_data_ns_F.hangOver | Word16 | hangover |
+| | vad_data_ns_F.nbSpeechFrames | Word16 | Number of speech frames (used to set hangover) |
+| | vad_data_ns_F.meanEn32 | Word32 | Mean energy for VAD |
+| | vad_data_ca.flagVAD | Word16 | Vad Flag (1 = SPEECH, 0 = NON SPEECH) |
+| | vad_data_ca.hangOver | Word16 | hangover |
+| | vad_data_ca.nbSpeechFrames | Word16 | Number of speech frames (used to set hangover) |
+| | vad_data_ca.meanEn32 | Word32 | Mean energy for VAD |
+| | vad_data_fd.MelMean | Word16 | SpeechQMel (for frame dropping) |
+| | vad_data_fd.VarMean | Word32 | SpeechQVar (for frame dropping) |
+| | vad_data_fd.AccTest | Word32 | SpeechQSpec (for frame dropping) |
+| | vad_data_fd.AccTest2 | Word32 | |
+
+| | | | |
+|--------------|---------------------------|--------------|--------------------------------------------------|
+| | vad_data_fd.SpecMean | Word32 | SpecMean (for frame dropping) |
+| | vad_data_fd.MelValues | Word16[2] | SpeechQMel (for frame dropping) |
+| | vad_data_fd.SpecValues | Word32 | SpeechQSpec (for frame dropping) |
+| | vad_data_fd.SpeechInVADQ | Word16 | Flag (for frame dropping) |
+| | vad_data_fd.SpeechInVADQ2 | Word16 | Flag (for frame dropping) |
+| | gainFact.logDenEn1_32 | Word32[3] | Denoise frame energy for gain factorization |
+| | gainFact.lowSNRtrack32 | Word32 | Low SNR level for gain factorization |
+| | gainFact. alfaGF16 | Word16 | Wiener filter gain factorization coefficient |
+| VADStructX_F | | | |
+| | Focus | Word16 | Position of circular buffe |
+| | HangOver | Word16 | Hangover length |
+| | FlushFocus | Word16 | Position in circular buffer when emptying at end |
+| | H_CountDown | Word16 | Main hangover countdown |
+| | V_CountDown | Word16 | Short hangover countdown |
+| | **OutBuffer | Word32 | outBuffer pointer pointer |
+| | *OutBuffer | Word32[7] | outBuffer pointer |
+| | OutBuffer | Word16[7x15] | outBuffer |
+
+Table 7b: VQ static variables
+
+| Struct Name | Variable | Type [Length] | Description |
+|-------------|-----------------|---------------|------------------------------------------|
+| coder_VAD.c | four_frames[27] | Word16[27] | Previous frames used to build multiframe |
+| | plwQPHistory[3] | Word32[3] | History of Pitch |
+| | lReliableFlag | Word16 | Pitch reliability flag |
+
+**Table 7c: Extension static variables**
+
+| Struct Name | Variable | Type[Length] | Description |
+|----------------|--------------------------|--------------|--------------------------------------------|
+| | iFirstFrameFlag | Word16 | First frame flag |
+| | pswUBSpeech | Word16[200] | Upper band speech |
+| | pswDownSampledProcSpeech | Word16[75] | Down-sampled processed speech |
+| | lwCritMax | Word32 | Maximum power ratio |
+| | iOldPitchPeriod | Word16 | Old pitch period value |
+| | iOldFrameNo | Word16 | Old frame number |
+| PCORR_STATE_be | s_be | | |
+| | lwX1_X1 | Word32 | X1*X1 |
+| | lwZ1_Z1 | Word32 | Z1*Z1 |
+| | lwZ2_Z2 | Word32 | Z2*Z2 |
+| | lwX1_Z1 | Word32 | X1*Z1 |
+| | lwX1_Z2 | Word32 | X1*Z2 |
+| | lwZ1_Z2 | Word32 | Z1*Z2 |
+| | swX1_Sum | Word16 | Sum of X1 |
+| | swZ1_Sum | Word16 | Sum of Z1 |
+| | swZ2_Sum | Word16 | Sum of Z2 |
+| | iBurstConst | Word16 | Burst constant |
+| | iBurstCount | Word16 | Burst count |
+| | iHangConst | Word16 | Hang constant |
+| | iHangCount | Word16 | Hang count |
+| | iVADThld | Word16 | VAD threshold |
+| | iFrameCount | Word16 | Frame count |
+| | iUpdateFlag | Word16 | Forced update flag |
+| | iHysterCount | Word16 | Hysteresis count |
+| | iLastUpdateCount | Word16 | Last update count |
+| | iSigThld | Word16 | Signal threshold |
+| | iUpdateCount | Word16 | Update count |
+| | iChanEnrgShift | Word16 | Channel energy shift |
+| | iChanNoiseEnrgShift | Word16 | Channel noise energy shift |
+| | pswChanEnrg | Word16[23] | Channel energy |
+| | pswChanNoiseEnrg | Word16[23] | Channel noise energy |
+| | swBeta | Word16 | Beta value |
+| | swSnr | Word16 | SNR value |
+| NormSw | pnsLogSpecEnrgLong | | |
+| | swMantissa | Word16[23] | Mantissa |
+| | iShift | Word16[23] | Shift |
+| | swC0 | Word16 | C0 value |
+| | swC1 | Word16 | C1 value |
+| | swC2 | Word16 | C2 value |
+| | pswHpFXState | Word16[6] | High pass filter input state |
+| | pswHpFYState | Word16[12] | High pass filter output state |
+| | pswLpFXState | Word16[6] | Low pass filter input state |
+| | pswLpFYState | Word16[12] | Low pass filter output state |
+| | pswLfeXState | Word16 | Low frequency emphasis filter input state |
+| | pswLfeYState | Word16[2] | Low frequency emphasis filter output state |
+
+# --- 5 File formats
+
+This section describes the file formats used by the AFE, VQ & Extension programs.
+
+## 5.1 Speech file
+
+Speech files read by the X-AFE and written by the Extension consist of 16-bit words. The byte order depends on the host architecture (e.g. MSByte first on SUN workstations, LSByte first on PCs etc)
+
+# Annex A (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|-------|-----------|------|-----|-------------------------------------------------------------------------------------------|--------|--------|
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2004-06 | 24 | SP-040343 | | | Version 6.0.0 approved at 3GPP TSG SA#24 | 2.0.0 | 6.0.0 |
+| 2004-12 | 26 | SP-040837 | 001 | 1 | Software bug correction: Removal of Basicops simulation of "C" shift operator | 6.0.0 | 6.1.0 |
+| 2004-12 | 26 | SP-040837 | 002 | 1 | Software bug correction: Initialization of the variables lwc and i2aScale | 6.0.0 | 6.1.0 |
+| 2004-12 | 26 | SP-040837 | 003 | 1 | Software bug correction: Wrong assignment of the variables *piReliableFlag and *pcQPIndex | 6.0.0 | 6.1.0 |
+| 2004-12 | 26 | SP-040837 | 004 | 2 | Software bug correction: Use of incorrect variable fRefPeriod instead of iRefPeriod | 6.0.0 | 6.1.0 |
+| 2004-12 | 26 | SP-040837 | 005 | | Add reference to test sequences document | 6.0.0 | 6.1.0 |
+| 2007-06 | 26 | | | | Version for Release 7 | 6.1.0 | 7.0.0 |
+| 2008-12 | 42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
+| 2013-12 | 62 | SP-130568 | 0006 | | Correction to references | 11.0.0 | 11.1.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26244/124c6108c63173818afb8ed49521e22d_img.jpg b/marked/Rel-11/26_series/26244/124c6108c63173818afb8ed49521e22d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9cb428ed757fbbb399c95e6e8b1f6bb4fa303aeb
--- /dev/null
+++ b/marked/Rel-11/26_series/26244/124c6108c63173818afb8ed49521e22d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e6a12816c74be85f22778a259165be645e58e00926f33d02f89c1aaf0020f6c1
+size 35881
diff --git a/marked/Rel-11/26_series/26244/raw.md b/marked/Rel-11/26_series/26244/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..f41865d4ab717e727cb3d6a88cfc188b218ab41e
--- /dev/null
+++ b/marked/Rel-11/26_series/26244/raw.md
@@ -0,0 +1,2439 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|------------------------------------------------------------|----|
+| Foreword ..... | 6 |
+| Introduction ..... | 6 |
+| 1 Scope..... | 7 |
+| 2 References..... | 7 |
+| 3 Definitions and abbreviations ..... | 9 |
+| 3.1 Definitions..... | 9 |
+| 3.2 Abbreviations ..... | 9 |
+| 4 Overview..... | 10 |
+| 5 Conformance..... | 10 |
+| 5.1 General ..... | 10 |
+| 5.2 Definition ..... | 10 |
+| 5.2.1 Limitations to the ISO base media file format ..... | 10 |
+| 5.2.2 Registration of codecs ..... | 10 |
+| 5.2.3 Extensions..... | 11 |
+| 5.2.4 MPEG-4 systems specific elements ..... | 11 |
+| 5.2.5 Template fields ..... | 11 |
+| 5.2.6 Interpretation of the 3GPP file format..... | 11 |
+| 5.3 Identification ..... | 11 |
+| 5.3.1 General ..... | 11 |
+| 5.3.2 File extension..... | 11 |
+| 5.3.3 MIME types..... | 11 |
+| 5.3.4 Brands..... | 11 |
+| 5.4 Profiles ..... | 12 |
+| 5.4.1 General ..... | 12 |
+| 5.4.2 General profile..... | 12 |
+| 5.4.3 Basic profile..... | 12 |
+| 5.4.4 Streaming-server profile..... | 13 |
+| 5.4.5 Progressive-download profile..... | 13 |
+| 5.4.6 Extended-presentation profile..... | 14 |
+| 5.4.7 Media Stream Recording profile ..... | 14 |
+| 5.4.8 File-delivery server profile..... | 14 |
+| 5.4.9 Adaptive-Streaming profile ..... | 15 |
+| 5.4.10 Media Segment Profile ..... | 15 |
+| 5.5 File-branding guidelines..... | 15 |
+| 6 Codec registration ..... | 18 |
+| 6.1 General ..... | 18 |
+| 6.2 Sample Description box ..... | 18 |
+| 6.3 MP4VisualSampleEntry box..... | 19 |
+| 6.4 MP4AudioSampleEntry box ..... | 20 |
+| 6.5 AMRSampleEntry box..... | 21 |
+| 6.6 H263SampleEntry box ..... | 22 |
+| 6.7 AMRSpecificBox field for AMRSampleEntry box..... | 23 |
+| 6.8 H263SpecificBox field for H263SampleEntry box ..... | 24 |
+| 6.9 AMRWPSampleEntry box..... | 26 |
+| 6.10 AMRWPSpecificBox field for AMRWPSampleEntry box ..... | 27 |
+| 7 Streaming-server extensions ..... | 27 |
+| 7.1 General ..... | 27 |
+| 7.2 Groupings of alternative tracks ..... | 28 |
+| 7.2.1 Alternate group ..... | 28 |
+| 7.2.2 Switch group..... | 28 |
+| 7.3 Track Selection box..... | 28 |
+| 7.4 Combining alternative tracks ..... | 29 |
+| 7.5 SDP..... | 29 |
+| 7.5.1 Session- and media-level SDP..... | 29 |
+
+| | | |
+|-----------------------------|-----------------------------------------------------------|-----------|
+| 7.5.2 | Stored versus generated SDP fields..... | 29 |
+| 7.5.3 | SDP attributes for alternatives..... | 31 |
+| 7.6 | SRTP ..... | 31 |
+| 7.7 | Aggregated RTP payloads..... | 32 |
+| 8 | Asset information..... | 33 |
+| 8.1 | General ..... | 33 |
+| 8.2 | 3GPP asset meta data ..... | 33 |
+| 8.3 | ID3 version 2 meta data ..... | 39 |
+| 9 | Video buffer information ..... | 40 |
+| 9.1 | General ..... | 40 |
+| 9.2 | Sample groupings for video-buffer parameters..... | 40 |
+| 9.2.1 | 3GPP PSS Annex G sample grouping..... | 41 |
+| 9.2.2 | AVC HRD sample grouping ..... | 42 |
+| 9a | Stereoscopic 3D video ..... | 43 |
+| 9a.1 | General ..... | 43 |
+| 9a.2 | Frame compatible H.264/AVC ..... | 43 |
+| 9a.3 | Multiview Video Coding MVC..... | 44 |
+| 9a.4 | Mixed 2D/3D video..... | 44 |
+| 9a.5 | MIME type signaling for 3D stereoscopic video files ..... | 44 |
+| 10 | Encryption..... | 44 |
+| 10.1 | General ..... | 44 |
+| 10.2 | Sample entries for encrypted media tracks ..... | 44 |
+| 10.3 | Key management..... | 45 |
+| 11 | Extended presentation format ..... | 46 |
+| 11.1 | General ..... | 46 |
+| 11.2 | Storage format..... | 47 |
+| 11.3 | URL forms for items and tracks..... | 47 |
+| 11.4 | Examples..... | 47 |
+| 11.4.1 | SMIL presentation ..... | 47 |
+| 11.4.2 | DIMS presentation..... | 48 |
+| 12 | Media Stream Recording ..... | 49 |
+| 12.1 | Unprotected Stream Recording ..... | 49 |
+| 12.2 | Protected Stream recording ..... | 49 |
+| 12.2.1 | Key message tracks ..... | 49 |
+| 12.2.2 | Protection Description ..... | 49 |
+| 12.3 | SDP..... | 49 |
+| 13 | HTTP streaming extensions..... | 50 |
+| 13.1 | Introduction ..... | 50 |
+| 13.2 | Segment types ..... | 50 |
+| 13.3 | Track Fragment Adjustment Box..... | 50 |
+| 13.4 | Segment Index Box ..... | 51 |
+| 13.5 | Track Fragment Decode Time Box..... | 53 |
+|
Annex A (normative): |
MIME Type Registrations for 3GP files ..... |
55 |
+| A.1 | MIME Types ..... | 55 |
+| A.1.1 | General ..... | 55 |
+| A.1.2 | Files with audio but no visual content..... | 55 |
+| A.1.3 | Any files ..... | 56 |
+| A.1.4 | video/vnd.3gpp.segment..... | 56 |
+| A.2 | Optional parameters ..... | 58 |
+| A.2.1 | General ..... | 58 |
+| A.2.2 | Codecs parameter..... | 58 |
+| A.2.3 | Types parameter..... | 59 |
+
+A.3 Security considerations ..... 59
+
+Annex B (informative): Change history..... 60
+
+# --- Foreword
+
+This Technical Specification has been produced by the 3
rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+The 3GPP transparent end-to-end packet-switched streaming service (PSS) specification consists of seven 3GPP TSs: 3GPP TS 22.233 [1], 3GPP TS 26.233 [2], 3GPP TS 26.234 [3], 3GPP TS 26.245 [4], 3GPP TS 26.246 [5], 3GPP TS 26.247 [49] and the present document.
+
+The TS 22.233 contains the service requirements for the PSS. The TS 26.233 provides an overview of the PSS. The TS 26.234 provides the details of protocol and codecs used by the PSS. The TS 26.245 defines the Timed text format used by the PSS. The TS 26.246 defines the 3GPP SMIL language profile. The 3GPP TS 26.247 defines Progressive Download and Dynamic Adaptive Streaming over HTTP. The present document defines the 3GPP file format (3GP) used by the PPS and MMS services.
+
+The TS 26.244 (present document), TS 26.245 and TS 26.246 started with Release 6. Earlier releases of the 3GPP file format, the Timed text format and the 3GPP SMIL language profile can be found in TS 26.234. The 3GPP TS 26.247 started with Release-10. Earlier releases of the Adaptive HTTP Streaming can be found in 3GPP TS 26.234.
+
+# --- Introduction
+
+A file format contains data in a structured way. The 3GPP file format can contain timing, structure and media data for multimedia streams. It is used by MMS, PSS and MBMS for timed visual and aural multimedia.
+
+# --- 1 Scope
+
+The present document defines the 3GPP file format (3GP) as an instance of the ISO base media file format. The definition addresses 3GPP specific features such as codec registration and conformance within the MMS, PSS and MBMS services.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+ - For a specific reference, subsequent revisions do not apply.
+ - For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+- [1] 3GPP TS 22.233: "Transparent End-to-End Packet-switched Streaming Service; Stage 1".
+- [2] 3GPP TS 26.233: "Transparent end-to-end packet switched streaming service (PSS); General description".
+- [3] 3GPP TS 26.234: "Transparent end-to-end packet switched streaming service (PSS); Protocols and codecs".
+- [4] 3GPP TS 26.245: "Transparent end-to-end packet switched streaming service (PSS); Timed text format".
+- [5] 3GPP TS 26.246: "Transparent end-to-end packet switched streaming service (PSS); 3GPP SMIL Language Profile".
+- [6] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [7] ISO/IEC 14496-12:2012 | 15444-12:2012: "Information technology - Coding of audio-visual objects - Part 12: ISO base media file format" | "Information technology - JPEG 2000 image coding system - Part 12: ISO base media file format".
+- [8] 3GPP TS 26.140: "Multimedia Messaging Service (MMS); Media formats and codecs".
+- [9] ITU-T Recommendation H.263 (01/05): "Video coding for low bit rate communication".
+- [10] ISO/IEC 14496-2:2004: "Information technology – Coding of audio-visual objects – Part 2: Visual".
+- [11] 3GPP TS 26.071: "Mandatory Speech CODEC speech processing functions; AMR Speech CODEC; General description".
+- [12] 3GPP TS 26.171: "AMR Wideband Speech Codec; General Description".
+- [13] ISO/IEC 14496-3:2005: "Information technology – Coding of audio-visual objects – Part 3: Audio".
+- [14] ISO/IEC 14496-14:2003: "Information technology – Coding of audio-visual objects – Part 14: MP4 file format".
+- [15] IETF RFC 4867: " RTP Payload Format and File Storage Format for the Adaptive Multi-Rate (AMR) Adaptive Multi-Rate Wideband (AMR-WB) Audio Codecs", Sjoberg J. et al., April 2007.
+- [16] 3GPP TS 26.101: "Mandatory Speech Codec speech processing functions; Adaptive Multi-Rate (AMR) speech codec frame structure".
+
+- [17] 3GPP TS 26.201: "Speech Codec speech processing functions; AMR Wideband Speech Codec; Frame Structure".
+- [18] void
+- [19] IETF RFC 3711: "The Secure Real-time Transport Protocol", Baugher M. et al., March 2004.
+- [20] ISO/IEC 14496-15: 2010: "Information technology – Coding of audio-visual objects – Part 15: Advanced Video Coding (AVC) file format".
+- [21] 3GPP TS 26.290: "Extended AMR Wideband codec; Transcoding functions".
+- [22] void
+- [23] 3GPP TS 26.401: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; General description".
+- [24] 3GPP TS 26.410: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; Floating-point ANSI-C code".
+- [25] 3GPP TS 26.411: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; Fixed-point ANSI-C code".
+- [26] void
+- [27] IETF RFC 3839: "MIME Type Registrations for 3
rd Generation Partnership Project (3GPP) Multimedia files", Castagno R. and Singer D., July 2004.
+- [28] IETF RFC 4396: "RTP Payload Format for 3rd Generation Partnership Project (3GPP) Timed Text", Rey J. and Matsui Y., February 2006.
+- [29] ITU-T Recommendation H.264 (03/2009): "Advanced video coding for generic audiovisual services" | ISO/IEC 14496-10:2009: "Information technology - Coding of audio-visual objects - Part 10: Advanced Video Coding".
+- [30] IETF RFC 3984: "RTP Payload Format for H.264 Video", Wenger S. et al, February 2005.
+- [31] IETF RFC 4234: "Augmented BNF for Syntax Specifications: ABNF", Crocker D. and Overell P., October 2005.
+- [32] MP4REG, MP4 Registration Authority, [www.mp4ra.org](http://www.mp4ra.org).
+- [33] ID3v2,
.
+- [34] IETF RFC 6381: "The 'Codecs' and 'Profiles' Parameters for ``Bucket'' Media Types", Gellens R., Singer D. and Frojdih P., August 2011.
+- [35] IETF RFC 4648: "The Base16, Base32, and Base64 Data Encodings", Josefsson S., October 2006.
+- [36] 3GPP TS 26.142: "Dynamic and Interactive Multimedia Scene".
+- [37] Open Mobile Alliance: "DRM Specification 2.0".
+- [38] ISO/IEC 14496-12:2008/PDAM1: "Part 12: ISO base media file format/AMENDMENT 1: General improvements including hint tracks, metadata support, and sample groups".
+- [39] 3GPP TS 33.246: "Security of Multimedia Broadcast/Multicast Service (MBMS)".
+- [40] 3GPP TS 26.346: "Multimedia Broadcast/Multicast Service (MBMS); Protocols and codecs".
+- [41] Void
+- [42] IETF RFC 4288: "Media Type Specifications and Registration Procedures", Freed N. and Klensin J., December 2005.
+- [43] IETF RFC 5322: "Internet Message Format", Resnick, P. October 2008.
+
+- [44] IETF RFC 5234: "Augmented BNF for Syntax Specifications: ABNF", Crocker D., Overell, P., January 2008.
+- [45] IETF RFC 2045: "Multipart Internet Mail Extensions, (MIME) Part One: Format of Internet Message Bodies", Freed, N., Borenstein, N., November 1996.
+- [46] IETF RFC 3926: "FLUTE - File Delivery over Unidirectional Transport", Paila T., Luby M., Lehtonen R., Roca V., and Walsh R., October 2004.
+- [47] ISO/IEC 14496-15/Amd 1:2006: "Information technology – Coding of audio-visual objects – Part 15: Advanced Video Coding (AVC) file format – Amendment 1: Support of FRExt".
+- [48] IETF RFC 2616: "Hypertext Transfer Protocol – HTTP/1.1", Fielding R. et al., June 1999.
+- [49] 3GPP TS 26.247: "Transparent end-to-end Packet-switched Streaming Service (PSS); Progressive Download and Dynamic Adaptive Streaming over HTTP (3GP-DASH)".
+
+# 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the following terms and definitions apply:
+
+**continuous media:** media with an inherent notion of time. In the present document speech, audio, video, timed text and DIMS
+
+**discrete media:** media that itself does not contain an element of time. In the present document all media not defined as continuous media
+
+**PSS client:** client for the 3GPP packet switched streaming service based on the IETF RTSP/SDP and/or HTTP standards, with possible additional 3GPP requirements according to [3]
+
+**PSS server:** server for the 3GPP packet switched streaming service based on the IETF RTSP/SDP and/or HTTP standards, with possible additional 3GPP requirements according to [3]
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the abbreviations given in 3GPP TR 21.905 [6] and the following apply.
+
+| | |
+|------------------|-------------------------------------------------------------|
+| 3GP | 3GPP file format |
+| AAC | Advanced Audio Coding |
+| AMR-WB+ | Extended Adaptive Multi-Rate Wideband Codec |
+| AVC | Advanced Video Coding |
+| ADU | Application Data Unit |
+| BIFS | Binary Format for Scenes |
+| DIMS | Dynamic and Interactive Multimedia Scenes |
+| Enhanced aacPlus | MPEG-4 High Efficiency AAC plus MPEG-4 Parametric Stereo |
+| FLUTE | File Delivery over Unidirectional Transport |
+| HTTP | HyperText Transport Protocol |
+| ITU-T | International Telecommunications Union – Telecommunications |
+| MIKEY | Multimedia Internet KEYing |
+| MIME | Multipurpose Internet Mail Extensions |
+| MMS | Multimedia Messaging Service |
+| MP4 | MPEG-4 file format |
+| MPD | Media Presentation Description |
+| PSS | Packet-switched Streaming Service |
+| RAP | Random Access Point |
+| RTP | Real-time Transport Protocol |
+| RTSP | Real-Time Streaming Protocol |
+| SDP | Session Description Protocol |
+| SRTP | Secure Real-time Transport Protocol |
+| URL | Uniform Resource Locator |
+
+# --- 4 Overview
+
+The 3GPP file format (3GP) is defined in this specification as an instance of the ISO base media file format [7]. 3GP is mandated in [8] to be used for continuous media along the entire delivery chain envisaged by the MMS, independent of whether the final delivery is done by streaming or download, thus enhancing interoperability.
+
+In particular, the following stages are considered:
+
+- upload from the originating terminal to the MMS proxy;
+- file exchange between MMS servers;
+- transfer of the media content to the receiving terminal, either by file download or by streaming. In the first case the self-contained file is transferred, whereas in the second case the content is extracted from the file and streamed according to open payload formats. In this case, no trace of the file format remains in the content that goes on the wire/in the air.
+
+For the PSS, the 3GPP file format is mandated in [3] to be used for timed text and it should be supported by PSS servers; 3GP files with streaming-server extensions should be used for storage in streaming servers and the "hint track" mechanism should be used for the preparation for streaming. For Adaptive HTTP Streaming, HTTP streaming extensions are defined.
+
+# --- 5 Conformance
+
+## 5.1 General
+
+The 3GPP file format is structurally based on the ISO base media file format defined in [7]. However, the conformance statement for 3GP files is defined here by addressing constraints and extensions to the ISO base media file format, registration of codecs, file identification (file extension, brand identifier and MIME type) and profiles. If a 3GP file contains codecs or functionalities not conforming to this specification they may be ignored, i.e. a 3GP compliant file parser may ignore non-compliant boxes.
+
+## 5.2 Definition
+
+### 5.2.1 Limitations to the ISO base media file format
+
+The following limitation to the ISO base media file format [7] shall apply to a 3GP file:
+
+- compact sample sizes ('stz2') shall not be used for tracks containing H.263, MPEG-4 video, AMR, AMR-WB, AAC or Timed text.
+
+NOTE: The extended presentation format (see clause 11) is defined by using the Meta box of the ISO base media file format [7] that was not present in the first edition. Hence, extended presentations in 3GP files are explicitly signalled via the Extended-presentation profile (see clause 5.4.6).
+
+### 5.2.2 Registration of codecs
+
+Code streams for H.263 video [9], MPEG-4 video [10], H.264 (AVC) video [29], AMR narrow-band speech [11], AMR wide-band speech [12], Extended AMR wide-band audio [21], Enhanced aacPlus audio [23, 24, 25], MPEG-4 AAC audio [13], and timed text [4] can be included in 3GP files as described in clause 6 of the present document.
+
+### 5.2.3 Extensions
+
+The following extensions to the ISO base media file format [7] can be used in a 3GP file:
+
+- streaming-server extensions (see clause 7);
+- asset information (see clause 8);
+- video-buffer information (see clause 9);
+
+- AVC file format (see [20] [47]);
+- RTP and RTCP reception hint tracks (see [38]);
+- SRTP and SRTCP reception hint tracks with key management information for SRTP recordings (see [38] and clause 12).
+
+If SDP information is included in a 3GP file, it shall be used as defined by the streaming-server extensions.
+
+### 5.2.4 MPEG-4 systems specific elements
+
+For the storage of MPEG-4 media specific information in 3GP files, this specification refers to MP4 [14] and the AVC file format [20] [47], which are also based on the ISO base media file format. However, tracks relative to MPEG-4 system architectural elements (e.g. BIFS scene description tracks or OD Object descriptors) are optional in 3GP files and shall be ignored. The inclusion of MPEG-4 media does not imply the usage of MPEG-4 systems architecture. Terminals and servers are not required to implement any of the specific MPEG-4 system architectural elements.
+
+### 5.2.5 Template fields
+
+The ISO base media file format [7] defines the concept of template fields that may be used by derived file formats. The template field “alternate group” can be used in 3GP files, as defined in clause 7.2. No other template fields are used.
+
+### 5.2.6 Interpretation of the 3GPP file format
+
+All index numbers used in the 3GPP file format start with the value one rather than zero, in particular “first-chunk” in Sample to chunk box, “sample-number” in Sync sample box and “shadowed-sample-number”, “sync-sample-number” in Shadow sync sample box.
+
+## 5.3 Identification
+
+### 5.3.1 General
+
+3GP files can be identified using several mechanisms: file extension, MIME types and brands.
+
+### 5.3.2 File extension
+
+When stored in traditional computer file systems, 3GP files should be given the file extension '.3gp'. Readers should allow mixed case for the alphabetic characters.
+
+### 5.3.3 MIME types
+
+The MIME types 'video/3gpp' (for visual or audio/visual content, where visual includes both video and timed text) and 'audio/3gpp' (for purely audio content) shall be used as defined in [27].
+
+### 5.3.4 Brands
+
+This specification defines several brand identifiers corresponding to the profiles defined in clause 5.4. Brands are indicated in a file-type box, defined in [7], which shall be present in conforming files. The fields of the file-type box shall be used as follows:
+
+- Brand: Identifies the ‘best use’ of the file and should match the file extension. For files with extension '.3gp' and conforming to this specification, the brand shall be one of the profile brands defined in clause 5.4.
+- MinorVersion: This identifies the minor version of the brand. For files with brand '3gLZ', where L is a letter and Z a digit, and conforming to version Z.x.y of this specification, this field takes the value $x*256 + y$ .
+- CompatibleBrands: a list of brand identifiers (to the end of the box). Any profile of a 3GP file is declared by including the corresponding brand from clause 5.4 in this list.
+
+The brand identifier (of one of the profiles) must occur in the compatible-brands list, and may also be the primary brand. Conformance to more than one profile is indicated by listing the corresponding brands in the compatible-brands list. If the file is also conformant to earlier releases of this specification, it is recommended that the corresponding brands ('3gp4', '3gp5', '3gp6', '3gp7' and/or '3gp8') also occur in the compatible-brands list. If, for instance, '3gp4' is not
+
+in the compatible-brands list, then the file will not be processed by a Release 4 reader. Readers should check the compatible-brands list for the identifiers they recognize, and not rely on the file having a particular primary brand, for maximum compatibility. Files may be compatible with more than one brand, and have a 'best use' other than this specification, yet still be compatible with this specification.
+
+## 5.4 Profiles
+
+### 5.4.1 General
+
+All 3GP files of this release shall conform to the general definitions in clauses 5.1-5.3. Additional profile-specific constraints are listed below. A 3GP file must conform to at least one profile and may conform to several profiles.
+
+### 5.4.2 General profile
+
+The 3GP General profile is branded '3gg9' and is a superset of all other profiles. It is used to identify 3GP files conformant to this specification, although they may not conform to any of the specific profiles listed below.
+
+NOTE: The General profile of 3GP has fewer restrictions than other profiles and is suitable for files not yet ready to be delivered by MMS or to be streamed by a PSS server. A General 3GP file may for instance contain several alternative tracks of media. After extracting a suitable set of tracks the file may be ready for MMS and can be re-profiled as a Basic file. Alternatively, by adding streaming-server extensions, it may be re-profiled as a Streaming-server profile.
+
+### 5.4.3 Basic profile
+
+The 3GP Basic profile is branded '3gp9'.
+
+The following constraints shall apply to a 3GP file conforming to Basic profile:
+
+- there shall be no references to external media outside the file, i.e. a file shall be self-contained;
+- the maximum number of tracks shall be one for video (or alternatively one for scene description), one for audio and one for text;
+- the maximum number of sample entries shall be one per track for video and audio (but unrestricted for text and scene description);
+- there shall be no references between tracks, e.g., a scene description track shall not refer to a media track since all tracks are on equal footing and played in parallel by a conforming player.
+
+NOTE 1: The Basic profile of 3GP in Release 6 or higher corresponds to 3GP files of earlier releases, which did not define profiles.
+
+NOTE 2: In order to maintain backward compatibility with Release 4 and Release 5, it is not recommended to use movie fragments in 3GP files for MMS.
+
+NOTE 3: For H.264 (AVC) video in a Basic profile 3GP file, the restriction on the number of video tracks implies in particular that there shall be no alternative tracks (including switching tracks) and no separate tracks for parameter sets.
+
+NOTE 4: For DIMS scene description in a Basic profile 3GP file, the restriction on the number of scene description tracks implies in particular that there shall be no separate tracks for redundant DIMS units.
+
+NOTE 5: The handler types for tracks with video, audio, text and scene description are 'vide', 'soun', 'text', and 'sdsm', respectively.
+
+### 5.4.4 Streaming-server profile
+
+The 3GP Streaming-server profile is branded '3gs9' and is used in PSS. Conformance to this profile will guarantee interoperability between content creation tools and streaming servers, in particular for the selection of alternative encodings of content and adaptation during streaming.
+
+The following constraints shall apply to 3GP files conforming to Streaming-server profile:
+
+- RTP hint tracks shall be included for all media tracks;
+- RTP hint tracks shall comply with streaming as specified by PSS [3];
+- SDP information shall be included, as specified in clause 7.5, where SDP fragments shall be stored in the hint tracks with media-level control URLs referring to (the same) hint tracks.
+- streaming-server extensions should be used for hint tracks, as defined in chapter 7.
+
+The following requirements shall apply to servers conforming to this profile. A conforming server
+
+- shall understand and respect directions given in the streaming-server extensions, as defined in chapter 7;
+- should understand hint tracks;
+- may override instructions in hint tracks.
+
+NOTE 1: The instructions given in RTP hint tracks shall be consistent with the PSS. In particular, sending times of RTP packets shall respect buffer constraints and be consistent with parameters used in SDP.
+
+NOTE 2: Earlier releases of the 3GPP file format did not define streaming-server extensions or profiles. The usage of hint tracks was an internal implementation matter for servers outside the scope of the PSS specification.
+
+### 5.4.5 Progressive-download profile
+
+The 3GP Progressive-download profile is branded '3gr9'. It is used to label 3GP files that are suitable for progressive download, i.e. a scenario where a file may be played during download (with some delay).
+
+The following constraints shall apply to 3GP files conforming to Progressive-download profile:
+
+- the 'moov' box shall be placed right after the 'ftyp' box in the beginning of the file;
+- all media tracks (if more than one) shall be interleaved with an interleaving depth of one second or less.
+
+NOTE 1: This profile functions as an aid and not a requirement for progressive download, which has been an inherent feature of the 3GPP file format since the first version in Release 4. By parsing a 3GP file, a client can always determine whether a file can be progressively downloaded, and then calculate the interleaving depth from the meta-data in the 'moov' box.
+
+NOTE 2: The 'interleaving depth of one second or less' means that:
+
+- Each chunk contains one or more samples, with the total duration of the samples being either: no greater than 1 second, or the duration of a single sample if that sample's duration is greater than 1 second;
+- Within a track, chunks must be in decoding time order within the media-data box 'mdat';
+- It is recommended that, in 'mdat', regardless of media type, the chunks for all tracks are stored in ascending order by decoding time. However, this order may be perturbed so that, when two chunks from different tracks overlap in time, the chunk of one track (e.g. audio) is stored before the chunk of the other track (e.g. video), even if the first sample in the second track has a slightly earlier timestamp than the first sample in the first track.
+
+### 5.4.6 Extended-presentation profile
+
+The 3GP Extended-presentation profile is branded '3ge9'. It enables a 3GP file to carry any kind of multimedia presentation composed of tracks, media files and a scene description.
+
+The following constraint shall apply to 3GP files conforming to Extended-presentation profile:
+
+- there shall be an extended presentation as defined in clause 11.
+
+The following requirement shall apply to a player conforming to this profile. A conforming player
+
+- shall render the content of the 3GP file as prescribed by the contained scene description (primary item).
+
+NOTE: The scene description can address resources by using URLs as described in clause 11.3. In particular, it can refer to media in tracks and items and also to scene description updates in scene description tracks.
+
+### 5.4.7 Media Stream Recording profile
+
+The 3GP Media Stream Recording Profile is branded '3gt9'. It is used to label 3GP files that contain recordings of multimedia streams, e.g., from a PSS or an MBMS session.
+
+The following constraints apply to 3GP files conforming to the Media Stream Recording Profile:
+
+- Non-protected media streams may be contained in RTP reception hint tracks or in media tracks or in both as specified in [38]
+- One RTCP hint track per media stream may be contained as specified in [38].
+- Protected media data may be contained in SRTP reception hint tracks as specified in [38].
+- Control information, i.e., SRTCP sender reports, necessary to render the protected media in SRTP reception hint tracks shall be contained in one SRTCP reception hint track per SRTP reception hint tracks specified in [38].
+- MIKEY MBMS Traffic Key messages [39] necessary to access the information stored in SRTP and SRTCP reception hint tracks shall be contained in key message tracks as described in clause 12.2.
+- Key management information necessary to render the content of the 3GP file shall be contained as described in clause 12.2, provided that at least one SRTP reception hint track is present.
+- SDP information shall be included as specified in clause 12.3.
+
+The following requirements shall apply to 3GP players conforming to this profile. A conforming player:
+
+- shall be able to reconstruct the received media stream from media tracks and RTP/RTCP hint tracks.
+- shall be able to extract the unprotected content from the 3GP file, provided that the player has access to required MBMS Service Keys or is able to obtain these using the methods specified in [39].
+
+### 5.4.8 File-delivery server profile
+
+The File-delivery server profile is branded '3gf9'. Conformance to this profile will guarantee interoperability between content creation tools and file delivery servers.
+
+The following constraints shall apply to 3GP files conforming to File-delivery server profile:
+
+- File Delivery Hint Tracks and File Delivery Format Extensions, as specified in [7], shall be used for files intended for transmission over FLUTE [42].
+
+The following requirements shall apply to servers conforming to this profile.
+
+- A conforming server shall understand and respect Filed Delivery Hint Tracks and File Delivery Format Extensions, as specified in [7].
+
+### 5.4.9 Adaptive-Streaming profile
+
+The 3GP Adaptive-Streaming profile is branded '3gh9'. It is used to label 3GP files that are primarily suitable for adaptive file-based streaming.
+
+The following constraints shall apply to 3GP files conforming to Adaptive-Streaming profile:
+
+- the 'moov' box shall be placed in the beginning of the file right after the 'ftyp' box and a possibly present 'pdin' box;
+- all movie data shall be contained in Movie Fragments, i.e. the tracks in the 'moov' box shall not contain any samples (i.e. the entry\_count in the "stts", "stsc", and "stco" boxes shall be set to 0).
+- the 'moov' box shall contain an 'mvex' box to indicate the presence of movie fragments.
+- the 'moov' box shall be followed by one or more 'moof' and optionally 'mdat' box pairs.
+- each 'moof' box shall contain at least one track fragment.
+
+- The ‘moof’ boxes shall use movie-fragment relative addressing for media data that does not use external data references and the flag ‘default-base-is-moof’ shall also be set; absolute byte-offsets shall not be used for this media data. In a movie fragment, the durations by which each track extends should be as close to equal as practical. In particular, as movie fragments are accumulated, the track durations should remain close to each other and there should be no ‘drift’.
+- For any track, any ‘tfad’ or any ‘tfdt’ box, if present, shall duplicate the operations of a possibly present ‘elst’ box; when any ‘tfad’ or any ‘tfdt’ is used, the ‘elst’ box, if present, shall be ignored.
+
+3GP files conforming to this profile may contain:
+
+- segment (‘styp’) type boxes as specified in clause 13.2,
+- track fragment adjustment (‘tfad’) boxes as specified in clause 13.3, and
+- segment index (‘sidx’) boxes as specified in clause 13.4,
+- track fragment decode time (‘tfdt’) as specified in clause 13.5.
+
+If the ‘meta’ box is present and contains the Media Presentation Description (MPD as defined in TS 26.234 [3]) then the ‘meta’ box shall be contained within the ‘moov’ box. In this case the ‘meta’ box shall contain a ‘hdlr’ box with handler\_type ‘mpd’ followed by an ‘xml’ box containing the MPD.
+
+If the ‘meta’ box is present and contains a link to the MPD, then the ‘meta’ box shall be contained within the ‘moov’ box. In this case the ‘meta’ box shall contain a ‘hdlr’ box with handler\_type ‘mpdl’ followed by a ‘dinf’ box. The ‘dinf’ box shall contain a ‘dref’ box with exactly one entry, which is a ‘url’ box containing the URL of the MPD.
+
+### 5.4.10 Media Segment Profile
+
+The 3GP Media Segment profile is branded ‘3gm9’. It is used to label segments conforming to this release. Media Segments are defined in 3GPP TS 26.247 [49].
+
+## 5.5 File-branding guidelines
+
+The file-type brands defined in this specification are used to label 3GP files belonging to this release and conforming to one or more profiles. 3GP files may also conform to earlier Releases or even to other file formats, such as MP4, which is also derived from the ISO base media file format [7].
+
+Table 5.1 contains a non-exhaustive list of examples with 3GP files for various purposes. Note, however, that it only gives typical or suggested uses. Both writers and readers of files should exercise care when using brand identifiers. It is worth repeating the general guidelines here, remembering that a brand identifies a specification or a conformance point in a specification; its presence in a file indicates both:
+
+- that the file conforms to the specification; it includes everything required by, and nothing contrary to the specification (though there may be other material);
+- that a reader implementing that specification (possibly only that specification) is given permission to read and interpret the file.
+
+All 3GP files of Release 5 or later shall contain the compatible brand ‘isom’ indicating that they conform to the ISO base media file format, unless the reader is required to interpret extensions specific to the AVC file format [20], for which case the compatible brand ‘avc1’ shall be used instead (see note 2), or extensions specific to extended presentations (see clause 11), for which case the compatible brand ‘iso2’ shall be used (see note 3). The major brand shall be included in the compatible brands list as well. If a file contains more than one (3GPP) brand in the compatible brands list, the major brand indicates the “best use” of the file. For example, a Release-5 file with audio combined with Timed text is best played by a Release-5 player, but may also be played by a Release-4 player that does not support timed text.
+
+NOTE 1: Since movie fragments are not allowed in Release 4 and Release 5, a fragmented 3GP file should not contain ‘3gp4’ or ‘3gp5’ as brand or compatible brand. A player that does not support movie fragments will only be able to play the first fragment of a fragmented file.
+
+- NOTE 2: Consider the brands 'isom' and 'avc1'. The first indicates conformance to the base structure of the ISO base media file format [7]. The second, conformance to the AVC-specific extensions (structures such as sample groups, for example) [20]. A file labelled as 'isom' and 'avc1' conformant is indicating that either these extensions are not present, or if present, they can be ignored (as an 'isom' reader will not understand them). If the writer desires that only readers supporting the extensions read a file, then the 'isom' brand would be omitted. These extensions are all optional (i.e. none are required to be in a file, though if they are, an 'avc1'-conformant reader must interpret them), and therefore a file not using them is still 'avc1' conformant.
+- NOTE 3: The second version of the ISO base media file format defines the brand 'iso2' that in addition to 'isom' indicates conformance to extensions to the first version.
+
+**Table 5.1: Examples of brand usage in 3GP files**
+
+| Conformance | Suffix | Brand | Compatible brands | Example content |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|-------|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| MMS and download: Files shall contain one or more of the brands 3gp4, 3gp5, 3gp6, 3gp7 and 3gp8. It is good practice to include compatible brands of earlier releases to enable legacy players to play the files. | | | | |
+| Release 4 | .3gp | 3gp4 | 3gp4 | H.263 and AMR |
+| Release 5, 4 | .3gp | 3gp5 | 3gp5, 3gp4, isom | H.263 and AMR |
+| Release 6, 5, 4 | .3gp | 3gp6 | 3gp6, 3gp5, 3gp4, isom | H.263 and AMR |
+| Release 7, 6, 5, 4 | .3gp | 3gp7 | 3gp7, 3gp6, 3gp5, 3gp4, isom | H.263 and AMR |
+| Release 8, 7, 6, 5, 4 | .3gp | 3gp8 | 3gp8, 3gp7, 3gp6, 3gp5, 3gp4, isom | H.263 and AMR |
+| Release 6, 5, 4 | .3gp | 3gp6 | 3gp6, 3gp5, 3gp4, isom | H.263, AMR and Timed text |
+| Release 6, 5 | .3gp | 3gp6 | 3gp6, 3gp5, isom | Timed text |
+| Release 6 | .3gp | 3gp6 | 3gp6, isom | H.264 (AVC) Baseline profile and AMR |
+| Release 6 | .3gp | 3gp6 | 3gp6, isom | fragmented H.263 and AMR |
+| Release 7 | .3gp | 3gp7 | 3gp7, isom | DIMS and AMR |
+| Progressive download and MMS | | | | |
+| Release 6, 5, 4 | .3gp | 3gr6 | 3gr6, 3gp6, 3gp5, 3gp4, isom | H.263 |
+| Release 6, 5, 4 | .3gp | 3gr6 | 3gr6, 3gp6, 3gp5, 3gp4, isom | interleaved H.263 and AMR |
+| Release 6 | .3gp | 3gr6 | 3gr6, 3gp6, isom | fragmented and interleaved H.263 and AMR |
+| Release 6 | .3gp | 3gr6 | 3gr6, 3gp6, avc1 | interleaved H.264 (AVC) Baseline profile and AMR |
+| Streaming servers: Some files may in principle also be used for MMS or download. | | | | |
+| Release 6 | .3gp | 3gs6 | 3gs6, isom | AMR and hint track |
+| Release 6 | .3gp | 3gs6 | 3gs6, isom | 2 tracks H.263 and 2 hint tracks |
+| Release 6, 5, 4 | .3gp | 3gs6 | 3gs6, 3gp6, 3gp5, 3gp4, isom | H.263, AMR and hint tracks |
+| Extended presentations: | | | | |
+| Release 7, 6 | .3gp | 3ge7 | 3ge7, 3ge6, iso2 | SMIL, AMR and JPEG images |
+| Release 7 | .3gp | 3ge7 | 3ge7, iso2 | DIMS, AMR, H.264 (AVC) Baseline profile and JPEG images |
+| General purpose: Files that are not yet suitable for MMS, download or PSS streaming servers. | | | | |
+| Release 6 | .3gp | 3gg6 | 3gg6, isom | 4 tracks H.263 (and no hint tracks) |
+| Release 6 | .3gp | 3gg6 | 3gg6, isom | 2 tracks H.263, 3 tracks AMR |
+| 3GP file, also conforming to MP4 | | | | |
+| Release 4, 5 and MP4 | .3gp | 3gp5 | 3gp5, 3gp4, mp42, isom | MPEG-4 video |
+| MP4 file, also conforming to 3GP | | | | |
+| Release 5 and MP4 | .mp4 | mp42 | mp42, 3gp5, isom | MPEG-4 video and AAC |
+| Media Stream Recording file | | | | |
+| Release 8 | .3gp | 3gt8 | 3gt8, isom | SRTP reception hint and key message tracks |
+| Release 8 | .3gp | 3gt8 | 3gt8, isom | H.264 (AVC) Baseline profile and corresponding RTP reception hint track, reception hint track for AAC |
+| Release 9 | .3gp | 3gt9 | 3gt9, isom | H.264 (AVC) High Profile and corresponding RTP reception hint track, reception hint track for AAC |
+| Adaptive HTTP Streaming: | | | | |
+| Release 9 | .3gp | 3gh9 | 3gp6, 3gp7, 3gp8, 3ge7, isom | 7 H.264 (AVC) tracks at different bitrates in one alternate track group, 3 AAC tracks with different languages in one alternate group, no hint tracks, movie fragments |
+
+# 6 Codec registration
+
+## 6.1 General
+
+The purpose of this clause is to define the necessary structure for integration of the H.263, MPEG-4 Visual, AMR, AMR-WB, Extended AMR-WB (AMR-WB+), Enhanced aacPlus and AAC media specific information in a 3GP file. Clause 6.2 gives some background information about the Sample Description box in the ISO base media file format [7] and clauses 6.3 and 6.4 about the MP4VisualSampleEntry box and the MP4AudioSampleEntry box in the MPEG-4 file format [14]. The definitions of the Sample Entry boxes for AMR, AMR-WB, AMR-WB+ and H.263 are given in clauses 6.5 to 6.10. The integration of timed text in a 3GP file is specified in [4], the integration of H.264 (AVC) is specified in [20] [47] and the integration of DIMS is specified in [36] and clauses 5.4.3, 5.4.6 and 11 of the present document.
+
+AMR and AMR-WB data is stored in the stream according to the AMR and AMR-WB storage format for single channel header of Annex E [15], without the AMR magic numbers.
+
+The 3GPP file format is the native storage format for AMR-WB+. The data stream, stored in samples of a 3GP file, shall be formatted according to clause 8.3 of [21]. Each sample contains one or more AMR-WB+ storage units. The number of storage units per sample may differ from sample to sample.
+
+## 6.2 Sample Description box
+
+In an ISO file, Sample Description Box gives detailed information about the coding type used, and any initialisation information needed for that coding. The Sample Description Box can be found in the ISO file format Box Structure Hierarchy shown in figure 6.1.
+
+
+
+```
+graph TD; A[Movie Box] --> B[Track Box]; B --> C[Media Box]; C --> D[Media Information Box]; D --> E[Sample Table Box]; E --> F[Sample Description Box];
+```
+
+Flowchart showing the ISO File Format Box Structure Hierarchy: Movie Box, Track Box, Media Box, Media Information Box, Sample Table Box, Sample Description Box.
+
+Figure 6.1: ISO File Format Box Structure Hierarchy
+
+The Sample Description Box can have one or more Sample Entries. Valid Sample Entries already defined for ISO and MP4 include MP4AudioSampleEntry, MP4VisualSampleEntry and HintSampleEntry. The Sample Entries for AMR and AMR-WB shall be AMRSampleEntry, for AMR-WB+ it shall be AMRWPSampleEntry, for H.263 it shall be H263SampleEntry, for H.264 (AVC) it shall be AVCSSampleEntry, for timed text it shall be TextSampleEntry, for DIMS it shall be DIMSSampleEntry, and for hint tracks it shall be HintSampleEntry.
+
+The format of SampleEntry and its fields are explained as follows:
+
+**SampleEntry ::=** MP4VisualSampleEntry |
+ MP4AudioSampleEntry |
+ AMRSampleEntry |
+ AMRWPSampleEntry |
+ H263SampleEntry |
+ AVCSSampleEntry |
+ TextSampleEntry |
+ DIMSSampleEntry |
+ HintSampleEntry
+
+**Table 6.1: SampleEntry fields**
+
+| Field | Type | Details | Value |
+|----------------------|------|---------------------------------------------------------------------------------------------|-------|
+| MP4VisualSampleEntry | | Entry type for visual samples defined in the MP4 specification. | |
+| MP4AudioSampleEntry | | Entry type for audio samples defined in the MP4 specification. | |
+| AMRSampleEntry | | Entry type for AMR and AMR-WB speech samples defined in clause 6.5 of the present document. | |
+| AMRWPSampleEntry | | Entry type for AMR-WB+ audio samples defined in clause 6.9 of the present document. | |
+| H263SampleEntry | | Entry type for H.263 visual samples defined in clause 6.6 of the present document. | |
+| AVCSSampleEntry | | Entry type for H.264 (AVC) visual samples defined in the AVC file format specification. | |
+| TextSampleEntry | | Entry type for timed text samples defined in the timed text specification | |
+| DIMSSampleEntry | | Entry type for DIMS scene description samples defined in the DIMS specification. | |
+| HintSampleEntry | | Entry type for hint track samples defined in the ISO specification. | |
+
+From the above 9 Sample Entries, only the MP4VisualSampleEntry, MP4AudioSampleEntry, H263SampleEntry, AMRSampleEntry and AMRWPSampleEntry are taken into consideration here. TextSampleEntry is defined in [4], HintSampleEntry in [7], AVCSSampleEntry in [20], and DIMSSampleEntry in [36].
+
+## 6.3 MP4VisualSampleEntry box
+
+The MP4VisualSampleEntry Box is defined as follows:
+
+**MP4VisualSampleEntry ::= BoxHeader**
+ Reserved\_6
+ Data-reference-index
+ Reserved\_16
+ Width
+ Height
+ Reserved\_4
+ Reserved\_4
+ Reserved\_4
+ Reserved\_2
+ Reserved\_32
+
+Reserved\_2
+ Reserved\_2
+**ESDBox**
+
+**Table 6.2: MP4VisualSampleEntry fields**
+
+| Field | Type | Details | Value |
+|-----------------------|----------------------------|------------------------------------------------------------------------------------------------------------------------|------------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'mp4v' |
+| Reserved_6 | Unsigned int(8) [6] | | 0 |
+| Data-reference-index | Unsigned int(16) | Index to a data reference that to use to retrieve the sample data. Data references are stored in data reference boxes. | |
+| Reserved_16 | Const unsigned int(32) [4] | | 0 |
+| Width | Unsigned int(16) | Maximum width, in pixels of the stream | |
+| Height | Unsigned int(16) | Maximum height, in pixels of the stream | |
+| Reserved_4 | Const unsigned int(32) | | 0x00480000 |
+| Reserved_4 | Const unsigned int(32) | | 0x00480000 |
+| Reserved_4 | Const unsigned int(32) | | 0 |
+| Reserved_2 | Const unsigned int(16) | | 1 |
+| Reserved_32 | Const unsigned int(8) [32] | | 0 |
+| Reserved_2 | Const unsigned int(16) | | 24 |
+| Reserved_2 | Const int(16) | | -1 |
+|
ESDBox | | Box containing an elementary stream descriptor for this stream. | |
+
+The stream type specific information is in the ESDBox structure, as defined in [14].
+
+This version of the MP4VisualSampleEntry, with explicit width and height, shall be used for MPEG-4 video streams conformant to this specification.
+
+NOTE: width and height parameters together may be used to allocate the necessary memory in the playback device without need to analyse the video stream.
+
+## 6.4 MP4AudioSampleEntry box
+
+MP4AudioSampleEntryBox is defined as follows:
+
+**MP4AudioSampleEntry ::= BoxHeader**
+ Reserved\_6
+ Data-reference-index
+ Reserved\_8
+ Reserved\_2
+ Reserved\_2
+ Reserved\_4
+ TimeScale
+ Reserved\_2
+**ESDBox**
+
+**Table 6.3: MP4AudioSampleEntry fields**
+
+| Field | Type | Details | Value |
+|-----------------------|----------------------------|------------------------------------------------------------------------------------------------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'mp4a' |
+| Reserved_6 | Unsigned int(8) [6] | | 0 |
+| Data-reference-index | Unsigned int(16) | Index to a data reference that to use to retrieve the sample data. Data references are stored in data reference boxes. | |
+| Reserved_8 | Const unsigned int(32) [2] | | 0 |
+| Reserved_2 | Const unsigned int(16) | | 2 |
+| Reserved_2 | Const unsigned int(16) | | 16 |
+| Reserved_4 | Const unsigned int(32) | | 0 |
+| TimeScale | Unsigned int(16) | Copied from track | |
+| Reserved_2 | Const unsigned int(16) | | 0 |
+|
ESDBox | | Box containing an elementary stream descriptor for this stream. | |
+
+The stream type specific information is in the ESDBox structure, as defined in [14]. Enhanced aacPlus stored in .3GP files shall not use implicit signalling (as defined in [13]).
+
+## 6.5 AMRSampleEntry box
+
+For narrow-band AMR, the box type of the AMRSampleEntry Box shall be 'samr'. For AMR wideband (AMR-WB), the box type of the AMRSampleEntry Box shall be 'sawb'.
+
+The AMRSampleEntry Box is defined as follows:
+
+```
+
+AMRSampleEntry ::= BoxHeader
+ Reserved_6
+ Data-reference-index
+ Reserved_8
+ Reserved_2
+ Reserved_2
+ Reserved_4
+ TimeScale
+ Reserved_2
+ AMRSpecificBox
+
+```
+
+**Table 6.4: AMRSampleEntry fields**
+
+| Field | Type | Details | Value |
+|-----------------------|----------------------------|------------------------------------------------------------------------------------------------------------------------|------------------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'samr' or 'sawb' |
+| Reserved_6 | Unsigned int(8) [6] | | 0 |
+| Data-reference-index | Unsigned int(16) | Index to a data reference that to use to retrieve the sample data. Data references are stored in data reference boxes. | |
+| Reserved_8 | Const unsigned int(32) [2] | | 0 |
+| Reserved_2 | Const unsigned int(16) | | 2 |
+| Reserved_2 | Const unsigned int(16) | | 16 |
+| Reserved_4 | Const unsigned int(32) | | 0 |
+| TimeScale | Unsigned int(16) | Copied from media header box of this media | |
+| Reserved_2 | Const unsigned int(16) | | 0 |
+|
AMRSpecificBox | | Information specific to the decoder. | |
+
+If one compares the MP4AudioSampleEntry Box - AMRSampleEntry Box the main difference is in the replacement of the ESDBBox, which is specific to MPEG-4 systems, with a box suitable for AMR and AMR-WB. The **AMRSpecificBox** field structure is described in clause 6.7.
+
+## 6.6 H263SampleEntry box
+
+The box type of the H263SampleEntry Box shall be 's263'.
+
+The H263SampleEntry Box is defined as follows:
+
+```
+
+H263SampleEntry ::=
+ BoxHeader
+ Reserved_6
+ Data-reference-index
+ Reserved_16
+ Width
+ Height
+ Reserved_4
+ Reserved_4
+ Reserved_4
+ Reserved_2
+ Reserved_32
+ Reserved_2
+ Reserved_2
+ H263SpecificBox
+
+```
+
+**Table 6.5: H263SampleEntry fields**
+
+| Field | Type | Details | Value |
+|------------------------|----------------------------|------------------------------------------------------------------------------------------------------------------------|------------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 's263' |
+| Reserved_6 | Unsigned int(8) [6] | | 0 |
+| Data-reference-index | Unsigned int(16) | Index to a data reference that to use to retrieve the sample data. Data references are stored in data reference boxes. | |
+| Reserved_16 | Const unsigned int(32) [4] | | 0 |
+| Width | Unsigned int(16) | Maximum width, in pixels of the stream | |
+| Height | Unsigned int(16) | Maximum height, in pixels of the stream | |
+| Reserved_4 | Const unsigned int(32) | | 0x00480000 |
+| Reserved_4 | Const unsigned int(32) | | 0x00480000 |
+| Reserved_4 | Const unsigned int(32) | | 0 |
+| Reserved_2 | Const unsigned int(16) | | 1 |
+| Reserved_32 | Const unsigned int(8) [32] | | 0 |
+| Reserved_2 | Const unsigned int(16) | | 24 |
+| Reserved_2 | Const int(16) | | -1 |
+|
H263SpecificBox | | Information specific to the H.263 decoder. | |
+
+If one compares the MP4VisualSampleEntry – H263SampleEntry Box the main difference is in the replacement of the ESDBox, which is specific to MPEG-4 systems, with a box suitable for H.263. The **H263SpecificBox** field structure for H.263 is described in clause 6.8.
+
+## 6.7 AMRSpecificBox field for AMRSampleEntry box
+
+The AMRSpecificBox fields for AMR and AMR-WB shall be as defined in table 6.6. The AMRSpecificBox for the AMRSampleEntry Box shall always be included if the 3GP file contains AMR or AMR-WB media.
+
+**Table 6.6: The AMRSpecificBox fields for AMRSampleEntry**
+
+| Field | Type | Details | Value |
+|------------------------|------------------|---------------------------------------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'damr' |
+|
DecSpecificInfo | AMRDecSpecStruc | Structure which holds the AMR and AMR-WB Specific information | |
+
+**BoxHeader Size and Type:** indicate the size and type of the AMR decoder-specific box. The type must be 'damr'.
+
+**DecSpecificInfo:** the structure where the AMR and AMR-WB stream specific information resides.
+
+The AMRDecSpecStruc is defined as follows:
+
+```
+struct AMRDecSpecStruc {
+ Unsigned int (32) vendor
+ Unsigned int (8) decoder_version
+ Unsigned int (16) mode_set
+ Unsigned int (8) mode_change_period
+ Unsigned int (8) frames_per_sample
+}
+```
+
+The definitions of AMRDecSpecStruc members are as follows:
+
+**vendor:** four character code of the manufacturer of the codec, e.g. 'VXYZ'. The vendor field gives information about the vendor whose codec is used to create the encoded data. It is an informative field, which may be used by the decoding end. If a manufacturer already has a four-character code, it is recommended that it uses the same code in this field. Else, it is recommended that the manufacturer creates a four character code which best addresses the manufacturer's name. It can be safely ignored.
+
+**decoder\_version:** version of the vendor's decoder which can decode the encoded stream in the best (i.e. optimal) way. This field is closely tied to the vendor field. It may give advantage to the vendor which has optimal encoder-decoder version pairs. The value is set to 0 if decoder version has no importance for the vendor. It can be safely ignored.
+
+**mode\_set:** the active codec modes. Each bit of the mode\_set parameter corresponds to one mode. The bit index of the mode is calculated according to the 4 bit FT field of the AMR or AMR-WB frame structure. The mode\_set bit structure is as follows: (B15xxxxxB8B7xxxxxB0) where B0 (Least Significant Bit) corresponds to Mode 0, and B8 corresponds to Mode 8.
+
+The mapping of existing AMR modes to FT is given in table 1.a in [16]. A value of 0x81FF means all modes and comfort noise frames are possibly present in an AMR stream.
+
+The mapping of existing AMR-WB modes to FT is given in Table 1.a in TS 26.201 [17]. A value of 0x83FF means all modes and comfort noise frames are possibly present in an AMR-WB stream.
+
+As an example, if mode\_set = 0000000110010101b, only Modes 0, 2, 4, 7 and 8 are present in the stream.
+
+**mode\_change\_period:** defines a number N, which restricts the mode changes only at a multiple of N frames. If no restriction is applied, this value should be set to 0. If mode\_change\_period is not 0, the following restrictions apply to it according to the frames\_per\_sample field:
+
+if (*mode\_change\_period* < *frames\_per\_sample*)
+ *frames\_per\_sample* = *k* x (*mode\_change\_period*)
+ else if (*mode\_change\_period* > *frames\_per\_sample*)
+ *mode\_change\_period* = *k* x (*frames\_per\_sample*)
+ where *k* : integer [2, ...]
+
+If mode\_change\_period is equal to frames\_per\_sample, then the mode is the same for all frames inside one sample.
+
+**frames\_per\_sample:** defines the number of frames to be considered as 'one sample' inside the 3GP file. This number shall be greater than 0 and less than 16. A value of 1 means each frame is treated as one sample. A value of 10 means that 10 frames (of duration 20 msec each) are put together and treated as one sample. It must be noted that, in this case, one sample duration is 20 (msec/frame) x 10 (frame) = 200 msec. For the last sample of the stream, the number of frames can be smaller than frames\_per\_sample, if the number of remaining frames is smaller than frames\_per\_sample.
+
+NOTE1: The "hinter", for the creation of the hint tracks, can use the information given by the AMRDecSpecStruc members.
+
+NOTE2: The following AMR MIME parameters are not relevant to PSS: {mode\_set, mode\_change\_period, mode\_change\_neighbor}. PSS servers should not send these parameters in SDP, and PSS clients shall ignore these parameters if received.
+
+## 6.8 H263SpecificBox field for H263SampleEntry box
+
+The H263SpecificBox fields for H. 263 shall be as defined in table 6.7. The H263SpecificBox for the H263SampleEntry Box shall always be included if the 3GP file contains H.263 media.
+
+The H263SpecificBox for H263 is composed of the following fields.
+
+**Table 6.7: The H263SpecificBox fields H263SampleEntry**
+
+| Field | Type | Details | Value |
+|-------------------|------------------|------------------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'd263' |
+| DecSpecificInfo | H263DecSpecStruc | Structure which holds the H.263 Specific information | |
+|
BitrateBox | | Specific bitrate information (optional) | |
+
+**BoxHeader Size and Type:** indicate the size and type of the H.263 decoder-specific box. The type must be 'd263'.
+
+**DecSpecificInfo:** This is the structure where the H263 stream specific information resides.
+
+H263DecSpecStruc is defined as follows:
+
+```
+struct H263DecSpecStruc{
+ Unsigned int (32) vendor
+ Unsigned int (8) decoder_version
+ Unsigned int (8) H263_Level
+ Unsigned int (8) H263_Profile
+}
+```
+
+The definitions of H263DecSpecStruc members are as follows:
+
+**vendor:** four character code of the manufacturer of the codec, e.g. 'VXYZ'. The vendor field gives information about the vendor whose codec is used to create the encoded data. It is an informative field which may be used by the decoding end. If a manufacturer already has a four-character code, it is recommended that it uses the same code in this field. Else, it is recommended that the manufacturer creates a four character code which best addresses the manufacturer's name. It can be safely ignored.
+
+**decoder\_version:** version of the vendor's decoder which can decode the encoded stream in the best (i.e. optimal) way. This field is closely tied to the vendor field. It may give advantage to the vendor which has optimal encoder-decoder version pairs. . The value is set to 0 if decoder version has no importance for the vendor. It can be safely ignored.
+
+**H263\_Level and H263\_Profile:** These two parameters define which H263 profile and level is used. These parameters are based on the MIME media type video/H263-2000. The profile and level specifications can be found in [9].
+
+EXAMPLE 1: H.263 Baseline = {H263\_Level = 10, H263\_Profile = 0}
+
+EXAMPLE 2: H.263 Profile 3 @ Level 10 = {H263\_Level = 10 , H263\_Profile = 3}
+
+NOTE: The "hinter", for the creation of the hint tracks, can use the information given by the H263DecSpecStruc members.
+
+The BitrateBox field shall be as defined in table 6.8. The BitrateBox may be included if the 3GP file contains H.263 media.
+
+The BitrateBox is composed of the following fields.
+
+**Table 6.8: The BitrateBox fields**
+
+| Field | Type | Details | Value |
+|----------------|------------------|-----------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'bitr' |
+| DecBitrateInfo | DecBitrStruc | Structure which holds the Bitrate information | |
+
+**BoxHeader Size and Type:** indicate the size and type of the bitrate box. The type must be 'bitr'.
+
+**DecBitrateInfo:** This is the structure where the stream bitrate information resides.
+
+DecBitrStruc is defined as follows:
+
+```
+
+struct DecBitrStruc{
+ Unsigned int (32) Avg_Bitrate
+ Unsigned int (32) Max_Bitrate
+}
+
+```
+
+The definitions of DecBitrStruc members are as follows:
+
+**Avg\_Bitrate:** the average bitrate in bits per second of this elementary stream. For streams with variable bitrate this value shall be set to zero.
+
+**Max\_Bitrate:** the maximum bitrate in bits per second of this elementary stream in any time window of one second duration.
+
+## 6.9 AMRWPSampleEntry box
+
+The box type of the AMRWPSampleEntry Box shall be 'sawp'.
+
+The AMRWPSampleEntry Box is defined as follows:
+
+```
+
+AMRWPSampleEntry ::= BoxHeader
+ Reserved_6
+ Data-reference-index
+ Reserved_8
+ Reserved_2
+ Reserved_2
+ Reserved_4
+ TimeScale
+ Reserved_2
+ AMRWPSpecificBox
+
+```
+
+**Table 6.9: AMRWPSampleEntry fields**
+
+| Field | Type | Details | Value |
+|-------------------------|----------------------------|------------------------------------------------------------------------------------------------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'sawp' |
+| Reserved_6 | Unsigned int(8) [6] | | 0 |
+| Data-reference-index | Unsigned int(16) | Index to a data reference that to use to retrieve the sample data. Data references are stored in data reference boxes. | |
+| Reserved_8 | Const unsigned int(32) [2] | | 0 |
+| Reserved_2 | Const unsigned int(16) | | 2 |
+| Reserved_2 | Const unsigned int(16) | | 16 |
+| Reserved_4 | Const unsigned int(32) | | 0 |
+| Sampling rate | Unsigned int(16) | See note 3. | |
+| Reserved_2 | Const unsigned int(16) | | 0 |
+|
AMRWPSpecificBox | | Information specific to the AMR-WB+ decoder. | |
+
+If one compares the MP4AudioSampleEntry Box - AMRWPSampleEntry Box the main difference is in the replacement of the ESDBox, which is specific to MPEG-4 systems, with a box suitable for AMR-WB+. The AMRWPSpecificBox field structure is described in clause 6.10.
+
+NOTE 1: In order to maintain backward compatibility with Release 4 and 5, the AMRWPSampleEntry should not be used for AMR-WB+ streams that only contain AMR-WB modes. Such streams should be stored as AMR-WB, i.e. by using the AMRSampleEntry with box type 'sawb', defined in clause 6.5, and the storage format for single channel header of Annex E [15], without the AMR magic numbers. This way file readers of previous releases will always be able to read AMR-WB streams stored in 3GP files.
+
+NOTE 2: In order to enhance interoperability in Release 6, file readers capable of parsing tracks with AMR-WB+ should also be capable of parsing AMR-WB tracks (see note 1).
+
+NOTE 3: The timescale of AMR-WB+ is fixed to 72kHz to accommodate the internal sampling rate which may vary over time. The sampling rate field of the AMRWPSampleEntry is therefore not coupled to the timescale, but contains the recommended playback sampling rate.
+
+## 6.10 AMRWPSpecificBox field for AMRWPSampleEntry box
+
+The AMRWPSpecificBox fields for AMR-WB+ shall be as defined in table 6.10. The AMRWPSpecificBox for the AMRWPSampleEntry Box shall always be included if the 3GP file contains AMR-WB+ media.
+
+**Table 6.10: The AMRWPSpecificBox fields for AMRWPSampleEntry**
+
+| Field | Type | Details | Value |
+|-----------------|-------------------|--------------------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'dawp' |
+| DecSpecificInfo | AMRWPDecSpecStruc | Structure which holds the AMR-WB+ Specific information | |
+
+**BoxHeader Size and Type:** indicate the size and type of the AMR-WB+ decoder-specific box. The type must be 'dawp'.
+
+**DecSpecificInfo:** the structure where the AMR-WB+ stream specific information resides.
+
+The AMRWPDecSpecStruc is defined as follows:
+
+```
+struct AMRWPDecSpecStruc{
+ Unsigned int (32) vendor
+ Unsigned int (8) decoder_version
+}
+```
+
+The definitions of AMRWPDecSpecStruc members are as follows:
+
+**vendor:** four character code of the manufacturer of the codec, e.g. 'VXYZ'. The vendor field gives information about the vendor whose codec is used to create the encoded data. It is an informative field, which may be used by the decoding end. If a manufacturer already has a four-character code, it is recommended that it uses the same code in this field. Else, it is recommended that the manufacturer creates a four character code which best addresses the manufacturer's name. It can be safely ignored.
+
+**decoder\_version:** version of the vendor's decoder which can decode the encoded stream in the best (i.e. optimal) way. This field is closely tied to the vendor field. It may give advantage to the vendor which has optimal encoder-decoder version pairs. The value is set to 0 if decoder version has no importance for the vendor. It can be safely ignored.
+
+NOTE: For AMR and AMR-WB the AMRSpecificBox defines the number of frames that are stored in a sample. For AMR-WB+, however, the AMRWPSpecificBox does not specify an overall sample structure, as the number of storage units per sample may differ from sample to sample.
+
+# 7 Streaming-server extensions
+
+## 7.1 General
+
+This clause defines extensions to 3GP files to be used by streaming servers. The extensions enable a PSS server to relate different tracks and use them for selection and adaptation. In particular, they enable a PSS server to
+
+- generate SDP descriptions with alternatives, as specified in subclauses 5.3.3.3 - 5.3.3.4 of [3];
+- select and combine tracks with alternative encodings of media before a presentation;
+- switch between tracks with alternative encodings during a streaming session;
+
+- determine the decoding order, playout timestamp, and size for any ADU in an RTP payload.
+
+In addition, the streaming server extensions enable a PSS server to
+
+- use SRTP hint tracks for integrity protection.
+
+The streaming-server extensions are intended to be used with hint tracks, although they are not limited to be used with hint tracks. Hint tracks are defined in the ISO base media file format [7] and provide (RTP) packetization instructions for media stored in a file.
+
+NOTE: The present document defines syntax and semantics for streaming-server extensions in 3GP files. It does not define protocols for, e.g., how a PSS server signals alternative encodings or switches between different bitrate encodings. All protocols used by a PSS server are defined in [3].
+
+## 7.2 Groupings of alternative tracks
+
+By default all enabled tracks in a 3GP file are streamed (played) simultaneously. However, the ISO base media file format [7] specifies that tracks that are alternatives to each other can be grouped into an alternate group. Tracks in an alternate group that can be used for switching can be further grouped into a switch group, as defined here.
+
+### 7.2.1 Alternate group
+
+Alternate group is identified by an integer, *alternate\_group*, in the Track Header box of each track. If this integer is 0 (default value), there is no information on possible relations to other tracks. If this integer is not 0, it should be the same for tracks that contain alternate data for one another and different for tracks belonging to different such groups. Only one track within an alternate group should be streamed or played at any time and must be distinguishable from other tracks in the group via attributes such as bitrate, codec, language, packet size etc.
+
+### 7.2.2 Switch group
+
+Switch group is identified by an integer, *switch\_group*, in the Track Selection box of each track, as defined below. If this box is absent or if this integer is 0 (default value), there is no information on whether the track can be used for switching during streaming or playing. If this integer is not 0, it shall be the same for tracks that can be used for switching between each other. Tracks that belong to the same switch group shall belong to the same alternate group.
+
+## 7.3 Track Selection box
+
+This subclause defines an optional box that aids the selection between tracks. It is used to encode switch groups and the criteria that should be used to differentiate tracks within alternate and switch groups.
+
+The Track Selection box is defined in table 7.1. It is contained in the User data box of the track it modifies.
+
+Note that Track Selection box is also defined in [7], with a slightly different set of defined attributes. One difference is that herein the definition of the attribute "Language" identified by 'lang' is included; while in [7] the definition of the attribute "Media language" identified by 'mela' is included.
+
+**Table 7.1: Track Selection box fields**
+
+| Field | Type | Details | Value |
+|--------------------------|----------------------|---------------------------------------------|-------------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'tsel' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+|
SwitchGroup | int(32) | Switch group of track. | 0 (default) |
+|
AttributeList | Unsigned int(32) [N] | List of N attributes to the end of the box. | |
+
+**BoxHeader Size, Type, Version and Flags:** indicate the size, type, version and flags of the Track Selection box. The type shall be 'tsel' and the version shall be 0. No flags are defined.
+
+**SwitchGroup:** indicates switch group as defined in clause 7.2.2. It shall be 0 if the track is not intended for switching.
+
+**AttributeList:** is a list of attributes to the end of the box. The attributes in this list should be used as differentiation criteria for tracks in the same alternate or switch group. Each attribute is associated with a pointer to the field or information that distinguishes the track. Attributes and pointers are listed in table 7.2.
+
+**Table 7.2: Attributes for AttributeList of the Track Selection box**
+
+| Name | Attribute | Pointer |
+|-----------------|-----------|--------------------------------------------------------------------------------------------------------------|
+| Language | 'lang' | Value of grouping type LANG of "alt-group" attribute in session-level SDP (defined in clause 5.3.3.4 of [3]) |
+| Bandwidth | 'bwas' | Value of "b=AS" attribute in media-level SDP |
+| Codec | 'cdec' | SampleEntry (in Sample Description box of media track) |
+| Screen size | 'scsz' | Width and height fields of MP4VisualSampleEntry and H263SampleEntry (in media track) |
+| Max packet size | 'mpsz' | Maxpacketsize field in RTPHintSampleEntry |
+| Media type | 'mtyp' | Handlertype in Handler box (of media track) |
+
+## 7.4 Combining alternative tracks
+
+Tracks from different alternate groups are streamed (played) simultaneously. However, all combinations of tracks may not form suitable presentations. In order to suggest suitable combinations of tracks and also to reduce the number of possible combinations, a content provider can encode preferred combinations of alternative tracks in a 3GP file. Such combinations are encoded by the "alt-group" attribute in the session-level SDP fragment, as described in clause 7.5.3.
+
+If information on suitable combinations of tracks is missing, tracks with the lowest track IDs of each alternate group should be streamed (played) by default.
+
+## 7.5 SDP
+
+### 7.5.1 Session- and media-level SDP
+
+Fragments that together constitute an SDP description shall be contained in a 3GP file with streaming-server extensions. Session-level SDP, i.e. all lines before the first media-specific line ("m=" line), shall be stored as Movie SDP information within the User Data box, as specified in [7]. Media-level SDP, i.e. an "m=" line and the lines before the next "m=" line (or end of SDP) shall be stored as Track SDP information within the User data box of the corresponding track. Media-level SDP shall be contained in hint tracks (if provided).
+
+### 7.5.2 Stored versus generated SDP fields
+
+The SDP information stored in a 3GP file should be as complete as possible, although some fields must be generated or modified by the server when a presentation is composed. Table 7.3 gives an overview of the SDP fields used by PSS, c.f. Table A.1 in [3], and whether they are required to be included in 3GP files or whether the server is required to generate them.
+
+**Table 7.3: Overview of stored and generated fields in SDP**
+
+| Type | Description | | Contained in 3GP file | Generated by PSS server | |
+|--------------------------------------------|--------------------------------------|-------------------------|-----------------------|-------------------------|--|
+| Session Description | | | | | |
+| V | Protocol version | | R | O | |
+| O | Owner/creator and session identifier | | O | R | |
+| S | Session Name | | R | O | |
+| I | Session information | | O | O | |
+| U | URI of description | | O | O | |
+| E | Email address | | O | O | |
+| P | Phone number | | O | O | |
+| C | Connection Information | | O | R | |
+| B | Bandwidth information | AS | O | O (see note 7) | |
+| | | RS | O | O | |
+| | | RR | O | O | |
+| | | TIAS | O | O | |
+| One or more Time Descriptions (See below) | | | | | |
+| Z | Time zone adjustments | | O | O | |
+| K | Encryption key | | O | O | |
+| A | Session attributes | control | O | R | |
+| | | range | R | O | |
+| | | alt-group | R (see note 4) | O | |
+| | | QoE-Metrics | O | O | |
+| | | 3GPP-Asset-Information | O | O | |
+| | | 3GPP-Integrity-Key | N | R (see note 6) | |
+| | | 3GPP-SDP-Auth | N | R (see note 6) | |
+| | | maxprate | O | O | |
+| One or more Media Descriptions (See below) | | | | | |
+| Time Description | | | | | |
+| T | Time the session is active | | R | O | |
+| R | Repeat times | | O | O | |
+| Media Description | | | | | |
+| M | Media name and transport address | | R | O | |
+| I | Media title | | O | O | |
+| C | Connection information | | O | R | |
+| B | Bandwidth information | AS | R | O (see note 7) | |
+| | | RS | O | R | |
+| | | RR | O | R | |
+| | | TIAS | R | O | |
+| K | Encryption Key | | O | O | |
+| A | Attribute Lines | control | O | R | |
+| | | range | R | O | |
+| | | fmtp | R | O | |
+| | | rtpmap | R | O | |
+| | | X-predecbufsize | R (see note 5) | O | |
+| | | X-initpredcbufperiod | R (see note 5) | O | |
+| | | X-initpostdecbufperiod | R (see note 5) | O | |
+| | | X-decbyterate | R (see note 5) | O | |
+| | | framesize | R | O | |
+| | | alt | N | R | |
+| | | alt-default-id | N | R | |
+| | | 3GPP-Adaptation-Support | N | O | |
+| | | QoE-Metrics | O | O | |
+| | | 3GPP-Asset-Information | O | O | |
+| | | 3GPP-SRTP-Config | N | R (see note 6) | |
+| | | rtcp-fb | N | R | |
+| | | maxprate | R | O | |
+
+Note 1: Fields in 3GP files are Required (R), Optional (O), or Not allowed (N).
+
+Note 2: Servers are Required (R) to generate (possibly by copying or modifying from file), or have the Option (O) to generate/copy/modify, or are Not allowed (N) to modify fields. If a field is present in a file, it shall be copied or modified, but not omitted, by the server.
+
+Note 3: Some types shall only be included under certain conditions, as specified by PSS [3].
+
+Note 4: The “alt-group” attribute is required to be stored in 3GP files if it is used.
+
+Note 5: The "X-" attributes are required to be stored in 3GP files if they are used. They may either be specified in the PSS Annex G box '3gag' (see Clause 9) or in media-level SDP fragments.
+
+Note 6: The server is required to generate the "3GPP-Integrity-Key", "3GPP-SDP-Auth", and "3GPP-SRTP-Config" attributes if integrity protection is used.
+
+Note 7: The "b=AS" session bandwidth shall include UDP/IP overhead. The value shall be based on IPv4 when stored in a file, but may be modified by the server to accommodate for IPv6. The "maxprate" attribute is useful for such a conversion.
+
+### 7.5.3 SDP attributes for alternatives
+
+Clauses 5.3.3.3 and 5.3.3.4 of [3] define SDP attributes that a server can use for presenting options to a client. These attributes can be used to encode suggested groupings of tracks, e.g. for selecting a certain language or target bitrate.
+
+Suggested groupings of tracks from different alternate groups, i.e. groupings of tracks that should be streamed together, are encoded by using the “alt-group” attribute in the session-level SDP. Note that a server may have to prune options from such groupings if certain tracks are not presented to the client.
+
+Media-level SDP fragments shall not contain alternative-media attributes (“alt” and “alt-default-id”) as they are difficult to pre-encode. When the server combines several media-level SDP fragments from alternative tracks into one media-level SDP, it must generate the appropriate “alt” and “alt-default-id” attributes. This can be done by using the information provided in the “alt-group” attributes in the session-level SDP.
+
+NOTE 1: Track IDs given by the Track Header boxes shall be used for alternative IDs (“alt-id”) in attributes for SDP alternatives.
+
+NOTE 2: Tracks with the lowest track IDs of each alternate group should be used as default tracks, i.e. used with the “alt-default-id” attributes.
+
+## 7.6 SRTP
+
+Hinted content may require the use of SRTP [19] for streaming, e.g. for integrity protection, by using the hint-track format for SRTP defined here. It consists of a dedicated sample entry, which will be ignored by 3GP servers not capable of handling SRTP.
+
+SRTP hint tracks are formatted identically to RTP hint tracks defined in [7], except that:
+
+- the sample entry name is changed from 'rtp' to 'srtp' to indicate to the server that SRTP is required;
+- an extra box is added to the sample entry which can be used to instruct the server in the nature of the on-the-fly encryption and integrity protection that must be applied.
+
+Samples of an SRTP hint track follow the same syntax for constructing RTP packets as RTP hint tracks.
+
+An SRTP Hint Sample Entry ('srtp') shall include an SRTP Process Box ('srpp') that may instruct the server as to which SRTP algorithms should be applied. It is defined in [7] and included in Table 7.4 for information.
+
+**Table 7.4: SRTPProcessBox**
+
+| Field | Type | Details | Value |
+|-----------------------------|------------------|----------------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'srpp' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| EncryptionAlgorithmRTP | Unsigned int(32) | 4cc identifying the algorithm | |
+| EncryptionAlgorithmRTCP | Unsigned int(32) | 4cc identifying the algorithm | |
+| IntegrityAlgorithmRTP | Unsigned int(32) | 4cc identifying the algorithm | |
+| IntegrityAlgorithmRTCP | Unsigned int(32) | 4cc identifying the algorithm | |
+|
SchemeTypeBox | | Box containing the protection scheme. | |
+|
SchemeInformationBox | | Box containing the scheme information. | |
+
+The **SchemeTypeBox** and **SchemeInformationBox** have the syntax defined in Tables 10.7 and 10.8, respectively. They serve to provide the parameters required for applying SRTP. The Scheme Type Box is used to indicate the necessary key management and security policy for the stream in extension to the defined algorithmic pointers provided by the SRTP Process Box. The key management functionality is also used to establish all the necessary SRTP parameters. The key management functionality is also used to establish all the necessary SRTP parameters as listed in section 8.2 of [19]. The exact definition of protection schemes is out of the scope of the file format.
+
+The algorithms for encryption and integrity protection are defined by SRTP. Table 7.5 summarizes the format identifiers defined here. An entry of four spaces (\$20\$20\$20\$20) may be used to indicate that a process outside the file format decides the choice of algorithm for either encryption or integrity protection.
+
+**Table 7.5: Algorithms for encryption and integrity protection**
+
+| Format | Algorithm |
+|------------------|--------------------------------------------------------------------------------------------------------------------------|
+| \$20\$20\$20\$20 | The choice of algorithm for either encryption or integrity protection is decided by a process outside the file format |
+| ACM1 | Encryption using AES in Counter Mode with 128-bit key, as defined in Section 4.1.1 of [19] |
+| AF81 | Encryption using AES in F8-mode with 128-bit key, as defined in Section 4.1.2 of [19] |
+| ENUL | Encryption using the NULL-algorithm as defined in Section 4.1.3 of [19] |
+| SHM2 | Integrity protection using HMAC-SHA-1 with 160-bit key, as defined in Section 4.2.1 of [19] |
+| ANUL | Integrity protection not applied to RTP (but still applied to RTCP). Note: this is valid only for IntegrityAlgorithmRTP. |
+
+## 7.7 Aggregated RTP payloads
+
+An application data unit (ADU), normally being the smallest independently usable data unit, is specified as follows for coding formats and RTP payload formats allowed in 3GP files:
+
+- For audio and speech, an ADU is specified as a coded frame intended for transport.
+- For H.263 an ADU consists of an entire RTP payload.
+- For MPEG-4 Visual an ADU consists of a complete or partial VOP in the RTP payload.
+- For H.264 (AVC), an ADU is a Network Adaptation Layer Unit (NALU).
+- For timed text, an ADU consists of any of the type 1-5 RTP payload units [28].
+
+For encrypted RTP payloads, the actual ADUs are hidden within the encrypted payload. Some RTP payload formats allow aggregation of multiple ADUs into a single RTP payload. When any hint sample in an RTP hint track defines a payload including multiple ADUs, each hint sample in the hint track shall comply with the following requirements:
+
+- The extra-flag in the RTPPacket class of the hint sample shall be set to 1. This indicates that there is extra information before the RTP constructors in the form of type-length-value sets.
+
+- The extra information in the hint sample shall include a '3gau' structure as specified below.
+
+```
+class 3gppApplicationDataUnitInfoTLV extends Box('3gau') {
+ unsigned int(16) entrycount;
+ for(i=1; i<=entrycount; i++){
+ unsigned int(32) numbytes;
+ unsigned int(64) decorder;
+ unsigned int(32) timestampoffset
+ }
+}
+```
+
+**entrycount** indicates the number of ADUs in the RTP payload.
+
+**numbytes** indicates the number of bytes of the i'th ADU in the RTP payload.
+
+**decorder** indicates the decoding order of ADUs within the RTP hint track. The smaller value of decorder, the earlier the ADU is in decoding order. All ADUs shall have a unique value of decorder, and the assignment shall be done using consecutive numbers. If two or more ADUs can be decoded virtually simultaneously, i.e. their relative decoding order is undefined, they shall still be assigned consecutive numbers.
+
+**timestampoffset** indicates the RTP timestamp offset of the i'th ADU relative to the timestamp of RTP header of the packet it will be transmitted in. Where the ADU's timestamp value is equal to what it would have had if it were transmitted in an RTP packet containing only the ADU.
+
+# 8 Asset information
+
+## 8.1 General
+
+Asset information in a 3GP file describes the contained media. Clause 8.2 defines 3GPP asset meta data that is backward compatible with Release 6. However, in order to provide more enriched information for audio, it is also possible to include ID3 version 2 (ID3v2) tags as described in clause 8.3.
+
+## 8.2 3GPP asset meta data
+
+A user-data box ('udta'), as defined in [7] may be present in conforming files. It should reside within the Movie box, but may reside within the Track box, following the hierarchy of boxes described in Clause 6.2.
+
+Within the user-data box, there may reside sub-boxes that contain asset meta-data, taken from the list of boxes in tables 8.1 through 8.10 below (zero or more sub-boxes of each kind, zero or one for each language or role of location information). Each of the sub-boxes conforms to the definition of a "full box" as specified in [7] (hence the 'Version' and 'Flags' fields).
+
+The following sub-boxes are in use for the following purposes:
+
+- titl – title for the media (see table 8.1)
+- dscp – caption or description for the media (see table 8.2)
+- cprt – notice about organisation holding copyright for the media file (see table 8.3)
+- perf – performer or artist (see table 8.4)
+- auth – author of the media (see table 8.5)
+- gnre – genre (category and style) of the media (see table 8.6)
+- rtng – media rating (see table 8.7)
+- clsf – classification of the media (see table 8.8)
+- kywd – media keywords (see table 8.9)
+- loci – location information (see table 8.10)
+
+- albm – album title and track number for the media (see table 8.11)
+- yrrc – recording year for the media (see table 8.12)
+- coll – name of the collection from which the media comes (see table 8.12a)
+- urat – user 'star' rating of the media (see table 8.12b)
+- thmb — thumbnail image of the media (see table 8.12c)
+
+**Table 8.1: The Title box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|----------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'titi' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| Title | String | Text of title | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes.
+
+Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**Title:** null-terminated string in either UTF-8 or UTF-16 characters, giving a title information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.2: The Description box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|----------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'dscp' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| Description | String | Text of description | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes.
+
+Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**Description:** null-terminated string in either UTF-8 or UTF-16 characters, giving a description information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.3: The Copyright box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|----------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'cprt' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| Copyright | String | Text of copyright notice | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes.
+
+Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**Copyright:** null-terminated string in either UTF-8 or UTF-16 characters, giving a copyright information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.4: The Performer box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|----------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'perf' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| Performer | String | Text of performer | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes. Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**Performer:** null-terminated string in either UTF-8 or UTF-16 characters, giving a performer information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.5: The Author box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|----------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'auth' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| Author | String | Text of author | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes. Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**Author:** null-terminated string in either UTF-8 or UTF-16 characters, giving an author information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.6: The Genre box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|----------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'gnre' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| Genre | String | Text of genre | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes. Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**Genre:** null-terminated string in either UTF-8 or UTF-16 characters, giving a genre information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.7: The Rating box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|-------------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'rtng' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| RatingEntity | Unsigned int(32) | Four-character code rating entity | |
+| RatingCriteria | Unsigned int(32) | Four-character code rating criteria | |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| RatingInfo | String | Text of media-rating information | |
+
+**RatingEntity:** four-character code that indicates the rating entity grading the asset, e.g., 'BBFC'. The values of this field should follow common names of worldwide movie rating systems, such as those mentioned in [
, October 2002].
+
+**RatingCriteria:** four-character code that indicates which rating criteria are being used for the corresponding rating entity, e.g., 'PG13'.
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes. Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**RatingInfo:** null-terminated string in either UTF-8 or UTF-16 characters, giving a rating information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.8: The Classification box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|-------------------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'clsf' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| ClassificationEntity | Unsigned int(32) | Four-character code classification entity | |
+| ClassificationTable | Unsigned int(16) | Index to classification table | |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| ClassificationInfo | String | Text of media-classification information | |
+
+**ClassificationEntity:** four-character code that indicates the classification entity classifying the asset. The values of this field should follow names of worldwide classification systems to be identified, but may be assigned blanks to indicate no specific classification entity.
+
+**ClassificationTable:** binary code that indicates which classification table is being used for the corresponding classification entity. 0x00 is reserved to indicate no specific classification table.
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes. Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**ClassificationInfo:** null-terminated string in either UTF-8 or UTF-16 characters, giving a classification information, taken from the corresponding classification table, if specified. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.9: The Keywords box**
+
+| Field | Type | Details | Value |
+|--------------------------|---------------------------|---------------------------------------------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'kywd' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| KeywordCnt | Unsigned int(8) | Binary number of keywords | |
+| Keywords | KeywordStruct[KeywordCnt] | Array of structures that hold the actual keywords (see Table 8.9.1) | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes.
+
+Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**KeywordCnt:** binary code that indicates the number of keywords provided. This number shall be greater than 0.
+
+**Keywords:** Array of structures that hold the actual keywords, according to table 8.9.1.
+
+**Table 8.9.1: The Keyword Struct**
+
+| Field | Type | Details | Value |
+|-------------|-----------------|------------------------|-------|
+| KeywordSize | Unsigned int(8) | Binary size of keyword | |
+| KeywordInfo | String | Text of keyword | |
+
+**KeywordSize:** binary code that indicates the total size (in bytes) of the keyword information field.
+
+**KeywordInfo:** null-terminated string in either UTF-8 or UTF-16 characters, giving a keyword information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.10: The Location Information box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|-------------------------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'loci' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| Name | String | Text of place name | |
+| Role | Unsigned int(8) | Non-negative value indicating role of location | |
+| Longitude | Unsigned int(32) | Fixed-point value of the longitude | |
+| Latitude | Unsigned int(32) | Fixed-point value of the latitude | |
+| Altitude | Unsigned int(32) | Fixed-point value of the Altitude | |
+| Astronomical_body | String | Text of astronomical body | |
+| Additional_notes | String | Text of additional location-related information | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes.
+
+Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**Name:** null-terminated string in either UTF-8 or UTF-16 characters, indicating the name of the place. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Role:** indicates the role of the place. Value 0 indicates “shooting location”, 1 indicates “real location”, and 2 indicates “fictional location”. Other values are reserved.
+
+**Longitude:** fixed-point 16.16 number indicating the longitude in degrees. Negative values represent western longitude.
+
+**Latitude:** fixed-point 16.16 number indicating the latitude in degrees. Negative values represent southern latitude.
+
+**Altitude:** fixed-point 16.16 number indicating the altitude in meters. The reference altitude, indicated by zero, is set to the sea level.
+
+**Astronomical\_body:** null-terminated string in either UTF-8 or UTF-16 characters, indicating the astronomical body on which the location exists, e.g. “earth”. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Additional\_notes:** null-terminated string in either UTF-8 or UTF-16 characters, containing any additional location-related information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+NOTE 1: If the location information refers to a time-variant location, 'Name' should express a high-level location, such as “Finland” for several places in Finland or “Finland-Sweden” for several places in Finland and Sweden. Further details on time-variant locations can be provided as 'Additional notes'.
+
+NOTE 2: The values of longitude, latitude and altitude provide cursory Global Positioning System (GPS) information of the media content.
+
+NOTE 3: A value of longitude (latitude) that is less than –180 (-90) or greater than 180 (90) indicates that the GPS coordinates (longitude, latitude, altitude) are unspecified, i.e. none of the given values for longitude, latitude or altitude are valid.
+
+**Table 8.11: The Album box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|------------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'albm' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| AlbumTitle | String | Text of album title | |
+| TrackNumber | Unsigned int(8) | Optional integer with track number | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes.
+
+Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**AlbumTitle:** null-terminated string in either UTF-8 or UTF-16 characters, giving an album information. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**TrackNumber:** the track number (order number) of the media on this album. This is an optional field.
+
+**Table 8.12: The Recording Year box**
+
+| Field | Type | Details | Value |
+|--------------------------|------------------|---------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'yrcc' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| RecordingYear | Unsigned int(16) | Integer value of recording year | |
+
+**RecordingYear:** the year when the media was recorded.
+
+**Table 8.12a: The Collection name box**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|----------------------------------|--------|
+|
BoxHeader.Size | Unsigned int(32) | | |
+|
BoxHeader.Type | Unsigned int(32) | | 'coll' |
+|
BoxHeader.Version | Unsigned int(8) | | 0 |
+|
BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| Name | String | Text of collection name | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes. Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive.
+
+**Name:** null-terminated string in either UTF-8 or UTF-16 characters, giving collection name information. A collection contains works that may be conceptually independent, usually with some aspect in common, and may be user-defined. If UTF-16 is used, the string shall start with the BYTE ORDER MARK (0xFEFF).
+
+**Table 8.12b: The User-rating box**
+
+| Field | Type | Details | Value |
+|-------------------|------------------|----------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'urat' |
+| BoxHeader.Version | Unsigned int(8) | | 0 |
+| BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Unsigned int(24) | | 0 |
+| StarRating | Unsigned int(8) | User's 'star' rating | |
+
+**StarRating:** either the value 0 (indicating no rating assigned) or a value in the range 10 through 50 inclusive, indicating a rating between 1 star (1.0, lowest rated by the user) and 5 stars (5.0, highest rated by the user) inclusive.
+
+**Table 8.12c: The Thumbnail box**
+
+| Field | Type | Details | Value |
+|-------------------|---------------------|------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'thmb' |
+| BoxHeader.Version | Unsigned int(8) | | 0 |
+| BoxHeader.Flags | Bit(24) | | 0 |
+| Format | Unsigned int(32) | Four-character code of the coding format | |
+| Data | bytes to end of box | Image data | |
+
+**Format:** four-character code that indicates the encoding system for the thumbnail or thumbnail reference. That shall be 'jpeg'.
+
+**Data:** the image data, as indicated in the Format field. The Data is the image or reference in the indicated format. The Format 'jpeg' indicates an image in the JPEG format, that shall conform to the requirements of section 7.5 respectively of [3] (i.e. 3GPP TS 26.234).
+
+## 8.3 ID3 version 2 meta data
+
+ID3 version 2 meta-data can be stored in 3GP files by using the Meta box defined by the ISO base media file format [7]. The procedure is specified by MP4REG, the MP4 Registration Authority [32] and is provided here for information.
+
+The ID3v2 meta data is stored in the Meta box ('meta'), which shall contain a Handler box with handler 'ID32'. The actual meta data is either stored in one or more ID3v2 box(es) inside the meta-data box, or this entire set of box(es) is referenced as the primary item, and stored elsewhere. The ID3v2 box is defined in Table 8.13.
+
+**Table 8.13: ID3v2 box**
+
+| Field | Type | Details | Value |
+|-------------------|--------------------|----------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'ID32' |
+| BoxHeader.Version | Unsigned int(8) | | 0 |
+| BoxHeader.Flags | Bit(24) | | 0 |
+| Pad | Bit(1) | | 0 |
+| Language | Unsigned int(5)[3] | Packed ISO-639-2/T language code | |
+| ID3v2data | Unsigned int(8)[ ] | Complete ID3 version 2.x.x data | |
+
+**Language:** declares the language code for the following text. See ISO 639-2/T for the set of three character codes. Each character is packed as the difference between its ASCII value and 0x60. The code is confined to being three lower-case letters, so these values are strictly positive. If there are some language fields inside ID3 tag, language
+
+must not conflict with them. Instead codes 'mul' (multiple languages) and 'und' (undetermined language) should be used in such cases.
+
+**ID3v2data:** binary data that corresponds to ID3v2 tag format (e.g. for v.2.4.0:
) and its native frames (e.g. for v.2.4.0: ). ID3 tag must not contain any footer information, because it is never needed. Both ID3v2 tag format and its native frames must use the same version of the specification. Size of this field can be derived from the box size. The version of the ID3 data may be found by inspecting it
+
+The ID3v2 box contains a complete ID3 version 2.x.x data. It should be parsed according to ID3v2 [33] specifications for v.2.x.x tags. There may be multiple ID3v2 boxes using different language codes.
+
+# --- 9 Video buffer information
+
+## 9.1 General
+
+A 3GP file can include video-buffer parameters associated with video streams. For the case when only one set of parameters is associated to an entire video stream, these can be included in the corresponding media-level SDP fragment. However, in order to provide buffer parameters for different operation points, as defined below, and for different synchronization points, a track can contain a video buffer sample grouping. The type of sample grouping depends on which video-buffer model that is used for a particular video codec.
+
+For H.263 and MPEG-4 visual, the PSS buffering model, defined in Annex G of TS 26.234 [3] (PSS Annex G), is used. Buffer parameters for several operation points and synchronization points may be specified by a 3GPP PSS Annex G sample grouping as defined in clause 9.2.1.
+
+For H.264 (AVC), there are two types of buffers:
+
+- H.264 (AVC) Hypothetical Reference Decoder (HRD) model;
+- de-interleaving buffer of the interleaved RTP packetization mode of H.264 (AVC).
+
+Buffer parameters for several operation points and synchronization points of the HRD model may be specified by an AVC HRD sample grouping as defined in clause 9.2.2. Only one set of de-interleaving parameters can be associated to a stream and therefore the de-interleaving parameters are included in the corresponding media-level SDP fragment according to the H.264 (AVC) MIME/SDP specification in [30].
+
+**NOTE:** Any VUI HRD parameters, buffering period SEI message, and picture timing SEI message in H.264 (AVC) streams or included in the sps-parameter-sets MIME/SDP parameter of a media-level SDP fragment must not contradict each other or the information in the AVC HRD sample grouping, if any.
+
+## 9.2 Sample groupings for video-buffer parameters
+
+A sample grouping is an assignment of each sample in a track to be a member of one (or none) of several sample groups, based on a grouping criterion. The assignment of buffer parameters to synchronization points (sync samples) provides one sample grouping of the samples in a track. The usage of sample groups in 3GP files shall follow the syntax defined in [20].
+
+Each sample is associated to zero or one sample group entries of any given grouping type in the sample group description box ('sgpd'). Sample group entries for sample groups defined by the grouping type '3gag' are given by the 3GPP PSS Annex G Sample group entry, defined in Table 9.1, and sample group entries for sample groups defined by the grouping type 'avcb' are given by the AVC HRD Sample group entry, defined in Table 9.2.
+
+Sample group entries provide buffer parameters relevant to all samples in the corresponding sample group(s). A sync sample and all following non-sync samples before the next sync sample shall be members of the same sample group with respect to the video-buffer grouping type. The indicated buffer parameters for a sync sample are applicable for the stream from that sync sample onwards.
+
+**NOTE:** A file, in which some but not all samples are associated with sample groups with respect to the grouping type '3gag' or 'avcb', may have been edited and may therefore no longer conform to corresponding buffer model.
+
+### 9.2.1 3GPP PSS Annex G sample grouping
+
+The grouping type '3gag' defines the grouping criterion for 3GPP PSS Annex G buffer parameters. Zero or one sample-to-group box ('sbgp') for the grouping type '3gag' can be contained in the sample table box ('stbl') of a track. It shall reside in a hint track, if a hint track is used, otherwise in the video track. The presence of this box and grouping type indicates that the associated video stream complies with PSS Annex G. Note that the nature of the track defines the media transport for which the buffer parameters are calculated, e.g. for an RTP hint track, the media transport is RTP.
+
+**Table 9.1: 3GPP PSS Annex G sample group entry**
+
+| Field | Type | Details | Value |
+|------------------|-------------|------------------------------------------------------------|-------|
+| BufferParameters | AnnexGstruc | Structure which holds the buffer parameters of PSS Annex G | |
+
+**BufferParameters:** the structure where the PSS Annex G buffer parameters reside.
+
+AnnexGstruc is defined as follows:
+
+```
+
+struct AnnexGstruc {
+ Unsigned int(16) operation_point_count
+ for (i = 0; i < operation_point_count; i++){
+ Unsigned int (32) tx_byte_rate
+ Unsigned int (32) dec_byte_rate
+ Unsigned int (32) pre_dec_buf_size
+ Unsigned int (32) init_pre_dec_buf_period
+ Unsigned int (32) init_post_dec_buf_period
+ }
+}
+
+```
+
+The definitions of the AnnexGstruc members are as follows:
+
+**operation\_point\_count:** specifies the number of operation points, each characterized by a pair of transmission byte rate and decoding byte rate. Values of buffering parameters are specified separately for each operation point. The value of operation\_point\_count shall be greater than 0.
+
+**tx\_byte\_rate:** indicates the transmission byte rate (in bytes per second) that is used to calculate the transmission timestamps of media-transport packets for the PSS Annex G buffering verifier as follows. Let $t1$ be the transmission time of the previous media-transport packet and $size1$ be the number of bytes in the payload of the previous media-transport packet in transmission order, excluding the media-transport payload header and any lower-layer headers. For the first media-transport packet of the stream, $t1$ and $size1$ are equal to 0. The media track shall comply with PSS Annex G when each sample is packetized in one media-transport packet, the transmission order of media-transport packets is the same as their decoding order, and the transmission time of an media-transport packet is equal to $t1 + size1 / tx\_byte\_rate$ . The value of $tx\_byte\_rate$ shall be greater than 0.
+
+**dec\_byte\_rate:** indicates the peak decoding byte rate that was used in this operation point to verify the compatibility of the stream with PSS Annex G. Values are given in bytes per second. The value of $dec\_byte\_rate$ shall be greater than 0.
+
+**pre\_dec\_buf\_size:** indicates the size of the PSS Annex G hypothetical pre-decoder buffer in bytes that guarantees pauseless playback of the entire stream under the assumptions of PSS Annex G.
+
+**init\_pre\_dec\_buf\_period:** indicates the required initial pre-decoder buffering period that guarantees pauseless playback of the entire stream under the assumptions of PSS Annex G. Values are interpreted as clock ticks of a 90-kHz block. That is, the value is incremented by one for each 1/90 000 seconds. For example, value 180 000 corresponds to a two second initial pre-decoder buffering.
+
+**init\_post\_dec\_buf\_period:** indicates the required initial post-decoder buffering period that guarantees pauseless playback of the entire stream under the assumptions of PSS Annex G. Values are interpreted as clock ticks of a 90-kHz clock.
+
+### 9.2.2 AVC HRD sample grouping
+
+The grouping type 'avcb' defines the grouping criterion for AVC HRD parameters. Zero or one sample-to-group box ('sbgp') for the grouping type 'avcb' can be contained in the sample table box ('stbl') of a track. It shall reside either in a
+
+hint track or a video track. The presence of this box and grouping type indicates that the associated video stream complies with AVC HRD with the indicated parameters.
+
+**Table 9.2: AVC HRD sample group entry**
+
+| Field | Type | Details | Value |
+|------------------|-------------|----------------------------------------------|-------|
+| AVCHRDParameters | AVCHRDstruc | Structure which holds the AVC HRD parameters | |
+
+**AVCHRDParameters**: the structure where the AVC HRD parameters reside.
+
+AVCHRDstruc is defined as follows:
+
+```
+struct AVCHRDstruc {
+ Unsigned int(16) operation_point_count
+ for (i = 0; i < operation_point_count; i++){
+ Unsigned int (32) tx_byte_rate
+ Unsigned int (32) pre_dec_buf_size
+ Unsigned int (32) post_dec_buf_size
+ Unsigned int (32) init_pre_dec_buf_period
+ Unsigned int (32) init_post_dec_buf_period
+ }
+}
+```
+
+The definitions of the AVCHRDstruc members are as follows:
+
+**operation\_point\_count**: specifies the number of operation points. Values of AVC HRD parameters are specified separately for each operation point. The value of operation\_point\_count shall be greater than 0.
+
+**tx\_byte\_rate**: indicates the input byte rate (in bytes per second) to the coded picture buffer (CPB) of AVC HRD. The bitstream is constrained by the value of BitRate equal to $8 * \text{the value of tx\_byte\_rate for NAL HRD parameters as specified in [29]}$ . For VCL HRD parameters, the value of BitRate is equal to $\text{tx\_byte\_rate} * 40 / 6$ . The value of tx\_byte\_rate shall be greater than 0.
+
+**pre\_dec\_buf\_size**: gives the required size of the pre-decoder buffer or coded picture buffer in bytes. The bitstream is constrained by the value of CpbSize equal to $\text{pre\_dec\_buf\_size} * 8$ for NAL HRD parameters as specified in [29]. For VCL HRD parameters, the value of CpbSize is equal to $\text{pre\_dec\_buf\_size} * 40 / 6$ .
+
+At least one pair of values of tx\_byte\_rate and pre\_dec\_buf\_size of the same operation point shall conform to the maximum bitrate and CPB size allowed by profile and level of the stream.
+
+**post\_dec\_buf\_size**: gives the required size of the post-decoder buffer, or the decoded picture buffer, in unit of bytes. The bitstream is constrained by the value of max\_dec\_frame\_buffering equal to $\text{Min}( 16, \text{Floor}( \text{post\_dec\_buf\_size} ) / ( \text{PicWidthMbs} * \text{FrameHeightInMbs} * 256 * \text{ChromaFormatFactor} ) )$ as specified in [29]. If the SDP attribute 3gpp-videopostdecbufsize is not present for an H.264 (AVC) stream, the value of max\_dec\_frame\_buffering is inferred as specified in [29].
+
+**init\_pre\_dec\_buf\_period**: gives the required delay between the time of arrival in the pre-decoder buffer of the first bit of the first access unit and the time of removal from the pre-decoder buffer of the first access unit. It is in units of a 90 kHz clock. The bitstream is constrained by the value of the nominal removal time of the first access unit from the coded picture buffer (CPB), $t_{r,n}( 0 )$ , equal to init\_pre\_dec\_buf\_period as specified in [29].
+
+**init\_post\_dec\_buf\_period**: gives the required delay between the time of arrival in the post-decoder buffer of the first decoded picture and the time of output from the post-decoder buffer of the first decoded picture. It is in units of a 90 kHz clock. The bitstream is constrained by the value of dpb\_output\_delay for the first decoded picture in output order equal to init\_post\_dec\_buf\_period as specified in [29] assuming that the clock tick variable, $t_c$ , is equal to $1 / 90\,000$ .
+
+# 9a Stereoscopic 3D video
+
+## 9a.1 General
+
+Stereoscopic 3D video can be encapsulated and delivered in 3GP files (or 3GP segments in the case of DASH). Frame compatible H.264/AVC and temporally interleaved H.264/AVC use the traditional AVC file format [20] where information about the stereo arrangement is carried in an SEI message "frame packing arrangement SEI". Multiview Video Coding MVC on the other hand uses extensions of the AVC file format [20] which specify separate signalling for MVC streams.
+
+Storing frame compatible or temporally interleaved stereoscopic 3D video in a 3GP file as described above ensures that a UE can decode the bitstreams correctly (if it has the corresponding decoding capability), but it does not ensure that a UE renders the 3D video correctly. For instance, a UE that is not aware of the SEI message indicating that a bitstream represents frame compatible 3D or temporally interleaved 3D will simply render the video frames as consecutive 2D frames. The output will most likely look like garbage or with disturbing artefacts to the viewer.
+
+The above problem is avoided by enforcing post-decoder requirements with the restricted video mechanism specified in the ISO base media file format [7]. The mechanism is similar to the content protection transformation where sample entries are hidden behind generic sample entries, 'encv', 'enca', etc., indicating encrypted or encapsulated media. The analogous mechanism for restricted video uses a transformation with the generic sample entry 'resv'. The method should be applied when the content should only be decoded by clients that present it correctly. For the above cases with frame compatible and temporally interleaved 3D video, the scheme type for stereoscopic video 'stvi' [7] should be used.
+
+In addition, UEs consuming content provided in the 3GP file format expect to identify the content based on the MIME Type of the 3GP file in order to accept or reject content. RFC6381 [34] provides an ability to signal profile and codec parameters and may be considered to be used in this context as well. For more details refer to clause 10.5.
+
+The following sub-clauses describe stereoscopic 3D file format signalling in more detail including the case of mixed services.
+
+## 9a.2 Frame compatible H.264/AVC
+
+Frame compatible H.264/AVC is stored in a 3GP file as defined for H.264/AVC in the AVC file format [20] where the AVC sample entry has been transformed according to the restricted video mechanism using the sample entry 'resv' and the stereo video scheme type 'stvi' [7]. The stereo scheme of the stereo video box is 1, i.e. the stereo indication type identifies the frame packing arrangement type by using the values defined by the frame packing arrangement SEI (Table D-8 of ISO/IEC 14496-10), for example 3 for Side by Side or 5 for temporal interleaved.
+
+NOTE: It is recommended to use the "frame packing arrangement SEI" rather than the "stereo video SEI".
+
+## 9a.3 Multiview Video Coding MVC
+
+Multiview Video Coding MVC is stored and signalled in a 3GP file as defined for MVC in the AVC file format [20]. In order to ensure compatibility with H.264 (AVC) file readers, one track shall use sample entry type 'avc1'.
+
+## 9a.4 Mixed 2D/3D video
+
+Decoding and rendering requirements are signalled in the sample entry descriptions as detailed above. In fact, each video sample in a 3GP file is associated with a sample entry description, which in turn specifies if the video data is 2D H.264/AVC or any of the above types of 3D H.264/AVC. If a file contains both 2D and 3D video, separate sample entry descriptions are used where 2D parts of the file are associated with the 2D sample entry description and 3D parts of the file with the appropriate 3D sample entry description.
+
+## 9a.5 MIME type signaling for 3D stereoscopic video files
+
+UEs consuming content provided in the 3GP file format expect to identify the content based on the MIME Type of the 3GP file in order to accept or reject content. RFC6381 [34] provides an ability to signal profile and codec parameters and may be considered to be used in this context as well.
+
+To signal content provided in MVC, the codecs parameter as defined in RFC6381 [34] may be used. The details on how to signal MVC content are provided in RFC6381 [34], clause 3.3. The clause addresses also the use case when MVC content is coded in an H.264/AVC-compatible fashion.
+
+In case of mixed content, all required capabilities may be signalled in the MIME type parameters.
+
+# 10 Encryption
+
+## 10.1 General
+
+A 3GP file may include encrypted media together with information on key management and requirements for decrypting and/or serving encrypted media. Tracks containing encrypted media use dedicated sample entries for encrypted media, which will be ignored by 3GP readers not capable of handling encrypted media. 3GP readers capable of detecting encrypted media are able to obtain “in the clear” the sample entries that apply to the decrypted media as well as all requirements for decrypting the media. Moreover, 3GP readers supporting extended presentations (see clause 11) referring to media files rather than media tracks are provided with all requirements for decrypting media files.
+
+Clause 10.2 and 10.3 are provided here for information in the context of 3GP files. The definitions follow from [7].
+
+## 10.2 Sample entries for encrypted media tracks
+
+The sample entries stored in the sample description box of a media track in a 3GP file identify the format of the encoded media, i.e. codec and other coding parameters. All valid sample entries for unencrypted media in a 3GP file are described in Clause 6. The principle behind storing encrypted media in a track is to “disguise” the original sample entry with a generic sample entry for encrypted media. Table 10.1 gives an overview of the formats (identifying sample entries) that can be used in 3GP files for signalling encrypted video, audio and text.
+
+**Table 10.1: Formats for encrypted media tracks**
+
+| Format | Original format | Media content |
+|--------|-------------------------------------|-------------------------------------------------------------------|
+| 'encv' | 's263', 'mp4v', 'avc1', ... | encrypted video: H.263, MPEG-4 visual, H.264(AVC), ... |
+| 'enca' | 'samr', 'sawb', 'sawp', 'mp4a', ... | encrypted audio: AMR, AMR-WB, AMR-WB+, Enhanced aacPlus, AAC, ... |
+| 'enct' | 'tx3g', ... | encrypted text: timed text, ... |
+
+The generic sample entries for encrypted media replicate the original sample entries and include a Protection scheme information box with details on the original format, as well as all requirements for decrypting the encoded media. The EncryptedVideoSampleEntry and the EncryptedAudioSampleEntry are defined in Tables 10.2 and 10.3, where the ProtectionSchemeInfoBox (defined in clause 10.2) is simply added to the list of boxes contained in a sample entry.
+
+**Table 10.2: EncryptedVideoSampleEntry**
+
+| Field | Type | Details | Value |
+|----------------------------------------------------------------------------------------------|------------------|------------------------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'encv' |
+| All fields and boxes of a visual sample entry, e.g. MP4VisualSampleEntry or H263SampleEntry. | | | |
+| ProtectionSchemeInfoBox | | Box with information on the original format and encryption | |
+
+**Table 10.3: EncryptedAudioSampleEntry**
+
+| Field | Type | Details | Value |
+|---------------------------------------------------------------------------------------------|------------------|------------------------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'enca' |
+| All fields and boxes in an audio sample entry, e.g. MP4AudioSampleEntry or AMRSSampleEntry. | | | |
+| ProtectionSchemeInfoBox | | Box with information on the original format and encryption | |
+
+The EncryptedVideoSampleEntry and the EncryptedAudioSampleEntry can also be used with any additional codecs added to the 3GP file format, as long as their sample entries are based on the SampleEntry of the ISO base media file format [7].
+
+The EncryptedTextSampleEntry is defined in Table 10.4. Text tracks are specific to 3GP files and defined by the Timed text format [4]. In analogy with the cases for audio and video, a ProtectionSchemeInfoBox is added to the list of contained boxes.
+
+**Table 10.4: EncryptedTextSampleEntry**
+
+| Field | Type | Details | Value |
+|------------------------------------------|------------------|------------------------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'enct' |
+| All fields and boxes of TextSampleEntry. | | | |
+| ProtectionSchemeInfoBox | | Box with information on the original format and encryption | |
+
+NOTE: The boxes within the sample entries defined in Tables 10.2-10.4 may not precede any of the fields. The order of the boxes (including the ProtectionSchemeInfoBox) is not important though.
+
+## 10.3 Key management
+
+The necessary requirements for decrypting media are stored in the Protection scheme information box. For the case of media tracks, it contains the Original format box, which identifies the codec of the decrypted media. For both media tracks and media files, it contains the Scheme type box, which identifies the protection scheme used to protect the media, and the Scheme information box, which contains scheme-specific data (defined for each scheme). It is out of the scope of this specification to define a protection scheme.
+
+The Protection scheme information box and its contained boxes are defined in Tables 10.5 – 10.8.
+
+**Table 10.5: ProtectionSchemeInfoBox**
+
+| Field | Type | Details | Value |
+|-----------------------------|------------------|-------------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'sinf' |
+| OriginalFormatBox | | Box containing identifying the original format | |
+| SchemeTypeBox | | Optional box containing the protection scheme. | |
+| SchemeInformationBox | | Optional box containing the scheme information. | |
+
+**Table 10.6: OriginalFormatBox**
+
+| Field | Type | Details | Value |
+|-----------------------|------------------|-----------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'frma' |
+| DataFormat | Unsigned int(32) | original format | |
+
+**DataFormat** identifies the format (sample entry) of the decrypted, encoded data. The currently defined formats in 3GP files include 'mp4v', 'h263', 'avc1', 'mp4a', 'samr', 'sawb', 'sawp' and 'tx3g'.
+
+**Table 10.7: SchemeTypeBox**
+
+| Field | Type | Details | Value |
+|--------------------------|--------------------|-------------------------------------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'schm' |
+| BoxHeader.Version | Unsigned int(8) | | 0 |
+| BoxHeader.Flags | Bit(24) | | 0 or 1 |
+| SchemeType | Unsigned int(32) | four-character code identifying the scheme | |
+| SchemeVersion | Unsigned int(32) | Version number | |
+| SchemeURI | Unsigned int(8)[ ] | Browser URI (null-terminated UTF-8 string). Present if (Flags & 1) true | |
+
+**SchemeType** and **SchemeVersion** identify the encryption scheme and its version. As an option, it is possible to include **SchemeURI** with an URI pointing to a web page for users that don't have the encryption scheme installed.
+
+**Table 10.8: SchemeInformationBox**
+
+| Field | Type | Details | Value |
+|-----------------------|------------------|-----------------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'schi' |
+| | | Box(es) specific to scheme identified by SchemeType | |
+
+The boxes contained in the Scheme information box are defined by the scheme type, which is out of the scope of this specification to define.
+
+# 11 Extended presentation format
+
+## 11.1 General
+
+A 3GP file may include an extended presentation that consists of media files in addition to tracks for audio, video and text. Examples of such media files are static images, e.g. JPEG files, which can be stored in a 3GP "container file". A 3GP container file that includes an extended presentation must include a scene description that governs the rendering of all parts of the 3GP file.
+
+## 11.2 Storage format
+
+A 3GP file with an extended presentation shall include a Meta box ('meta') at the top level of the file as defined in [7]. The Meta box shall include the following boxes:
+
+- Handler box with handler type '3gsd' (3GPP scene description);
+- Primary item box or XML box identifying the scene description;
+- Item information box;
+- Item location box (see below).
+
+A scene description (e.g. an SVG scene, in the case of DIMS, or a SMIL file) shall be included either in an XML box or as an item located by the Item location box. The scene description may refer to both tracks and media files (items).
+
+A 3GP file that contains media files and/or a scene description not stored in an XML box shall include an Item location box locating all contained files and the scene description. Each item corresponding to a media file of the Item location box shall also be included in the Item information box in order to specify its filename (item name) and MIME type. The Item information box shall also include an entry for the scene description that specifies its MIME type. By referring to a Protection scheme information box in the Item protection box, the Item information box can also indicate whether the content of an item is protected (encrypted) as defined in [7] and discussed in clause 10 of the present specification.
+
+## 11.3 URL forms for items and tracks
+
+All media files and the scene description included in a 3GP file are logically located in the same directory as the 3GP file itself. In general, the Meta box of a 3GP file serve as a container of files that logically “shadow” files outside the 3GP file. See the description of URL forms for Meta boxes in [7] for further details. The Movie box (‘moov’) of a 3GP file contains all media tracks and possible scene description update tracks.
+
+The scene description (primary item) of a 3GP file addresses other resources by using relative URLs. In particular it addresses
+
+- media files (items) by referring to their filenames;
+- media tracks by referring to the Movie box with the relative URL "#box=moov".
+
+The default is to address all tracks of the Movie box. However, it is possible to address individual media tracks in the Movie box by referring to their track IDs. The relative URL of a track is defined in terms of ABNF [31] as follows:
+
+```
+relative-track-URL = "#box=moov;track_ID=" track-number* ("," track-number)
+track-number = 1*digit
+```
+
+Hence, individual tracks are referenced by listing their numbers, e.g. "#box=moov;track\_ID=1,3".
+
+A DIMS (SVG) scene description (primary item) can also address scene updates in a track using the above URL forms. For instance, applying updates to the scene description stored in track 1 after 10 seconds is done as follows:
+
+```
+
+```
+
+Note: It is possible to include a 3GP file with tracks as a media file (addressed by filename) rather than using a top-level Movie box for tracks. However, this way the included 3GP file will be “hidden” one layer and interleaving between individual tracks and items less transparent.
+
+## 11.4 Examples
+
+### 11.4.1 SMIL presentation
+
+The following example consists of a slide show in SMIL consisting of three images shown with the duration of 3 seconds each and an AMR clip that is played in parallel. The presentation is built from a number of separate files:
+
+- SMIL file: "scene.smil";
+- 3GP file with AMR: "audioclip.3gp";
+- Image files: "pic1.jpg", "pic2.jpg" and "pic3.jpg".
+
+These files can be packaged into a single 3GP file "presentation.3gp" as an extended presentation. The overall presentation is governed by the SMIL file located as the primary item of "presentation.3gp":
+
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+The audio track resides in the Movie box and is referred to as "#box=moov", whereas the images are included as media files in the Meta box.
+
+### 11.4.2 DIMS presentation
+
+The following example consists of a DIMS presentation that refers to images, an AMR clip and scene updates. The presentation is contained in a single Extended-presentation profile 3GP file containing:
+
+- DIMS scene description (SVG scene) stored as item 1 identified by a Primary item box;
+- DIMS updates stored as a DIMS track (track ID 1);
+- AMR clip stored as an AMR track (track ID 2);
+- Image files: "pic1.jpg", "pic2.jpg" and "pic3.jpg" stored as items 2, 3 and 4.
+
+All references to the DIMS and AMR tracks and the images are made by relative URLs from the DIMS Unit in the primary item:
+
+```
+
+
+ DIMS example
+
+
+
+
+
+
+
+```
+
+An Item information box specifies the MIME type of the scene description (SVG scene) and the filenames and MIME types of the image files. An Item location box specifies the locations of all items.
+
+# --- 12 Media Stream Recording
+
+## 12.1 Unprotected Stream Recording
+
+Received RTP media streams may be stored in 3GP files conforming to the Media Stream Recording profile. RTP packets may be stored in RTP reception hint tracks. RTCP packets may be stored in RTCP reception hint tracks.
+
+## 12.2 Protected Stream recording
+
+SRTP protected media may be stored in 3GP files conforming to the 3GP Media Stream Recording Profile. SRTP and corresponding SRTCP packets are stored in SRTP reception hint tracks and SRTCP reception hint tracks, respectively, as described in [38]. Corresponding MIKEY MBMS Traffic Key messages are stored in OMA BCAST STKM tracks as described in clause 12.2.1. Additionally, SDP and Protection Description information is stored as described in clauses 12.3 and 12.2.2.
+
+### 12.2.1 Key message tracks
+
+MIKEY MBMS Traffic Key messages as defined in [39] shall be stored in OMA BCAST STKM tracks 'oksd' as defined in [37]. A 3GP file with SRTP recording extensions shall contain at least one STKM track. Furthermore, all key messages related a specific SRTP reception hint track shall be recorded in the same STKM track. Track references of type 'cdsc' shall be used to link STKM tracks to SRTP reception hint tracks as described in [37].
+
+In the Sample Description Entry of the STKM track, the filed sample\_version shall be set to 0x00 and the field sample\_type shall be set to 0xf7. The value 0xf7 indicates MIKEY MBMS Traffic Key messages.
+
+Each Sample Entry of a STKM track shall contain exactly one MIKEY MBMS Traffic Key messages in the STKM field. That is, the STKM field shall contain the payload of the received MIKEY package (without IP and UDP headers) including all MIKEY headers and all MIKEY payloads and the MIKEY MAC/Signature field.
+
+### 12.2.2 Protection Description
+
+The ServiceProtectionDescription box shall be defined as stated in table 12.1. The ServiceProtectionDescription box shall be included for each Sample Description Entry of a SRTP reception hint track as a sub box of the SchmeInformationBox 'schi' in the SRTPProcessBox box 'srpp' as defined in [7].
+
+**Table 12.1: ServiceProtectionDescription box**
+
+| Field | Type | Details | Value |
+|----------------------------|-------------------|--------------------------------------------------|--------|
+| BoxHeader.Size | Unsigned int(32) | | |
+| BoxHeader.Type | Unsigned int(32) | | 'spdb' |
+| BoxHeader.Version | Unsigned int(8) | | 0 |
+| SecurityDescription | Unsigned int(8)[] | Service Protection Description Metadata Fragment | |
+
+**BoxHeader Size, Type, Version:** indicate the size, type and version of the ServiceProtectionDescription box. The type shall be 'spdb' and the version shall be 0.
+
+**SecurityDescription:** This field shall contain the XML encoded Service Protection Description Metadata Fragment as specified in [40] with the restriction that only the mediaFlow element referring to the SRTP stream from which this SRTP reception hint track was recorded is contained. That is, the SecurityDescription shall contain exactly one mediaFlow element and this element shall correspond to the stored SRTP packets described by the Sample Description which also contains this SecurityDescription.
+
+## 12.3 SDP
+
+Fragments that together constitute an SDP description shall be contained in a 3GP file with Media Stream recording extensions. Session-level SDP, i.e. all lines before the first media-specific line ("m=" line), shall be stored as Movie SDP information within the User Data box, as specified in [7]. Media-level SDP, i.e. an "m=" line and the lines before the next "m=" line (or end of SDP) shall be stored as Track SDP information within the User data box of the corresponding track. Media-level SDP shall be contained in each corresponding reception hint track or media track.
+
+# 13 HTTP streaming extensions
+
+## 13.1 Introduction
+
+This clause describes extensions to the 3GP file format related to Dynamic Adaptive Streaming over HTTP as specified in 3GPP TS 26.247 [49] using HTTP [48] as delivery protocol for segments.
+
+## 13.2 Segment types
+
+It is possible in HTTP streaming to form files from segments - or concatenated segments - which would not necessarily form 3GP compliant files (e.g. they do not contain a movie box). If such segments are stored in separate files (e.g. on a standard HTTP server) it is recommended that these 'segment files' start with a segment-type box, to enable identification of those files, and declaration of the specifications with which they are compliant.
+
+A segment type has the same format as an 'ftyp' box [7], except that it takes the box type 'styp'. The brands within it should include the same brands that were included in the 'ftyp' box that preceded the 'moov' box, and may also include additional brands to indicate the compatibility of this segment with various specification(s) such as the 3GP Media Segment Profile defined in clause 5.4.10 of this specification.
+
+Valid segment type boxes shall be the first box in a segment. Segment type boxes may be removed if segments are concatenated (e.g. to form a full 3GP file), but this is not required. Segment type boxes that are not first in their files may be ignored.
+
+## 13.3 Track Fragment Adjustment Box
+
+Track Fragment Adjustment Boxes describe the relative time difference of the first samples of tracks within a movie fragment. When randomly accessing a 3GP file or a Media Segment at a movie fragment that contains a Track Fragment Adjustment Box, the Track Fragment Adjustment Box provides instructions on how the timeline of one or more of the tracks may be modified to generate synchronization between the tracks. For example, if, in the previous fragment, one track ended later than another, the first sample of that track in this fragment will need to be presented later also; an edit-list in the track fragment adjustment box containing an empty edit, and then a media edit, achieves that effect.
+
+The syntax of a Track Fragment Adjustment Box as described below is identical to that of edit-lists. However, unlike edit-lists, which must always be applied, when present, to adjust the timelines of the containing tracks, a Track Fragment Adjustment Box may only be applied when randomly accessing a 3GP file or a Media Segment at a movie fragment containing the Track Fragment Adjustment Box. In continuous playback, wherein the track alignment is known (e.g. from decoding the previous segment) and sync between tracks has been achieved, Track Fragment Adjustment Box shall not be applied.
+
+The container of the Track Fragment Adjustment Box is the Track Fragment Box. If present, the Track Fragment Adjustment Box should be positioned after the Track Fragment Header Box and before the first Track Fragment Run box. The Track Fragment Adjustment Box is a container for the Track Fragment Media Adjustment Boxes.
+
+```
+aligned(8) class TrackFragmentAdjustmentBox extends Box('tfad') {
+}
+```
+
+The Track Fragment Media Adjustment Box provides explicit time line offsets. By indicating 'empty' time, or by defining a 'dwell', the offset can advantageously delay the playback time of the media in the track so that media in different tracks can be synchronized. Alternatively, the media\_time value may be used to discard part of the "earlier" tracks.
+
+```
+aligned(8) class TrackFragmentMediaAdjustmentBox extends FullBox('tfma', version, 0) {
+ unsigned int(32) entry_count;
+ for (i=1; i <= entry_count; i++) {
+ if (version==1) {
+ unsigned int(64) segment_duration;
+ int(64) media_time;
+ } else { // version==0
+ unsigned int(32) segment_duration;
+ int(32) media_time;
+ }
+ int(16) media_rate_integer;
+ int(16) media_rate_fraction = 0;
+ }
+}
+```
+
+**version** is an integer that specifies the version of this box (0 or 1).
+
+**entry\_count** is an integer that gives the number of entries in the following table.
+
+**segment\_duration** is an integer that specifies the duration of this adjustment segment in units of the timescale in the Movie Header Box. "Adjustment segment" in this context does not refer to the "Media Segment" that contains the 'tfma' but refers to the operation that is performed to place the track at appropriate composition time.
+
+**media\_time** is an integer containing the starting time within the media of this adjustment segment (in media time scale units, in composition time). If this field is set to -1, it is an empty edit. The last adjustment in a track shall never be an empty edit.
+
+**media\_rate\_integer** specifies the relative rate at which to play the media corresponding to this adjustment segment. If this value is 0, then the adjustment is specifying a 'dwell': the media at media-time is presented for the segment-duration. Otherwise this field shall contain the value 1.
+
+## 13.4 Segment Index Box
+
+The Segment Index box ('sidx') provides a compact index of one track within the media segment to which it applies. The index is referring to movie fragments and other Segment Index Boxes in a segment.
+
+Each Segment Index Box documents how a (sub)segment is divided into one or more subsegments (which may themselves be subdivided using Segment Index boxes). A subsegment is defined as a time interval of the containing (sub)segment, and corresponds to a single range of bytes of the containing (sub)segment. The durations of all the subsegments sum to the duration of the containing (sub)segment.
+
+Specifically for this file format a subsegment is a self-contained set of one or more consecutive movie fragment boxes with corresponding Media Data box(es) and a Media Data Box containing data referenced by a Movie Fragment Box must follow that Movie Fragment box and precede the next Movie Fragment box containing information about the same track. The presentation times documented in the Segment Index are in the movie timeline that is they are composition times after the application of any edit list for the track.
+
+Each entry in the Segment Index box contains a reference type that indicates whether the reference points directly to the media bytes of a referenced leaf subsegment, or to a Segment Index box that describes how the referenced subsegment is further subdivided; as a result, the segment may be indexed in a 'hierarchical' or 'daisy-chain' or other form by documenting time and byte offset information for other Segment Index boxes applying to portions of the same (sub)segment.
+
+A Segment Index box provides information about a single track of the Segment, referred to as the reference stream. If provided, the first Segment Index box in a segment, for a given track, shall document the entirety of that track in the segment, and shall precede any other Segment Index box in the segment for the same track.
+
+If a Segment Index is present for at least one track but not all tracks in the segment, then normally a track in which not every sample is independently coded, such as video, is selected to be indexed. For any track for which no segment index is present, referred to as non-indexed stream, the track associated with the first Segment Index box in the segment serves as a reference stream in a sense that it also describes the subsegments for any non-indexed track.
+
+A Segment Index box contains a sequence of references to subsegments of the (sub)segment documented by the box. The referenced subsegments are contiguous in presentation time. Similarly, the bytes referred to by a Segment Index box are always contiguous within the segment. The referenced size gives the count of the number of bytes in the material referenced.
+
+NOTE: A media segment may be indexed by more than one "top-level" Segment Index box that are independent of each other, each of which indexes one track within the media segment. In segments containing multiple tracks the referenced bytes may contain media from multiple tracks, even though the Segment Index box provides timing information for only one track.
+
+The anchor point for a Segment Index box is the first byte after that box.
+
+Within the two constraints (a) that, in time, the subsegments are contiguous, that is, each entry in the loop is consecutive from the immediately preceding one and (b) within a given segment the referenced bytes are contiguous, there are a number of possibilities, including:
+
+1. a reference to a segment index box may include, in its byte count, immediately following Segment Index boxes that document subsegments;
+2. using the `first_offset` field, it is possible to separate Segment Index boxes from the media that they refer to;
+3. it is possible to locate Segment Index boxes for subsegments close to the media they index.
+
+The Segment Index box documents the presence of Stream Access Points (SAPs), as specified in Annex G.6 of TS26.247 [49], in the referenced subsegments. The annex specifies characteristics of SAPs, such as $I_{SAU}$ , $I_{SAP}$ and $T_{SAP}$ , as well as SAP types, which are all used in the semantics below. A subsegment starts with a SAP when the subsegment contains a SAP, and for the first SAP, $I_{SAU}$ is the index of the first sample that follows $I_{SAP}$ , and $I_{SAP}$ is contained in the subsegment.
+
+The container for 'sidx' box is the file or segment directly.
+
+```
+aligned(8) class SegmentIndexBox extends FullBox('sidx', version, 0) {
+ unsigned int(32) reference_ID;
+ unsigned int(32) timescale;
+ if (version==0)
+ {
+ unsigned int(32) earliest_presentation_time;
+ unsigned int(32) first_offset;
+ }
+ else
+ {
+ unsigned int(64) earliest_presentation_time;
+ unsigned int(64) first_offset;
+ }
+ unsigned int(16) reserved = 0;
+ unsigned int(16) reference_count;
+ for(i=1; i <= reference_count; i++)
+ {
+ bit (1) reference_type;
+ unsigned int(31) referenced_size;
+ unsigned int(32) subsegment_duration;
+ bit(1) starts_with_SAP;
+ unsigned int(3) SAP_type;
+ unsigned int(28) SAP_delta_time;
+ }
+}
+```
+
+**reference\_track\_ID** provides the track\_ID for the reference track; if this Segment Index box is referenced from a “parent” Segment Index box, the value of reference\_ID shall be the same as the value of reference\_ID of the “parent” Segment Index box
+
+**timescale** provides the timescale, in ticks per second, for the time and duration fields within this box; it is recommended that this match the timescale of the reference track, i.e. the timescale field of the Media Header Box of the track.
+
+**earliest\_presentation\_time** is the earliest presentation time of any sample in the reference track in the first subsegment, expressed in the timescale of the timescale field.
+
+**first\_offset** is the distance in bytes from the first byte following the containing Segment Indexing Box, to the first byte of the first referenced box.
+
+**reference\_count**: the number of elements indexed by second loop.
+
+**reference\_type**: when set to 0 indicates that the reference is to a movie fragment (‘moof’) box; when set to 1 indicates that the reference is to a segment index (‘sidx’) box.
+
+**referenced\_size**: the distance in bytes from the first byte of the referenced box to the first byte of the next referenced box or in the case of the last entry, the first byte not indexed by this Segment Index Box.
+
+**subsegment\_duration**: when the reference is to Segment Index Box, this field carries the sum of the subsegment\_duration fields in that box; when the reference is to a subsegment, this field carries the difference between the earliest presentation time of any sample of the reference track in the next subsegment (or the first subsegment of the next segment, if this is the last subsegment of the segment or the end composition time of the reference track if this is the last subsegment of the representation) and the earliest presentation time of any sample of the reference track in the referenced subsegment; the duration is expressed in the timescale value in this box.
+
+**starts\_with\_SAP**: indicates whether the referenced subsegments start with a SAP. For the detailed semantics of this field in combination with other fields, see the table below.
+
+**SAP\_type**: indicates a SAP type as specified in TS26.247 [49], Annex G.6, or the value 0. Other type values are reserved. For the detailed semantics of this field in combination with other fields, see the table below.
+
+**SAP\_delta\_time**: indicates $T_{SAP}$ of the first SAP, in decoding order, in the referenced subsegment for the reference stream. If the referenced subsegments do not contain a SAP, SAP\_delta\_time is reserved with the value 0;
+
+otherwise `SAP_delta_time` is the difference between the earliest presentation time of the subsegment, and the $T_{\text{SAP}}$ (note that this difference may be zero, in the case that the subsegment starts with a SAP).
+
+**Table 13.1: Semantics of SAP and reference type combinations**
+
+| starts_with_SAP | SAP_type | reference_type | Meaning |
+|------------------------------|-----------------------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 0 | 0 | 0 or 1 | No information of SAPs is provided. |
+| 0 | 1 to 6, inclusive | 0 (media) | The subsegment contains (but may not start with) a SAP of the given SAP_type and the first SAP of the given SAP_type corresponds to SAP_delta_time . |
+| 0 | 1 to 6, inclusive | 1 (index) | All the referenced subsegments contain a SAP of at most the given SAP_type and none of these SAPs is of an unknown type. |
+| 1 | 0 | 0 (media) | The subsegment starts with a SAP of an unknown type. |
+| 1 | 0 | 1 (index) | All the referenced subsegments start with a SAP which may be of an unknown type |
+| 1 | 1 to 6, inclusive | 0 (media) | The referenced subsegment starts with a SAP of the given SAP_type . |
+| 1 | 1 to 6, inclusive | 1 (index) | All the referenced subsegments start with a SAP of at most the given SAP_type and none of these SAPs is of an unknown type. |
+
+## 13.5 Track Fragment Decode Time Box
+
+The Track Fragment Base Media Decode Time ('`tfdt`') Box provides the decode time of the first sample in the track fragment. This can be useful, for example, when performing random access in a file; it is not necessary to sum the sample durations of all preceding samples in previous fragments to find this value (where the sample durations are the deltas in the Decoding Time to Sample Box and the `sample_durations` in the preceding track runs).
+
+The Track Fragment Base Media Decode Time Box, if present, shall be positioned after the Track Fragment Header Box and before the first Track Fragment Run box.
+
+Note: the decode timeline is a media timeline, established before any explicit or implied mapping of media time to presentation time, for example by an edit list or similar structure.
+
+```
+aligned(8) class TrackFragmentBaseMediaDecodeTimeBox
+ extends FullBox('tfdt', version, 0) {
+ if (version==1) {
+ unsigned int(64) baseMediaDecodeTime;
+ } else { // version==0
+ unsigned int(32) baseMediaDecodeTime;
+ }
+ }
+}
+```
+
+**version** is an integer that specifies the version of this box (0 or 1 in this specification).
+
+**baseMediaDecodeTime** is an integer equal to the sum of the decode durations of all earlier samples in the media, expressed in the media's timescale. It does not include the samples added in the enclosing track fragment.
+
+# --- Annex A (normative): MIME Type Registrations for 3GP files
+
+## A.1 MIME Types
+
+### A.1.1 General
+
+This registration is an update and replacement of RFC 3839. It applies to all files defined as using the '3GP' file format and identified with a suitable brand in a 3GPP specification. The usual file suffix for all these files is ".3gp". The difference between the current registration and RFC 3839 is the inclusion of two optional parameters.
+
+### A.1.2 Files with audio but no visual content
+
+The type "audio/3gpp" may be used for files containing audio but no visual presentation (neither video nor timed text, for example).
+
+Type name: audio
+
+Subtype name: 3gpp
+
+Required parameters: none
+
+Optional parameters:
+
+codecs: is a single value or a comma-separated list that identifies the codec(s) needed for rendering the content contained (in tracks) of a file. The codecs parameter is defined in RFC 6381 [32]. The ISO file format name space and ISO syntax in clauses 3.3 and 3.4 of RFC 6381, respectively, shall be used together with additions defined in clause A.2.2 of the present document.
+
+types: is a single value or a comma-separated list that identifies the MIME media types of the content contained (in items) in a file. It is defined in clause A.2.3 of the present document.
+
+Encoding considerations: files are binary and should be transmitted in a suitable encoding without CR/LF conversion, 7-bit stripping etc.; base64 (RFC 4648 [35]) is a suitable encoding.
+
+Security considerations: see the security considerations section in A.3 of the present document.
+
+Interoperability considerations: The 3GPP organization has defined the specification, interoperability, and conformance. IMTC conducts interoperability testing.
+
+Published specification: 3GPP TS 26.234, Release 5; 3GPP TS 26.244, Release 6 or later. 3GPP specifications are publicly accessible at the 3GPP web site, [www.3gpp.org](http://www.3gpp.org).
+
+Applications which use this media type: Multi-media
+
+Additional information: The type "audio/3gpp" may be used for files containing audio but no visual presentation. Files served under this type must not contain any visual material. (Note that timed text is visually presented and is considered to be visual material).
+
+Magic number(s): None. However, the file-type box must occur first in the file, and must contain a 3GPP brand in its compatible brands list.
+
+File extension(s): '3gp' and '3gpp' are both declared at ; 3gp is preferred
+
+Macintosh File Type Code(s): '3gpp'
+
+Intended usage: COMMON
+
+Restrictions on usage: Note that this MIME type is used only for files; separate types are used for real-time transfer, such as for the RTP payload format for AMR audio (RFC 4867 [15]).
+
+Author:
+
+3GPP TSG SA WG4
+
+Change controller: 3GPP TSG SA
+
+### A.1.3 Any files
+
+The type "video/3gpp" is valid for all files. It is valid to serve an audio-only file as "video/3gpp".
+
+MIME media type name: video
+
+MIME subtype name: 3gpp
+
+Required parameters: none
+
+Optional parameters:
+
+codecs: is a single value or a comma-separated list that identifies the codec(s) needed for rendering the content contained (in tracks) of a file. The codecs parameter is defined in RFC 6381 [32]. The ISO file format name space and ISO syntax in clauses 3.3 and 3.4 of RFC 6381, respectively, shall be used together with additions defined in clause A.2.2 of the present document.
+
+types: is a single value or a comma-separated list that identifies the MIME media types of the content contained (in items) in a file. It is defined in clause A.2.3 of the present document.
+
+Encoding considerations: files are binary and should be transmitted in a suitable encoding without CR/LF conversion, 7-bit stripping etc.; base64 (RFC 4648 [35]) is a suitable encoding.
+
+Security considerations: see the security considerations section in A.3 of the present document.
+
+Interoperability considerations: The 3GPP organization has defined the specification, interoperability, and conformance. IMTC conducts interoperability testing.
+
+Published specification: 3GPP TS 26.234, Release 5; 3GPP TS 26.244, Release 6 or later. 3GPP specifications are publicly accessible at the 3GPP web site, [www.3gpp.org](http://www.3gpp.org).
+
+Applications which use this media type: Multi-media
+
+Additional information:
+
+Magic number(s): None. However, the file-type box must occur first in the file, and must contain a 3GPP brand in its compatible brands list.
+
+File extension(s): '3gp' and '3gpp' are both declared at ; 3gp is preferred
+
+Macintosh File Type Code(s): '3gpp'
+
+Intended usage: COMMON
+
+Restrictions on usage: Note that this MIME type is used only for files; separate types are used for real-time transfer, such as for the RTP payload format for AMR audio (RFC 4867 [15]).
+
+Author:
+
+3GPP TSG SA WG4
+
+Change controller: 3GPP TSG SA
+
+### A.1.4 video/vnd.3gpp.segment
+
+Type name: video
+
+Subtype name: vnd.3gpp.segment
+
+Required parameters:
+
+None.
+
+Optional parameters:
+
+None.
+
+#### Encoding considerations:
+
+Files are binary and should be transmitted in a suitable encoding without CR/LF conversion, 7-bit stripping etc.; base64 (RFC 4648 [35]) is a suitable encoding.
+
+#### Security considerations:
+
+See the security considerations section in A.3 of the present document.
+
+#### Interoperability considerations:
+
+None.
+
+#### Published specification:
+
+3GPP TS 26.244, Release 9.
+
+#### Applications which use this media type:
+
+Third Generation Partnership Project (3GPP) Adaptive HTTP Streaming.
+
+#### Additional information:
+
+##### Magic number(s):
+
+None
+
+#### File extension(s):
+
+3gs
+
+#### Person & email address to contact for further information:
+
+John Meredith (john.meredith@etsi.org)
+
+#### Intended usage:
+
+Common
+
+#### Restrictions on usage:
+
+###### Author:
+
+3GPP TSG SA WG4
+
+#### Change controller:
+
+3GPP TSG SA
+
+## --- A.2 Optional parameters
+
+### A.2.1 General
+
+Two optional parameters are defined here for the "audio/3gpp" and "video/3gpp" media types. Additional parameters may be specified by updating the media type registrations. Any unknown parameter shall be ignored.
+
+### A.2.2 Codecs parameter
+
+The codecs parameter is defined in RFC 6381. The ISO file format name space and ISO syntax in clauses 3.3 and 3.4 of RFC 6381 [32] shall be used together with extensions to the ISO syntax specified here.
+
+The syntax in clause 3.4 of RFC 6381 defines the usage of the codecs parameter for files based on the ISO base media file format and specifies that the first element of a parameter value is a sample description entry four-character code. It also includes specific definitions for MPEG audio ('mp4a') and MPEG video ('mp4v') where each value in addition to the four-character code includes two elements signalling Object Type Indications and Profile Level Indications (video only). It also includes specific definitions for Advanced Video Coding ('avc1') where each value in addition to the four-character code includes a second element (referred to as 'avcoti' in the formal syntax), which is the hexadecimal representation of the following three bytes in the (subset) sequence parameter set Network Abstraction Layer (NAL) unit specified in [29]: (1) profile\_idc, (2) the byte containing the constraint\_set flags (currently constraint\_set0\_flag through constraint\_set5\_flag, and the reserved\_zero\_2bits), and (3) level\_idc. Note also that reserved\_zero\_2bits is required to be equal to 0 in [29], but other values for it may be specified in the future by ITU-T or ISO/IEC. These definitions apply to the MPEG codecs used by the 3GP file format, such as H.264 (AVC) [29], MPEG-4 Visual [10], MPEG-4 AAC [13] and Enhanced aacPlus [23, 24, 25]. Values for other codecs used by the 3GP file format are specified below.
+
+When the first element of a value is 's263', indicating H.263 video [9], the second element is the decimal representation of the profile, e.g., 0 or 3, and the third element is the decimal representation of the level, e.g. 10 or 45.
+
+When the first element of a value is one of the following elements, no other elements are defined for that value:
+
+- 'samr', indicating AMR narrow-band speech [11];
+- 'sawb', indicating AMR wide-band speech [12];
+- 'sawp', indicating Extended AMR wide-band audio [21];
+- 'tx3g', indicating timed text [4].
+
+The following syntax defines all values above in ABNF (RFC 4234 [31]) by extending the definition in clause 3.4 of RFC 6381:
+
+```
+
+id-iso = iso-gen / iso-mpega / iso-mpegv / iso-amr / iso-amr-wb / iso-amr-wbp / iso-tt / iso-h263
+ ; iso-gen, iso-mpega, iso-mpegv, iso-avc as defined in RFC 6381
+
+iso-amr = %x73.61.6d.72 ; 'samr'
+iso-amr-wb = %x73.61.77.62 ; 'sawb'
+iso-amr-wbp = %x73.61.6d.74 ; 'sawp'
+iso-tt = %x74.78.33.67 ; 'tx3g'
+iso-h263 = s263 "." h263-profile "." h263-level
+s263 = %x73.32.36.33 ; 's263'
+h263-profile = 1*DIGIT
+h263-level = 1*DIGIT
+
+```
+
+### A.2.3 Types parameter
+
+The types parameter is a single value or a comma-separated list that identifies the MIME media types of the content contained (in items) of a 3GP file. Each value consists of a type-subtype pair and corresponds to a value of the content\_type field provided for an item in the item information box.
+
+If the types parameter is present, then it shall include all MIME types needed for rendering the content contained (in items) of a file.
+
+The types parameter is defined in ABNF (RFC 5234 [44]) below:
+
+```
+
+types = "types" "=" type-list
+type-entry = type-name "/" subtype-name *( *WSP ";" *WSP parameter )
+
+```
+
+```
+
+parameter = attribute *WSP "=" *WSP value
+attribute = token
+value = token / quoted-string
+token = 1*(%x21 / %x23-27 / %x2A-2B / %x2D-2E / %x30-39
+ / %x41-5A / %x5E-7E)
+ ; 1*
+type-list = DQUOTE type-entry *( "," type-entry ) DQUOTE
+
+```
+
+“type-name” and “subtype-name” are defined in RFC4288[42].
+
+“tspecials” is defined in RFC2045[45]
+
+“quoted-string” is defined in RFC5322[43].
+
+“CHAR”, “CTL”, “SP”, “WSP” and “DQUOTE” are defined in RFC 5234 [31].
+
+NOTE: any <"> character in "type-entry" needs to be escaped with "\". This is not shown in the above grammar.
+
+## A.3 Security considerations
+
+The 3GPP file format may contain audio, video, displayable text data, images, graphics, scene descriptions, etc. Clearly it is possible to author malicious files which attempt to call for an excessively large picture size, high sampling-rate audio etc. However, clients can and usually do protect themselves against this kind of attack. It should be noted that selected metadata fields may encompass information partly intended to protect the media against unauthorized use or distribution. In this case, the intention is that alteration or removal of the data in the field would be treated as an offense under national agreements based on World Intellectual Property Organization (WIPO) treaties.
+
+There is no current provision in the standards for signing or authentication of these file formats.
+
+# Annex B (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|-------|-----------|------|-----|-----------------------------------------------------------------------------------------|--------|--------|
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2004-03 | 23 | SP-040065 | | | Approved at TSG#23 | | 6.0.0 |
+| 2004-09 | 25 | SP-040643 | 002 | 1 | Storage of AMR-WB+ audio in 3GP files | 6.0.0 | 6.1.0 |
+| 2004-09 | 25 | SP-040654 | 003 | | Additional Release 6 update to 3GP file format | 6.0.0 | 6.1.0 |
+| 2004-09 | 25 | SP-040657 | 004 | 1 | Storage of H.264 (AVC) video in 3GP files | 6.0.0 | 6.1.0 |
+| 2004-09 | 25 | SP-040643 | 005 | 1 | Storage of Enhanced aacPlus audio in 3GP files | 6.0.0 | 6.1.0 |
+| 2004-12 | 26 | SP-040839 | 006 | 1 | Correction of syntax of encryption boxes and outdated references | 6.1.0 | 6.2.0 |
+| 2004-12 | 26 | SP-040839 | 007 | | Correction of sample structure for AMR-WB+ in 3GP files | 6.1.0 | 6.2.0 |
+| 2005-03 | 27 | SP-050094 | 008 | 1 | Extended presentations in 3GP files for MBMS | 6.2.0 | 6.3.0 |
+| 2005-09 | 29 | SP-050427 | 0009 | 1 | New UDTA sub-box 'albm' – album for the media | 6.3.0 | 6.4.0 |
+| 2005-09 | 29 | SP-050427 | 0010 | | Correction of SDP bandwidth modifiers | 6.3.0 | 6.4.0 |
+| 2005-09 | 29 | SP-050427 | 0011 | | Correction regarding sample groups in 3GP file format | 6.3.0 | 6.4.0 |
+| 2006-06 | 32 | SP-060355 | 0012 | | Correction of references in the 3GP file format | 6.4.0 | 6.5.0 |
+| 2006-06 | 32 | SP-060359 | 0013 | 1 | Support for ID3v2 in 3GP files | 6.5.0 | 7.0.0 |
+| 2007-03 | 35 | SP-070025 | 0015 | 2 | MIME Type Registrations for 3GP files | 7.0.0 | 7.1.0 |
+| 2007-03 | 35 | SP-070025 | 0017 | 1 | Correction of sampling rate information | 7.0.0 | 7.1.0 |
+| 2007-06 | 36 | SP-070314 | 0019 | 1 | Correction of references in the 3GP file format | 7.1.0 | 7.2.0 |
+| 2007-06 | 36 | SP-070319 | 0020 | 1 | Inclusion of DIMS in the 3GP file format | 7.1.0 | 7.2.0 |
+| 2007-12 | 38 | SP-070761 | 0021 | | Correction of reference in the 3GP file format | 7.2.0 | 7.3.0 |
+| 2008-12 | 42 | SP-080681 | 0023 | 1 | Addition of file delivery support | 7.3.0 | 8.0.0 |
+| 2008-12 | 42 | SP-080681 | 0024 | 1 | Recording of Media Stream Data | 7.3.0 | 8.0.0 |
+| 2009-06 | 44 | SP-090256 | 0025 | | Correction of signaling of sample_type in key message tracks | 8.0.0 | 8.1.0 |
+| 2009-06 | 44 | SP-090248 | 0027 | | Correction to ABNF syntax | 8.0.0 | 8.1.0 |
+| 2009-09 | 45 | SP-090567 | 0028 | | Clean-up corrections | 8.1.0 | 8.2.0 |
+| 2009-12 | 46 | SP-090710 | 0029 | 2 | New Profile to support Adaptive HTTP-based Streaming in 3GP File Format | 8.2.0 | 9.0.0 |
+| 2009-12 | 46 | SP-090710 | 0030 | 2 | File format video and branding updates | 8.2.0 | 9.0.0 |
+| 2010-03 | 47 | SP-100024 | 0031 | 2 | File Format updates for HTTP Streaming | 9.0.0 | 9.1.0 |
+| 2010-06 | 48 | SP-100301 | 0032 | 1 | Essential Corrections for 3GP File Format to support Adaptive Streaming | 9.1.0 | 9.2.0 |
+| 2010-09 | 49 | SP-100465 | 0033 | 2 | Corrections for 3GP File Format to support Adaptive Streaming | 9.2.0 | 9.3.0 |
+| 2011-03 | 51 | SP-110039 | 0036 | 2 | AHS Fixes for MPEG Alignment (Segment Indexing) | 9.3.0 | 9.4.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.4.0 | 10.0.0 |
+| 2011-06 | 52 | SP-110306 | 0035 | 1 | Removal of Progressive Download and Dynamic Adaptive Streaming over HTTP for Release 10 | 10.0.0 | 10.1.0 |
+| 2011-06 | 52 | SP-110306 | 0037 | 2 | Additional metadata properties for industry alignment | 10.0.0 | 10.1.0 |
+| 2011-11 | 54 | SP-110794 | 0038 | | Alignment with MPEG DASH | 10.1.0 | 10.2.0 |
+| 2012-06 | 56 | SP-120226 | 0043 | | On Codecs Parameter in 3GP MIME Type | 10.2.0 | 11.0.0 |
+| 2012-09 | 57 | SP-120509 | 0046 | 1 | Introduction of Stereoscopic 3D video | 11.0.0 | 11.1.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26245/dbe553cf16dd14073b89a8263a428664_img.jpg b/marked/Rel-11/26_series/26245/dbe553cf16dd14073b89a8263a428664_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..19a4bf40acb3fd80b02ebae29890fef2986401e9
--- /dev/null
+++ b/marked/Rel-11/26_series/26245/dbe553cf16dd14073b89a8263a428664_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:854effd2a6dc3384ad57fabdb5b099abd737232d0ea88ac92cd82810378a8797
+size 39315
diff --git a/marked/Rel-11/26_series/26245/raw.md b/marked/Rel-11/26_series/26245/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..e22c3d4cdea51af625b2fb37fffde8f909db5c88
--- /dev/null
+++ b/marked/Rel-11/26_series/26245/raw.md
@@ -0,0 +1,658 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|------------------------------------------------------|----|
+| Foreword ..... | 4 |
+| Introduction ..... | 4 |
+| 1 Scope..... | 5 |
+| 2 References..... | 5 |
+| 3 Definitions and abbreviations ..... | 5 |
+| 3.1 Definitions..... | 5 |
+| 3.2 Abbreviations ..... | 6 |
+| 4 Overview..... | 6 |
+| 5 Timed text format..... | 6 |
+| 5.1 Unicode Support..... | 6 |
+| 5.2 Bytes, Characters, and Glyphs ..... | 6 |
+| 5.3 Character Set Support..... | 7 |
+| 5.4 Font Support..... | 7 |
+| 5.5 Fonts and Metrics..... | 7 |
+| 5.6 Colour Support ..... | 8 |
+| 5.7 Text rendering position and composition..... | 8 |
+| 5.8 Marquee Scrolling ..... | 9 |
+| 5.9 Language ..... | 10 |
+| 5.10 Writing direction ..... | 10 |
+| 5.11 Text wrap..... | 11 |
+| 5.12 Highlighting, Closed Caption, and Karaoke ..... | 11 |
+| 5.13 Media Handler..... | 11 |
+| 5.14 Media Handler Header ..... | 11 |
+| 5.15 Style record ..... | 11 |
+| 5.16 Sample Description Format..... | 12 |
+| 5.17 Sample Format ..... | 13 |
+| 5.17.1 Sample Modifier Boxes..... | 14 |
+| 5.17.1.1 Text Style..... | 14 |
+| 5.17.1.2 Highlight ..... | 14 |
+| 5.17.1.3 Dynamic Highlight ..... | 14 |
+| 5.17.1.4 Scroll Delay ..... | 15 |
+| 5.17.1.5 HyperText..... | 15 |
+| 5.17.1.6 Textbox ..... | 16 |
+| 5.17.1.7 Blink..... | 16 |
+| 5.17.1.8 Text Wrap Indication..... | 16 |
+| 5.18 Combinations of features ..... | 16 |
+| Annex A (informative): Change history..... | 18 |
+
+# --- Foreword
+
+This Technical Specification has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+The 3GPP transparent end-to-end packet-switched streaming service (PSS) specification consists of six 3GPP TSs: 3GPP TS 22.233 [1], 3GPP TS 26.233 [2], 3GPP TS 26.234 [3], 3GPP TS 26.244 [4], 3GPP TS 26.246 [5] and the present document.
+
+The TS 22.233 contains the service requirements for the PSS. The TS 26.233 provides an overview of the PSS. The TS 26.234 provides the details of protocol and codecs used by the PSS. The TS 26.244 defines the 3GPP file format (3GP) used by the PPS and MMS services. The TS 26.246 defines the 3GPP SMIL language profile. The present document defines the Timed text format used by the PSS.
+
+The TS 26.244, TS 26.245 (present document) and TS 26.246 start with Release 6. Earlier releases of the 3GPP file format, the Timed text format and the 3GPP SMIL language profile can be found in TS 26.234.
+
+# --- Introduction
+
+Timed text is text that is rendered at the terminal, in synchronization with other timed media such as video or audio. Timed text is used for such applications as closed captioning, titling, and other visual annotation of timed media.
+
+# --- 1 Scope
+
+The present document defines the timed text format relative to the 3GPP file format. This specification defines the format of timed text in downloaded files.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+ - For a specific reference, subsequent revisions do not apply.
+ - For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+- [1] 3GPP TS 22.233: "Transparent End-to-End Packet-switched Streaming Service; Service aspects; Stage 1".
+- [2] 3GPP TS 26.233: "Transparent end-to-end packet switched streaming service (PSS); General description".
+- [3] 3GPP TS 26.234: "Transparent end-to-end packet switched streaming service (PSS); Protocols and codecs".
+- [4] 3GPP TS 26.244: "Transparent end-to-end packet switched streaming service (PSS); 3GPP file format (3GP)".
+- [5] 3GPP TS 26.246: "Transparent end-to-end packet switched streaming service (PSS); 3GPP SMIL Language Profile".
+- [6] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [7] The Unicode Consortium: "The Unicode Standard", Version 3.0 Reading, MA, Addison-Wesley Developers Press, 2000, ISBN 0-201-61633-5.
+- [8] "Unicode Standard Annex #13: Unicode Newline Guidelines", by Mark Davis. An integral part of The Unicode Standard, Version 3.1.
+- [9] ISO/IEC 14496-14:2003 "Information technology – Coding of audio-visual objects – Part 14: MP4 file format".
+
+# --- 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the following terms and definitions apply:
+
+**continuous media:** media with an inherent notion of time. In the present document speech, audio, video and timed text
+
+**discrete media:** media that itself does not contain an element of time. In the present document all media not defined as continuous media
+
+**PSS client:** client for the 3GPP packet switched streaming service based on the IETF RTSP/SDP and/or HTTP standards, with possible additional 3GPP requirements according to the present document
+
+**PSS server:** server for the 3GPP packet switched streaming service based on the IETF RTSP/SDP and/or HTTP standards, with possible additional 3GPP requirements according to the present document
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the abbreviations given in 3GPP TR 21.905 [6] and the following apply.
+
+| | |
+|--------|-------------------------------------------------|
+| 3GP | 3GPP file format |
+| MMS | Multimedia Messaging Service |
+| MP4 | MPEG-4 file format |
+| PSS | Packet-switched Streaming Service |
+| SMIL | Synchronised Multimedia Integration Language |
+| UTF-8 | Unicode Transformation Format (the 8-bit form) |
+| UTF-16 | Unicode Transformation Format (the 16-bit form) |
+
+# --- 4 Overview
+
+Operators may specify additional rules and restrictions when deploying terminals, in addition to this specification, and behavior that is optional here may be mandatory for particular deployments. In particular, the required character set is almost certainly dependent on the geography of the deployment.
+
+# --- 5 Timed text format
+
+## 5.1 Unicode Support
+
+Text in this specification uses the Unicode 3.0 [7] standard. Terminals shall correctly decode both UTF-8 and UTF-16 into the required characters. If a terminal receives a Unicode code, which it cannot display, it shall display a predictable result. It shall not treat multi-byte UTF-8 characters as a series of ASCII characters, for example.
+
+Authors should create fully-composed Unicode; terminals are not required to handle decomposed sequences for which there is a fully-composed equivalent.
+
+Terminals shall conform to the conformance statement in Unicode 3.0 section 3.1.
+
+Text strings for display and font names are uniformly coded in UTF-8, or start with a UTF-16 BYTE ORDER MARK (\uFEFF) and by that indicate that the string which starts with the byte order mark is in UTF-16. Terminals shall recognise the byte-order mark in this byte order; they are not required to recognise byte-reversed UTF-16, indicated by a byte-reversed byte-order mark.
+
+## 5.2 Bytes, Characters, and Glyphs
+
+This clause uses these terms carefully. Since multi-byte characters are permitted (i.e. 16-bit Unicode characters), the number of characters in a string may not be the number of bytes. Also, a byte-order-mark is not a character at all, though it occupies two bytes. So, for example, storage lengths are specified as byte-counts, whereas highlighting is specified using character offsets.
+
+It should also be noted that in some writing systems the number of glyphs rendered might be different again. For example, in English, the characters ‘fi’ are sometimes rendered as a single ligature glyph.
+
+In this specification, the first character is at offset 0 in the string. In records specifying both a start and end offset, the end offset shall be greater than or equal to the start offset. In cases where several offset specifications occur in sequence, the start offset of an element shall be greater than or equal to the end offset of the preceding element.
+
+## 5.3 Character Set Support
+
+All terminals shall be able to render Unicode characters in these ranges:
+
+- a) basic ASCII and Latin-1 (\u0000 to \u00FF), though not all the control characters in this range are needed;
+- b) the Euro currency symbol (\u20AC)
+- c) telephone and ballot symbols (\u260E through \u2612)
+
+Support for the following characters is recommended but not required:
+
+- a) miscellaneous technical symbols (\u2300 through \u2335)
+- b) ‘Zapf Dingbats’: locations \u2700 through \u27AF, and the locations where some symbols have been relocated (e.g. \u2605, Black star).
+
+The private use characters \u0091 and \u0092, and the initial range of the private use area \uE000 through \uE0FF are reserved in this specification. For these Unicode values, and for control characters for which there is no defined graphical behaviour, the terminal shall not display any result: neither a glyph is shown nor is the current rendering position changed.
+
+## 5.4 Font Support
+
+Fonts are specified in this specification by name, size, and style. There are three special names which shall be recognized by the terminal: Serif, Sans-Serif, and Monospace. It is strongly recommended that these be different fonts for the required characters from ASCII and Latin-1. For many other characters, the terminal may have a limited set or only a single font. Terminals requested to render a character where the selected font does not support that character should substitute a suitable font. This ensures that languages with only one font (e.g. Asian languages) or symbols for which there is only one form are rendered.
+
+Fonts are requested by name, in an ordered list. Authors should normally specify one of the special names last in the list.
+
+Terminals shall support a pixel size of 12 (on a 72dpi display, this would be a point size of 12). If a size is requested other than the size(s) supported by the terminal, the next smaller supported size should be used. If the requested size is smaller than the smallest supported size, the terminal should use the smallest supported size.
+
+Terminals shall support unstyled text for those characters it supports. It may also support bold, italic (oblique) and bold-italic. If a style is requested which the terminal does not support, it should substitute a supported style; a character shall be rendered if the terminal has that character in any style of any font.
+
+## 5.5 Fonts and Metrics
+
+Within the sample description, a complete list of the fonts used in the samples is found. This enables the terminal to pre-load them, or to decide on font substitution.
+
+Terminals may use varying versions of the same font. For example, here is the same text rendered on two systems; it was authored on the first, where it just fitted into the text box.
+
+### EXAMPLE:
+
+| |
+|-----------------------------------------------------|
+| This is a string which is rendered to the terminal. |
+| This is a string which is rendered to the termin |
+
+Authors should be aware of this possible variation, and provide text box areas with some ‘slack’ to allow for rendering variations.
+
+## 5.6 Colour Support
+
+The colour of both text and background are indicated in this specification using RGB values. Terminals are not required to be able to display all colours in the RGB space. Terminals with a limited colour display, with only gray-scale display, and with only black-and-white are permissible. If a terminal has a limited colour capability it should substitute a suitable colour; dithering of text may be used but is not usually appropriate as it results in “fuzzy” display. If colour substitution is performed, the substitution shall be consistent: the same RGB colour shall result consistently in the same displayed colour. If the same colour is chosen for background and text, then the text shall be invisible (unless a style such as highlight changes its colour). If different colours are specified for the background and text, the terminal shall map these to different colours, so that the text is visible.
+
+Colours in this specification also have an alpha or transparency value. In this specification, a transparency value of 0 indicates a fully transparent colour, and a value of 255 indicates fully opaque. Support for partial or full transparency is optional. ‘Keying’ text (text rendered on a transparent background) is done by using a background colour which is fully transparent. ‘Keying’ text over video or pictures, and support for transparency in general, can be complex and may require double-buffering, and its support is optional in the terminal. Content authors should beware that if they specify a colour which is not fully opaque, and the content is played on a terminal not supporting it, the affected area (the entire text box for a background colour) will be fully opaque and will obscure visual material behind it. Visual material with transparency is layered closer to the viewer than the material which it partially obscures.
+
+## 5.7 Text rendering position and composition
+
+Text is rendered within a region (a concept derived from SMIL). There is a text box set within that region. This permits the terminal to position the text within the overall presentation, and also to render the text appropriately given the writing direction. For text written left to right, for example, the first character would be rendered at, or near, the left edge of the box, and with its baseline down from the top of the box by one baseline height (a value derived from the font and font size chosen). Similar considerations apply to the other writing directions.
+
+Within the region, text is rendered within a text box. There is a default text box set, which can be over-ridden by a sample.
+
+Either the text box or text region is filled with the background colour; after that the text is painted in the text colour. If highlighting is requested one or both of these colours may vary.
+
+Terminals may choose to anti-alias their text, or not.
+
+The text region and layering are defined using structures from the ISO base media file format.
+
+This track header box is used for text track:
+
+```
+aligned(8) class TrackHeaderBox
+ extends FullBox('tkhd', version, flags){
+ if (version==1) {
+ unsigned int(64) creation_time;
+ unsigned int(64) modification_time;
+ unsigned int(32) track_ID;
+ const unsigned int(32) reserved = 0;
+ unsigned int(64) duration;
+ } else { // version==0
+ unsigned int(32) creation_time;
+ unsigned int(32) modification_time;
+ unsigned int(32) track_ID;
+ const unsigned int(32) reserved = 0;
+ unsigned int(32) duration;
+ }
+ const unsigned int(32) [2] reserved = 0;
+ int(16) layer;
+ template int(16) alternate_group = 0;
+ template int(16) volume = 0;
+ const unsigned int(16) reserved = 0;
+ template int(32) [9] matrix=
+ { 0x00010000,0,0,0,0,0x00010000,0,tx,ty,0x40000000 };
+ // unity matrix
+ unsigned int(32) width;
+ unsigned int(32) height;
+ }
+}
+```
+
+Visually composed tracks including video and text are layered using the ‘layer’ value. This compares, for example, to z-index in SMIL. More negative layer values are towards the viewer. (This definition is compatible with that in ISO/MJ2).
+
+The region is defined by the track width and height, and translation offset. This corresponds to the SMIL region. The width and height are stored in the track header fields above. The sample description sets a text box within the region, which can be over-ridden by the samples.
+
+The translation values are stored in the track header matrix in the following positions:
+
+```
+{ 0x00010000,0,0, 0,0x00010000,0, tx, ty, 0x40000000 }
+```
+
+These values are fixed-point 16.16 values, here restricted to be integers (the lower 16 bits of each value shall be zero). The X axis increases from left to right; the Y axis from top to bottom. (This use of the matrix is conformant with ISO/MJ2.)
+
+So, for example, a centered region of size 200x20, positioned below a video of size 320x240, would have track\_width set to 200 (width= 0x00c80000), track\_height set to 20 (height= 0x00140000), and $tx = (320-200)/2 = 60$ , and $ty=240$ .
+
+Since matrices are not used on the video tracks, all video tracks are set at the coordinate origin. Figure 5.1 provides an overview:
+
+
+
+Figure 5.1: Illustration of text rendering position and composition. The diagram shows a 'Display Area' (yellow rectangle) containing a 'Video Track' (blue rectangle) and a 'Text Track' (green rectangle). The 'Text Track' contains a 'Text Box' (purple rectangle). The origin (0,0) is marked by a black dot. The 'tx' and 'ty' coordinates are shown as arrows from the origin to the top-left corner of the 'Text Track'. The 'width' and 'height' of the 'Text Box' are indicated by double-headed arrows. The top-left corner of the 'Text Box' is labeled '(left, top)' and the bottom-right corner is labeled '(right, bottom)'.
+
+**Figure 5.1: Illustration of text rendering position and composition**
+
+The top and left positions of the text track is determined by the $tx$ and $ty$ , which are the translation values from the coordinate origin (since the video track is at the origin, this is also the offset from the video track). The default text box set in the sample description sets the rendering area unless over-ridden by a 'tbox' in the text sample. The box values are defined as the relative values from the top and left positions of the text track.
+
+It should be noted that this only specifies the relationship of the tracks within a single 3GP file. If a SMIL presentation lays up multiple files, their relative position is set by the SMIL regions. Each file is assigned to a region, and then within those regions the spatial relationship of the tracks is defined.
+
+## 5.8 Marquee Scrolling
+
+Text can be 'marquee' scrolled in this specification (compare this to Internet Explorer's marquee construction). When scrolling is performed, the terminal first calculates the position in which the text would be displayed with no scrolling requested. Then:
+
+- If scroll-in is requested, the text is initially invisible, just outside the text box, and enters the box in the indicated direction, scrolling until it is in the normal position;
+- If scroll-out is requested, the text scrolls from the normal position, in the indicated direction, until it is completely outside the text box.
+
+The rendered text is clipped to the text box in each display position, as always. This means that it is possible to scroll a string which is longer than can fit into the text box, progressively disclosing it (for example, like a ticker-tape). Note that both scroll in and scroll out may be specified; the text scrolls continuously from its invisible initial position, through the normal position, and out to its final position.
+
+If a scroll-delay is specified, the text stays steady in its normal position (not initial position) for the duration of the delay; so the delay is after a scroll-in but before a scroll-out. This means that the scrolling is not continuous if both are specified. So without a delay, the text is in motion for the duration of the sample. For a scroll in, it reaches its normal position at the end of the sample duration; with a delay, it reaches its normal position before the end of the sample duration, and remains in its normal position for the delay duration, which ends at the end of the sample duration. Similarly for a scroll out, the delay happens in its normal position before scrolling starts. If both scroll in, and scroll out are specified, with a delay, the text scrolls in, stays stationary at the normal position for the delay period, and then scrolls out – all within the sample duration.
+
+The speed of scrolling is calculated so that the complete operation takes place within the duration of the sample. Therefore the scrolling has to occur within the time left after scroll-delay has been subtracted from the sample duration.
+
+Note that the time it takes to scroll a string may depend on the rendered length of the actual text string. Authors should consider whether the scrolling speed that results will be exceed that at which text on a wireless terminal could be readable.
+
+Terminals may use simple algorithms to determine the actual scroll speed. For example, the speed may be determined by moving the text an integer number of pixels in every update cycle. Terminals should choose a scroll speed which is as fast or faster than needed so that the scroll operation completes within the sample duration.
+
+Terminals are not required to handle dynamic or stylistic effects such as highlight, dynamic highlight, or href links on scrolled text.
+
+The scrolling direction is set by a two-bit field, with the following possible values:
+
+- 00b – text is vertically scrolled up ('credits style'), entering from the bottom of the bottom and leaving towards the top.
+- 01b – text is horizontally scrolled ('marquee style'), entering from the right and leaving towards the left.
+- 10b – text is vertically scrolled down, entering from the top and leaving towards the bottom.
+- 11b – text is horizontally scrolled, entering from the left and leaving towards the right.
+
+## 5.9 Language
+
+The human language used in this stream is declared by the language field of the media-header box in this track. It is an ISO 639/T 3-letter code. The knowledge of the language used might assist searching, or speaking the text. Rendering is language neutral. Note that the values 'und' (undetermined) and 'mul' (multiple languages) might occur.
+
+## 5.10 Writing direction
+
+Writing direction specifies the way in which the character position changes after each character is rendered. It also will imply a start-point for the rendering within the box.
+
+Terminals shall support the determination of writing direction, for those characters they support, according to the Unicode 3.0 specification. Note that the only required characters can all be rendered using left-right behaviour. A terminal which supports characters with right-left writing direction shall support the right-left composition rules specified in Unicode.
+
+Terminals may also set, or allow the user to set, an overall writing direction, either explicitly or implicitly (e.g. by the language selection). This affects layout. For example, if upper-case letters are left-right, and lower-case right-left, and the Unicode string ABCdefGHI shall be rendered, it would appear as ABCfedGHI on a terminal with overall left-right writing (English, for example) and GHIfedABC on a system with overall right-left (Hebrew, for example).
+
+Terminals are not required to support the bi-directional ordering codes (\u200E, \u200F and \u202A through \u202E).
+
+If vertical text is requested by the content author, characters are laid out vertically from top to bottom. The terminal may choose to render different glyphs for this writing direction (e.g. a horizontal parenthesis), but in general the glyphs should not be rotated. The direction in which lines advance (left-right, as used for European languages, or right-left, as used for Asian languages) is set by the terminal, possibly by a direct or indirect user preference (e.g. a language setting). Terminals shall support vertical writing of the required character set. It is recommended that terminals support vertical writing of text in those languages commonly written vertically (e.g. Asian languages). If vertical text is requested for characters which the terminal cannot render vertically, the terminal may behave as if the characters were not available.
+
+## 5.11 Text wrap
+
+Automatic wrapping of text from line to line is complex, and can require hyphenation rules and other complex language-specific criteria. For these reasons, soft text wrap is optional in this specification. Text wrap behavior may be specified using a TextWrapBox, and a terminal that does not support this feature shall not perform soft text wrapping. When text wrap is not used and a string is too long to be drawn within the box, it is clipped. The terminal may choose whether to clip at the pixel boundary, or to render only whole glyphs.
+
+There may be multiple lines of text in a sample (hard wrap). Terminals shall start a new line for the Unicode characters line separator (\u2028), paragraph separator (\u2029) and line feed (\u000A). It is recommended that terminals follow
+
+Unicode Technical Report 13 [8]. Terminals should treat carriage return (\u000D), next line (\u0085) and CR+LF (\u000D\u000A) as new line.
+
+## 5.12 Highlighting, Closed Caption, and Karaoke
+
+Text may be highlighted for emphasis. Since this is a non-interactive system, solely for text display, the utility of this function may be limited.
+
+Dynamic highlighting used for Closed Caption and Karaoke highlighting, is an extension of highlighting. Successive contiguous sub-strings of the text sample are highlighted at the specified times.
+
+## 5.13 Media Handler
+
+A text stream is its own unique stream type. For the 3GPP file format, the handler-type within the 'hdlr' box shall be 'text'.
+
+## 5.14 Media Handler Header
+
+The 3G text track uses an empty null media header ('nmhd'), called Mpeg4MediaHeaderBox in the MP4 specification [9], in common with other MPEG streams.
+
+```
+aligned(8) class Mpeg4MediaHeaderBox
+ extends FullBox('nmhd', version = 0, flags) {
+}
+```
+
+## 5.15 Style record
+
+Both the sample format and the sample description contain style records, and so it is defined once here for compactness.
+
+```
+aligned(8) class StyleRecord {
+ unsigned int(16) startChar;
+ unsigned int(16) endChar;
+ unsigned int(16) font-ID;
+ unsigned int(8) face-style-flags;
+ unsigned int(8) font-size;
+ unsigned int(8) text-color-rgba[4];
+}
+```
+
+startChar: character offset of the beginning of this style run (always 0 in a sample description)
+
+endChar: first character offset to which this style does not apply (always 0 in a sample description); shall be greater than or equal to startChar. All characters, including line-break characters and any other non-printing characters, are included in the character counts.
+
+font-ID: font identifier from the font table; in a sample description, this is the default font
+
+face style flags: in the absence of any bits set, the text is plain
+
+1 bold
+2 italic
+4 underline
+
+font-size: font size (nominal pixel size, in essentially the same units as the width and height)
+
+text-color-rgba: rgb colour, 8 bits each of red, green, blue, and an alpha (transparency) value
+
+Terminals shall support plain text, and underlined horizontal text, and may support bold, italic and bold-italic depending on their capabilities and the font selected. If a style is not supported, the text shall still be rendered in the closest style available.
+
+## 5.16 Sample Description Format
+
+The sample table box ('stbl') contains sample descriptions for the text track. Each entry is a sample entry box of type 'tx3g'. This name defines the format both of the sample description and the samples associated with that sample description. Terminals shall not attempt to decode or display sample descriptions with unrecognised names, nor the samples attached to those sample descriptions.
+
+It starts with the standard fields (the reserved bytes and the data reference index), and then some text-specific fields. Some fields can be overridden or supplemented by additional boxes within the text sample itself. These are discussed below.
+
+There can be multiple text sample descriptions in the sample table. If the overall text characteristics do not change from one sample to the next, the same sample description is used. Otherwise, a new sample description is added to the table. Not all changes to text characteristics require a new sample description, however. Some characteristics, such as font size, can be overridden on a character-by-character basis. Some, such as dynamic highlighting, are not part of the text sample description and can be changed dynamically.
+
+The TextDescription extends the regular sample entry with the following fields.
+
+```
+
+class FontRecord {
+ unsigned int(16) font-ID;
+ unsigned int(8) font-name-length;
+ unsigned int(8) font[font-name-length];
+}
+
+class FontTableBox() extends Box('ftab') {
+ unsigned int(16) entry-count;
+ FontRecord font-entry[entry-count];
+}
+
+class BoxRecord {
+ signed int(16) top;
+ signed int(16) left;
+ signed int(16) bottom;
+ signed int(16) right;
+}
+
+class TextSampleEntry() extends SampleEntry ('tx3g') {
+ unsigned int(32) displayFlags;
+ signed int(8) horizontal-justification;
+ signed int(8) vertical-justification;
+ unsigned int(8) background-color-rgba[4];
+ BoxRecord default-text-box;
+ StyleRecord default-style;
+ FontTableBox font-table;
+}
+
+```
+
+###### **displayFlags:**
+
+| | | |
+|-----------------------|------------|------------------------|
+| scroll In | 0x00000020 | |
+| scroll Out | 0x00000040 | |
+| scroll direction | 0x00000180 | / see above for values |
+| continuous karaoke | 0x00000800 | |
+| write text vertically | 0x00020000 | |
+| fill text region | 0x00040000 | |
+
+horizontal and vertical justification: / two eight-bit values from the following list:
+
+| | |
+|---------------|----|
+| left, top | 0 |
+| centered | 1 |
+| bottom, right | -1 |
+
+#### **background-color-rgba:**
+
+rgb color, 8 bits each of red, green, blue, and an alpha (transparency) value
+
+Default text box: the default text box is set by four values, relative to the text region; it may be over-ridden in samples;
+
+style record of default style: startChar and endChar shall be zero in a sample description
+
+The text box is inset within the region defined by the track translation offset, width, and height. The values in the box are relative to the track region, and are uniformly coded with respect to the pixel grid. So, for example, the default text box for a track at the top left of the track region and 50 pixels high and 100 pixels wide is {0, 0, 50, 100}.
+
+If the 'fill text region' flag is 0 (the default value, and the value from previous releases), then the background fill is applied to the text box only. If this flag is 1, then the author is requesting that the background fill be applied to the entire text region, if possible. Note that this flag was not defined in previous releases and will not therefore always be interpreted. Implementation of this flag is recommended but not required for compliance.
+
+A font table shall follow these fields, to define the complete set of fonts used. The font table is an box of type 'ftab'. Every font used in the samples is defined here by name. Each entry consists of a 16-bit local font identifier, and a font name, expressed as a string, preceded by an 8-bit field giving the length of the string in bytes. The name is expressed in UTF-8 characters, unless preceded by a UTF-16 byte-order-mark, whereupon the rest of the string is in 16-bit Unicode characters. The string should be a comma separated list of font names to be used as alternative font, in preference order. The special names "Serif", "Sans-serif" and "Monospace" may be used. The terminal should use the first font in the list which it can support; if it cannot support any for a given character, but it has a font which can, it should use that font. Note that this substitution is technically character by character, but terminals are encouraged to keep runs of characters in a consistent font where possible.
+
+## 5.17 Sample Format
+
+Each sample in the media data consists of a string of text, optionally followed by sample modifier boxes.
+
+For example, if one word in the sample has a different size than the others, a 'styl' box is appended to that sample, specifying a new text style for those characters, and for the remaining characters in the sample. This overrides the style in the sample description. These boxes are present only if they are needed. If all text conforms to the sample description, and no characteristics are applied that the sample description does not cover, no boxes are inserted into the sample data.
+
+```
+class TextSampleModifierBox(type) extends Box(type) {
+}
+
+class TextSample {
+ unsigned int(16) text-length;
+ unsigned int(8) text[text-length];
+ TextSampleModifierBox text-modifier[]; // to end of the sample
+}
+```
+
+The initial string is preceded by a 16-bit count of the number of bytes in the string. There is no need for null termination of the text string. The sample size table provides the complete byte-count of each sample, including the trailing modifier boxes; by comparing the string length and the sample size, you can determine how much space, if any, is left for modifier boxes.
+
+Authors should limit the string in each text sample to not more than 2048 bytes, for maximum terminal interoperability.
+
+Any unrecognised box found in the text sample should be skipped and ignored, and processing continue as if it were not there.
+
+### 5.17.1 Sample Modifier Boxes
+
+#### 5.17.1.1 Text Style
+
+'styl'
+
+This specifies the style of the text. It consists of a series of style records as defined above, preceded by a 16-bit count of the number of style records. Each record specifies the starting and ending character positions of the text to which it applies. The styles shall be ordered by starting character offset, and the starting offset of one style record shall be greater than or equal to the ending character offset of the preceding record; styles records shall not overlap their character ranges.
+
+```
+class TextStyleBox() extends TextSampleModifierBox ('styl') {
+ unsigned int(16) entry-count;
+ StyleRecord text-styles[entry-count];
+}
+```
+
+#### 5.17.1.2 Highlight
+
+'hlit' - Specifies highlighted text: the box contains two 16-bit integers, the starting character to highlight, and the first character with no highlighting (e.g. values 4, 6 would highlight the two characters 4 and 5). The second value may be the number of characters in the text plus one, to indicate that the last character is highlighted.
+
+```
+class TextHighlightBox() extends TextSampleModifierBox ('hlit') {
+ unsigned int(16) startcharoffset;
+}
+```
+
+```
+
+ unsigned int(16) endcharoffset;
+}
+class TextHilightColorBox() extends TextSampleModifierBox ('hclr') {
+ unsigned int(8) highlight_color_rgba[4];
+}
+
+```
+
+highlight\_color\_rgb:
+
+rgb color, 8 bits each of red, green, blue, and an alpha (transparency) value
+
+The TextHilightColor Box may be present when the TextHighlightBox or TextKaraokeBox is present in a text sample. It is recommended that terminals use the following rules to determine the displayed effect when highlight is requested:
+
+- a) if a highlight colour is not specified, then the text is highlighted using a suitable technique such as inverse video: both the text colour and the background colour change.
+- b) if a highlight colour is specified, the background colour is set to the highlight colour for the highlighted characters; the text colour does not change.
+
+Terminals do not need to handle text that is both scrolled and either statically or dynamically highlighted. Content authors should avoid specifying both scroll and highlight for the same sample.
+
+#### 5.17.1.3 Dynamic Highlight
+
+'krok' – Karaoke, closed caption, or dynamic highlighting. The number of highlight events is specified, and each event is specified by a starting and ending character offset and an end time for the event. The start time is either the sample start time or the end time of the previous event. The specified characters are highlighted from the previous end-time (initially the beginning of this sample's time), to the end time. The times are all specified relative to the sample's time; that is, a time of 0 represents the beginning of the sample time. The times are measured in the timescale of the track.
+
+The box starts with the start-time offset of the first highlight event, a 16-bit count of the event count, and then that number of 8-byte records. Each record contains the end-time offset as a 32-bit number, and the text start and end values, each as a 16-bit number. These values are specified as in the highlight record – the offset of the first character to highlight, and the offset of the first character not highlighted. The special case, where the startcharoffset equals to the endcharoffset, can be used to pause during or at the beginning of dynamic highlighting. The records shall be ordered and not overlap, as in the highlight record. The time in each record is the end time of this highlight event; the first highlight event starts at the indicated start-time offset from the start time of the sample. The time values are in the units expressed by the timescale of the track. The time values shall not exceed the duration of the sample.
+
+The continuouskaraoke flag controls whether to highlight only those characters (continuouskaraoke = 0) selected by a karaoke entry, or the entire string from the beginning up to the characters highlighted (continuouskaraoke = 1) at any given time. In other words, the flag specifies whether karaoke should ignore the starting offset and highlight all text from the beginning of the sample to the ending offset.
+
+Karaoke highlighting is usually achieved by using the highlight colour as the text colour, without changing the background.
+
+At most one dynamic highlight ('krok') box may occur in a sample.
+
+```
+
+class TextKaraokeBox() extends TextSampleModifierBox ('krok') {
+ unsigned int(32) highlight-start-time;
+ unsigned int(16) entry-count;
+ for (i=1; i<=entry-count; i++) {
+ unsigned int(32) highlight-end-time;
+ unsigned int(16) startcharoffset;
+ unsigned int(16) endcharoffset;
+ }
+}
+
+```
+
+#### 5.17.1.4 Scroll Delay
+
+'dlay' - Specifies a delay after a Scroll In and/or before Scroll Out. A 32-bit integer specifying the delay, in the units of the timescale of the track. The default delay, in the absence of this box, is 0.
+
+```
+class TextScrollDelayBox() extends TextSampleModifierBox ('dlay') {
+ unsigned int(32) scroll-delay;
+}
+```
+
+#### 5.17.1.5 HyperText
+
+'href' – HyperText link. The existence of the hypertext link is visually indicated in a suitable style (e.g. underlined blue text).
+
+This box contains these values:
+
+startCharOffset: – the start offset of the text to be linked
+
+endCharOffset: – the end offset of the text (start offset + number of characters)
+
+URLLength:– the number of bytes in the following URL
+
+URL: UTF-8 characters – the linked-to URL
+
+altLength:– the number of bytes in the following “alt” string
+
+altstring: UTF-8 characters – an “alt” string for user display
+
+The URL should be an absolute URL, as the context for a relative URL may not always be clear.
+
+The “alt” string may be used as a tool-tip or other visual clue, as a substitute for the URL, if desired by the terminal, to display to the user as a hint on where the link refers.
+
+Hypertext-linked text should not be scrolled; not all terminals can display this or manage the user interaction to determine whether user has interacted with moving text. It is also hard for the user to interact with scrolling text.
+
+```
+class TextHyperTextBox() extends TextSampleModifierBox ('href') {
+ unsigned int(16) startcharoffset;
+ unsigned int(16) endcharoffset;
+ unsigned int(8) URLLength;
+ unsigned int(8) URL[URLLength];
+ unsigned int(8) altLength;
+ unsigned int(8) altstring[altLength];
+}
+```
+
+#### 5.17.1.6 Textbox
+
+'tbox' – text box over-ride. This over-rides the default text box set in the sample description.
+
+```
+class TextboxBox() extends TextSampleModifierBox ('tbox') {
+ BoxRecord text-box;
+}
+```
+
+#### 5.17.1.7 Blink
+
+'blink' – Blinking text. This requests blinking text for the indicated character range. Terminals are not required to support blinking text, and the precise way in which blinking is achieved, and its rate, is terminal-dependent.
+
+```
+class BlinkBox() extends TextSampleModifierBox ('blink') {
+ unsigned int(16) startcharoffset;
+ unsigned int(16) endcharoffset;
+}
+```
+
+#### 5.17.1.8 Text Wrap Indication
+
+'twrp' - Specifies text wrap behavior: the Box contains one 8-bit integer as a wrap mode flag.
+
+```
+class TextWrapBox() extends TextSampleModifierBox ('twrp') {
+ unsigned int(8) wrap_flag;
+}
+wrap_flag: a value from table 5.1
+```
+
+**Table 5.1: Wrap Flag Values**
+
+| Value | Description |
+|-----------|-------------------------------|
+| 0x00 | No wrap |
+| 0x01 | Automatic 'soft' wrap enabled |
+| 0x02-0xFF | Reserved |
+
+## 5.18 Combinations of features
+
+Two modifier boxes of the same type shall not be applied to the same character (e.g. it is not permitted to have two href links from the same text). As the 'hclr', 'dlay' and 'tbox' are globally applied to the whole text in a sample, each sample shall contain at most one 'hclr', at most one 'dlay', and at most one 'tbox' modifier.
+
+Table 5.2 details the effects of multiple options:
+
+**Table 5.2: Combinations of features**
+
+| | | Sample description style record | First sample modifier box | | | | |
+|-----------------------------------|--------------|---------------------------------|---------------------------|------|------|------|-------|
+| | | | styl | hlit | krok | href | blink |
+| Second sample modifier box | styl | 1 | 3 | | | | |
+| | hlit | | | 3 | | | |
+| | krok | | | 4 | 3 | | |
+| | href | 2 | 2 | | 5 | 3 | |
+| | blink | | 6 | 6 | 6 | 6 | 6 |
+
+1. The sample description provides the default style; the style records over-ride this for the selected characters.
+2. The terminal over-rides the chosen style for HREF links.
+3. Two records of the same type cannot be applied to the same character.
+4. Dynamic and static highlighting must not be applied to the same text.
+5. Dynamic highlighting and linking must not be applied to the same text.
+6. Blinking text is optional, particularly when requested in combination with other features.
+
+# --- Annex A (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|-------|-----------|-----|-----|---------------------------------------------------------------------|--------|--------|
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2004-06 | 24 | SP-040344 | | | Approved at 3GPP TSG SA#24 | 2.0.0 | 6.0.0 |
+| 2004-12 | 26 | SP-040839 | 001 | 1 | Removal of incorrect statement in Scope section of Rel-6 Timed Text | 6.0.0 | 6.1.0 |
+| 2007-06 | 36 | | | | Version for Release 7 | 6.1.0 | 7.0.0 |
+| 2008-12 | 42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 517 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26267/07b17a620c75522d53916a11e12d1bff_img.jpg b/marked/Rel-11/26_series/26267/07b17a620c75522d53916a11e12d1bff_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..64de600ab64b6fe194bd5c662a3a3d80440e3cff
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/07b17a620c75522d53916a11e12d1bff_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0170b44c0df630bdd789a394ee598817b6802b6fa6d154497417b4740f624587
+size 45432
diff --git a/marked/Rel-11/26_series/26267/1145fc59efdc7dacc8d3c715d7ff3248_img.jpg b/marked/Rel-11/26_series/26267/1145fc59efdc7dacc8d3c715d7ff3248_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..373a0e81b7db7bff239e4ffa3c4ec02fec47497f
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/1145fc59efdc7dacc8d3c715d7ff3248_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4a6ba9426736794a5a11ab98b0961cbb096b132b544cb75bf8d388aa0612eb4b
+size 41973
diff --git a/marked/Rel-11/26_series/26267/16c1175b5f05a4b55e6d396fc51b15b3_img.jpg b/marked/Rel-11/26_series/26267/16c1175b5f05a4b55e6d396fc51b15b3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8810a23768c0348258857a0e85f5a1e4b2e9ff7c
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/16c1175b5f05a4b55e6d396fc51b15b3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8fe4314509aea69e355a1672e8380532b20f0893e279af672792cf96c2ce9a3d
+size 13088
diff --git a/marked/Rel-11/26_series/26267/1c427123350e0e73e2a109b79069314b_img.jpg b/marked/Rel-11/26_series/26267/1c427123350e0e73e2a109b79069314b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e1d0c261f2b91d46eb2dc7cbadcaa75d21273a98
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/1c427123350e0e73e2a109b79069314b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b6ce4a847bd85a771cb33b1c1894b50f91d1a765b11c6935ce43ea16b1da49a5
+size 27084
diff --git a/marked/Rel-11/26_series/26267/27b06ec9f42b5d727a2630f61a5f1861_img.jpg b/marked/Rel-11/26_series/26267/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bd551d078c85c96810071c8abdf04437a85ebbee
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c6f90c75af61b73c775a0ed51b0b8b83081b1290e4b596ad6a222e62b116793d
+size 39510
diff --git a/marked/Rel-11/26_series/26267/28d75f39a24203712ee907b32cf0bbe5_img.jpg b/marked/Rel-11/26_series/26267/28d75f39a24203712ee907b32cf0bbe5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e4e14a71e7903703020ce80057344da0a017c4a5
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/28d75f39a24203712ee907b32cf0bbe5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b08483af09627694e0c24fdb147a7b599753561e8dcc7f1cd7838b37cf193e02
+size 145928
diff --git a/marked/Rel-11/26_series/26267/29f586959675cafdf81cf934954908eb_img.jpg b/marked/Rel-11/26_series/26267/29f586959675cafdf81cf934954908eb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6c395b788ab1e88cc2720f3a5a799af38012e354
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/29f586959675cafdf81cf934954908eb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7dc48775775cba5d7c3ec865e1e3d670c53ef2a1fff733a2dd8322a7cfb70b5f
+size 17354
diff --git a/marked/Rel-11/26_series/26267/51db757d054ce1ce83c436a3578b56ca_img.jpg b/marked/Rel-11/26_series/26267/51db757d054ce1ce83c436a3578b56ca_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..01eb8ee7fcc22094322fa6b8d9e9881adbdb8163
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/51db757d054ce1ce83c436a3578b56ca_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1b7d126acfd8eccf9bd6aef39c0b21cdcff0dadb95aaae97f25a035a43590633
+size 29686
diff --git a/marked/Rel-11/26_series/26267/552ca016af3d6240648ab5a2cad97f60_img.jpg b/marked/Rel-11/26_series/26267/552ca016af3d6240648ab5a2cad97f60_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..12cfde89063c16922b03e488d785ba8b3ad17d32
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/552ca016af3d6240648ab5a2cad97f60_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:da3e840f007af429a005ebdb94b797880b61d3c6e491c2d50ce8432f7c316a63
+size 25262
diff --git a/marked/Rel-11/26_series/26267/5e92d9e8e9ce204e405bff2367f88176_img.jpg b/marked/Rel-11/26_series/26267/5e92d9e8e9ce204e405bff2367f88176_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2d4707e0099e93d3632c60b895534b48b50d0ea2
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/5e92d9e8e9ce204e405bff2367f88176_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6deeb8c56e87459409ebf8277fbd8fc7379b8674d44377d8715785297f8a8436
+size 40790
diff --git a/marked/Rel-11/26_series/26267/61268ca06c266b91f537a32b57a68550_img.jpg b/marked/Rel-11/26_series/26267/61268ca06c266b91f537a32b57a68550_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1bf36a1236d8c49e8b467f6b9f02677aaf53b206
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/61268ca06c266b91f537a32b57a68550_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:98cbfeba9ba3110f2033b8bbfb6460eb60f10afe1440f57f17c909330c4da714
+size 11755
diff --git a/marked/Rel-11/26_series/26267/6ba2b00e9434aa86af566824b1c1446b_img.jpg b/marked/Rel-11/26_series/26267/6ba2b00e9434aa86af566824b1c1446b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1c40de24c941ff0fe2f0c1d30e7eefca6e5cc16b
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/6ba2b00e9434aa86af566824b1c1446b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:80e00b74673a1f7cfea981e7045df46fc0c8f217581daf3a8830431332e8b0e6
+size 35593
diff --git a/marked/Rel-11/26_series/26267/73da53f7da73c0e2ead71eb1e2f746fb_img.jpg b/marked/Rel-11/26_series/26267/73da53f7da73c0e2ead71eb1e2f746fb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f75f765a115ff1f3e5446bb3b9fdf7f85fd264a1
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/73da53f7da73c0e2ead71eb1e2f746fb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:df1e94e21b7cdbf29be709d3634a0eda3b38730df070be7410acfe6ba0eb106e
+size 38787
diff --git a/marked/Rel-11/26_series/26267/86d30a7d5a9cd4ee5456b5962ae3420a_img.jpg b/marked/Rel-11/26_series/26267/86d30a7d5a9cd4ee5456b5962ae3420a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..176ea0e8ee2b874e0eb50c4a1946656a1c7b28d6
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/86d30a7d5a9cd4ee5456b5962ae3420a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6fee580b4785870c3b589d424763634240711d64ab8c929c1524ab711da11eaa
+size 27996
diff --git a/marked/Rel-11/26_series/26267/965aaf7a8b454893b05799d266de6a69_img.jpg b/marked/Rel-11/26_series/26267/965aaf7a8b454893b05799d266de6a69_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b975b42f136639c58646151b493ea6f30a2b89d2
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/965aaf7a8b454893b05799d266de6a69_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7561ba0ed30cb4bf89a09ca53c7bb4bacca8a0e99555e06af8f0dff0bfffe342
+size 17474
diff --git a/marked/Rel-11/26_series/26267/96b0240f56d14453b5da05ec30fd5c6e_img.jpg b/marked/Rel-11/26_series/26267/96b0240f56d14453b5da05ec30fd5c6e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d6782bc76446cfd4396879f568088df0c650a4aa
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/96b0240f56d14453b5da05ec30fd5c6e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3761fe2dfc2e885708b5a62049ca280bf18a276fe777e3f8065696a3e8942543
+size 32366
diff --git a/marked/Rel-11/26_series/26267/b10763be31553f31cbb795653b731a43_img.jpg b/marked/Rel-11/26_series/26267/b10763be31553f31cbb795653b731a43_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..173ad313d9eb1f24852933165f28be60e1a8fa5f
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/b10763be31553f31cbb795653b731a43_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fea5016ab7fae89fb075ad3bd4883c72a1f78ba22e7e3d46fc780b041ebba57d
+size 65258
diff --git a/marked/Rel-11/26_series/26267/b978ce2c39dbbcd4c4e087eb265a830b_img.jpg b/marked/Rel-11/26_series/26267/b978ce2c39dbbcd4c4e087eb265a830b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3f5d22d09c6531571a3aea1ff984afde96744c12
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/b978ce2c39dbbcd4c4e087eb265a830b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1715cd057ad0ed84d28d3e346cd7222baab25272359879946dade005ce66f8e2
+size 56548
diff --git a/marked/Rel-11/26_series/26267/dd5771673aececa53d42ece89218299d_img.jpg b/marked/Rel-11/26_series/26267/dd5771673aececa53d42ece89218299d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..da44528a61ec365a100679e2ecbcf2a7eec7b3d5
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/dd5771673aececa53d42ece89218299d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3cdf2028789d111400d534623a718c20c7b1b5d8eeb3c9e395443e0d9bea2f52
+size 116335
diff --git a/marked/Rel-11/26_series/26267/fbfa653853daf5541118a9ddecb92284_img.jpg b/marked/Rel-11/26_series/26267/fbfa653853daf5541118a9ddecb92284_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7ee07669ab69c2b5849aa19ca5924763ab45cf5a
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/fbfa653853daf5541118a9ddecb92284_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:64032f975eccaf48325f3cc5d7c8aa287bb09b1238ffd416376ce8aea1c4a16d
+size 23082
diff --git a/marked/Rel-11/26_series/26267/raw.md b/marked/Rel-11/26_series/26267/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..48f9929e5358faa1929b5c97572f3736f095ec7d
--- /dev/null
+++ b/marked/Rel-11/26_series/26267/raw.md
@@ -0,0 +1,1207 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|----------------------------------------------------------|----|
+| Foreword ..... | 5 |
+| Introduction ..... | 5 |
+| 1 Scope..... | 6 |
+| 2 References..... | 6 |
+| 3 Definitions and abbreviations ..... | 7 |
+| 3.1 Definitions..... | 7 |
+| 3.2 Abbreviations ..... | 7 |
+| 4 General overview ..... | 8 |
+| 4.1 eCall system overview ..... | 8 |
+| 4.2 eCall system requirements ..... | 9 |
+| 4.3 eCall in-band modem architecture ..... | 10 |
+| 4.3.1 Principle operation of the IVS data modem ..... | 11 |
+| 4.3.2 Principle operation of the PSAP data modem ..... | 11 |
+| 5 Functional description of the IVS data modem ..... | 12 |
+| 5.1 IVS transmitter ..... | 12 |
+| 5.1.1 MSD Message ..... | 12 |
+| 5.1.2 CRC code..... | 13 |
+| 5.1.3 HARQ FEC encoder..... | 13 |
+| 5.1.3.1 Bit scrambling..... | 13 |
+| 5.1.3.2 Turbo Coding..... | 13 |
+| 5.1.3.3 HARQ for MSD messages..... | 14 |
+| 5.1.4 Modulation ..... | 15 |
+| 5.1.5 MSD data frame format..... | 16 |
+| 5.1.6 Synchronization signal and frame format..... | 16 |
+| 5.1.7 Multiplexing ..... | 17 |
+| 5.1.8 Uplink signal and retransmission ..... | 18 |
+| 5.1.9 Additional signal format for push mode..... | 18 |
+| 5.2 IVS receiver..... | 18 |
+| 5.2.1 Synchronization detector/tracker..... | 19 |
+| 5.2.2 Timing Unit ..... | 20 |
+| 5.2.3 De-multiplexing..... | 20 |
+| 5.2.4 Data demodulation and FEC decoding..... | 20 |
+| 5.2.5 Message handler ..... | 20 |
+| 6 Functional description of the PSAP data modem ..... | 21 |
+| 6.1 PSAP transmitter ..... | 21 |
+| 6.1.1 Message encoding ..... | 21 |
+| 6.1.2 BCH encoding ..... | 21 |
+| 6.1.3 Modulation ..... | 22 |
+| 6.1.4 Downlink signal..... | 22 |
+| 6.1.4.1 Link-layer feedback messages ..... | 22 |
+| 6.1.4.2 Higher-layer acknowledgement messages..... | 23 |
+| 6.1.4.3 Handling of downlink messages ..... | 23 |
+| 6.1.5 Synchronization ..... | 23 |
+| 6.1.6 Multiplexing ..... | 24 |
+| 6.2 PSAP receiver ..... | 24 |
+| 6.2.1 Synchronization detector/tracker..... | 24 |
+| 6.2.2 Timing Unit ..... | 24 |
+| 6.2.3 De-multiplexer..... | 25 |
+| 6.2.4 Data demodulator ..... | 25 |
+| 6.2.5 HARQ FEC decoder..... | 25 |
+| 6.2.6 CRC handling..... | 25 |
+| 6.2.7 Push mode - push message detector..... | 25 |
+| 7 Transmission protocol and error handling ..... | 26 |
+| 7.1 Normal operation..... | 26 |
+
+7.2 Abnormal operation.....26
+7.3 PSAP and IVS protocol state models.....29
+**Annex A (informative): eCall Performance Requirements/Objectives and Design Constraints**
+**.....32**
+A.1 Definitions.....32
+A.2 Performance Requirements.....32
+A.3 Performance Objectives.....34
+A.4 Design Constraints.....35
+Annex B (informative): Change history.....36
+
+# --- Foreword
+
+The present document has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- Introduction
+
+eCall refers to an interoperable in-vehicle emergency call service which is envisioned to be introduced and operated across Europe in 2014. According to reports from the European Commission, it is foreseen that eCall will be offered on all new vehicles in the EU by 2014.
+
+The European Commission has brought together standardization bodies, the automotive industry, mobile telecommunication industry, public emergency authorities and others in the eSafety Forum initiative which has identified high-level requirements, recommendations and guidelines for this eCall service [9] and [10]. The eSafety Forum has assigned ETSI MSG to standardize those parts of the eCall service that affect the mobile communication system. The development of the eCall standard has been further delegated to the 3rd Generation Partnership Project (3GPP).
+
+# --- 1 Scope
+
+The present document specifies the eCall In-band Modem, which is used for reliable transmission of the eCall Minimum Set of Data (MSD) from an In-Vehicle System (IVS) to the Public Safety Answering Point (PSAP) via the voice channel of cellular and PSTN networks.
+
+The European Union eCall requirements, recommendations and guidelines were developed by eSafety Forum [10] and [11], with important additional work produced by ETSI MSG, GSME, 3GPP, and CEN.
+
+Previous work in 3GPP TR 22.967 [3] "Transfer of Emergency Call Data", examined the issues associated with the transmission of emergency call data from a vehicle to a PSAP. This analysis identified that the preferred option be based on an in-band modem solution.
+
+eCall provides reliable full-duplex data communications between IVS and PSAP in addition to emergency voice call (E112) via the cellular network, and can be initiated either automatically or manually [1]. The eCall In-band Modem uses the same voice channel as used for the emergency voice call. eCall allows reliable transmission of MSD alternating with a speech conversation through the existing voice communication paths in cellular mobile phone systems. The expected benefit is that emergency services will be made aware of accidents much more rapidly, will get precise information on location, vehicle type etc. and therefore will be able to reach accident victims faster, with the potential to save many lives annually.
+
+The eCall in-band modem solution described here exceeds the eCall requirements (see Annex A) by means of a combination of innovations in data modulation scheme, synchronization, forward error correction coding, hybrid ARQ (HARQ) and incremental redundancy transmission.
+
+The present document provides a general overview and algorithm description of the eCall in-band modems, including IVS modem and PSAP modem, to form the complete full-duplex transmission.
+
+The eCall in-band modems (IVS and PSAP) are fully specified by this TS together with the C-code reference as provided in 3GPP TS 26.268 [2].
+
+3GPP TS 26.269 [13] deals with the conformance testing for eCall modem implementations, and 3GPP TR 26.969 [14] contains a characterization report of the in-band modem.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TS 22.101: "Service aspects; Service principles".
+- [2] 3GPP TS 26.268: "eCall Data Transfer; In-band modem solution; ANSI-C reference code".
+- [3] 3GPP TR 22.967: "Transfer of Emergency Call Data".
+- [4] 3GPP TR 26.967: "eCall Data Transfer; In-band modem solution".
+- [5] 3GPP TS 46.001: "Full rate speech; Processing functions".
+- [6] 3GPP TS 46.032: "Full rate speech; Voice Activity Detection (VAD) for full rate speech traffic channels".
+- [7] 3GPP TS 26.071: "AMR speech Codec; General description".
+
+- [8] 3GPP TS 26.094: "Mandatory speech codec speech processing functions; Adaptive Multi-Rate (AMR) speech codec; Voice Activity Detector (VAD)".
+- [9] eSafety Forum eCall Driving Group, "European Memorandum of Understanding for Realisation of Interoperable In-Vehicle eCall", May 2004.
+- [10] eSafety Forum, "Clarification Paper – EG.2 , High level requirements for a eCall in-vehicle system, Supplier perspective", March 2006, Version 1.0.
+- [11] eSafety Forum, "Recommendations of the DG eCall for the introduction of the pan-European eCall", April 2006, Version 2.0.
+- [12] 3GPP TS 26.226: "Cellular text telephone modem; General description".
+- [13] 3GPP TS 26.269: "eCall Data Transfer; In-band modem solution; Conformance testing".
+- [14] 3GPP TR 26.969 " eCall Data Transfer; In-band modem solution; Characterization report".
+
+# --- 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the following terms and definitions apply:
+
+**eCall:** A manually or automatically initiated emergency call (TS12) from a vehicle, supplemented with a minimum set of emergency related data (MSD), as defined under the EU Commission's eSafety initiative.
+
+**eCall In-band Modem:** Modem pair (consisting of transmitters and receivers at IVS and PSAP) that operates full-duplex and allows reliable transmission of eCall Minimum Set of Data from IVS to PSAP via the voice channel of the emergency voice call through cellular and PSTN networks.
+
+**eSafety:** European Commission sponsored forum to improve safety aspects of European citizens.
+
+**feedback frame:** Downlink signal transmission interval containing feedback data - corresponds to a time interval of 140 ms or 1 120 samples at an 8 kHz sampling rate.
+
+**frame (or: speech frame):** Time interval equal to 20 ms (corresponding to one AMR or FR speech frame, represented by 160 samples at an 8 kHz sampling rate).
+
+**MSD:** The Minimum Set of Data forming the data component of an eCall sent from a vehicle to a Public Safety Answering Point or other designated emergency call centre. The MSD has a maximum size of 140 bytes and includes, for example, vehicle identity, location information and time-stamp.
+
+**MSD data frame:** Uplink signal transmission interval containing the data of one MSD (after synchronization has been established) - corresponds to a time interval of 1320 ms or 10560 samples (fast modulator) and 2 320 ms or 18560 samples (robust modulator) assuming an 8 kHz sampling rate.
+
+**modulation frame:** Symbol transmission time interval equal to 2 ms corresponding to 16 samples at 8 kHz sampling rate (fast modulator), or 4 ms corresponding to 32 samples at 8 kHz sampling rate (robust modulator).
+
+**synchronization frame:** Signal transmission interval containing synchronization information - corresponds to a time interval of 260 ms or 2 080 samples at an 8 kHz sampling rate.
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the following abbreviations apply.
+
+| | |
+|-----|------------------------------------|
+| ACK | ACKnowledgement |
+| AMR | Adaptive Multi-Rate (speech codec) |
+| BCH | Bose-Chaudhuri-Hocquenghem (Code) |
+| BP | Band Pass |
+| CRC | Cyclic Redundancy Check |
+| CTM | Cellular Text telephone Modem |
+| eIM | eCall In-band Modem |
+
+| | |
+|------|---------------------------------------------|
+| EU | European Union |
+| FEC | Forward Error Correction |
+| FR | Full Rate (speech codec) |
+| GSM | Global System for Mobile communications |
+| HARQ | Hybrid Automatic Repeat-reQuest |
+| IR | Incremental Redundancy |
+| IVS | In-Vehicle System |
+| LP | Low Pass |
+| MSD | Minimum Set of Data |
+| NACK | Negative ACKnowledgement |
+| PCCC | Parallel Concatenated Convolutional Code |
+| PCM | Pulse Code Modulation |
+| PSAP | Public Safety Answering Point |
+| PSTN | Public Switched Telephone Network |
+| ROM | Read Only Memory |
+| RV | Redundancy Version |
+| SF | Synchronization Frame |
+| UMTS | Universal Mobile Telecommunications Systems |
+| VAD | Voice Activity Detection |
+
+# 4 General overview
+
+## 4.1 eCall system overview
+
+The eCall system overview is depicted in Figure 1.
+
+
+
+The diagram illustrates the eCall system architecture. A blue car, labeled 'Car in incident', is shown on the left. From the car, two types of signals are transmitted: 'Voice (112)' represented by a red dashed line and 'Data-call to 112' represented by a solid yellow line. These signals travel through a cellular network, represented by a green cloud with a tower icon. Above the tower, text indicates the data components: 'CLI', 'Location information E-112', and 'Minimum set of vehicle data'. The signals are received by a '1st Level PSAP' (Public Safety Answering Point) on the right, represented by a blue box. A legend at the bottom left shows a yellow line for 'Data' and a red dashed line for 'Voice'. Above the car, three satellite icons are shown, with dashed lines connecting them to the car, suggesting satellite-based location tracking.
+
+Figure 1: eCall system overview. The diagram shows a 'Car in incident' sending 'Voice (112)' and 'Data-call to 112' via a cellular network to a '1st Level PSAP'. The data includes 'CLI', 'Location information E-112', and 'Minimum set of vehicle data'. A legend indicates that yellow lines represent 'Data' and red dashed lines represent 'Voice'.
+
+Figure 1: eCall system overview [11]
+
+In the event of a vehicle collision, the eCall in-band modem solution is used in an automatically or manually established emergency voice call (E112) from the vehicle (IVS) via the cellular network to the local emergency agencies, i.e. the PSAP. The eCall modem allows to transfer a data message from the IVS over the cellular network to the PSAP which is denoted as eCall MSD. The MSD can include, e.g. vehicle location information, time stamp, number of passengers, Vehicle Identification Number (VIN), and other relevant accident information.
+
+It is expected that the eCall MSD information will be sent either immediately following the establishment of the voice call or at any point later during the voice call. The integrity of the eCall data sent from the vehicle to the PSAP is ensured by the specified modem.
+
+eCall is a European regional requirement. It shall not have an impact on the global circulation of terminals.
+
+## 4.2 eCall system requirements
+
+The eCall service requirements have been defined in 3GPP TS 22.101 [1], and are reproduced here for information. Not all of the requirements apply to the eCall modem specification in this document.
+
+- The data may be sent prior to, in parallel with, or at the start of the voice component of an emergency call.
+
+- Should the PSAP request additional data then this may be possible during the established emergency call.
+- The realisation of the transfer of data during an emergency call shall minimise changes to the originating and transit networks.
+- Both the voice and data components of the emergency call shall be routed to the same PSAP or designated emergency call centre.
+- The transmission of the data shall be acknowledged and if necessary data shall be retransmitted.
+- A UE configured only to transfer data during emergency calls (e.g. eCall only UE) shall not generate signalling to the network besides what is needed to place an emergency call.
+- The UE shall indicate at call setup if the emergency call will carry supplementary data.
+
+The following specific requirements are considered necessary for the satisfactory operation of the eCall service. Additionally, all existing TS12 emergency call requirements shall apply.
+
+- An eCall shall consist of a TS12 emergency call supplemented by a minimum set of emergency related data (MSD).
+- An eCall may be initiated automatically, for example due to a vehicle collision, or manually by the vehicle occupants.
+- An IVS, or other UE designed to support eCall functionality, shall include in the emergency call set-up an indication that the present call is either a Manually Initiated eCall (MIEC) or an Automatically Initiated eCall (AIEC).
+- The Minimum Set of Data (MSD) sent by the In vehicle System (IVS) to the network shall not exceed 140 bytes.
+- The MSD should typically be made available to the PSAP within 4 seconds, measured from the time when end to end connection with the PSAP is established.
+- Should the MSD component not be included in an eCall, or is corrupted or lost for any reason, then this shall not affect the associated TS12 emergency call speech functionality.
+- A call progress indication shall be provided to the user whilst the MSD transmission is in progress.
+- To reduce the time taken to establish an eCall an IVS whilst in eCall only mode, may receive network availability information whilst not registered on a PLMN.
+- Optionally, PLMNs may make use of eCall indicators, received in the emergency call set-up, to differentiate eCalls from other TS12 emergency calls.
+- The MIEC and AIEC may be used to filter or route eCalls to a dedicated PSAP operators.
+
+Throughout the duration of the emergency call and following receipt of the MSD by the PSAP
+
+- It shall be possible for the PSAP to send a confirmation to the IVS that the MSD has been acted upon.
+- It shall be possible for the PSAP to request the IVS to re-send its most recent MSD.
+- It shall be possible for the PSAP to instruct the IVS to terminate the eCall.
+
+For the purpose of selecting the best performing eIM solution, these service requirements have been further clarified, and performance objectives under different radio channel conditions as well as design constraints are defined in Annex A.
+
+## 4.3 eCall in-band modem architecture
+
+It is a challenging task to transmit data over the mobile voice channel as required of an in-band modem since speech codecs used in digital cellular systems are optimized explicitly for speech signal compression. Therefore, modem signals may incur heavy distortion after passing through the effective transmission channel consisting of speech codec, possible degradations on the radio channel, and speech decoder with error concealment. Furthermore, in digital cellular communications frame losses occur regularly and increase the burden of data recovery by the in-band modem.
+
+CTM was developed in 3GPP for transmitting text data for text telephony. It was evaluated as a potential solution for eIM in the technical report (3GPP TR 26.967 [4]) and found not able to meet eCall requirements.
+
+The present eIM solution consists of an IVS data modem and a PSAP data modem, employing signals that have been designed to pass through modern speech codecs with only moderate distortion, yet providing sufficiently high data rates for quick MSD transmission.
+
+The overall cellular system architecture, including the IVS and PSAP data modems, is given for information in a simplified diagram in Figure 2.
+
+After an emergency voice call has been (automatically or manually) established, the IVS modem receiver constantly monitors the incoming signal from the speech decoder output. When prompted by a request from the PSAP operator for MSD, the IVS connects the IVS data modem transmitter to the input of the speech coder and mutes any speech from the motorist for the duration of MSD transmission to prevent it from interfering with the eCall data transmission. Alternatively, it can be the IVS that may trigger the MSD transmission. In this case, the IVS asks the PSAP to request an MSD transmission.
+
+The first operation mode shall be referred to as the *pull* mode whereas the latter one is the *push* mode. Essentially, push mode is realized by a request from the IVS to the PSAP to *pull* the MSD.
+
+The requirement about the modem to be configured in either *push* or *pull* mode is beyond the scope of this specification. Refer to clause 4.2 for a reproduction of eCall service requirements.
+
+In general, the microphone has to be detached from the signal path whenever the eCall modem is actively transmitting.
+
+The operational principles of the IVS and PSAP modems within the environment illustrated in Figure 1 are further explained in the following. Details of the employed algorithms and functions are given in clauses 5 and 6.
+
+
+
+```
+
+graph TD
+ subgraph IVS [In-Vehicle System (IVS)]
+ MSD[MSD information source] -- position data --> GPS[GPS Receiver]
+ MSD --> IVS_DM[IVS Data modem]
+ MS[Microphone & Speakers] --> IVS_DM
+ IVS_DM --> SC[Speech Codec]
+ SC --> RM[Radio Modem]
+ end
+ IVS_DM -.-> BTS[Radio Modem (BTS)]
+ BTS --> TRAU[Speech Trans-coding (TRAU)]
+ TRAU --> MSC[Mobile Switching Center (MSC)]
+ MSC --> PSTN_GSTN[PSTN/GSTN]
+ PSTN_GSTN --> PSAP_DM[PSAP Data Modem]
+ PSAP_DM --> MSD_DISPLAY[MSD Display]
+ PSAP_DM --> PSAP_MS[Microphone & Speakers]
+ PSAP_MS --> PSAP_DM
+
+```
+
+Figure 2: eCall system within the cellular system architecture. The diagram shows the In-Vehicle System (IVS) connected to a PLMN (Radio Modem (BTS), Speech Trans-coding (TRAU), Mobile Switching Center (MSC)) which is connected to a PSTN/GSTN. The PSTN/GSTN is connected to the Public-Safety Answering Point (PSAP) containing a PSAP Data Modem and Microphone & Speakers. The IVS contains an MSD information source, GPS Receiver, IVS Data modem, Speech Codec, and Microphone & Speakers. The IVS Data modem is connected to the Speech Codec and the Microphone & Speakers. The GPS Receiver provides position data to the IVS Data modem. The IVS Data modem is connected to the Speech Codec and the Microphone & Speakers. The Speech Codec is connected to the Radio Modem (BTS). The PSAP Data Modem is connected to the Microphone & Speakers and the MSD Display.
+
+Figure 2: eCall system within the cellular system architecture
+
+### 4.3.1 Principle operation of the IVS data modem
+
+The main components of the IVS data modem are illustrated in Figure 3. The MSD information input into the IVS transmitter is first appended with CRC information. These bits are then encoded in the hybrid ARQ (HARQ) encoder using FEC coding to reduce the susceptibility to transmission errors. The HARQ encoder employs a powerful state-of-the-art turbo encoding scheme with incremental redundancy added for each retransmission. The signal modulator converts the encoded data into waveform symbols which are especially suitable for transmission through speech codecs employed in present mobile systems, including the GSM Full-Rate (3GPP TS 46.001 [5]) and the various modes of AMR codecs (3GPP TS 26.071 [7]).
+
+The IVS receiver continues to monitor the feedback messages from the PSAP data modem. As long as the received feedback messages are NACK messages, retransmissions of the MSD with incremental redundancy are automatically continued until a sufficient number of link-layer ACK or higher-layer ACK messages has been received by the IVS, or operation is terminated by the PSAP. After the transmission of the MSD information and the ACK messages is completed, the eCall modem transmitters in both the IVS and PSAP return to idle state and the signal paths from the transmitters are switched off to avoid interference with the normal voice call.
+
+In *push* mode, the IVS reuses the downlink message format for requesting the PSAP to *pull* the MSD. Request messages are transmitted until the IVS receiver detects START messages from the PSAP or a timeout occurs. Upon detection of the START messages the IVS continues as if it was in *pull* mode.
+
+This document only specifies the eCall modem for the transmission of one MSD of length 140 bytes. Messages shorter than 140 bytes are assumed to have been padded, e.g., with zeros before being fed to the IVS transmitter. Longer message lengths would require a packet segmentation mechanism as well as adaptations to the transmission protocol, which are out of scope for this document.
+
+
+
+Figure 3: eCall IVS data modem overview. The diagram shows the internal components of the IVS Data Modem and its interaction with external speech paths. Inside the modem, an 'eCall MSD' input goes through a 'CRC' block, then an 'H-ARQ Encoder', and then a 'Signal Modulator'. The 'Signal Modulator' output is connected to a switch that selects between 'Speech in' and 'Speech out'. The 'Speech in' path goes through a 'Speech Encoder' to the switch. The 'Speech out' path goes from the switch through a 'Signal Demodulator' and then a 'FEC Decoder'. The 'FEC Decoder' output is connected to the 'H-ARQ Encoder' via a feedback loop labeled 'ACK/NACK feedback from PSAP'.
+
+Figure 3: eCall IVS data modem overview
+
+### 4.3.2 Principle operation of the PSAP data modem
+
+The main components of the PSAP data modem are illustrated in Figure 4. After having triggered the IVS data modem for transmission of MSD, the eCall PSAP receiver continuously monitors the incoming signal from the PSTN. When the eCall data signal is detected and synchronized, the signal demodulator demodulates the incoming data symbols. The HARQ decoder soft-combines the first MSD transmission with any retransmissions of the information and decodes the FEC to determine the information bits, i.e. its estimate of the CRC protected MSD information. If a CRC error is detected in the decoded MSD, the PSAP receiver returns NACK and thereby prompts the IVS transmitter to provide retransmissions with incremental redundancy. Otherwise, the MSD information is provided to the PSAP operator and the IVS transmitter is notified with link-layer or higher-layer ACK messages that retransmissions are no longer required.
+
+In *push* mode, the PSAP monitors the received signal for a trigger from the IVS. Upon detection of a trigger it transmits a request for MSD transmission as it would do in *pull* mode and continues as described above.
+
+The outgoing speech path is switched off when the PSAP transmitter needs to use the voice channel for feedback messages. Once the MSD is correctly received and the ACK messages are transmitted, the speech path is unmuted to avoid interference with the normal voice call.
+
+
+
+Figure 4: eCall PSAP data modem overview. The diagram shows a yellow box labeled 'PSAP Data Modem'. Inside, there are two parallel processing paths. The top path consists of 'Signal Demodulator', 'H-ARQ Decoder', and 'CRC Handling' blocks. The bottom path consists of 'Signal Modulator' and 'FEC Encoder' blocks. An arrow labeled 'Speech in' enters the box from the bottom. An arrow labeled 'Speech out' exits the box from the top. An arrow labeled 'eCall MSD' exits the box from the right. A feedback arrow labeled 'ACK/NACK feedback to IVS' goes from the 'CRC Handling' block to the 'FEC Encoder' block.
+
+Figure 4: eCall PSAP data modem overview
+
+# 5 Functional description of the IVS data modem
+
+This clause describes the different functions of the IVS data modem.
+
+## 5.1 IVS transmitter
+
+The IVS transmitter modulates the MSD data to generate signals suitable for transmission over the in-band voice channel to the PSAP. The different blocks of the IVS transmitter are shown in Figure 5.
+
+
+
+Figure 5: IVS transmitter block diagram. The diagram shows a sequence of blocks: 'MSD message' -> 'CRC' -> 'HARQ FEC encoder' -> 'Modulator'. The output of the 'Modulator' goes to a 'MUX' block. The 'MUX' also receives inputs from 'Sync signal', 'Muting signal', and 'Audio-in processor'. The output of the 'MUX' is labeled 'Speech encoder input'. The 'Audio-in processor' block has a circular input symbol on its left side.
+
+Figure 5: IVS transmitter block diagram
+
+### 5.1.1 MSD Message
+
+The MSD is represented by a field of 140 bytes (1 120 bits).
+
+The MSD is denoted $a_i$ , $i = 1, \dots, 1120$ .
+
+### 5.1.2 CRC code
+
+Each MSD message is appended by a field of 28 bit CRC code prior to HARQ FEC encoding.
+
+The entire MSD of length $K = 1120$ bits is used to calculate the CRC parity bits. The length of the CRC protected code word is $N = 1148$ . Then $N - K = 28$ denotes the degree of the generator polynomial.
+
+The parity bits are generated by the following cyclic generator polynomial:
+
+$$g_{CRC28}(D) = D^{28} + D^{26} + D^{24} + D^{23} + D^{18} + D^{17} + D^{16} + D^{15} + D^{14} + D^{11} + D^8 + D^4 + D^3 + 1$$
+
+Denote the bits in the MSD by $a_1, a_2, \dots, a_K$ and the parity bits by $p_1, p_2, \dots, p_{28}$ .
+
+The encoding is performed in a systematic form, which means that in GF(2), the polynomial
+
+$$a_1 D^{K+27} + a_2 D^{K+26} + \dots + a_K D^{28} + p_1 D^{27} + p_2 D^{26} + \dots + p_{27} D^1 + p_{28}$$
+
+yields a remainder equal to 0 when divided by $g_{CRC28}(D)$ .
+
+### 5.1.3 HARQ FEC encoder
+
+HARQ FEC encoding includes bit scrambling, turbo coding, and the HARQ scheme.
+
+#### 5.1.3.1 Bit scrambling
+
+Bit scrambling is applied to the CRC appended MSD prior to turbo encoding:
+
+$$a_s(i) = a_{crc}(i) \text{ XOR } b_{scm}(i), i = 0, \dots, 1147$$
+
+Where $a_{crc}$ is the MSD and CRC bitstream, and $b_{scm}$ is the scrambling sequence.
+
+#### 5.1.3.2 Turbo Coding
+
+The native scheme of the deployed Turbo encoder is a Parallel Concatenated Convolutional Code (PCCC) with two identical 8-state constituent encoders with the polynomial
+
+$$g_0(D) = g_1(D) = 1 + D^2 + D^3,$$
+
+and one Turbo code internal interleaver. The resulting coding rate of the Turbo coder is $r = 1/3$ . The structure of the Turbo coder is illustrated in Figure 6. The initial value of the shift registers of the 8-state constituent encoders are set to zeros prior to encoding the MSD. The bits output from the Turbo code internal interleaver are to be input to the second 8-state constituent encoder.
+
+
+
+Figure 6: Structure of a rate 1/3 Turbo coder. The diagram shows an input 'MSD, CRC' entering an 'interleaver' block. The output of the interleaver is split into two identical 8-state constituent encoders. The first constituent encoder (top) receives the original 'MSD, CRC' input and produces 'parity 1, ptail 1' as output. The second constituent encoder (bottom) receives the interleaved input and produces 'parity 2' and 'ptail 2' as output. Each constituent encoder consists of a series of three delay elements (D) and several adders (circles with a plus sign). The first adder in each encoder takes the input and a feedback signal. The output of the third delay element is added to the output of the first adder to produce the parity output. Dotted lines with a switch labeled '(\*1)' represent trellis termination for the first encoder, connecting the output back to the input of the first adder. The final output of the system is 'MSD, CRC, tail 1, tail 2'.
+
+**Figure 6: Structure of a rate 1/3 Turbo coder (\*1: dotted lines apply for trellis termination only)**
+
+Trellis termination is performed by taking the tail bits from the shift register feedback after all information bits are encoded. Tail bits are padded after the encoding of information bits. The first three tail bits are used to terminate the first constituent encoder (upper switch in Figure 6 in lower position) while the second constituent encoder is disabled.
+
+The last three tail bits are used to terminate the second constituent encoder (lower switch in Figure 6 in lower position) while the first constituent encoder is disabled.
+
+The Turbo code internal interleaver consists of bits-input to a rectangular matrix with padding, intra-row and inter-row permutations of the rectangular matrix, and bits-output from the rectangular matrix with pruning [2].
+
+The parity blocks are generated with the same convolutional encoder, and 3 tail bits are generated from the FEC encoder states [2].
+
+The encoder outputs are collected in the channel coded bit buffer according to Figure 7.
+
+
+
+| | | | | | | |
+|---------|-------------------|-------------------|----------|--------------------|----------|--------------------|
+| MSD+CRC | tail 1 | tail 2 | Parity 1 | ptail 1 | Parity 2 | ptail 2 |
+|---------|-------------------|-------------------|----------|--------------------|----------|--------------------|
+
+**Figure 7: Channel coded bit buffer**
+
+#### 5.1.3.3 HARQ for MSD messages
+
+The applied HARQ scheme can create eight different redundancy versions (RV), $rv0 \dots rv7$ , from the channel coded bit buffer. Each one of the RV consists of a subset of 1380 bits from the channel coded bit buffer. $rv0$ , $rv2$ , $rv4$ , and $rv6$ contain the entire MSD+CRC part of the channel coded bit buffer. The maximum code rate of the coding scheme is $r_{eff} \approx 0.83$ since the MSD and CRC are 1148 bit altogether. The redundancy is increased with every further transmission of RVs.
+
+The generation of different redundancy versions of the MSD from the above FEC encoded bitstream is defined in ROM tables and can be found in 3GPP TS 26.268 [2].
+
+### 5.1.4 Modulation
+
+The encoded binary data stream bits $b_i$ are grouped into symbols. Each symbol $d_j$ carries 3 bits of information and modulates one basic uplink waveform which corresponds to one modulation frame.
+
+There are two modulator modes, a fast modulator mode and a robust modulator mode. Under normal conditions, a transmission is successful when applying the fast modulator mode. The robust modulator mode serves as a back up solution if a transmission fails in unusually difficult environments. The modulator modes merely differ by symbol duration, i.e., the length of the modulation frames, which is 2 ms for the fast modulator mode and 4 ms for the robust modulator mode. In terms of samples this is 16 samples for the fast modulator mode and 32 samples for the robust modulator mode at 8 kHz sampling rate. Therefore, a speech frame accommodates 10 modulation frames (containing 10 symbols, or 30 bit) for the fast modulator mode and 5 modulation frames (5 symbols or 15 bit) for the robust modulator mode. Hence, the modulation data rates are 1 500 bit/s and 750 bit/s, respectively, not accounting for muting gaps and synchronization frames.
+
+The uplink waveform is determined by the basic uplink waveform $p_{UL}(n)$ , which is
+
+$$p_{UL}(n) = (0, 0, 0, 40, -200, 560, -991, -1400, 7636, 15000, 7636, -1400, -991, 560, -200, 40)$$
+
+for the fast modulator mode ( $n = 0, \dots, 15$ ) and
+
+$$p_{UL}(n) = (0, 0, 0, 0, 0, 40, -200, 560, -991, -1400, 7636, 15000, 7636, -1400, -991, 560, -200, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)$$
+
+for the robust modulator mode ( $n = 0, \dots, 31$ ). These values are given with respect to a signed 16-bit signal representation. The mapping between the symbol $d_j$ and the uplink waveform is given by a cyclic right-shift of $k$ samples, denoted by $(p \rightarrow k)$ , and the sign $q$ of the basic uplink waveform $p_{UL}(n)$ . Table 1 details this mapping. Note that the position (cyclic shift) of the waveform carries two bits of information while the sign of the waveform adds another bit of information. Figure 8 illustrates the slot structure of both modulator modes. It represents a particular example symbol sequence in an abstract way by neglecting the actual shape and signs of the waveforms. The large bars indicate the maxima of the basic uplink waveforms according to the example symbols whereas the small ones indicate the other potential maximum positions.
+
+**Table 1: Symbol modulation mapping for uplink**
+
+| Symbol | | uplink waveform fast modulator mode $w_{UL}(n) = q \cdot (p(n) \rightarrow k)$ $(n=0,\dots,15)$ | | uplink waveform robust modulator mode $w_{UL}(n) = q \cdot (p(n) \rightarrow k)$ $(n=0,\dots,31)$ | |
+|--------|-------|----------------------------------------------------------------------------------------------------------|------------------|------------------------------------------------------------------------------------------------------------|------------------|
+| $d_j$ | $b_i$ | sign $q$ | cyclic shift $k$ | sign $q$ | cyclic shift $k$ |
+| 0 | 000 | 1 | 0 | 1 | 0 |
+| 1 | 001 | 1 | 4 | 1 | 8 |
+| 2 | 010 | 1 | 8 | 1 | 16 |
+| 3 | 011 | 1 | 12 | 1 | 24 |
+| 4 | 100 | -1 | 12 | -1 | 24 |
+| 5 | 101 | -1 | 8 | -1 | 16 |
+| 6 | 110 | -1 | 4 | -1 | 8 |
+| 7 | 111 | -1 | 0 | -1 | 0 |
+
+
+
+Robust modulator mode:
+
+modulation frame (4 ms)
+
+Fast modulator mode:
+
+modulation frame (2 ms)
+
+speech frame length (20 ms)
+
+Timing diagram for Robust modulator mode showing a 4 ms modulation frame within a 20 ms speech frame. The 4 ms frame contains 8 symbols, each represented by a pair of pulses (one positive, one negative). Timing diagram for Fast modulator mode showing a 2 ms modulation frame within a 20 ms speech frame. The 2 ms frame contains 16 symbols, each represented by a pair of pulses (one positive, one negative).
+
+**Figure 8: Slot structure of uplink modulator**
+
+### 5.1.5 MSD data frame format
+
+Each MSD data frame includes one encoded MSD message with CRC field, split up into multiple data fields.
+
+The MSD data frame forms the largest fraction of uplink data traffic and consists of three data fields, four muting gaps, and three synchronization fragments (see clause 5.1.6), arranged as given in Table 2a.
+
+**Table 2a: MSD data frame format**
+
+| Pos. | Fast modulator mode | Robust modulator mode |
+|------|-------------------------------------------|-------------------------------------------|
+| 1 | 1 frame of muting, M1 (20 ms) | 1 frame of muting, M1 (20 ms) |
+| 2 | 15 frames of modulated data, D1 (300 ms) | 30 frames of modulated data, D1 (600 ms) |
+| 3 | 4 frames of sync fragment, S1 (80 ms) | 4 frames of sync fragment, S1 (80 ms) |
+| 4 | 2 frames of muting, M2 (40 ms). | 4 frames of muting, M2 (80 ms). |
+| 5 | 15 frames of modulated data, D2 (300 ms). | 30 frames of modulated data, D2 (600 ms). |
+| 6 | 4 frames of sync fragment, S2 (80 ms) | 4 frames of sync fragment, S2 (80 ms) |
+| 7 | 2 frames of muting, M3 (40 ms) | 4 frames of muting, M3 (80 ms) |
+| 8 | 16 frames of modulated data, D3 (320 ms) | 32 frames of modulated data, D3 (640 ms) |
+| 9 | 4 frames of sync fragment, S3 (80 ms) | 4 frames of sync fragment, S3 (80 ms) |
+| 10 | 3 frames of muting, M4 (60 ms) | 3 frames of muting, M4 (60 ms) |
+| Sum | 66 speech frames (1320 ms) | 116 speech frames (2320 ms) |
+
+### 5.1.6 Synchronization signal and frame format
+
+The synchronization frame consists of the direct concatenation of:
+
+- 1) the synchronization tone $s_t(n)$ ; and
+- 2) the synchronization preamble $s_p(n)$ . Note that the synchronization preamble is not only used in the synchronization frame, but fragments thereof are also inserted into the MSD data frame for the purpose of synchronization tracking.
+
+The synchronization tone $s_t(n)$ consists of a sampled sinusoidal tone of frequency 500 Hz or 800 Hz, and of 64 ms duration. A frequency of 500 Hz is chosen to indicate that the fast modulator mode is to be applied and a frequency of 800 Hz indicates that the robust modulator mode is used for the subsequent MSD frames.
+
+The synchronization tone $s_t(n)$ is followed by synchronization preamble $s_p(n)$ . The synchronization preamble is a pulse sequence known at the receiver. The pulse sequence for the synchronization preamble has been chosen to optimize autocorrelation properties in order to allow a very reliable detection and delay estimation at the same time. The achieved accuracy of the delay estimation is typically exact by sample.
+
+The basis of the synchronization preamble $s_p(n)$ is a PN sequence of length 15 that takes values of (1, 1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, -1, -1, -1). Each pulse has an amplitude of 20000 in a signed 16-bit signal representation. The pulse sequence is composed of 5 periods of this PN sequence. The outer periods (number 1 and 5) are inverted (i.e. all elements are multiplied with -1) and those parts that are common to the inverted and non inverted sequence are transmitted just once, see Figure 9. Figure 10 illustrates the resulting pulse sequence.
+
+
+
+Diagram showing the construction of a pulse sequence from 5 PN-sequences. It displays three rows of binary-like sequences (+ and -). The top row shows three segments of a 15-element PN sequence. The middle row shows the concatenation of the first four elements of the first segment, the full 15 elements of the second segment, and the last four elements of the third segment. The bottom row shows the final 25-element pulse sequence. A bracket below the middle row is labeled 'pulse sequence constructed from 5 pn-sequences:'.
+
+**Figure 9: Construction of pulse sequence for the sync preamble (+ := +1 and - := -1)**
+
+
+
+A plot of the pulse sequence for generation of synchronization preamble. The x-axis represents time in samples from 0 to 70. The y-axis represents amplitude from -1 to 1. The plot shows a series of pulses: from 0 to 10 samples, the pulses are at -1; from 10 to 70 samples, the pulses alternate between +1 and -1 according to the PN sequence pattern.
+
+**Figure 10: Pulse sequence for generation of synchronization preamble**
+
+In the pulse sequence, neighboring pulses are placed 22 samples apart to form the synchronization preamble, i.e. zero-padding of 21 zero samples between pulses is applied. In addition, 71 zero samples are placed before the first pulse. The resulting synchronization preamble has a duration of $71 + 69 + (68 \cdot 21) = 1568$ samples, or 196 ms.
+
+Both synchronization tone $s_t(n)$ and synchronization preamble $s_p(n)$ can be stored in a ROM table to avoid computation at runtime. These tables can be found in 3GPP TS 26.268 [2], and they should serve as a reference of the synchronization signal..
+
+The overall length of the synchronization frame is 13 frames or 260 ms.
+
+For the purpose of uplink synchronization tracking, fragments of the synchronization preamble are inserted into the MSD data frame (see Table 2a). A synchronization fragment consists of the last 576 samples of the synchronization preamble $s_p(n)$ , prepended by 64 zero-samples. A synchronization fragment is thus 640 samples or 80 ms long.
+
+### 5.1.7 Multiplexing
+
+The multiplexer combines the synchronization frame and the MSD data frames to the effective transmit signal as in Figure 11.
+
+
+
+Figure 11: Uplink data format with multiplexing. A horizontal timeline diagram showing a sequence of frames. The first frame is labeled 'SF' (Synchronization Frame) in a yellow box. This is followed by a series of frames grouped under a bracket labeled 'MSD rv0'. The first sub-frame in this group is 'M1' (yellow box), followed by 'UL Data 1' (grey box). The second sub-frame is 'S1/M2' (grey box), followed by 'UL Data 2' (grey box). The third sub-frame is 'S2/M3' (grey box), followed by 'UL Data 3' (grey box). The fourth sub-frame is 'S3/M4' (grey box).
+
+Figure 11: Uplink data format with multiplexing
+
+### 5.1.8 Uplink signal and retransmission
+
+The uplink signal starts with a synchronization frame (SF) which is succeeded by one or more MSD redundancy versions, e.g. MSD *rv0*, MSD *rv1*, MSD *rv2*, etc. as shown in Figure 12.
+
+MSD *rv0* is the first transmission of a full MSD message. MSD *rv1* represents the first retransmission, MSD *rv2* the second retransmission, each with a different version of incremental redundancy (IR). Up to eight different versions of incremental redundancy are allowed (MSD *rv0* ... MSD *rv7*).
+
+In good channel conditions, the MSD should be successfully decodable after the reception of the first transmission, MSD *rv0*.
+
+The IVS transmitter stops transmitting when an ACK message is received on the downlink by the IVS receiver.
+
+If, after one transmission attempt (consisting of 8 RV transmissions), the MSD message is still not received correctly, the MSD transmission cycle is started again with one synchronization frame and MSD *rv0*, using the robust modulator mode. The PSAP receiver resets the IR combining buffer after 8 received MSD messages, switches the demodulation mode, and restarts combining again.
+
+
+
+Figure 12: Uplink signal format. A horizontal timeline diagram showing a sequence of frames. The first frame is labeled 'SF' (Synchronization Frame) in a yellow box. This is followed by three frames labeled 'MSD rv0', 'MSD rv1', and 'MSD rv2' in light blue boxes. A horizontal arrow labeled 'time' points to the right, indicating the sequence of transmissions over time.
+
+Figure 12: Uplink signal format
+
+The generation of different redundancy versions of the MSD is defined in ROM tables and can be found in 3GPP TS 26.268 [2].
+
+### 5.1.9 Additional signal format for *push* mode
+
+If the IVS is to issue the request for MSD transmission, it reuses the downlink signal format according to clause 6.1. The message used for the data part is reproduced in Table 2b. The modulated data may be precomputed and stored in the IVS ROM. Several such messages are transmitted before an IVS state change triggers the MSD transmission, or a timeout occurs.
+
+**Table 2b: Uplink *push* message encoding**
+
+| Message | Binary representation | BCH encoder output, $b_i$ (hexadecimal)* |
+|-------------------------------|-----------------------|------------------------------------------|
+| push (IVS initiation message) | 0011 | DBE 9397 9461 07EA |
+
+\*: see clause 6.1 for encoding scheme
+
+## 5.2 IVS receiver
+
+The IVS receiver demodulates and decodes feedback messages (START, NACK, link-layer ACK, and higher-layer ACK) from the PSAP. It starts the IVS transmitter after detecting a request message (the START trigger) for MSD data transmission on the downlink. The different blocks of the IVS receiver are shown in Figure 13.
+
+
+
+```
+
+graph LR
+ SD[Speech decoder output] --> AP[Audio-out processor]
+ SD --> ST[Sync detector/tracker]
+ ST --> TU[Timing unit]
+ TU --> DM[De-mux]
+ DM --> MD[Message detector]
+ DM --> SS[Sync signal]
+ DM --> MS[Muting signal]
+ MD --> MH[Message handler]
+ SS --> MH
+ MS --> MH
+ MH --> ANI[ACK/NACK/IDLE]
+ MH --> START
+
+```
+
+Figure 13: IVS receiver block diagram. The diagram shows the signal flow from the Speech decoder output through various processing blocks. The Speech decoder output splits into an Audio-out processor (connected to a speaker icon) and a Sync detector/tracker. The Sync detector/tracker feeds into a Timing unit, which also feeds into a De-mux. The De-mux outputs three signals: Message detector, Sync signal, and Muting signal. The Message detector feeds into a Message handler, which outputs ACK/NACK/IDLE and START. The Sync signal and Muting signal also feed into the Message handler.
+
+**Figure 13: IVS receiver block diagram**
+
+### 5.2.1 Synchronization detector/tracker
+
+For support of the synchronization/detection function, each synchronization frame includes two parts, which are denoted as synchronization tone and synchronization preamble as described in clause 5.1.6.
+
+NOTE: The downlink synchronization frame is identical to the uplink synchronization frame (except that the downlink only uses a frequency of 500 Hz for the synchronization tone), however, the data frame formats are different in uplink and downlink.
+
+The synchronization detector/tracker has three main functions:
+
+- 1) Scan the input signal and identify the start of an eCall data transmission. The result of this operation is a synchronization detection flag which indicates whether or not eCall data transmission has been detected.
+- 2) Determine the timing of the data frame. The result of this operation is timing information from which the location of the data burst in the input signal can be calculated at sample resolution.
+- 3) Continuously check and track the data frame timing. Based on the subsequently received synchronization frames, the validity of the data frame timing is checked. In case the check fails, the synchronization tracker tries to identify a new valid data frame timing.
+
+To avoid false detection of an eCall data transmission in the IVS receiver, the synchronization detector evaluates three consecutive sync frames. It sets the detection flag $DF = 1$ , only if the same timing information is detected in three successively detected sync preambles. This feature is also required to prevent misdetection of the START message and to keep the synchronization failure rate at virtually zero.
+
+The synchronization preamble sequence in Figure 10 is constructed to have good autocorrelation properties for optimal detection as shown in Figure 14.
+
+
+
+Figure 14: Autocorrelation properties of pulse sequence of Figure 10. The plot shows a series of blue circles representing correlation peaks over a range of 0 to 80 samples. The y-axis represents the correlation value, ranging from -20 to 20. Five specific peaks are labeled with numbers 1 through 5. Peak 1 is at approximately sample 15 with a value of -15. Peak 2 is at approximately sample 28 with a value of 15. Peak 3 is at approximately sample 42 with a value of 15. Peak 4 is at approximately sample 58 with a value of 15. Peak 5 is at approximately sample 70 with a value of -15. The peaks are spaced at regular intervals of 14 samples (15, 28, 42, 58, 70).
+
+**Figure 14: Autocorrelation properties of pulse sequence of Figure 10**
+
+The synchronization algorithm acquires the delay value by checking the correctness of the distance between the five correlation peaks. A preamble is considered detected if either the pair of peaks (2, 4) or the pair of peaks (1, 5) exhibit correct distances from each other, provided that they either fulfil certain amplitude constraints (the amplitude differences shall not differ by more than a factor of 3 and their average shall not be less than half of the global maximal sync filter output since first activation of the synchronization detector), or one additional peak is identified.
+
+To distinguish between higher-layer ACK message and link-layer ACK messages on the downlink, an inverted sync pulse sequence precedes the higher-layer ACK messages. The synchronization detector determines the signs of the autocorrelation pulses independently from the absolute peak values and peak distances. The correlation peak signs are used to determine whether the incoming feedback message is a link-layer ACK or higher-layer ACK message. If an inverted sign of autocorrelation pulses is detected right from the beginning of uplink and/or downlink transmissions, the synchronization detector assumes that a signal inversion is occurring on the transmission path. In this case, all received PCM samples are multiplied by -1 on the affected link for the remainder of the MSD transmission.
+
+Because feedback messages are transmitted continuously on the downlink, it is usually sufficient for the IVS receiver to perform the synchronization only once per MSD. This means, synchronization can be locked once an eCall data transmission has been detected and the timing information has been computed. Nevertheless, there exist rare scenarios that may require a resynchronization due to lost synchronization, e.g. because of an adaptive jitter buffer, or an analog PSTN line with sampling clocks drifting between transmitter and receiver. Therefore, the correctness of the synchronization is checked continuously (referred to as 'Sync Check') by evaluating the existence of correlation peaks at the expected peak positions for any of the feedback messages. The data part of a message is ignored if none of the five peaks is detected.
+
+A sync tracking feature is also implemented which re-uses the original synchronization algorithm and evaluates the cross-correlations of the incoming signal and the known synchronization sequence in a certain interval around the previously expected delay position. The width of this search interval can be set as a parameter of the synchronization function, with a maximum value of $\pm 480$ samples in the IVS sync tracker. Note that the cross-correlation search can be efficiently implemented by FIR filtering.
+
+If no valid delay position can be identified 8 times in a row, the IVS resets itself.
+
+### 5.2.2 Timing Unit
+
+The timing unit adjusts the timing of the received signal for the following processing stages according to the timing information obtained by the synchronization detector/tracker.
+
+### 5.2.3 De-multiplexing
+
+The de-multiplexer removes the muting and synchronization signals from the input data stream.
+
+### 5.2.4 Data demodulation and FEC decoding
+
+The data demodulator and decoder on the downlink are represented by a single correlator matched directly to the modulated downlink waveforms. The received waveform is correlated to each of the stored waveforms and a maximum likelihood decision on the feedback message, $msg$ , is made.
+
+$$\text{metric}(k) = \sum_{i=0}^{479} \text{pcm\_data}(i) * \text{dlPcmMatch}(k)(i), k = 0, 1, 2, 3$$
+
+$$\text{msg} = \underset{k}{\operatorname{argmax}} \text{metric}(k)$$
+
+Since only a very small number of different data messages (see Table 3) is used on the downlink, the entire expected signal patterns can be stored at the IVS receiver. These patterns have a length of 480 samples each (corresponding to 60 ms, which is the length of modulated feedback messages). In the demodulator/decoder the cross-correlation between the received signal and the stored pattern for each possible transmit message is calculated, and a decision for a message is made according to individual correlation thresholds. If synchronization has detected a message, but the demodulator threshold is not reached for either of the valid messages, the message is marked as unreliable and ignored in the case of lower-layer ACK or NACK. In case of START, the first six unreliable messages are ignored, but subsequent unreliable messages are not distinguished from reliable ones any more. For higher-layer ACK, unreliable messages contribute with a lower weight to the detection decision. The compressed higher-layer ACK is considered as successfully received if three consecutive messages (irrespective of reliability), or two reliable, consecutive messages, are detected with identical data.
+
+### 5.2.5 Message handler
+
+This function activates the appropriate functions in the IVS modem according to the message received. After synchronization is locked, the IVS transmitter is activated to send MSD data to the PSAP once a START message has been received. During an ongoing transmission, a sequence of least 3 reliable START messages is required to restart the MSD transmission from the IVS to the PSAP. As long as only NACKs are received, MSD transmission continues with incremental redundancy. A successfully received link-layer ACK or a higher-layer ACK simply instruct the IVS transmitter to stop transmission. Also, if the Sync Check fails to track the preamble, the IVS transmitter is reset to idle state.
+
+# 6 Functional description of the PSAP data modem
+
+This clause describes the different functions of the PSAP data modem.
+
+## 6.1 PSAP transmitter
+
+The PSAP transmitter generates the signal sent on the downlink. This signal is required to control the transmission of the MSD message on the uplink. The different blocks of the PSAP transmitter are shown in Figure 15.
+
+
+
+Figure 15: PSAP transmitter block diagram. The diagram shows a 'START trigger' and a 'CRC flag' as inputs. The 'START trigger' points to a 'Modulated BCH encoded message' block. The 'CRC flag' also points to this block. This block outputs to a 'MUX' block. The 'MUX' block also receives 'Sync signal' and 'Muting signal' as inputs. The output of the 'MUX' is 'PSAP data Tx signal'. This signal is then split: one path goes to a 'Speech encoder input' block, and the other path goes to an 'Audio-in processor' block. The 'Audio-in processor' block is connected to a microphone icon.
+
+Figure 15: PSAP transmitter block diagram
+
+### 6.1.1 Message encoding
+
+The PSAP transmitter is designed to send up to 16 different link-layer feedback messages to the IVS. Three of them are used currently as follows:
+
+- 1) START signal, i.e. the signal that triggers start of the IVS MSD transmission.
+- 2) NACK, i.e. negative acknowledgement upon CRC check failure.
+- 3) ACK, i.e. positive acknowledgement upon CRC check success.
+
+A fourth link-layer message is defined for exclusive use in the higher-layer ACK message (see Table 3).
+
+### 6.1.2 BCH encoding
+
+The link-layer feedback message code is error protected by a shortened (60, 4) BCH block code which is derived from a (63, 7) BCH code. The messages and their encoded representations are shown in Table 3.
+
+**Table 3: Downlink message encoding**
+
+| Link-layer feedback message | Binary representation | BCH encoder output, $b_i$ (hexadecimal) |
+|-----------------------------|-----------------------|-----------------------------------------|
+| START trigger | 0000 | A72 F298 41FA B376 |
+| CRC flag = 0 (NACK) | 0001 | 4C4 1FD6 6ED2 7179 |
+| CRC flag = 1 (ACK) | 0010 | 97A 8C41 FAB3 7693 |
+| reserved | 0011 | DBE 9397 9461 07EA |
+| Not used | 0100 to 1111 | |
+
+The binary representations of the link-layer feedback messages defined in Table 3 are re-used for the compressed higher-layer ACK (HL-ACK) message, in which four data bits (i.e., two of the binary link-layer message representations) are transmitted in a different feedback message format (see clause 6.1.4)
+
+### 6.1.3 Modulation
+
+The encoded binary data stream bits $b_i$ are grouped into symbols. Each symbol $d_j$ carries 4 bits of information and modulates one basic downlink waveform.
+
+The duration of the downlink waveform is 4 ms or 32 samples at 8 kHz sampling rate. Therefore 5 modulation frames correspond in length to one speech frame. Each modulated waveform carries one symbol of 4 bits of binary information and the modulation data rate is 1 000 bits/s for the downlink transmitter (modulation data rate for FEC-encoded bits, not considering muting gaps and synchronization frame).
+
+The basic downlink waveform $p_{DL}(n)$ is defined for $n = 0, \dots, 31$ as follows:
+
+$$p_{DL}(n) = (40, -200, 560, -991, -1400, 7636, 15000, 7636, -1400, -991, 560, -200, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)$$
+
+Table 4 describes the symbol modulation mapping between symbol and the downlink waveform. The downlink waveform is derived from the basic downlink waveform $p_{DL}(n)$ by a cyclic right-shift by $k$ samples, denoted by $(p \rightarrow k)$ , and multiplication with a sign $q$ .
+
+**Table 4: Symbol modulation mapping (downlink)**
+
+| Symbol | | Downlink waveform $w_{DL}(n) = q \cdot (p_{DL}(n) \rightarrow k)$ $(n=0, \dots, 31)$ | |
+|--------|-------|--------------------------------------------------------------------------------------------|------------------|
+| $d_j$ | $b_i$ | sign $q$ | cyclic shift $k$ |
+| 0 | 0000 | 1 | 0 |
+| 1 | 0001 | 1 | 4 |
+| 2 | 0010 | 1 | 8 |
+| 3 | 0011 | 1 | 12 |
+| 4 | 0100 | 1 | 16 |
+| 5 | 0101 | 1 | 20 |
+| 6 | 0110 | 1 | 24 |
+| 7 | 0111 | 1 | 28 |
+| 8 | 1000 | -1 | 28 |
+| 9 | 1001 | -1 | 24 |
+| 10 | 1010 | -1 | 20 |
+| 11 | 1011 | -1 | 16 |
+| 12 | 1100 | -1 | 12 |
+| 13 | 1101 | -1 | 8 |
+| 14 | 1110 | -1 | 4 |
+| 15 | 1111 | -1 | 0 |
+
+Since there are only few messages for the downlink and the modulated waveform for each message is relatively short (480 samples), the modulated downlink waveforms are stored in ROM tables to save computation complexity at runtime. The downlink waveforms can be found in 3GPP TS 26.268 [2].
+
+### 6.1.4 Downlink signal
+
+#### 6.1.4.1 Link-layer feedback messages
+
+Every downlink message starts with a synchronization frame (as defined in clause 5.1.6) and continues with a feedback frame. For the link-layer control messages, the feedback frame consists of a single DL-Data field surrounded by muting periods as follows:
+
+- 1) 3 frames of muting, M1 (60 ms).
+- 2) 3 frames of modulated data, DL-Data (60 ms).
+- 3) 1 frame of muting, M2 (20 ms).
+
+Each DL-Data field includes one of the three types of link-layer messages in a block-encoded representation as described in clause 6.1.2.
+
+#### 6.1.4.2 Higher-layer acknowledgement messages
+
+For the higher-layer acknowledgement messages, the synchronization frame defined in clause 5.1.6 is inverted (i.e., each sample is multiplied with -1). The feedback frame consists of two DL-Data fields preceded by a muting period as follows:
+
+- 1) 1 frame of muting, M1 (20 ms).
+- 2) 3 frames of modulated data, DL-Data 1 (60 ms).
+- 3) 3 frames of modulated data, DL-Data 2 (60 ms).
+
+Each DL-Data field includes one of the four types of block-encoded two-bit binary message representations as described in clause 6.1.2. The feedback frame for higher-layer acknowledgement messages therefore transports four information bits for use by the higher-layer application protocol (HLAP). These information bits can be used to satisfy the eCall requirements [1], e.g. to clear down the call.
+
+#### 6.1.4.3 Handling of downlink messages
+
+The PSAP transmitter retransmits the START message multiple times until it has detected the uplink synchronization frame. Upon detection of the synchronization frame, the PSAP transmitter sends a series of NACK messages, until a successful CRC check of the MSD message is obtained. After successful MSD detection, the PSAP transmitter sends link-layer ACK messages and/or the higher-layer ACK (HL-ACK). This operation is illustrated in Figure 16.
+
+
+
+Figure 16: Downlink signal format. The diagram shows two horizontal timelines representing downlink signal sequences over time. The top timeline shows a sequence of frames: SF (yellow), START (light blue), SF (yellow), START (light blue), followed by an ellipsis, then SF (yellow), NACK (light blue), SF (yellow), NACK (light blue), and an ellipsis. The bottom timeline shows a sequence of frames: an ellipsis, SF (yellow), ACK (light blue), SF (yellow), ACK (light blue), followed by an ellipsis, then SF\*(-1) (yellow), HL-ACK (light blue), SF\*(-1) (yellow), HL-ACK (light blue), and an ellipsis. Arrows labeled 'time' point to the right under each sequence.
+
+**Figure 16: Downlink signal format**
+
+If the PSAP transmitter fails to obtain uplink synchronization, it will not start transmitting NACK on the downlink. Instead, START messages are repeated. The IVS awaits the reception of a NACK after transmission of the first uplink synchronization frame. If instead repeated START messages are received, it interrupts the current MSD transmission attempt and starts with a new synchronization frame and MSD rv0. If the receiver is not able to decode the message successfully within 8 redundancy versions or if the Sync Tracker indicates that synchronization has been lost on the uplink, it asks the IVS to restart the transmission with a new synchronization frame and MSD rv0. This is achieved by switching from NACK to START messages.
+
+The repetition of START messages by the PSAP (in case it does not obtain any uplink synchronization) continues until the PSAP modem is manually switched off by the operator. An automatic PSAP timeout mechanism should be added to
+
+the PSAP implementation if this behaviour is not desirable. The PSAP timeout mechanism is not part of this specification.
+
+### 6.1.5 Synchronization
+
+Synchronization signals for the PSAP transmitter are as described in clause 5.1.6, except that a value of 5000 is added to the PN sequence pulses (i.e., the resulting pulses have amplitudes of 25000 and -15000), and the original zeroes are replaced by samples with a value of 12000.
+
+For higher-layer acknowledgement messages, the synchronization frame defined above is inverted (i.e., each sample is multiplied with -1).
+
+### 6.1.6 Multiplexing
+
+The multiplexer combines synchronization, muting and feedback frames to form the downlink signal for the PSAP transmitter.
+
+## 6.2 PSAP receiver
+
+The PSAP receiver demodulates the MSD message from the IVS and checks the integrity of the received MSD by evaluating the CRC field. The different blocks of the PSAP receiver are shown in Figure 17.
+
+
+
+```
+
+graph LR
+ SDO[Speech decoder output] --> AOP[Audio-out processor]
+ SDO --> SDT[Sync detector/tracker]
+ SDT --> TU[Timing unit]
+ TU --> DM[De-mux]
+ SDO --> DM
+ DM --> DEM[Demod]
+ DM --> SS[Sync signal]
+ DM --> MS[Muting signal]
+ DEM --> HD[HARQ decoder]
+ HD --> CH[CRC handling]
+ CH --> MM[MSD message]
+ CH --> CF[CRC flag]
+ SS --> CH
+ MS --> CH
+
+```
+
+Figure 17: PSAP receiver block diagram. The diagram shows the signal flow from the Speech decoder output. The output splits into an Audio-out processor (which connects to a speaker icon) and a Sync detector/tracker. The Sync detector/tracker feeds into a Timing unit. Both the Timing unit and the Speech decoder output feed into a De-mux block. The De-mux block has three outputs: Demod, Sync signal, and Muting signal. The Demod output feeds into a HARQ decoder, which in turn feeds into a CRC handling block. The CRC handling block outputs an MSD message and a CRC flag. The Sync signal and Muting signal from the De-mux block also feed into the CRC handling block.
+
+Figure 17: PSAP receiver block diagram
+
+The PSAP receiver continuously monitors traffic from the speech decoder in idle or standby state. When the PSAP receiver is in idle state, speech from the speech decoder passes through as in normal voice call.
+
+Once an eCall sync burst is detected, the PSAP transitions out of idle state and the speech path to audio out is muted.
+
+### 6.2.1 Synchronization detector/tracker
+
+Basically, the uplink synchronization detector/tracker works as described in clause 5.2.1. Some differences are given in the following.
+
+The detection of a single synchronization preamble is sufficient to trigger the PSAP. A Sync Observer checks the received signal for another 10 speech frames after a preamble has been detected. This is to ensure that synchronization does not find a more reliable preamble, which would mean that the previous detection would have been a false detection (wrong delay value). In case synchronization does find a better preamble it restarts the reception of the MSD.
+
+The Sync Check function continuously checks the validity of the identified delay value, based on the subsequently transmitted uplink synchronization fragments. If the delay value is found to be invalid, the Sync Tracker searches for a new valid delay value within a pre-defined search window. The maximum setting for the search window at the PSAP receiver is $\pm 240$ samples. If, after an invalid delay value, the Sync Tracker cannot identify a new valid delay value for a certain number of subsequent synchronization fragments (default value is four unsuccessful tracking attempts), it resets the PSAP transmitter in order to re-initiate the MSD transmission by sending START messages to the IVS.
+
+A tone detector based on a DFT evaluation at the two reference frequencies is used to evaluate the frequency of the sync tone. If the frequency can be detected reliably, then this decision is taken to decide on which modulator is used for demodulation. If a reliable detection is not possible, the fast modulation scheme is chosen if it is the first time that a preamble has been detected successfully while receiving the current MSD. Otherwise, the robust demodulator is chosen.
+
+### 6.2.2 Timing Unit
+
+As described in clause 5.2.2.
+
+### 6.2.3 De-multiplexer
+
+As described in clause 5.2.3.
+
+### 6.2.4 Data demodulator
+
+The data demodulator is represented by a correlator matched to the modulated waveform applied by the data modulator of the IVS transmitter. Specifically, correlations for all possible symbols are calculated:
+
+$$\begin{aligned} r(i) &= \sum_{j=0}^n \text{ulPulse}(j) * \text{ulPulseMatch}(i)(j) \\ r(i + 4) &= -r(3 - i), i = 0, 1, 2, 3 \end{aligned}$$
+
+where $n=15$ for the fast modulation mode and $n=31$ for the robust modulation mode.
+
+The correlation values $r(i)$ are then normalized by their variance and subtracted by a mean value to be converted to soft symbols for the HARQ FEC decoder [2].
+
+### 6.2.5 HARQ FEC decoder
+
+The HARQ decoder combines the demodulated and deinterleaved data signal with previously transmitted redundancy versions. For this operation it applies a two stage rate matching scheme and performs turbo decoding of the combined soft-information.
+
+To speed up the MSD reception in adverse transmission conditions, the HARQ decoding is performed for partially received messages, starting from the second redundancy version, $rv1$ . Decoding is then attempted after reception of each of the three data parts of the MSD frame (see clause 5.1.5). The decoding attempts based on partial messages is beneficial since, in many cases, the correct MSD can be decoded already after the incremental redundancy contained in the first data part D1 of $rv1$ . Figure 18 summarizes the decoder algorithm.
+
+After MSD data bits are decoded, a descrambling operation as described in clause 5.1.2 applies.
+
+
+
+Figure 18: Turbo decoder block diagram. The diagram shows a turbo decoding process. Inputs on the left are 'soft data', 'soft parity 1, ptail 1', and 'soft parity 2, ptail 2'. 'soft data' and 'soft parity 1, ptail 1' enter the '1st constituent decoder'. Its output goes to an 'interleaver' and also becomes 'soft output 1'. The output of the '1st constituent decoder' also passes through an 'interleaver' to become an input for the '2nd constituent decoder'. 'soft parity 2, ptail 2' also enters the '2nd constituent decoder'. The output of the '2nd constituent decoder' goes to a 'deinterleaver' and also becomes 'soft output 2'. The output of the 'deinterleaver' goes to a 'hard decision' block, which produces the final output 'estimate of MSD, CRC'.
+
+Figure 18: Turbo decoder
+
+### 6.2.6 CRC handling
+
+This function performs a CRC check and outputs a CRC flag. The CRC flag triggers transmission of an ACK or NACK message by the PSAP transmitter.
+
+### 6.2.7 Push mode - push message detector
+
+In *push* mode the PSAP receiver starts monitoring the incoming signal immediately after the call has been established. For the *push* message (IVS initiation sequence) detection, it applies the same receiver as described in clause 5.2. A *push* command is considered detected if two correct sync preambles have been detected and a subsequent *push* message (see Table 2b) has been identified.
+
+# 7 Transmission protocol and error handling
+
+This clause describes the employed eCall transmission protocol in normal operation, and its handling of transmission errors.
+
+## 7.1 Normal operation
+
+The operation of the eCall data transmission in the "normal" non-erroneous case works as outlined on a high level in the previous clauses.
+
+Upon request by the operator or by the IVS *push* message, the PSAP transmitter starts sending START messages. The IVS receiver shall detect the synchronization preambles that are transmitted along with the START messages and obtain synchronization. This enables the IVS receiver to demodulate and detect the START messages. The PSAP transmitter continues sending START messages to the IVS at this stage. The maximum allowed number of START messages to be transmitted by the PSAP modem is determined by the higher-layer protocols and timers (which are out of scope for this specification).
+
+Upon detection of the START message, the IVS starts the transmission of the first MSD message with incremental redundancy version *rv0* which is preceded by a synchronization frame. The PSAP receiver shall detect the synchronization frame and obtain exact synchronization on the synchronization preamble. The PSAP receiver is then enabled to demodulate the MSD and to decode it.
+
+As soon as the PSAP receiver has obtained synchronization, it changes the PSAP to NACK message transmission and continues sending this message repeatedly. The IVS transmitter then should detect the NACK messages. The IVS continues sending MSD data. When transmission of the MSD message with *rv0* has been completed, the IVS transmitter continues sending the next redundancy version *rv1* of the same MSD, and so on.
+
+The PSAP receiver, after demodulation of the full MSD with *rv0*, performs a CRC check. If the CRC check fails, the PSAP receiver continues sending NACK messages. If the CRC check succeeds, the PSAP transmitter changes the message to the link-layer or higher-layer ACK message. It is up to higher-layer protocol requirements whether link-layer and/or higher-layer ACK messages are transmitted. From a modem protocol perspective, at least five ACK messages of one type (either link-layer or higher-layer) shall be transmitted consecutively for security. No higher-layer ACK message shall precede a link-layer ACK message, and no link-layer ACK message shall succeed a higher-layer ACK message. For this purpose, the modem reference implementation transmits up to five link-layer ACK messages until a trigger from the higher-layer protocol is received. After the trigger, five higher-layer ACK messages are transmitted. The IVS receiver should detect an ACK of one particular type (link-layer or higher-layer) and then stop the IVS transmitter sending the MSD.
+
+## 7.2 Abnormal operation
+
+This clause describes some abnormal scenarios which may occur due to severe signal distortion on the transmission channels and which need to be handled by the overall transmission protocol to avoid any deadlock situations. This description of abnormal scenarios is not necessarily exhaustive.
+
+Table 5 lists potential abnormal scenarios together with the measures implemented against it in the eCall solution. In the table, the reference numbers refer to the following case categorization:
+
+1. IVS error cases
+ - 1.1 Sync error
+ - 1.1.1 No successful synchronization
+ - 1.1.2 Successful synchronization although no sync frames were sent
+ - 1.1.3 Successful synchronization, but wrong timing
+ - 1.1.4 Lost synchronization
+ - 1.2 Sync detected, correct timing, false detection of PSAP messages
+ - 1.2.1 Errors at transmission of START messages
+
+- 1.2.1.1 START message sent, no downlink message detected
+- 1.2.1.2 START message sent, NACK detected
+- 1.2.1.3 START message sent, ACK detected
+- 1.2.2 Errors at transmission of NACK messages
+ - 1.2.2.1 NACK message sent, no downlink message detected
+ - 1.2.2.2 NACK message sent, START detected
+ - 1.2.2.3 NACK message sent, ACK detected
+- 1.2.3 Errors at transmission of ACK messages
+ - 1.2.3.1 ACK message sent, no downlink message detected
+ - 1.2.3.2 ACK message sent, START detected
+ - 1.2.3.3 ACK message sent, NACK detected
+- 2. PSAP error cases
+ - 2.1 Sync error
+ - 2.1.1 No sync preamble detected
+ - 2.1.2 Sync preamble detected, but wrong timing or false detection
+ - 2.1.3 False evaluation of sync tone
+ - 2.2 Sync detected, correct timing, false detection of MSD messages
+
+**Table 5: List of potential abnormal cases and protocol solutions**
+
+| Ref # | Scenario | Error description | Error handling | Comments |
+|---------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1.1.1 | IVS receiver does not detect the sync frames or gets different delays from subsequent preamble detections. | MSD message will never be sent | Start message is sent a defined number times | If the start message is not detected within a defined time, the PSAP goes back to idle state. In this case another attempt could be started manually by the PSAP operator. |
+| 1.1.2 | IVS receiver detects equal sync frames while none were sent. | Sync false alarm | Sync Check verifies the validity of the sync continuously and resets the IVS if necessary. | Synchronization at the IVS has been designed such that the probability of this error is negligibly small (virtually zero). |
+| 1.1.3 | IVS receiver detects sync frames incorrectly and triggers nevertheless. | START message is usually not detected correctly and MSD message will never be sent | Same as #1.1.2 | Same as #1.1.2 |
+| 1.1.4 | Synchronization gets lost due to some abnormal channel conditions | Feedback messages are skipped due to Sync Check and unsuccessful Sync Tracker | Same as #1.1.2 | The Sync Tracker usually avoids this situation (e.g., due to adaptive jitter buffers or in the unlikely case of a handover) |
+| 1.2.1.1 | In-sync, but detection of START messages fails | If START message is never detected, same as 1.1.1. | START message is repeated a defined number of times. This decreases the likelihood of this case to almost zero | |
+
+| Ref # | Scenario | Error description | Error handling | Comments |
+|---------|----------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
+| 1.2.1.2 | In-sync, instead of a START message a NACK is detected | MSD message is not sent if transmission has not yet started. If a transmission is ongoing, it will not be restarted although the PSAP would want the IVS to restart. | PSAP always transmits more than just one START message. A NACK before the first START message is ignored | |
+| 1.2.1.3 | In-sync, instead of a START message an ACK is detected | MSD message is not sent if transmission has not yet started. If a transmission is ongoing, the IVS could terminate the transmission erroneously | PSAP always transmits more than just one START message. An ACK before the first START message is ignored. If the transmission is terminated, the PSAP operator could retrigger the transmission of the MSD. | |
+| 1.2.2.1 | In-sync, NACK message is not detected | | NACK messages are repeated until the correct MSD is received | IVS behaviour does not change in this case |
+| 1.2.2.2 | In-sync, instead of a NACK message a START message is detected | MSD transmission may be interrupted and restarted | Only after a successive reception of three START messages the MSD transmission is restarted | The probability of subsequent erroneously detected START messages is very low. |
+| 1.2.2.3 | In-sync, instead of a NACK message an ACK is detected | IVS stops MSD transmission before PSAP has detected it. | At least two ACK messages need to be detected subsequently in order to stop transmission at the IVS. PSAP operator could retrigger the transmission of the MSD. | The probability of the subsequent erroneously detected ACK messages is very low. |
+| 1.2.3.1 | In-sync, ACK message is not detected | Results in prolonged MSD transmission | ACK messages are sent several times | Not a problem as long as only few ACKs are missed. |
+| 1.2.3.2 | In-sync, instead of a ACK message a START message is detected | Same as 1.2.2.2 | Same as 1.2.2.2 | |
+| 1.2.3.3 | In-sync, instead of a ACK message a NACK is detected | Same as 1.2.3.1 | Same as 1.2.3.1 | Same as 1.2.3.1 |
+| 2.1.1 | No sync frame detection | PSAP misses the MSD | The PSAP continues sending START messages to the IVS until it detects a sync preamble. The IVS restarts transmission of the MSD with sync frame when it continuously receives START messages from the PSAP. | |
+
+| Ref # | Scenario | Error description | Error handling | Comments |
+|-------|-------------------------------------------------------------------------|---------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 2.1.2 | PSAP receiver detects a sync frame while none was sent | Sync frame false alarm, PSAP tries to decode data, but fails. | After having failed the detection of a valid sync delay in subsequent sync frames, or after an unsuccessful reception of the MSD, the PSAP will ask the IVS to resend the MSD by transmitting START messages again. | Introduces a delay in MSD transmission |
+| 2.1.3 | Sync tone evaluated incorrectly | Wrong modulator mode used to demodulate the MSD | If there are doubts about the reliability of the tone detection, the PSAP uses the fast modulator mode for the first trial of demodulating the MSD (first set of 8 RVs) and the robust modulator mode otherwise. | This assumption about the modulator mode will be incorrect only if the IVS completely fails to evaluate many feedback messages, which is very unlikely. |
+| 2.2 | Sync detected, correct timing, false positive detection of MSD messages | CRC gives incorrect result | | Very unlikely |
+
+## 7.3 PSAP and IVS protocol state models
+
+The state model of the PSAP is shown in Figure 19.
+
+
+
+```
+
+stateDiagram-v2
+ [*] --> PsapIdle
+ PsapIdle --> PsapTrigger : initiated by operator or detection of SEND
+ PsapTrigger --> PsapIdle : otherwise
+ PsapTrigger --> PsapStart : STARTcnt == 3
+ PsapStart --> PsapIdle : otherwise
+ PsapStart --> PsapNack : sync detected
+ PsapNack --> PsapIdle : otherwise
+ PsapNack --> PsapStart : CRC not successful within 8 redundancy versions, or consecutive tracking failures
+ PsapNack --> PsapHlap : HLAPcnt fulfilled
+ PsapNack --> PsapAck : CRC successful
+ PsapHlap --> PsapIdle : otherwise
+ PsapHlap --> PsapAck : HL-ACK transition
+ PsapAck --> PsapIdle : otherwise
+ PsapAck --> PsapHlap : ACKcnt fulfilled
+
+ PsapTrigger --> PsapIdle : manual reset
+ PsapStart --> PsapIdle : manual reset
+ PsapNack --> PsapIdle : manual reset
+
+```
+
+**PsapIdle**
+Tx – no processing
+Rx – monitor UL channel
+
+**PsapTrigger**
+Tx – send START msg
+– count number of START messages since last state change: STARTcnt
+Rx – no processing
+
+**PsapStart**
+Tx – send START msg
+Rx – watch for sync
+– set modulator mode if sync is successfully detected
+
+**PsapNack**
+Tx – send NACK msg
+Rx – count number of frames: NACKcnt
+– watch for sync: restart receiver if NACKcnt < 10
+– run demodulator
+
+**PsapHlap**
+Tx – send HL-ACK msg
+– count number of transmitted HL-ACK messages: HLAPcnt
+Rx – no processing
+
+**PsapAck**
+Tx – send ACK msg
+– count number of transmitted ACK messages: ACKcnt
+Rx – no processing
+
+State transition diagram for PSAP states: PsapIdle, PsapTrigger, PsapStart, PsapNack, PsapHlap, and PsapAck. Transitions are based on operator input, message counts, sync detection, and CRC results.
+
+**Figure 19: State model of the PSAP**
+
+The state model of the IVS is shown in Figure 20.
+
+
+
+```
+
+graph TD
+ subgraph Sync_Phase [Synchronization Phase]
+ IvsIdle["IvsIdle
+Tx - no processing"] -- "External trigger" --> IvsSendTrigger["IvsSendTrigger
+Tx - SEND"]
+ IvsSendTrigger -- "<6 SEND messages" --> IvsIdle
+
+ WatchSync["Rx - watch for sync"] -- "3 correct preambles" --> WatchStart["Rx - watch for START
+- check/track sync"]
+ end
+
+ WatchStart -- "START message detected" --> IvsSendMsd["IvsSendMsd
+Tx - send message
+Rx - decode DL data
+if sync check is correct
+- restart or terminate MSD
+transmission if PSAP requests it
+- check/track sync"]
+
+ WatchStart -- "otherwise" --> WatchStart
+
+ IvsSendMsd -- "LL ACK messages detected" --> IvsACK["IvsACK
+Tx - no processing
+Rx - decode DL data
+if sync check is correct
+- check/track sync"]
+
+ IvsSendMsd -- "otherwise" --> IvsSendMsd
+
+ IvsACK -- "otherwise" --> IvsACK
+
+ IvsACK -- "Reception of LL-ACK / HL-ACK messages
+(depending on configuration)" --> WatchSync
+
+ %% Global Error Transitions
+ WatchStart -- "Sync check failure occurs 8 times in a row" --> WatchSync
+ IvsSendMsd -- "Sync check failure occurs 8 times in a row" --> WatchSync
+ IvsACK -- "Sync check failure occurs 8 times in a row" --> WatchSync
+
+```
+
+The diagram illustrates the state model of the IVS (In-Vehicle System) with four main states and their transitions:
+
+- IvsIdle** (Tx - no processing): The initial state. An "External trigger" moves the system to **IvsSendTrigger**.
+- IvsSendTrigger** (Tx - SEND): Entered from IvsIdle. If fewer than 6 SEND messages are sent, it returns to IvsIdle.
+- Synchronization Phase**: Includes "Rx - watch for sync" and "Rx - watch for START". Detecting "3 correct preambles" moves the process to watching for the START message.
+- IvsSendMsd** (Tx - send message, Rx - decode DL data): Entered when a "START message detected" occurs. It handles MSD transmission and checks for PSAP requests. If sync is correct, it continues; otherwise, it loops.
+- IvsACK** (Tx - no processing, Rx - decode DL data): Entered upon "LL ACK messages detected". It waits for final LL-ACK/HL-ACK reception to return to the initial sync watch state.
+- Error Handling**: In states IvsSendMsd, IvsACK, and the START watch phase, a "Sync check failure occurs 8 times in a row" triggers a return to the "Rx - watch for sync" state.
+
+State model of the IVS diagram showing four states: IvsIdle, IvsSendTrigger, IvsSendMsd, and IvsACK with transitions between them based on external triggers, message counts, and sync checks.
+
+Figure 20: State model of the IVS
+
+# --- Annex A (informative): eCall Performance Requirements/Objectives and Design Constraints
+
+Minimum performance requirements for non-bitexact implementations of the eCall modems, as well as exact performance figures of the bit-exact implementation, are given in a separate Conformance Testing document.
+
+The following is reproduced for information from the permanent document "eCall Performance Requirements / Objectives and Design Constraints", for eCall Phase 2.
+
+## --- A.1 Definitions
+
+**Performance Requirements** shall be met by an eCall candidate, otherwise it is excluded from the selection.
+
+NOTE: The Performance Requirements include all service requirements.
+
+**Performance Objectives** provide no hard limits, but allow ranking of candidates according to defined criteria.
+
+**Design Constraints** provide upper limits (requirements and objectives), e.g. on algorithmic complexity.
+
+**Selection** Checking of candidate solutions against the Performance Requirements and Design Constraints, and ranking of candidates based on Performance Objectives, after which the highest-ranked candidate is selected.
+
+The **eCall Protocol** is the overall application-layer protocol between the IVS and PSAP. The selected candidate will provide data transport ("MODEM") for the eCall procedure. However, the application-layer of the eCall procedure is out of the scope.
+
+## --- A.2 Performance Requirements
+
+The following text defines point by point the (Service) Performance Requirements for an eCall candidate. They have been taken directly from 3GPP TS 22.101 [1].
+
+NOTE 1: 3GPP TS 22.101 [1] has been modified in the meantime to version V8.8.0. The changes introduced have been evaluated. They have no influence on the selection phase for eCall.
+
+NOTE 2: For the sake of the selection procedure, the candidate shall provide means for automatic retransmission. This is however not necessarily the final eCall Protocol.
+
+1. The data may be sent prior to, in parallel with, or at the start of the voice component of an emergency call.
+
+NOTE 3: In-band data can not be sent prior to the point in time when the voice channel is established end-to-end.
+
+This requirement does not require additional interpretation.
+
+2. Should the PSAP request additional data then this may be possible during the established emergency call. This service requirement is considered in the selection as follows:
+"The eCall candidate algorithm shall allow the PSAP to request additional data at any time during the established emergency call."
+3. The realisation of the transfer of data during an emergency call shall minimise changes to the originating and transit networks. This service requirement is considered in the selection as follows: "The introduction of the eCall data transfer feature should have minimal (ideally no) impact on any existing mobile and transit network (in Europe), i.e. it should not require (major) changes nor impose (major) restrictions to future evolutions of the networks."
+4. Both the voice and data components of the emergency call shall be routed to the same PSAP or designated emergency call centre.
+
+NOTE 4: In-band data can not be routed somewhere other than the voice channel it uses.
+
+This service requirement does not need to be considered in the selection.
+
+5. The transmission of the data shall be acknowledged and if necessary data shall be retransmitted.
+This service requirement is considered in the selection as follows: "In the case of errors detected by the candidate algorithm in the received data, a retransmission shall be requested by the candidate algorithm."
+6. A UE configured only to transfer data during emergency calls (e.g. eCall only UE) shall not generate signalling to the network besides what is needed to place an emergency call.
+This service requirement does not need to be considered in the selection.
+7. With the exception of the following specific requirements, considered necessary for the satisfactory operation of the eCall service, all existing TS12 emergency call requirements shall apply.
+This service requirement does not need to be considered in the selection.
+8. An eCall shall consist of a TS12 emergency call supplemented by a minimum set of emergency related data (MSD).
+This service requirement does not need to be considered in the selection.
+9. An eCall may be initiated automatically, for example due to a vehicle collision, or manually by the vehicle occupants.
+This service requirement does not need to be considered in the selection.
+10. The Minimum Set of Data (MSD) sent by the In vehicle System (IVS) to the network shall not exceed 140 bytes.
+This service requirement is considered in the selection as follows: "The whole 140 Bytes of the MSD shall be made available to the PSAP."
+11. The MSD should typically be made available to the PSAP within 4 seconds, measured from the time when end to end connection with the PSAP is established.
+This service requirement is considered in the selection as follows: "In optimal conditions (error-free radio channel, GSM FR codec and FR AMR 12.2 kbit/s mode) the eCall candidate procedure shall be able to transmit the whole 140 bytes of the MSD reliably within 4 seconds, measured from the time when the transmission from the IVS to the PSAP begins (after a trigger from the PSAP has been detected)."
+
+NOTE 5: See Performance Requirement 14.
+
+NOTE 6: "Reliability" is defined in the new Performance Requirement 15.
+
+NOTE 7: The Performance Objectives give additional guidelines for the performance under non-ideal channel conditions.
+
+12. Should the MSD component not be included in an eCall, or is corrupted or lost for any reason, then this shall not affect the associated TS12 emergency call speech functionality.
+This service requirement does not need to be considered in the selection.
+13. A call progress indication shall be provided to the user whilst the MSD transmission is in progress
+This service requirement does not need to be considered in the selection.
+
+In addition to the above Service Requirements, the following Performance Requirement shall apply to an eCall candidate solution.
+
+14. Installation of eCall equipment in a vehicle shall not affect an emergency call to a PSAP which is not upgraded to receive eCall data, i.e. the eCall candidate algorithm shall not send the eCall data unless the PSAP requests that it do so.
+15. The MSD shall be transmitted reliably to the PSAP. An MSD transmission is considered reliably terminated, if a cyclic redundancy check (CRC) of at least 28 bits, applied to the entire MSD, detects no errors.
+
+NOTE 8: If the CRC detects an error in the MSD, then an automatic retransmission shall be triggered, unless the PSAP decides to stop the transmission.
+
+## A.3 Performance Objectives
+
+Performance Objective 1: The overall average transmission time should be as small as possible.
+
+Performance Objective 2: Under all test conditions, a candidate should be as good as or better than the proposed eCall\_via\_CTM\* (see 3GPP TR 26.967 [4]) would be.
+
+NOTE: The objectives in the present document are intended as guidelines for designers of eCall solution candidates. The exact rules of candidate selection are specified in a separate document (PD3, "eCall Selection Test"). Objective 1 will be considered in the formulation of these rules. Objective 2 is intended only as a guideline and will not be considered in the formulation of the selection rules.
+
+*Performance Objective 1 is explained in detail in the following:*
+
+For any particular test condition (specified by speech codec plus radio channel error condition), the observed transmission time of the 140 bytes of the MSD may vary depending on the parameters of the channel simulation and the specific contents of the MSD. Therefore each MSD transmission may be regarded as one trial $k$ in a random experiment, where the observed transmission time, $T_k$ , is the random variable of interest. For each particular test condition $C$ , the MSD transmission is repeated with different, randomly generated MSD data for at least 100 times ( $k = 1, 2, \dots, n$ , where $n \geq 100$ ) to get enough statistical significance.
+
+To ensure a practical limit on the time required for testing a candidate, the observed value of $T_k$ must have a reasonable upper bound. This upper bound, $t_{UB}$ , is fixed at a value of 200 seconds for one trial for all test conditions. Any value of $T_k$ that is observed to be greater than $t_{UB}$ will be classified as a transmission failure and will be assigned the value of $t_{UB}$ .
+
+Each particular test condition $C$ gives an observed sample distribution $T_1, T_2, \dots, T_n$ . The statistic of interest is the average value, $\mu_C = (T_1 + T_2 + \dots + T_n) / n$ .
+
+The Figure of Merit (FoM) over *all* test conditions is calculated by unweighted averaging of $\mu_C$ over all particular test conditions $C_1, C_2, \dots, C_m$ . A low Figure of Merit is – obviously – better than a higher Figure of Merit. The candidates will be ranked by their Figures of Merit.
+
+The following assumptions are made for the measurement of $T_k$ .
+
+1. The starting time of the transmission with respect to speech codec audio frames is uniformly distributed.
+2. The channel error condition is modelled by an error pattern obtained from offline simulations. The following radio conditions will be tested:
+ - GMSK Full Rate radio channel at C/I values of 1, 4, 7, 10, 13, 16 dB, and error free; with ideal frequency hopping, with the Typical Urban profile and with slow vehicle speed. These channel conditions will be applied in both directions (uplink and downlink) symmetrically.
+ - GMSK Full Rate radio channel at RSSI value -100 dBm with no other interferer. This channel condition will be applied in both directions (uplink and downlink) symmetrically.
+
+The following speech Codecs will be tested: GSM\_FR and FR\_AMR (12.2, 10.2, 7.95, 7.4, 6.7, 5.9, 5.15, 4.75 kbps). DTX will be enabled in both directions.
+
+Table A.1 gives an allocation of Codec Conditions to radio conditions in order to reduce the test effort to the reasonable minimum. The detailed allocation is defined in PD3, the "Selection Test Plan" Permanent Document.
+
+**Table A.1**
+
+| | GSM_FR | 12.2 | 10.2 | 7.95 | 7.4 | 6.7 | 5.9 | 5.15 | 4.75 |
+|-----------------|--------|------|------|------|-----|-----|-----|------|------|
+| C/I = 1 dB | | | | | | | | | X |
+| C/I = 4 dB | | | | | | | X | X | X |
+| C/I = 7 dB | X | X | X | X | X | X | X | X | X |
+| C/I = 10 dB | X | X | X | X | X | | | | |
+| C/I = 13 dB | X | X | X | | | | | | |
+| C/I = 16 dB | X | | | | | | | | |
+| error free | X | X | | | | | | | |
+| RSSI = -100 dBm | X | | | | | | | | X |
+
+3. It is assumed that the transmission in the wireline part of the eCall uses PCM (G.711, A-law) without any further transcoding and with a fixed, pre-selected level setting.
+4. It is assumed that no acoustical echo is produced by the IVS and that therefore no Acoustic Echo Suppressor is applied in the network.
+5. It is assumed that no Hybrid Echo is produced by the PSAP connection and that therefore no Hybrid Echo canceller is applied in the network.
+6. The MSD will contain randomly generated data. (Each possible byte sequence is considered to be equally probable.)
+7. The round-trip delay between the IVS and PSAP is a randomly generated value in the range (200 ms, 220 ms).
+
+## --- A.4 Design Constraints
+
+- The candidate algorithm as implemented in the IVS should not have more than 10 times the complexity of CTM. The candidate algorithm as implemented in the PSAP should not have more than 20 times the complexity of CTM.
+The complexity is estimated by compiling the C-Codes under similar compiler conditions and then measuring the processing times.
+- The candidate algorithm as implemented in the IVS should not require more than 20KB of data memory. The candidate algorithm as implemented in the PSAP should not require more than 40KB of data memory.
+The memory requirements are estimated by inspection of the C-Codes.
+- The IVS modem shall not be dependent on knowledge of the UE (e.g. the speech codec being used and the radio channel conditions).
+- The IVS modem shall not require changes in the UE.
+- The PSAP Modem shall not be dependent on knowledge of the call path (e.g. the speech codec being used and the radio channel conditions, delay, transcoding, etc.).
+
+# Annex B (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|---------|-----------|------|-----|-------------------------------------------------------------------------------------------------|--------|--------|
+| Date | TSG SA# | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2009-03 | 43 | SP-090008 | | | Approved at TGS SA#43 | 2.0.0 | 8.0.0 |
+| 2009-06 | 44 | SP-090251 | 0001 | 1 | Correction of the required number of transmitted ACK messages | 8.0.0 | 8.1.0 |
+| 2009-09 | 45 | SP-090565 | 0002 | 1 | Integration of higher-layer acknowledgement message | 8.1.0 | 8.2.0 |
+| 2009-09 | 45 | SP-090576 | 0003 | 1 | Integration of IVS-initiated signalling option | 8.1.0 | 8.2.0 |
+| 2009-09 | 45 | SP-090624 | 0004 | 3 | IVS transmitter termination correction | 8.1.0 | 8.2.0 |
+| 2009-12 | 46 | SP-090702 | 0005 | 1 | Correction to text in clause 4.3 | 8.2.0 | 8.3.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.3.0 | 9.0.0 |
+| 2010-06 | 48 | SP-100297 | 0007 | | Detector for handling PCM sample inversion in the network | 9.0.0 | 9.1.0 |
+| 2010-06 | 48 | SP-100297 | 0009 | | Feedback signal modifications to increase robustness in the presence of network echo cancellers | 9.0.0 | 9.1.0 |
+| 2010-12 | 50 | SP-100783 | 0011 | 1 | Correction of synchronization procedures in the eCall in-band modem | 9.1.0 | 9.2.0 |
+| 2010-12 | 50 | SP-100783 | 0013 | 1 | State machine corrections in the eCall in-band modem | 9.1.0 | 9.2.0 |
+| 2011-03 | 51 | SP-110033 | 0015 | | Correction of downlink message encoding table | 9.2.0 | 9.3.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.3.0 | 10.0.0 |
+| 2012-03 | 55 | SP-120028 | 0016 | | Clarification of START, LLACKs, and HLACKs messages | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26268/1a827b10290f33d4fec04d0e8ef7a897_img.jpg b/marked/Rel-11/26_series/26268/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..52aea8adaffdbbc966656259a601ccbf598ff6b1
--- /dev/null
+++ b/marked/Rel-11/26_series/26268/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6cd52ade0302981bad1fdf509d3a7ffc671ce5c10578e7045ce05d099ee2a80b
+size 171073
diff --git a/marked/Rel-11/26_series/26268/raw.md b/marked/Rel-11/26_series/26268/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..d0fcf98d712493fb7566206f037a9d3adf62f34a
--- /dev/null
+++ b/marked/Rel-11/26_series/26268/raw.md
@@ -0,0 +1,1539 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|-----------------------------------------------------------|----|
+| Foreword ..... | 4 |
+| 1 Scope..... | 5 |
+| 2 References..... | 5 |
+| 3 Abbreviations ..... | 5 |
+| 4 C code structure ..... | 5 |
+| 4.1 Contents of the C source code..... | 6 |
+| 4.2 Program execution..... | 7 |
+| 4.3 Variables, constants and tables..... | 9 |
+| 4.3.1 Description of constants used in the C-code ..... | 9 |
+| 4.3.2 Type Definitions..... | 10 |
+| 4.3.3 Description of fixed tables used in the C-code..... | 14 |
+| 4.3.4 Static variables used in the C-code..... | 15 |
+| 4.4 Functions of the C Code..... | 15 |
+| 4.4.1 Interface functions ..... | 16 |
+| 4.4.2 IVS transmitter functions ..... | 18 |
+| 4.4.3 PSAP receiver functions..... | 19 |
+| 4.4.4 PSAP transmitter functions ..... | 22 |
+| 4.4.5 IVS receiver functions..... | 22 |
+| 4.4.6 Synchronization functions (IVS and PSAP)..... | 22 |
+| 4.4.7 Control link functions..... | 24 |
+| 4.4.8 Other utility functions (IVS and PSAP) ..... | 26 |
+| Annex A (informative): Change history..... | 27 |
+
+# --- Foreword
+
+The present document has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The present document contains an electronic copy of the ANSI-C code for the eCall in-band modem solution for reliable transmission of MSD data from IVS to PSAP via the speech channel of cellular networks. The ANSI-C code is necessary for a bit exact implementation of the IVS modem and PSAP modem described in 3GPP TS 26.267 [1].
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+[1] 3GPP TS 26.267: "eCall Data Transfer; In-band modem solution; General description".
+
+See also the references in 3GPP TS 26.267 [1].
+
+# --- 3 Abbreviations
+
+For the purpose of the present document, the following abbreviations apply:
+
+| | |
+|------|-----------------------------------------|
+| ACK | ACKnowledgement |
+| ANSI | American National Standards Institute |
+| CRC | Cyclic Redundancy Check |
+| FEC | Forward Error Correction |
+| GSM | Global System for Mobile communications |
+| HARQ | Hybrid Automatic Repeat-reQuest |
+| I/O | Input/Output |
+| IVS | In-Vehicle System |
+| MSD | Minimum Set of Data |
+| NACK | Negative ACKnowledgement |
+| PCM | Pulse Code Modulation |
+| PSAP | Public Safety Answering Point |
+| RAM | Random Access Memory |
+| ROM | Read Only Memory |
+| RX | Receive |
+| TX | Transmit |
+
+# --- 4 C code structure
+
+This clause gives an overview of the structure of the bit-exact C code and provides an overview of the contents and organization of the C code attached to the present document.
+
+The C code has been verified on the following systems:
+
+- Windows XP SP2 and Microsoft Visual Studio V8.0;
+- Linux (Suse Linux) using the gcc v3.4.2 and v4.1.2 compilers.
+
+## 4.1 Contents of the C source code
+
+The distributed files with suffix "c" contain the source code and the files with suffix "h" are the header files.
+
+Further explanation on the files is given in the Readme.txt file, which is reproduced in part here:
+
+### Package Contents
+
+-----
+
+#### folder 'ecall':
+
+Contains the complete eCall ANSI C fixed-point reference source code.
+
+```
+modem_ivs.c : top-level modem implementation for IVS
+modem_psap.c : top-level modem implementation for PSAP
+
+modemx.h : header file for both modem_ivs.c and modem_psap.c
+
+ecall_defines.h : compile time options and preprocessor constants
+
+ecall_control.h : header file control message handling
+ecall_fec.h : header file FEC encoder and decoder
+ecall_modem.h : header file modulator and demodulator
+ecall_sync.h : header file synchronization
+ecall_rom.h : header file ROM data
+
+ecall_control.c : control message handling
+ecall_fec.c : FEC encoder and decoder
+ecall_modem.c : modulator and demodulator
+ecall_sync.c : synchronization
+ecall_rom.c : ROM data
+```
+
+#### folder 'test\_setup':
+
+Contains the eCall software simulation framework, to be compiled and run on MS Windows systems.
+
+#### folder 'test\_vec':
+
+Contains binary PCM data (104 files) and receiver/transmitter port logs in ASCII format (104 files) to test the eCall IVS and PSAP modems.
+
+The PCM format is 16 bit signed, little endian, at 8 kHz sampling rate. The data files reflect 26 test cases and were generated from the eCall simulation framework.
+
+```
+campaign_short.txt : configuration file for the 26 test cases
+
+pcmdlout.pcm : output PCM data of DL vocoder = input to IVS
+pcmulout.pcm : output PCM data of UL vocoder = input to PSAP
+
+pcmdlin.pcm : test vectors for PSAP modem output
+pcmulin.pcm : test vectors for IVS modem output
+
+portivsrx.txt : test vectors for IVS port logs (receiver)
+portivstx.txt : test vectors for IVS port logs (transmitter)
+
+portpsapr.txt : test vectors for PSAP port logs (receiver)
+portpsaptx.txt : test vectors for PSAP port logs (transmitter)
+```
+
+#### standalone.c
+
+main() wrapper to run the IVS or PSAP modem on prestored PCM files or receiver/transmitter port logs. To get a list of command-line options, invoke the corresponding executable with option '-h' (help).
+
+#### standalone.h
+
+header file for standalone.c
+
+#### Makefile.win
+
+NMAKE Makefile for Microsoft Visual Studio 2005 and above:
+Builds 'standalone.exe' from standalone.c and the eCall sources,
+build options are RELEASE and DEBUG.
+
+#### **Makefile.glx**
+
+GNU Linux Makefile using gcc
+Builds 'standalone' from standalone.c and the eCall sources,
+build options are RELEASE and DEBUG.
+
+#### **verify.bat**
+
+Windows batch file
+Runs 'standalone.exe' in six different modem modes on the 26 test cases
+contained in folder 'test\_vec' and performs a test vector comparison to
+the respective output PCM and port log data.
+
+#### **verify.sh**
+
+Linux shell script
+Runs 'standalone' in mode '-m ivs' and '-m psap' on 26 test cases
+(folder 'pcm') and performs a test vector comparison to the respective
+modem output PCM data.
+
+## 4.2 Program execution
+
+An explanation on code compilation and execution is given in the `readme.txt` file, which is reproduced in part here:
+
+### Getting Started
+
+-----
+
+3GPP TS 26.268 provides the eCall modem source code, a software simulation framework, and a standalone wrapper that allows to run the IVS or PSAP modem on prestored reference data.
+
+The following functions represent the eCall modem interface and invoke the respective receiver and transmitter implementation of each modem:
+
+```
+* void IvsReset(const Ord8 *msd, int length);
+* void IvsProcess(Int16 *pcm);
+* void IvsSendStart(void);
+
+* void PsapReset(void);
+* void PsapProcess(Int16 *pcm);
+* void PsapSendStart(void);
+* void PsapSendHlack(const Ord8 data);
+```
+
+The external application must in addition implement the callback functions:
+
+```
+* void IvsCatchEvent(IvsEvent ie);
+* void IvsReceiveAck(void);
+* void IvsReceiveHlack(const Ord8 data);
+
+* void PsapCatchEvent(PsapEvent pe);
+* void PsapReceiveMsd(const Ord8 *msd, int length);
+
+* void Abort(const char *format, ...);
+* void LogInfo(const char *format, ...);
+```
+
+`IvsCatchEvent` and `PsapCatchEvent` inform about relevant modem events and can be used to perform actions such as muting or unmuting of the voice channel. The other callback functions indicate...
+
+```
+* IvsReceiveAck : reception of the lower-layer ACK,
+* IvsReceiveHlack : reception of the HLACK message,
+* PsapReceiveMsd : successful MSD reception.
+```
+
+`Abort` and `LogInfo` should implement a variadic error and printlog handler, respectively. See `standalone.c` for sample implementations of all callback functions.
+
+For a real-time simulation over 3GPP FR and AMR vocoders and to log PCM data as input to the standalone wrapper, the eCall sources have to be integrated into a simulation framework; folder 'test\_setup' contains the one as used in the 3GPP selection tests.
+
+In order to compile and run the eCall modem code, follow the instructions given below. For code testing, two batch files have been provided:
+
+- \* verify.bat : MS Windows systems
+- \* verify.sh : Linux systems
+
+For each of the 26 test cases of campaign\_short.txt in folder 'test\_vec', they run the standalone wrapper in six different modem modes (three IVS and three PSAP modes). The resulting PCM and port log files in folder 'out' are finally compared to the test vectors in folder 'test\_vec'.
+
+In modes 'psap' and 'psaprx', you should see an MSD success message at the end of each test case.
+
+### Code Compilation -----
+
+#### MS Windows systems
+
+Compilation assumes an installation of MS Visual Studio 2005 or above. To set the environment variables for building, run 'vcvars32.bat' which should be contained in the 'bin' subfolder of your VC installation. To build standalone.exe from standalone.c and the eCall sources (or to perform cleanup), run
+
+```
+nmake /f Makefile.win
+nmake /f Makefile.win clean
+```
+
+The source code should compile without any errors or warnings. Run 'verify.bat' to verify the executable against the test vectors.
+
+#### GNU Linux systems
+
+Compilation under Linux has been tested with
+
+- \* GNU Make version 3.81
+- \* gcc version 4.1.3 and 4.2.4
+
+For building the executable 'standalone' and cleanup, use
+
+```
+make -f Makefile.glx
+make -f Makefile.glx clean
+```
+
+On the platforms tested, the code compiled without errors or warnings. Run 'verify.sh' to verify the executable against the test vectors.
+
+### Simulation Framework -----
+
+The eCall software simulation framework is provided in folder 'test\_setup'.
+
+#### Important remarks:
+
+- \* See LICENSE.TXT and README.TXT for terms of usage!
+- \* The G.711 software is part of ITU-T Rec. G.191, (C) ITU 2000. Distributed with the authorization of ITU as part of the test setup software for 3GPP TS 26.268.
+- \* The framework must be compiled and run on MS Windows systems, as the FR and AMR vocoders are attached to it in form of Windows executables and via Windows specific API functions.
+
+To build (or clean) the framework together with the eCall IVS and PSAP,
+
+change to subfolder 'c' of 'test\_setup' and run (remember 'vcvars32.bat')
+
+```
+nmake /f makefile_ecall
+nmake /f makefile_ecall clean
+```
+
+The framework has the five callback functions of above already implemented. By default, the binaries (\*.exe \*.lib) are generated in the 'bin' subfolder. You can use the following two batch files to run the executables:
+
+```
+demosim.bat : runs testsim_demo.exe
+demosock.bat : runs testlab.exe and modem_demo.exe in socket mode
+```
+
+## 4.3 Variables, constants and tables
+
+### 4.3.1 Description of constants used in the C-code
+
+This clause contains a listing of all global constants defined in `ecall_defines.h`, together with some explanatory comments.
+
+| Constant | Value | Description |
+|------------------------------|-----------------------------------------------|-------------------------------------|
+| #define MAX(a,b) | ((a)>(b) ? (a) : (b)) | |
+| #define MIN(a,b) | ((a)<(b) ? (a) : (b)) | |
+| #define ABS(a) | ((a)<0 ? (-a) : (a)) | |
+| #define SIGN(a) | ((a)<0 ? (-1) : (1)) | |
+| #define PCM_LENGTH | 160 | length of PCM frame |
+| #define MSD_MAX_LENGTH | 140 | length of MSD message (bytes) |
+| /* Synchronization */ | | |
+| #define SYNC_BADCHECK | (3) | sync consecutive bad check |
+| #define SYNC_BADTRACK | (4) | sync consecutive bad track |
+| #define SYNC_IDXLEN | (75) | sync index length |
+| #define SYNC_THRESHOLD | (10e6) | sync threshold |
+| #define LOCK_RESYNC | (2) | messages to lock after sync loss |
+| #define LOCK_START_UL | (2) | START messages to lock sync (UL) |
+| #define LOCK_START_DL | (3) | START messages to lock sync (DL) |
+| #define FAIL_RESTART | (3) | number of START messages to restart |
+| #define NRF_WAKEUP | (3) | number of wakeup frames |
+| #define NRF_SYNC | (13) | length of sync in frames |
+| #define NRF_OBSERVE | (10) | number of sync observer frames |
+| #define NRF_RESYNC | (60) | resync frames after sync loss |
+| #define NRS_CP | (2) | number of samples next to peaks |
+| #define NRS_TRACK | (240) | number of samples to track |
+| #define NRS_CHECK | (480) | number of samples to check |
+| #define PNSEQ_OSF | (22) | "oversampling" rate of PN sequence |
+| #define PEAK_DIST_PP | (30*PNSEQ_OSF) | distance outer positive peaks |
+| #define PEAK_DIST_NN | (54*PNSEQ_OSF) | distance negative peaks |
+| #define PEAK_DIST_PN | (12*PNSEQ_OSF) | distance positive to negative |
+| /* Uplink/Downlink format */ | | |
+| #define ARQ_MAX | (8) | number of redundancy versions |
+| #define NRB_TAIL | (3) | number of encoder tail bits |
+| #define NRB_CRC | (28) | order of CRC polynomial |
+| #define NRB_INFO | (8*MSD_MAX_LENGTH) | |
+| #define NRB_INFO_CRC | (8*MSD_MAX_LENGTH + NRB_CRC) | |
+| #define NRB_CODE_ARQ | (1380) | |
+| #define NRB_CODE_BUFFER | (3*(8*MSD_MAX_LENGTH + NRB_CRC) + 4*NRB_TAIL) | |
+| #define SET_LLMSG | (16) | set size lower-layer messages |
+| #define SET_HLMSG | (16) | set size higher-layer messages |
+
+```
+
+#define NRF_DLDATA (3) downlink data frames
+#define NRF_DLMUTE1LL (3) 1st muting lower-layer message
+#define NRF_DLMUTE1HL (1) 1st muting higher-layer message
+#define NRF_DLCHUNK (NRF_SYNC + NRF_DLMUTE1HL + 2*NRF_DLDATA)
+
+/* IVS/PSAP processing */
+#define NRF_MEMCTRL (7)
+#define NRS_MEMSYNC (508 + 38*NRS_CP)
+
+#define IVS_THRESHOLD (40000) threshold for control messages
+#define IVS_GOSTART (6) threshold for unreliable START
+#define IVS_TXFAST (10) fast modulator mode NACK condition
+#define IVS_TXINC (87) sample increment at restart
+
+#define PSAP_NUMSTART (500) number of START messages
+#define PSAP_NUMACK (5) number of ACK messages
+#define PSAP_NUMHLACK (5) number of PSAP HLACK messages
+#define PSAP_THRESHOLD (40) threshold for modulator type
+
+#define FEC_VAR (30206) variance: 1/4550000 in Q37
+#define FEC_MEAN (0xB999A) mean: 5.8 in Q21
+#define FEC_ITERATIONS (8) number of decoder iterations
+#define FEC_STATES (8) number of decoder states
+
+#define IntLLR Int16 size of soft bit buffer variables
+#define LLR_MAX ((Int32)(0x7fff-1))
+#define LOGEXP_RES (401) resolution of LOGEXP table
+#define LOGEXP_DELTA (-6) determines internal Q-factor
+#define LOGEXP_QIN (8) input Q-factor of LLR values
+
+```
+
+### 4.3.2 Type Definitions
+
+The following type definitions have been used, which are defined in ecall\_defines.h, ecall\_modem.h, ecall\_sync.h, and modemx.h:
+
+| Definition | Description |
+|------------------------------------------------------------------------------|-----------------------------------------------|
+| typedef enum { False, True } Bool; | boolean variable |
+| typedef enum { Minus = -1, Zero, Plus } Tern; | ternary variable |
+| typedef signed char Int8; | 8 bit signed variable |
+| typedef signed short int Int16; | 16 bit signed variable |
+| typedef signed int Int32; | 32 bit signed variable |
+| typedef unsigned char Ord1; | binary symbol |
+| typedef unsigned char Ord8; | 8 bit unsigned variable |
+| typedef unsigned short int Ord16; | 16 bit unsigned variable |
+| typedef unsigned int Ord32; | 32 bit unsigned variable |
+| typedef enum { ModUndefined, Mod3bit4smp, Mod3bit8smp } ModType; | modulator type for uplink transmission |
+| typedef struct { ModType type; | identifies modulator type |
+| Int16 bpsym; | bits per symbol |
+| Int16 spmf; | samples per modulation frame |
+| Int16 mfpf; | modulation frames per frame = PCM_LENGTH/spmf |
+| Int16 decpos1; | position 1st decoding trial |
+| Int16 decpos2; | position 2nd decoding trial |
+| Int16 wutperiod; | wakeup tone period in samples |
+| Int16 nfmute1; | number of muting frames 1st interval |
+| Int16 nfmute4; | number of muting frames 4th interval |
+
+```
+
+ Int16 nfmuteall; number of muting frames total
+ Int16 nfdata; number of data frames = NRB_CODE_ARQ/(mfpf*bpsym)
+
+ const Int16 *ulPulse;
+ const Int16 *ulPulseMatch;
+ const Int16 *mgTable;
+ const Int16 *wakeupSin;
+ const Int16 *wakeupCos;
+} ModState; modulator state for uplink transmission
+
+typedef struct {
+ Int32 *mem; /* memory for sync */
+ Int32 *memWakeup; /* memory for wakeup tone detector */
+
+ SyncSub syncPos; /* regular sync (non-inverted) */
+ SyncSub syncNeg; /* inverted sync */
+
+ Int32 amplitude[3]; /* amplitudes (average, maximum, memory) */
+ Int32 shape[2*NRS_CP+1]; /* shape of peak causing a sync event */
+ Int32 sign; /* sync sign marker */
+
+ Bool flag; /* indicates sync success */
+ Tern invert; /* indicates sync inversion */
+ Bool resync; /* indicates resynchronization event */
+
+ Int16 delay; /* synchronization delay */
+ Int16 delayMem; /* synchronization delay (memory) */
+ Int16 npeaks; /* number of sync peaks detected */
+ Int16 npeaksMem; /* number of sync peaks detected (memory) */
+ Int16 events; /* number of subsequent equal sync events */
+
+ Tern check; /* indicates sync check result (ternary variable) */
+ Int16 checkCnt; /* counter for subsequent sync check failures */
+ Int16 index; /* frame reference for sync evaluation */
+} SyncState;
+
+typedef struct {
+ Int32 amplitude[2]; /* amplitudes (average, maximum) */
+ Int32 shape[2*NRS_CP+1]; /* shape of peak causing a sync event */
+ Int32 sign; /* sync sign marker */
+
+ Bool flag; /* indicates sync success */
+ Int16 delay; /* synchronization delay */
+ Int16 npeaks; /* number of sync peaks detected */
+ Int16 npeaksChk; /* number of sync peaks detected by sync check */
+} SyncSub;
+
+typedef enum {
+ DlMsgNoop = -2,
+ DlMsgReset,
+ DlMsgStart,
+ DlMsgNack,
+ DlMsgAck,
+ DlMsgHlack = SET_LLMSG
+} DlData; downlink message identifiers
+
+typedef enum {
+ DlCntStart = -2,
+ DlCntWait,
+ DlCntNext
+} DlCount; downlink message counter
+
+typedef enum {
+ IVSEVENT_IDLE,
+ IVSEVENT_SENDINGSTART,
+ IVSEVENT_SENDINGMSD,
+ IVSEVENT_RESTARTMSD,
+ IVSEVENT_CONTROLSYNC,
+ IVSEVENT_CONTROLLOCK,
+ IVSEVENT_LLACKRECEIVED,
+
+```
+
+```
+
+ IVSEVENT_HLACKRECEIVED,
+ IVSEVENT_TIMEOUT
+} IvsEvent;
+
+typedef enum {
+ IvsIdle,
+ IvsTrigger,
+ IvsStart,
+ IvsSendMsd,
+ IvsAck,
+ IvsHlack
+} IvsState; IVS state identifiers
+
+typedef struct {
+ IvsState state; IVS receiver state
+ CtrlRxData ctrl; IVS control struct
+ SyncState sync; IVS sync struct
+
+ Int16 dlData; downlink message symbol
+ Int16 dlIndex; downlink frame counter
+ Int16 dlMsgCnt; downlink message counter
+
+ Int16 memCtrl[NRF_MEMCTRL*PCM_LENGTH];
+ Int32 memSync[NRS_MEMSYNC];
+} IvsRxData;
+
+typedef struct {
+ IvsState state; IVS transmitter state
+ CtrlTxData ctrl; IVS control struct
+ ModState mod; IVS modulator struct
+ Int16 delay; transmit offset in samples
+ Int16 rv; redundancy version
+ Int16 ulN; uplink number of frames
+ Int16 ulIndex; uplink frame counter
+ Int16 ulDelay; uplink transmit offset in samples
+ Int16 dlMsgOld; previous control message
+
+ Bool pendingStart; /* indicates pending START message */
+ Int16 overallNack; /* cumulative NACK count */
+
+ Int16 stateCnt[SET_LLMSG + 1]; state counters
+ Int16 stateIgn[SET_LLMSG + 1]; counter for unreliable messages
+
+ Ord1 memCode[NRB_CODE_BUFFER];
+ Int16 memDelay[2*PCM_LENGTH];
+} IvsTxData;
+
+typedef struct {
+ IvsRxData rx; IVS receiver struct
+ IvsTxData tx; IVS transmitter struct
+} IvsData;
+
+typedef enum {
+ PSAPEVENT_IDLE,
+ PSAPEVENT_SENDINGSTART,
+ PSAPEVENT_SENDINGRESTART,
+ PSAPEVENT_SENDINGLLACK,
+ PSAPEVENT_SENDINGHLACK,
+ PSAPEVENT_CONTROLSYNC,
+ PSAPEVENT_CONTROLLOCK,
+ PSAPEVENT_MSDSYNC,
+ PSAPEVENT_MSDRECEIVED,
+ PSAPEVENT_TIMEOUT
+} PsapEvent;
+
+typedef enum {
+ PsapIdle,
+ PsapTrigger,
+ PsapStart,
+ PsapNack,
+
+```
+
+```
+
+ PsapAck,
+ PsapHlock,
+} PsapState; PSAP state identifiers
+
+typedef struct {
+ PsapState state; PSAP receiver state
+ CtrlRxData ctrl; PSAP control struct
+ SyncState sync; PSAP sync struct
+ ModState mod; PSAP modulator struct
+
+ Int16 rv; redundancy version
+ Int16 ulN; uplink number of frames without muting
+ Int16 ulIndex; uplink frame counter
+ Int16 mgIndex; uplink position in muting gap table
+ Int16 ulTrials; uplink decoding trials
+ Int16 ulSyncTail; sync observation counter after sync success
+
+ Ord8 dlHlockData; downlink higher-layer message (4 bits)
+ Int16 dlData; downlink message symbol
+ Int16 dlIndex; downlink frame counter
+ Int16 dlMsgCnt; downlink message counter
+
+ Ord8 *msd; MSD in byte representation
+ Ord1 *msdBin; MSD in binary representation
+ Int16 *memCtrl; buffer for control and data demodulation
+ IntLLR *memCode; soft bit buffer for decoding
+
+ char buffer[0
+ + sizeof(IntLLR) * NRB_CODE_ARQ
+ + sizeof(Int16) * NRF_MEMCTRL * PCM_LENGTH
+ + sizeof(Int32) * NRS_MEMSYNC
+ + sizeof(Int32) * 2 * (NRF_SYNC + 1)];
+} PsapRxData;
+
+typedef struct {
+ CtrlTxData ctrl; PSAP control struct
+} PsapTxData;
+
+typedef struct {
+ PsapRxData rx; PSAP receiver struct
+ PsapTxData tx; PSAP transmitter struct
+ Int16 msgCounter; message counter
+} PsapData;
+
+typedef enum {
+ CtrlRxIdle,
+ CtrlRxSync,
+ CtrlRxLock,
+ CtrlTxIdle,
+ CtrlTxSend
+} PortState;
+
+typedef struct {
+ PortState state; port state
+ Bool invert; port inversion flag
+ union {
+ CtrlTxPort tx; port control transmitter
+ CtrlRxPort rx; port control receiver
+ } u;
+ const char *owner; port owner identification
+} CtrlPort;
+
+typedef struct {
+ Int16 dlData; message symbol
+ Int16 dlIndex; message frame counter
+} CtrlTxPort;
+
+typedef struct {
+ Int16 dlData; detected message symbol
+ Int16 dlMetric; receiver metric
+} CtrlRxPort;
+
+```
+
+```
+
+} CtrlRxBPort;
+
+typedef struct {
+ CtrlPort port;
+} CtrlTxData;
+
+typedef struct {
+ CtrlPort port;
+
+ SyncState *sync;
+ Int16 *buffer;
+
+ Ord8 dlHlAckData;
+ Tern dlRead;
+ Int16 dlIndex;
+ Int16 dlSyncLock;
+} CtrlRxDData;
+
+```
+
+port struct
+
+port struct
+
+pointer to sync struct
+
+pointer to control receiver buffer
+
+downlink higher-layer message (4 bits)
+
+sync indication (ternary variable)
+
+internal frame counter
+
+number of sync events required
+
+### 4.3.3 Description of fixed tables used in the C-code
+
+This clause contains a listing of all fixed tables (ROM) defined in ecall\_rom.c.
+
+| Type/Constant | Dimension | Description |
+|--------------------------------|----------------------------|-----------------------------------|
+| /* Synchronization */ | | |
+| const Int16 wakeupSin500 | [16] | sine waveform at 500 Hz |
+| const Int16 wakeupCos500 | [16] | cosine waveform at 500 Hz |
+| const Int16 wakeupSin800 | [10] | sine waveform at 800 Hz |
+| const Int16 wakeupCos800 | [10] | cosine waveform at 800 Hz |
+| const Int16 syncPulseForm | [5] | sync pulse |
+| const Int16 syncSequence | [15] | sync pulse sequence |
+| const Int16 syncIndexPreamble | [SYNC_IDXLEN] | sync pulse positions |
+| const Int16 syncFrame | [10*PCM_LENGTH] | predefined synchronization signal |
+| /* Uplink/Downlink format */ | | |
+| const Int16 indexBits | [24] | bit positions for turbo decoder |
+| // fast modulator mode: | | |
+| const Int16 m4smp_ulPulse | [16] | uplink waveform |
+| const Int16 m4smp_ulPulseMatch | [64] | matched filtered uplink |
+| waveform | | |
+| const Int16 m4smp_mgTable | [66] | table indicating muting gaps |
+| // robust modulator mode: | | |
+| const Int16 m8smp_ulPulse | [32] | uplink waveform |
+| const Int16 m8smp_ulPulseMatch | [128] | matched filtered uplink |
+| waveform | | |
+| const Int16 m8smp_mgTable | [116] | table indicating muting gaps |
+| const Int16 dlPcmData | [4][NRF_DLDATA*PCM_LENGTH] | downlink transmit signal |
+| const Int16 dlPcmDataMatch | [4][NRF_DLDATA*PCM_LENGTH] | DL MF signal |
+| /* FEC encoder/decoder */ | | |
+| const Ord16 stateTransMat | [8][2] | FEC: state transitions |
+| const Ord16 stateTrans | [16] | FEC: state transitions |
+| const Ord16 revStateTransMat | [8][2] | FEC: reverse state transitions |
+| const Ord16 revStateTrans | [16] | FEC: reverse state transitions |
+| const Ord1 outputParityMat | [8][2] | FEC: output parity indicator |
+| const Ord1 outputParity | [16] | FEC: output parity indicator |
+| const Ord1 crcPolynomial | [NRB_CRC+1] | coefficients of CRC polynomial |
+| const Ord1 scramblingSeq | [NRB_INFO_CRC] | bit scrambling sequence |
+| const Ord16 interleaverSeq | [NRB_INFO_CRC] | interleaver sequence |
+| const Ord16 redVerIndex | [8][NRB_CODE_ARQ] | index vector for HARQ process |
+| const IntLLR logExpTable | [LOGEXP_RES] | lookup table (logExp function) |
+
+### 4.3.4 Static variables used in the C-code
+
+This clause contains a listing of static variables (RAM) defined in source files.
+
+| Definition | Description |
+|-------------------------------------|----------------------------------|
+| IvsData ivs | IVS static memory |
+| PsapData psap | PSAP static memory |
+| IntLLR chLLRbuffer[NRB_CODE_BUFFER] | soft bit buffer of turbo decoder |
+
+## 4.4 Functions of the C Code
+
+This clause contains the headers of the employed IVS and PSAP functions. They correspond to a large extent to the functional description of the IVS and PSAP provided in 3GPP TS 26.267 [1].
+
+Figure 1 gives an overview of the most important functions and their hierarchical relation.
+
+
+
+```
+
+graph TD
+ subgraph LeftColumn [ ]
+ IvsSendStart[IvsSendStart()]
+ subgraph IvsReset [IvsReset() : Rx and Tx]
+ CtrlTxReset[CtrlTxReset()]
+ Byte2Bit[Byte2Bit()]
+ subgraph FecEncode [FecEncode()]
+ AttachCRC[AttachCRC()]
+ Scramble[Scramble()]
+ subgraph EncodeTwo [EncodeTwo()]
+ EncodeOne[EncodeOne()]
+ end
+ end
+ end
+ subgraph IvsProcess [IvsProcess() : Rx and Tx]
+ subgraph CtrlSync [CtrlSync()]
+ Sync1[Sync()]
+ SyncCheck[SyncCheck()]
+ end
+ subgraph IvsTXState [IvsTXState()]
+ CtrlReceiver[CtrlReceiver()]
+ SetModState1[SetModState()]
+ end
+ subgraph IvsTransmitter [IvsTransmitter()]
+ SymbolMod[SymbolMod()]
+ end
+ end
+ end
+
+ subgraph RightColumn [ ]
+ PsapSendStart[PsapSendStart()]
+ PsapReset[PsapReset() : Rx and Tx]
+ subgraph PsapProcess [PsapProcess() : Rx and Tx]
+ subgraph PsapRx [PsapRx() : UL and DL]
+ Sync2[Sync()]
+ SetModState2[SetModState()]
+ end
+ subgraph PsapReceiver [PsapReceiver()]
+ SymbolDemod[SymbolDemod()]
+ JacLog[JacLog()]
+ end
+ subgraph FecDecode [FecDecode()]
+ UpdateBuffer[UpdateBuffer()]
+ subgraph DecodeBuffer [DecodeBuffer()]
+ Bcjr[Bcjr()]
+ Interleave[Interleave()]
+ Deinterleave[Deinterleave()]
+ end
+ end
+ Descramble[Descramble()]
+ DecodeCRC[DecodeCRC()]
+ Bit2Byte[Bit2Byte()]
+ PsapReceiveMsd[PsapReceiveMsd()]
+ PsapReset2[Psap Reset()]
+ subgraph CtrlTransmitter [CtrlTransmitter()]
+ end
+ end
+ end
+ style LeftColumn fill:none,stroke:none
+ style RightColumn fill:none,stroke:none
+
+```
+
+Hierarchical function overview diagram showing two main columns of function hierarchies. The left column starts with IvsSendStart(), followed by IvsReset() : Rx and Tx (containing CtrlTxReset(), Byte2Bit(), FecEncode() with nested AttachCRC(), Scramble(), EncodeTwo(), and EncodeOne()), and IvsProcess() : Rx and Tx (containing CtrlSync() with nested Sync() and SyncCheck(), IvsTXState() with nested CtrlReceiver() and SetModState(), IvsTransmitter(), and SymbolMod()). The right column starts with PsapSendStart(), followed by PsapReset() : Rx and Tx, and PsapProcess() : Rx and Tx (containing PsapRx() : UL and DL with nested Sync() and SetModState(), PsapReceiver() with nested SymbolDemod() and JacLog(), FecDecode() with nested UpdateBuffer(), DecodeBuffer() with nested Bcjr(), Interleave(), and Deinterleave(), Descramble(), DecodeCRC(), Bit2Byte(), PsapReceiveMsd(), Psap Reset(), and CtrlTransmitter()).
+
+Figure 1: Hierarchical function overview
+
+### 4.4.1 Interface functions
+
+```
+
+/*****/
+/* IVS implementation: IvsReset */
+/-----*/
+/* Description: Reset of IVS before the reception of a new MSD */
+/* */
+/* In: const Ord8* msd -> MSD to be transmitted */
+/* int length -> MSD length (equal to MSD_MAX_LENGTH) */
+/-----*/
+void IvsReset(const Ord8 *msd, int length)
+
+```
+
+```
+void IvsRxReset(void)
+void IvsTxReset(const Ord8 *msd, int length)
+
+/*=====*/
+/* IVS implementation: IvsProcess */
+/*-----*/
+/* Description: IVS modem function that processes the PCM data */
+/* */
+/* InOut: Int16* pcm <-> input and output frame of 16bit PCM samples */
+/*-----*/
+void IvsProcess(Int16 *pcm)
+void IvsRxProcess(const Int16 *pcm)
+void IvsTxProcess(Int16 *pcm)
+
+/*=====*/
+/* IVS implementation: IvsSendStart */
+/*-----*/
+/* Description: Initiates IVS to trigger the transmission of SEND messages */
+/*-----*/
+void IvsSendStart(void);
+
+/*=====*/
+/* IVS implementation: IvsReceiveAck */
+/*-----*/
+/* Description: callback function indicating a received ACK message */
+/*-----*/
+void IvsReceiveAck(void);
+
+/*=====*/
+/* IVS implementation: IvsReceiveHlack */
+/*-----*/
+/* Description: callback function indicating a received higher layer messages */
+/* */
+/* In: const Ord8 data -> data symbol identifierer */
+/*-----*/
+void IvsReceiveHlack(const Ord8 data);
+
+/*=====*/
+/* PSAP implementation: PsapSendStart */
+/*-----*/
+/* Description: Initiates PSAP to trigger the transmission of an MSD */
+/*-----*/
+void PsapSendStart(void)
+
+/*=====*/
+/* PSAP implementation: PsapSendHlack */
+/*-----*/
+/* Description: Initiates PSAP to send the higher layer messages */
+/* */
+/* In: const Ord8 data -> data symbol identifierer */
+/*-----*/
+void PsapSendHlack(const Ord8 data);
+
+/*=====*/
+/* PSAP implementation: PsapReset */
+/*-----*/
+/* Description: Reset of PSAP before the reception of a new MSD */
+/*-----*/
+void PsapReset(void)
+void PsapRxReset(void)
+void PsapTxReset(void)
+```
+
+```
+
+/*****/
+/* PSAP implementation: PsapProcess */
+/-----*/
+/* Description: PSAP modem function that processes the PCM data */
+/* */
+/* InOut: Int16* pcm <-> input and output frame of 16bit PCM samples */
+/-----*/
+void PsapProcess(Int16 *pcm)
+void PsapRxProcess(const Int16 *pcm)
+void PsapTxProcess(Int16 *pcm)
+
+```
+
+### 4.4.2 IVS transmitter functions
+
+```
+
+/*****/
+/* IVS FUNCTION: IvsTransmitter */
+/-----*/
+/* Description: IVS transmitter function */
+/* */
+/* In: const ModState* ms -> modulator struct */
+/* const Ord1* buffer -> code bit buffer */
+/* Int16 rv -> redundancy version */
+/* Int16 index -> position within uplink frame */
+/* Out: Int16* pcm <- output data */
+/-----*/
+void IvsTransmitter(const ModState *ms, const Ord1 *buffer, Int16 *pcm,
+ Int16 rv, Int16 index)
+
+```
+
+```
+
+/*****/
+/* UTILITY FUNCTION: IvsTxState */
+/-----*/
+/* Description: IVS state machine evaluating feedback messages */
+/* */
+/* In: Int16 msg -> new control message symbol */
+/* Int16 metric -> receiver metric (-1: ignore symbol) */
+/* Bool syncLock -> indicates sync lock of control receiver */
+/-----*/
+void IvsTxState(Int16 msg, Int16 metric, Bool syncLock)
+
+```
+
+```
+
+/*****/
+/* IVS FUNCTION: SymbolMod */
+/-----*/
+/* Description: symbol modulator */
+/* */
+/* In: const ModState* ms -> modulator struct */
+/* Int16 symbol -> symbol index */
+/* Out: Int16* mPulse <- modulated output sequence */
+/-----*/
+void SymbolMod(const ModState *ms, Int16 symbol, Int16 *mPulse)
+
+```
+
+```
+
+/*****/
+/* IVS FUNCTION: Byte2Bit */
+/-----*/
+/* Description: conversion byte vector to bit vector */
+/* */
+/* In: Ord8* in -> vector of input bytes */
+/* Int16 length -> length of input */
+/* Out: Ord1* out <- vector of output bits */
+/-----*/
+void Byte2Bit(const Ord8 *in, Ord1 *out, Int16 length)
+
+```
+
+```
+
+/*****/
+/* ENCODER FUNCTION: FecEncode */
+/-----*/
+/* Description: encoding of MSD */
+/-----*/
+
+```
+
+```
+
+/* */
+/* InOut: Ord1 *buffer <-> takes info bits and returns coded bits */
+/*---------------------------------------------------------------------------*/
+void FecEncode(Ord1 *buffer)
+
+
+/*===========================================================================*/
+/* ENCODER FUNCTION: AttachCrc */
+/*---------------------------------------------------------------------------*/
+/* Description: attaches CRC bits */
+/* */
+/* In: const Ord1* infoBits -> input information bits */
+/* Out: Ord1* infoWithCrc <- bits with CRC attached */
+/*---------------------------------------------------------------------------*/
+void AttachCrc(const Ord1 *infoBits, Ord1 *infoWithCrc)
+
+
+/*===========================================================================*/
+/* ENCODER FUNCTION: Scramble */
+/*---------------------------------------------------------------------------*/
+/* Description: bit scrambling */
+/* */
+/* In: const Ord1* in -> non scrambled input bit sequence */
+/* Out: Ord1* out <- scrambled output bit sequence */
+/*---------------------------------------------------------------------------*/
+void Scramble(const Ord1 *in, Ord1 *out)
+
+
+/*===========================================================================*/
+/* ENCODER FUNCTION: EncodeTwo */
+/*---------------------------------------------------------------------------*/
+/* Description: encoding of bit sequence */
+/* */
+/* InOut: Ord1* codedBits <-> scrambled bits to coded bits */
+/*---------------------------------------------------------------------------*/
+void EncodeTwo(Ord1 *codedBits)
+
+
+/*===========================================================================*/
+/* ENCODER FUNCTION: EncodeOne */
+/*---------------------------------------------------------------------------*/
+/* Description: convolutional encoding of each component */
+/* */
+/* In: Int16 encNr -> component number */
+/* InOut: Ord1* codedBits <-> bits to be encoded */
+/*---------------------------------------------------------------------------*/
+void EncodeOne(Ord1 *codedBits, Int16 encNr)
+
+```
+
+### 4.4.3 PSAP receiver functions
+
+```
+
+/*===========================================================================*/
+/* UTILITY FUNCTION: PsapRxUplink */
+/*---------------------------------------------------------------------------*/
+/* Description: PSAP UL state machine, determines PSAP receiver operation */
+/* according to the state */
+/* */
+/* In: const Int16* pcm -> input frame of 16bit PCM samples */
+/*---------------------------------------------------------------------------*/
+void PsapRxUplink(const Int16 *pcm)
+
+
+/*===========================================================================*/
+/* UTILITY FUNCTION: PsapRxDownlink */
+/*---------------------------------------------------------------------------*/
+/* Description: PSAP DL state machine, determines PSAP transmitter operation */
+/* according to the state */
+/*---------------------------------------------------------------------------*/
+
+```
+
+```
+void PsapRxDownlink(void)
+```
+
+```
+/*=====*/
+/* PSAP FUNCTION: PsapReceiver */
+/*-----*/
+/* Description: PSAP receiver function (decoding is done outside) */
+/* */
+/* In: const ModState* ms -> modulator struct */
+/* const Int16* pcm -> input data for demodulation */
+/* Out: IntLLR* softBits <- demodulated soft bit sequence */
+/*-----*/
+void PsapReceiver(const ModState *ms, const Int16 *pcm, IntLLR *softBits)
+```
+
+```
+/*=====*/
+/* PSAP FUNCTION: SymbolDemod */
+/*-----*/
+/* Description: symbol demodulator */
+/* */
+/* In: const ModState* ms -> modulator struct */
+/* const Int16* mPulse -> received pulse train */
+/* Out: IntLLR* softBits <- demodulated soft bit sequence */
+/*-----*/
+void SymbolDemod(const ModState *ms, const Int16 *mPulse, IntLLR *softBits)
+```
+
+```
+/*=====*/
+/* PSAP FUNCTION: Bit2Byte */
+/*-----*/
+/* Description: conversion bit vector to byte vector */
+/* */
+/* In: const Ord1* in -> vector of input bits */
+/* Int16 length -> length of output */
+/* Out: Ord8* out <- vector of output bytes */
+/*-----*/
+void Bit2Byte(const Ord1 *in, Ord8 *out, Int16 length)
+```
+
+```
+/*=====*/
+/* PSAP FUNCTION: MpyLacc */
+/*-----*/
+/* Description: multiply 32bit number with 16bit number (32bit result) */
+/* */
+/* In: Int32 var32 -> 32bit number */
+/* Int16 var16 -> 16bit number */
+/* Return: Int32 <- result */
+/*-----*/
+Int32 MpyLacc(Int32 var32, Int16 var16)
+```
+
+```
+/*=====*/
+/* DECODER FUNCTION: FecDecode */
+/*-----*/
+/* Description: decoding to find the MSD */
+/* */
+/* In: const IntLLR* in -> received soft bits */
+/* Int16 rv -> redundancy version */
+/* Out: Ord1* out <- decoded MSD in binary representation */
+/* Return: Bool <- result of CRC check */
+/*-----*/
+Bool FecDecode(const IntLLR *in, Int16 rv, Ord1 *out)
+```
+
+```
+/*=====*/
+/* DECODER FUNCTION: UpdateBuffer */
+/*-----*/
+/* Description: update channel LLR buffer with new soft bits */
+/* */
+/* In: const IntLLR* softInBits -> received soft bits */
+```
+
+```
+
+/* Int16 rv -> redundancy version */
+/* InOut: IntLLR* chLLRbuffer <-> decoder buffer */
+/*-----*/
+void UpdateBuffer(IntLLR *chLLRbuffer, const IntLLR *softInBits, Int16 rv)
+
+/*=====*/
+/* DECODER FUNCTION: DecodeBuffer */
+/*-----*/
+/* Description: decoding of LLR buffer */
+/* */
+/* In: const IntLLR* syst1 -> RX systematic soft bits */
+/* const IntLLR* syst2 -> interleaved RX systematic tail bits */
+/* const IntLLR* parity1 -> RX parity soft bits */
+/* const IntLLR* parity2 -> interleaved RX parity soft bits */
+/* Out: Ord1* decBits <- decoded bits */
+/*-----*/
+void DecodeBuffer(const IntLLR *syst1, const IntLLR *syst2,
+ const IntLLR *parity1, const IntLLR *parity2, Ord1 *decBits)
+
+/*=====*/
+/* DECODER FUNCTION: Bcjr */
+/*-----*/
+/* Description: BCJR algorithm */
+/* */
+/* In: const IntLLR* parity -> received parity soft bits */
+/* InOut: IntLLR* extrinsic <-> extrinsic information */
+/*-----*/
+void Bcjr(const IntLLR *parity, IntLLR *extrinsic)
+
+/*=====*/
+/* DECODER FUNCTION: Interleave */
+/*-----*/
+/* Description: Turbo code interleaver */
+/* */
+/* In: const IntLLR* in -> input sequence */
+/* Out: IntLLR* out <- output sequence */
+/*-----*/
+void Interleave(const IntLLR *in, IntLLR *out)
+
+/*=====*/
+/* DECODER FUNCTION: Deinterleave */
+/*-----*/
+/* Description: Turbo code deinterleaver */
+/* */
+/* InOut: IntLLR* inout <-> input and deinterleaved output sequence */
+/*-----*/
+void Deinterleave(IntLLR *inout)
+
+/*=====*/
+/* DECODER FUNCTION: Descramble */
+/*-----*/
+/* Description: descrambles decoded bits */
+/* */
+/* InOut: Ord1* inout <-> input and output bit sequence */
+/*-----*/
+void Descramble(Ord1 *inout)
+
+/*=====*/
+/* DECODER FUNCTION: DecodeCrc */
+/*-----*/
+/* Description: check CRC of decoded bits */
+/* */
+/* In: const Ord1* codedBits -> decoded bit sequence to be checked */
+/* Return: Bool <- result of CRC check */
+
+```
+
+```
+
+/*-----*/
+Bool DecodeCrc(const Ord1 *codedBits)
+
+/*=====*/
+/* DECODER FUNCTION: GammaQ */
+/*-----*/
+/* Description: compute gamma values for BCJR algorithm */
+/* */
+/* In: Int16 k -> bit position */
+/* Int16 l -> state */
+/* const IntLLR* parity -> received parity bits */
+/* const IntLLR* extrinsic -> sum of extrinsic and systematic bits */
+/* Return: IntLLR <- value of gamma(k,l) */
+/*-----*/
+IntLLR GammaQ(Int16 k, Int16 l, const IntLLR *parity, const IntLLR *extrinsic)
+
+/*=====*/
+/* UTILITY FUNCTION: JacLog */
+/*-----*/
+/* Description: Jacobian logarithm */
+/* */
+/* In: IntLLR a -> value one */
+/* IntLLR b -> value two */
+/* Return: IntLLR <- Jacobian logarithm */
+/*-----*/
+IntLLR JacLog(Int32 a, Int32 b)
+
+```
+
+### 4.4.4 PSAP transmitter functions
+
+See control link functions.
+
+### 4.4.5 IVS receiver functions
+
+See control link functions.
+
+### 4.4.6 Synchronization functions (IVS and PSAP)
+
+```
+
+/*=====*/
+/* FUNCTION: Sync */
+/*-----*/
+/* Description: main synchronization function */
+/* */
+/* InOut: SyncState* sync <-> sync struct */
+/* In: const Int16* pcm -> input frame */
+/* const char* caller -> modem identification */
+/* Bool invert -> port inversion flag */
+/*-----*/
+void Sync(SyncState *sync, const Int16 *pcm, const char *caller, Bool invert)
+
+/*=====*/
+/* UTILITY FUNCTION: CtrlSync */
+/*-----*/
+/* Description: control message sync function */
+/* */
+/* InOut: CtrlRxData* control <-> control struct */
+/* In: const Int16* pcm -> input frame of 16bit PCM samples */
+/*-----*/
+void CtrlSync(CtrlRxData *control, const Int16 *pcm)
+
+```
+
+```
+
+/*===========================================================================*/
+/* UTILITY FUNCTION: SyncSubPut, SyncSubGet, SyncSubCpy */
+/*---------------------------------------------------------------------------*/
+/* InOut: SyncState* sync <-> sync struct */
+/* InOut: SyncSub* ssub <-> sync subsystem */
+/*---------------------------------------------------------------------------*/
+
+void SyncSubPut(SyncState *sync, SyncSub *ssub)
+void SyncSubGet(SyncState *sync, SyncSub *ssub)
+void SyncSubCpy(const SyncSub *ssubIn, SyncSub *ssubOut)
+
+
+/*===========================================================================*/
+/* UTILITY FUNCTION: SyncSubRun */
+/*---------------------------------------------------------------------------*/
+/* Description: sync peak evaluation */
+/* */
+/* InOut: SyncSub* ssub <-> sync subsystem */
+/* In: const char* caller -> modem identification */
+/* const Int32* pPos -> positive peaks positions */
+/* const Int32* pCorr -> positive peaks correlation values */
+/* const Int32* nPos -> negative peaks positions */
+/* const Int32* nCorr -> negative peaks correlation values */
+/*---------------------------------------------------------------------------*/
+
+void SyncSubRun(SyncSub *ssub, const char *caller,
+ const Int32 *pPos, const Int32 *pCorr,
+ const Int32 *nPos, const Int32 *nCorr)
+
+
+/*===========================================================================*/
+/* IVS FUNCTION: SyncCheck */
+/*---------------------------------------------------------------------------*/
+/* Description: check whether locked sync is still valid */
+/* */
+/* InOut: SyncState* sync <-> sync struct */
+/* In: const Int16* pcm -> input frame */
+/* const char* caller -> modem identification */
+/*---------------------------------------------------------------------------*/
+
+void SyncCheck(SyncState *sync, const Int16 *pcm, const char *caller)
+
+
+/*===========================================================================*/
+/* IVS FUNCTION: SyncTrack */
+/*---------------------------------------------------------------------------*/
+/* Description: uplink sync tracker */
+/* */
+/* InOut: SyncState* sync <-> sync struct */
+/* In: Bool invert -> port inversion flag */
+/*---------------------------------------------------------------------------*/
+
+void SyncTrack(SyncState *sync, Bool invert)
+
+
+/*===========================================================================*/
+/* FUNCTION: SyncFilter */
+/*---------------------------------------------------------------------------*/
+/* Description: sync filter implementation */
+/* */
+/* InOut: SyncState* sync <-> sync struct */
+/* In: const Int16* pcm -> input frame */
+/* Bool invert -> port inversion flag */
+/*---------------------------------------------------------------------------*/
+
+void SyncFilter(SyncState *sync, const Int16 *pcm, Bool invert)
+
+
+/*===========================================================================*/
+/* UTILITY FUNCTION: ToneDetect */
+/*---------------------------------------------------------------------------*/
+```
+
+```
+
+/* Description: tone detection at 500 Hz or 800 Hz */
+/* */
+/* InOut: SyncState* sync <-> sync struct */
+/* In: const Int16* pcm -> input frame */
+/*-----*/
+void ToneDetect(SyncState *sync, const Int16 *pcm)
+
+/*=====*/
+/* UTILITY FUNCTION: PeakUpdate */
+/*-----*/
+/* Description: update sync peak position */
+/* */
+/* In: const Int32* pos -> vector of positions */
+/* const Int32* corr -> vector of correlation values */
+/* Int16 dist -> distance to be checked */
+/* Return: Int16 <- updated peak position */
+/*-----*/
+Int16 PeakUpdate(const Int32 *pos, const Int32 *corr, Int16 dist)
+
+/*=====*/
+/* UTILITY FUNCTION: PeakCheck */
+/*-----*/
+/* Description: check sync peaks */
+/* */
+/* InOut: SyncSub* ssub <-> sync subsystem */
+/* In: const char* caller -> modem identification */
+/* const Bool* pdet -> vector of peak detection flags */
+/* const Int16* p -> vector of frame numbers */
+/* const Int32* corr(X) -> vector of correlation values */
+/* Int16 pos1 -> peak position 1 */
+/* Int16 pos2 -> peak position 2 */
+/* Int16 npeaks -> number of detected peaks */
+/* Int16 delay -> target delay if sync successful */
+/*-----*/
+
+void PeakCheck(SyncSub *ssub,
+ const char *caller, const Bool *pdet, const Int16 *p,
+ const Int32 *corrP, const Int32 *corrN, const Int32 *corr,
+ Int16 pos1, Int16 pos2, Int16 npeaks, Int16 delay)
+
+/*=====*/
+/* UTILITY FUNCTION: SyncReset */
+/*-----*/
+/* InOut: SyncState* sync <-> sync struct */
+/* In: Int32* mem -> pointer to sync memory */
+/* Int32* memWakeup -> pointer to sync wakeup memory */
+/*-----*/
+
+void SyncReset(SyncState *sync, Int32 *mem, Int32 *memWakeup)
+
+/*=====*/
+/* UTILITY FUNCTION: SyncSubReset */
+/*-----*/
+/* InOut: SyncSub* ssub <-> sync subsystem */
+/*-----*/
+
+void SyncSubReset(SyncSub *ssub)
+
+```
+
+### 4.4.7 Control link functions
+
+```
+
+/*=====*/
+/* UTILITY FUNCTION: CtrlPortName */
+/*-----*/
+/* Description: converter for log output */
+
+```
+
+```
+/*
+ * In: PortOwner owner -> modem identification
+ * Return: const char* <- port name as character string
+ *-----*/
+const char* CtrlPortName(PortOwner owner)
+
+/*=====*/
+/* CONTROL FUNCTION: CtrlTxProcess
+ *-----*/
+/* Description: process function control transmitter
+ *
+ * InOut: CtrlTxData* control <-> control struct
+ * Int16* pcm <-> frame of 16bit PCM samples
+ *-----*/
+void CtrlTxProcess(CtrlTxData *control, Int16 *pcm)
+
+/*=====*/
+/* UTILITY FUNCTION: CtrlTxMod
+ *-----*/
+/* Description: control message transmitter using prestored sequences
+ *
+ * In: Int16 symbol -> lower-layer or higher-layer message symbol
+ * Int16 index -> position within message frame
+ * Out: Int16* pcm <- output data
+ *-----*/
+void CtrlTxMod(Int16 *pcm, Int16 symbol, Int16 index)
+
+/*=====*/
+/* CONTROL FUNCTION: CtrlRxProcess
+ *-----*/
+/* Description: process function control receiver
+ *
+ * InOut: CtrlRxData* control <-> control struct
+ * In: const Int16* pcm -> input frame of 16bit PCM samples
+ *-----*/
+void CtrlRxProcess(CtrlRxData *control, const Int16 *pcm)
+
+/*=====*/
+/* UTILITY FUNCTION: CtrlRxDemod
+ *-----*/
+/* Description: control message receiver
+ *
+ * In: const Int16* pcm -> input PCM buffer
+ * Out: Int16* metric <- reliability factor (-1: skip)
+ * Return: Int16 <- demodulated message
+ *-----*/
+Int16 CtrlRxDemod(const Int16 *pcm, Int16 *metric)
+
+/*=====*/
+/* CONTROL FUNCTION: CtrlTxReset
+ *-----*/
+/* Description: reset function control transmitter
+ *
+ * InOut: CtrlTxData* control <-> control struct
+ * In: const char* owner -> modem identification
+ *-----*/
+void CtrlTxReset(CtrlTxData *control, const char *owner)
+
+/*=====*/
+/* CONTROL FUNCTION: CtrlRxReset
+ *-----*/
+/* Description: reset function control receiver
+ *
+ * InOut: CtrlRxData* control <-> control struct
+ */
+```
+
+```
+
+/* In: const char* owner -> modem identification */
+/* SyncState* sync -> pointer to sync struct */
+/* Int16* buffer -> pointer to control receiver buffer */
+/* Int16 syncLock -> number of sync events required */
+/*-----*/
+void CtrlRxReset(CtrlRxData *control, const char *owner,
+ SyncState *sync, Int16 *buffer, Int16 syncLock)
+
+```
+
+### 4.4.8 Other utility functions (IVS and PSAP)
+
+```
+
+/*=====*/
+/* UTILITY FUNCTION: SetModState */
+/*-----*/
+/* Description: set the modulator state */
+/* */
+/* In: Int16 modType -> type of modulator to use */
+/* InOut: ModState* ms <-> modulator struct */
+/*-----*/
+void SetModState(ModState *ms, ModType modType)
+
+```
+
+# Annex A (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|----------|-----------|------|-----|-------------------------------------------------------------------------------------------------|--------|--------|
+| Date | TSG SA # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2009-03 | 43 | SP-090201 | | | Approved at TSG SA#43 | 2.0.0 | 8.0.0 |
+| 2009-06 | 44 | SP-090251 | 0001 | 1 | Correction of a mismatch with 3GPP TS 26.267 concerning synchronization | 8.0.0 | 8.1.0 |
+| 2009-06 | 44 | SP-090251 | 0002 | 1 | Correction concerning modulator initialization | 8.0.0 | 8.1.0 |
+| 2009-06 | 44 | SP-090251 | 0003 | 1 | Correction of a mismatch with 3GPP TS 26.267 concerning ACK transmission | 8.0.0 | 8.1.0 |
+| 2009-06 | 44 | SP-090251 | 0004 | 1 | Extension of eCall test setup to allow conformance testing of ACK messages | 8.0.0 | 8.1.0 |
+| 2009-06 | 44 | SP-090251 | 0005 | 2 | Separation of IVS and PSAP transmitter and receiver functions in the C-code | 8.0.0 | 8.1.0 |
+| 2009-09 | 45 | SP-090565 | 0006 | 1 | Integration of higher-layer acknowledgement message | 8.1.0 | 8.2.0 |
+| 2009-09 | 45 | SP-090576 | 0007 | | Integration of IVS-initiated signalling option | 8.1.0 | 8.2.0 |
+| 2009-09 | 45 | SP-090565 | 0008 | | Parameter change in eCall test setup | 8.1.0 | 8.2.0 |
+| 2009-09 | 45 | SP-090565 | 0009 | | Update of receiver-transmitter interfaces for conformance testing | 8.1.0 | 8.2.0 |
+| 2009-09 | 45 | SP-090565 | 0010 | | Corrections and bugfixes of the eCall source code | 8.1.0 | 8.2.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.2.0 | 9.0.0 |
+| 2010-06 | 48 | SP-100297 | 0012 | 1 | Correction of ACK detection conditions | 9.0.0 | 9.1.0 |
+| 2010-06 | 48 | SP-100297 | 0014 | 1 | Detector for handling PCM sample inversion in the network | 9.0.0 | 9.1.0 |
+| 2010-06 | 48 | SP-100297 | 0016 | 1 | Feedback signal modifications to increase robustness in the presence of network echo cancellers | 9.0.0 | 9.1.0 |
+| 2010-09 | 49 | SP-100462 | 0018 | | Correction of some errors in the eCall reference code | 9.1.0 | 9.2.0 |
+| 2010-09 | 49 | SP-100462 | 0020 | | Update of eCall test framework software to handle new in-band modem features | 9.1.0 | 9.2.0 |
+| 2010-12 | 50 | SP-100783 | 0022 | 1 | Correction of synchronization procedures in the eCall in-band modem | 9.2.0 | 9.3.0 |
+| 2010-12 | 50 | SP-100783 | 0024 | 1 | State machine corrections in the eCall in-band modem | 9.2.0 | 9.3.0 |
+| 2010-12 | 50 | SP-100783 | 0026 | 1 | Correction of the inversion detector | 9.2.0 | 9.3.0 |
+| 2011-03 | 51 | SP-110033 | 0028 | | Correction of synchronization algorithm for the eCall in-band modem | 9.3.0 | 9.4.0 |
+| 2011-03 | 51 | SP-110033 | 0030 | | Correction of signal inversion operation and callback message event set | 9.3.0 | 9.4.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.4.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
+| 2014-09 | 65 | SP-140455 | 0031 | 1 | Update to Codec Inversion Detection Algorithm | 11.0.0 | 11.1.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26269/1a827b10290f33d4fec04d0e8ef7a897_img.jpg b/marked/Rel-11/26_series/26269/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5eaf3d6189c6803e7be3aeafb7800ef3436171b5
--- /dev/null
+++ b/marked/Rel-11/26_series/26269/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d27ca8cd5abfaf4c97d00501d3d777101378fe23b18c1b89aa9ea45bb6663539
+size 70528
diff --git a/marked/Rel-11/26_series/26269/410562339ce067fdc6fa41940c118658_img.jpg b/marked/Rel-11/26_series/26269/410562339ce067fdc6fa41940c118658_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1ee4c581954529498d132169e4a1acea7da49e16
--- /dev/null
+++ b/marked/Rel-11/26_series/26269/410562339ce067fdc6fa41940c118658_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbd16b053a5b4f267b3c7ee1256c201cc85e1d38349cdb1d3d9b23b6be626b94
+size 11872
diff --git a/marked/Rel-11/26_series/26269/43fec6623ab9cb223a9ff74e2d2a4402_img.jpg b/marked/Rel-11/26_series/26269/43fec6623ab9cb223a9ff74e2d2a4402_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e7ca76bc09ca0dce5455be07fb36875a4e8c21ba
--- /dev/null
+++ b/marked/Rel-11/26_series/26269/43fec6623ab9cb223a9ff74e2d2a4402_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ec9cf5bd29ef15cac9476f5ed80e66f7defee8e1225c82f1d81b4ccce766e16b
+size 45889
diff --git a/marked/Rel-11/26_series/26269/78ffccd66df9bafd96e3e081110d09dd_img.jpg b/marked/Rel-11/26_series/26269/78ffccd66df9bafd96e3e081110d09dd_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..332f514307ce0b41baf364adff0ad838ed3f3e72
--- /dev/null
+++ b/marked/Rel-11/26_series/26269/78ffccd66df9bafd96e3e081110d09dd_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cb0f986b42da48f3f221261a875defd6f8adf8e4335b2ebf298b51d87251d270
+size 12159
diff --git a/marked/Rel-11/26_series/26269/a7c51c18111139f9aca2805114108565_img.jpg b/marked/Rel-11/26_series/26269/a7c51c18111139f9aca2805114108565_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9a4a95a6a73bdab31c9dddbd8833ac880c7b7c4b
--- /dev/null
+++ b/marked/Rel-11/26_series/26269/a7c51c18111139f9aca2805114108565_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:811c60381c3e7a76b8d18bec2484cc05a380ffd01d541ac6d9bc8ee6bea2caa0
+size 69107
diff --git a/marked/Rel-11/26_series/26269/b90144cfbb81a2d610d920240fda689d_img.jpg b/marked/Rel-11/26_series/26269/b90144cfbb81a2d610d920240fda689d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..abbfaa0c4c9d062be3ac2060fbfc66cfbe887a8f
--- /dev/null
+++ b/marked/Rel-11/26_series/26269/b90144cfbb81a2d610d920240fda689d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:14ffa66a54437f2d266a96c930a7a913bf2645a1755718b76ce30402bc33fa30
+size 11967
diff --git a/marked/Rel-11/26_series/26269/ca7c7526ec57cd5a2f278c194c0a6a00_img.jpg b/marked/Rel-11/26_series/26269/ca7c7526ec57cd5a2f278c194c0a6a00_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a4165c56af10584603e40f99240bfce41470545a
--- /dev/null
+++ b/marked/Rel-11/26_series/26269/ca7c7526ec57cd5a2f278c194c0a6a00_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3df975689fb15dec07aa3249bb474a91dcf5210cc72f27abaac4c1026189add6
+size 14391
diff --git a/marked/Rel-11/26_series/26269/f20786b603b41e24b5d5899f710b5947_img.jpg b/marked/Rel-11/26_series/26269/f20786b603b41e24b5d5899f710b5947_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..421d4cb5f19fa9041b6e75615474412691947b23
--- /dev/null
+++ b/marked/Rel-11/26_series/26269/f20786b603b41e24b5d5899f710b5947_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7766d10cb514ad7760d7cc2eadbdfeea2e31569a1fbbe83308d80859101163e4
+size 12426
diff --git a/marked/Rel-11/26_series/26269/raw.md b/marked/Rel-11/26_series/26269/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..aca201aecd27e40711f55d36b1fe95f78ebcee0f
--- /dev/null
+++ b/marked/Rel-11/26_series/26269/raw.md
@@ -0,0 +1,515 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|-----------------------------------------------------------------------------------------------------------------------------|-----------|
+| Foreword ..... | 4 |
+| 1 Scope..... | 5 |
+| 2 Normative references ..... | 5 |
+| 3 Definitions and abbreviations ..... | 5 |
+| 3.1 Definitions..... | 5 |
+| 3.2 Abbreviations ..... | 6 |
+| 4 General..... | 6 |
+| 5 Conformance..... | 7 |
+| 5.1 Bit-exactness ..... | 7 |
+| 5.2 Minimum performance requirements..... | 8 |
+| 5.2.1 MSD transmission time ..... | 8 |
+| 5.2.1.1 Full campaign (all AMR-FR codec modes plus GSM-FR) ..... | 8 |
+| 5.2.1.2 Error-free case for AMR 12.2 and FR ..... | 8 |
+| 5.2.1.3 GSM-HR codec..... | 8 |
+| 5.2.1.4 Noisy conditions ..... | 8 |
+| 5.2.1.5 Scaling of PCM signals..... | 9 |
+| 5.2.2 CRC check quality..... | 10 |
+| 5.2.3 Transmission failures..... | 10 |
+| 5.2.4 False detection due to signalling tones ..... | 10 |
+| 5.2.5 Push messages..... | 10 |
+| 5.2.6 HLACK messages..... | 10 |
+| Annex A (normative): Test sequences and scripts for testing bit-exact implementation of eCall in-band modem ..... | 11 |
+| A.1 Testing a bit-exact implementation of the IVS transmitter function ..... | 11 |
+| A.2 Testing a bit-exact implementation of the PSAP transmitter function ..... | 12 |
+| A.3 Testing a bit-exact implementation of the IVS receiver function..... | 13 |
+| A.4 Testing a bit-exact implementation of the PSAP receiver function..... | 13 |
+| Annex B (normative): Test set-up and sequences for testing minimum performance of eCall in-band modem receivers..... | 15 |
+| B.1 Modem Transmission Performance ..... | 15 |
+| B.1.2 Test Tone Sensitivity ..... | 16 |
+| Annex C (informative): Change history..... | 17 |
+
+# --- Foreword
+
+The present document has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+This Technical Specification (TS) specifies minimum performance requirements, test procedures and digital test sequences to be used for conformance testing of implementations of the eCall in-band modem.
+
+The eCall in-band modem PSAP and IVS transmitters and receivers are specified in TS 26.267 [1]. The reference fixed point ANSI-C implementation for the specified eCall modem is provided in TS 26.268 [2].
+
+The eCall in-band modem is a technology that transmits data reliably over the speech channel of the cellular and PSTN networks. It is specifically designed for transmission of the Minimum Set of Data (MSD) from IVS to PSAP for the Pan-European eCall initiative. For the purpose of the present specification, conformance is determined for the transmission of one single MSD of length 140 bytes. Other applications of the eCall in-band modem are out of scope of this document.
+
+# --- 2 Normative references
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+
+For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TR 26.267: "eCall Data Transfer; In-band modem solution; General Description".
+- [2] 3GPP TS 26.268: "eCall Data Transfer; In-band modem solution; ANSI-C reference code".
+- [3] 3GPP TR 26.969: "eCall data transfer; In-band modem solution; Characterization report".
+- [4] 3GPP TS 46.001: "Full rate speech; Processing functions".
+- [5] 3GPP TS 26.071: "Mandatory speech CODEC speech processing functions; AMR speech Codec; General description".
+- [6] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+
+# --- 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in TR 21.905 [6] and the following apply. A term defined in the present document takes precedence over the definition of the same term, if any, in TR 21.905 [6].
+
+**eCall:** manually or automatically initiated emergency call (TS12) from a vehicle, supplemented with a minimum set of emergency related data (MSD), as defined under the EU Commission's eSafety initiative.
+
+**eCall In-band Modem:** modem pair (consisting of transmitters and receivers at IVS and PSAP) that operates full-duplex and allows reliable transmission of eCall Minimum Set of Data from IVS to PSAP via the voice channel of the emergency voice call through cellular and PSTN networks.
+
+**eSafety:** European Commission sponsored forum to improve safety aspects of European citizens.
+
+**feedback frame:** downlink signal transmission interval containing feedback data - corresponds to a time interval of 180 ms or 1 440 samples at an 8 kHz sampling rate
+
+**frame:** time interval equal to 20 ms (corresponding to one AMR or FR speech frame, represented by 160 samples at an 8 kHz sampling rate)
+
+**Minimum Set of Data (MSD):** forming the data component of an eCall sent from a vehicle to a Public Safety Answering Point or other designated emergency call centre. The MSD has a maximum size of 140 bytes and includes, for example, vehicle identity, location information and time-stamp.
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the following abbreviations apply.
+
+| | |
+|------|---------------------------------------------|
+| ACK | ACKnowledgement |
+| AMR | Adaptive Multi-Rate (speech codec) |
+| CRC | Cyclic Redundancy Check |
+| CTM | Cellular Text Telephone Modem |
+| eIM | eCall In-band Modem |
+| EU | European Union |
+| FEC | Forward Error Correction |
+| FoM | Figure of Merit |
+| FR | Full Rate (speech codec) |
+| GSM | Global System for Mobile communications |
+| IVS | In-Vehicle System |
+| MSD | Minimum Set of Data |
+| NACK | Negative ACKnowledgement |
+| PCM | Pulse Code Modulation |
+| PSAP | Public Safety Answering Point |
+| PSTN | Public Switched Telephone Network |
+| UMTS | Universal Mobile Telecommunications Systems |
+| VAD | Voice Activity Detection |
+
+# 4 General
+
+This specification provides minimum performance requirements and test procedures that are necessary to test implementations of the eCall in-band modem for correctness. Correctness in this context means that the tested eCall modem implementation works within the performance parameter range defined in this document.
+
+The eCall modem set consists of four main functional entities, i.e., the transmitter and receiver functions within the IVS and PSAP eCall modems. These functional entities are illustrated in Figure 1.
+
+
+
+```
+
+graph LR
+ subgraph IVS_modem [IVS modem]
+ IVS_Rx[IVS Rx]
+ IVS_Tx[IVS Tx]
+ IVS_port_data((IVS port data))
+ end
+ subgraph PSAP_modem [PSAP modem]
+ PSAP_Tx[PSAP Tx]
+ PSAP_Rx[PSAP Rx]
+ PSAP_port_data((PSAP port data))
+ end
+ IVS_Rx -- "DL output PCM signal" --> DL_channel[DL channel]
+ PSAP_Tx -- "DL input PCM signal" --> DL_channel
+ PSAP_Rx -- "UL output" --> UL_channel[UL channel]
+ IVS_Tx -- "UL input" --> UL_channel
+ IVS_Rx --> IVS_port_data
+ PSAP_Rx --> PSAP_port_data
+
+```
+
+Figure 1: Functional components of the IVS and PSAP eCall modems. The diagram shows two main blocks: IVS modem and PSAP modem. The IVS modem contains IVS Rx and IVS Tx. The PSAP modem contains PSAP Tx and PSAP Rx. The IVS Rx is connected to the PSAP Tx via a DL channel. The PSAP Rx is connected to the IVS Tx via a UL channel. The IVS Rx is also connected to the IVS port data. The PSAP Rx is also connected to the PSAP port data. The DL channel is labeled 'DL output PCM signal' and 'DL input PCM signal'. The UL channel is labeled 'UL input' and 'UL output'.
+
+**Figure 1: Functional components of the IVS and PSAP eCall modems**
+
+Clause 5 contains the procedures for conformance testing as well as the detailed performance requirements.
+
+Annex A explains the digital test sequences and scripts to be executed for conformance testing of bit-exact eCall in-band modem implementations. The test sequences and scripts are attached to this specification.
+
+Annex B describes the eCall test set-up to be used for minimum performance testing of eCall in-band modem implementations.
+
+# --- 5 Conformance
+
+Conformance testing of the fixed-point IVS and PSAP **transmitters shall be** performed by demonstrating bit-exactness to the fixed-point reference C-code implementation (given in TS 26.268 [2]).
+
+Bit-exactness means that given a specific input sequence, the corresponding digital output sequence of the component under test shall exactly match the time-aligned output sequence of the reference implementation [2] of that component. The delay of the output sequence shall not exceed a certain specified limit.
+
+Conformance testing of the IVS and PSAP **receiver** implementations **shall be** performed by either demonstrating bit-exactness to the reference C-code, or by testing against a set of minimum performance requirements by means of objective measures. The bit-exact approach should be preferred over the application of objective measures if the implementation of the IVS and PSAP receivers follows the one given in the reference C-code.
+
+The MSDs, codecs and channel conditions to be used in the testing for bit-exactness as well as for minimum performance requirements are further described in Annexes A and B. Annex B also specifies the procedures for evaluating the conformance of a receiver implementation with respect to the minimum performance requirements.
+
+## 5.1 Bit-exactness
+
+To guarantee interoperability and data integrity, the implementation of PSAP and IVS **transmitters shall be** bit-exact.
+
+For the IVS and PSAP **receivers**, the conformance of the implementation **may be** tested by showing bit-exactness.
+
+For bit-exact fixed-point implementations, test sequences and scripts are used for conformance testing. The test cases consist of input and output reference MSDs, control sequences, and PCM data files.
+
+For testing transmitters, input control sequences are fed into the IVS/PSAP transmitter and the corresponding PCM data output of the IVS/PSAP transmitter is recorded. To meet the bit exactness criterion, all test cases must yield bit-exact results for the durations of the reference sequences, compared to the provided reference IVS/PSAP PCM output files, starting from the first non-zero output sample.
+
+The maximum delay, measured as the number of zero-valued output samples of the IVS transmitter, as a reaction to any of the reference input sequences, shall not exceed 160 samples.
+
+The maximum delay, measured as the number of zero-valued output samples of the PSAP transmitter, as a reaction to any of the reference input sequences, shall not exceed 320 samples.
+
+For testing receivers, input PCM data files are fed into the IVS/PSAP receiver and the sequence of control states of the IVS/PSAP receiver is recorded after the processing of each received frame (duration 20 ms). To meet the conformance requirements, the control state sequence must be identical to the provided reference control sequence within a tolerable timing difference of one frame.
+
+## 5.2 Minimum performance requirements
+
+Objective measures are used for testing the fulfilment of minimum performance requirements. These measures are the same for all implementations. They shall be met by all non-bit exact fixed-point receiver implementations of the IVS and PSAP, and may also be used as an additional check for receiver implementations which have been shown to meet conformance by demonstrating bit-exactness.
+
+The following minimum performance requirements apply to transmissions of single MSDs of length 140 bytes.
+
+### 5.2.1 MSD transmission time
+
+The average MSD transmission times serve as a performance indicator for the signal waveform demodulator and FEC decoder implementation. The transmission time is defined as the interval from the time instant when the IVS transmitter
+
+writes the first non-zero sample onto the uplink channel until the MSD message has been correctly decoded at the PSAP.
+
+The average MSD transmission time for the full test campaign given in Annex B which was also used in the eCall selection tests is called Figure of Merit (FoM). In the FoM, for each single transmission test, the transmission time is limited to a value of 200 s, i.e., if the MSD has not been correctly received after 200 s, the transmission attempt is aborted and the transmission time is counted as 200 s. The respective transmission attempt is recorded as a failure (and this constitutes a violation of the minimum performance requirement "Transmission failures" in clause 5.2.3).
+
+#### 5.2.1.1 Full campaign (all AMR-FR codec modes plus GSM-FR)
+
+For the specified full campaign given in Annex B, the average MSD transmission time (Figure of Merit) shall not exceed 2.90 s.
+
+#### 5.2.1.2 Error-free case for AMR 12.2 and FR
+
+For the subset of error-free test cases in the AMR 12.2 and FR codecs of the full campaign, the average MSD transmission time shall not exceed 2.00 s.
+
+#### 5.2.1.3 GSM-HR codec
+
+In the GSM-HR codec, the average MSD transmission time shall not exceed 18.00 s for the set of channel conditions comprising a C/I of 10, 7, and 4 dB as well as the error free case. 100 test cases per channel conditions shall be carried out.
+
+#### 5.2.1.4 Noisy conditions
+
+For the specified full campaign in Annex B, the average MSD transmission time shall not exceed 3.20 s if white Gaussian noise (AWGN) of 10 dB SNR is added both to the PSAP transmitter output and at the PSAP receiver input signals.
+
+Noise shall be added to the PCM data that is fed into the PSAP receiver and to the PCM data that is output from the PSAP transmitter. This reflects noise that could occur on an analogue line in a PSTN.
+
+The noise power shall be set to yield 10 dB SNR. At the PSAP receiver, the reference signal power shall be obtained by averaging over all incoming signal intervals while the PSAP receiver is in NACK state, which is the case when it receives the data part of the MSD message. A separate reference signal power shall be computed for each codec and channel condition as an average of the 100 test cases of the attached official test campaign `official_test_configuration_file.txt`.
+
+At the PSAP transmitter, the reference signal power shall be calculated by averaging over an entire feedback message [1] consisting of 20 frames.
+
+For information, the standard deviations of the PSAP receiver input PCM signals are given in Table 1 for the reference implementation [2]. The average PSAP transmitter PCM output standard deviation is 2056.
+
+**Table 1: Standard deviations of PSAP input signals**
+
+| Codec, channel condition | Standard deviation | Codec, channel condition | Standard deviation |
+|-------------------------------------|-------------------------------|-------------------------------------|-------------------------------|
+| Full Rate, 7 dB | 1223 | AMR 7.95, 7 dB | 1067 |
+| Full Rate, 10 dB | 1190 | AMR 7.95, 10 dB | 1059 |
+| Full Rate, 13 dB | 1167 | AMR 7.40, 7 dB | 988 |
+| Full Rate, 16 dB | 1156 | AMR 7.40, 10 dB | 971 |
+| Full Rate, clean | 1181 | AMR 6.70, 7 dB | 954 |
+| Full Rate, RSSI | 1149 | AMR 5.90, 4 dB | 931 |
+| AMR 12.20, 7 dB | 1112 | AMR 5.90, 7 dB | 953 |
+| AMR 12.20, 10 dB | 1129 | AMR 5.15, 4 dB | 836 |
+| AMR 12.20, 13 dB | 1092 | AMR 5.15, 7 dB | 854 |
+| AMR 12.20, clean | 1130 | AMR 4.75, 1 dB | 737 |
+| AMR 10.20, 7 dB | 1045 | AMR 4.75, 4 dB | 762 |
+| AMR 10.20, 10 dB | 1052 | AMR 4.75, 7 dB | 770 |
+| AMR 10.20, 13 dB | 994 | AMR 4.75, RSSI | 771 |
+
+The following C code fragment illustrates the application of noise (and a possible subsequent clipping) onto the PSAP input or output signals:
+
+```
+temp = (int) pcm + (int) (((double) sigma) * randn());
+if (temp > 32767) {
+ noisy_pcm = 32767;
+} else if (temp < -32768) {
+ noisy_pcm = -32768;
+} else {
+ noisy_pcm = (short) temp;
+}
+```
+
+#### 5.2.1.5 Scaling of PCM signals
+
+For the specified full campaign, the average MSD transmission times indicated in Table 2 shall not be exceeded for the given channel gains (caused, e.g., by different AGC settings), applied to the signals before the IVS and PSAP receivers.
+
+Before being fed to the IVS and PSAP receivers, the signed 16-bit PCM data shall be amplified/attenuated by a constant gain factor and then be mapped on PCM values again. More specifically, the PCM values shall be multiplied with the amplitude scaling factors given in the second column of Table 2. Signal amplitudes exceeding the signed 16-bit PCM range (-32768 to +32767) shall be clipped. Testing shall be carried out with the gain factors in the range from -12 dB to +12 dB as given in Table 2. For the specified full campaign, the average MSD transmission times (FoM) shall not exceed the values given in the third column of Table 2 for the respective gains.
+
+**Table 2: Gains and maximum MSD transmission times for different scaling factors**
+
+| Gain | Amplitude scaling factor | Maximum FoM |
+|-------------|-------------------------------------|--------------------|
+| -12 dB | 0.25 | 2.95 s |
+| -6 dB | 0.5 | 2.95 s |
+| +6 dB | 2.0 | 2.95 s |
+| +12 dB | 4.0 | 3.30 s |
+
+The following C code fragment illustrates the scaling and a possible subsequent clipping of PCM signals:
+
+```
+pcmScaled = (double) pcm * (double) AGC_UL_SCALE_FACTOR;
+if (pcmScaled >= 0.0) {
+ if (pcmScaled > (double) 32767)
+ pcm = 32767;
+```
+
+```
+ else
+ pcm = (short) (pcmScaled + 0.5);
+ } else {
+ if (pcmScaled < (double) -32768)
+ pcm = -32768;
+ else
+ pcm = (short) (pcmScaled - 0.5);
+ }
+}
+```
+
+### 5.2.2 CRC check quality
+
+The CRC on the uplink shall be evaluated. No incorrect MSD shall pass the CRC check in any test case of the specified full test campaign.
+
+### 5.2.3 Transmission failures
+
+No transmission failures shall occur with any test case of the full test campaign, i.e. no single MSD transmission time shall exceed 200 s.
+
+### 5.2.4 False detection due to signalling tones
+
+The IVS modem receiver shall not falsely detect eCall communication at any instance, when the tone test file (see Annex B) is used as modem input.
+
+### 5.2.5 Push messages
+
+This minimum performance requirement is only applicable for the case that IVS and PSAP in-band modems are configured to work in *push* mode.
+
+It shall take a maximum of five SEND messages to trigger the PSAP eCall modem receiver in push mode. The test shall be carried out for the test conditions given in the official test campaign
+`official_test_configuration_file.txt`.
+
+### 5.2.6 HLACK messages
+
+The IVS receiver shall reliably detect a higher-layer ACK (HLACK) with no more than five transmitted HLACK messages. This test shall be carried out for the conditions given in the official test campaign.
+`official_test_configuration_file.txt`.
+
+# Annex A (normative): Test sequences and scripts for testing bit-exact implementation of eCall in-band modem
+
+This Annex describes the test set-up, test sequences, and scripts designed to evaluate the bit-exact implementation of the eCall in-band modem [2].
+
+For the purpose of conformance testing, the control sequences at the receiver-transmitter interfaces of the IVS and PSAP are defined as the content of certain state variables at the end of the receiver processing stage after each frame. The IVS and PSAP input/output data signals are standard PCM data signals with 16 bits per sample and 8 kHz sampling rate. Three sets of state variables and PCM data signals are provided to carry out the bit-exactness tests for the eCall core, the eCall push trigger, and the eCall HLACK transmission. The eCall core is defined as a transmission that is initiated by the PSAP and terminated by the transmission of lower layer ACK (LLACK) messages after the successful reception of the MSD by the PSAP. The push trigger test files are intended to test an IVS initiated eCall transmission, which starts with the transmission of SEND messages and is terminated by the transmission of lower layer ACK messages after the successful reception of the MSD by the PSAP. The HLACK transmission test files are intended to test the transmission of HLACK messages, which starts with an PSAP initiated MSD transmission and terminates with the successful reception of the HLACK by the IVS. The three data sets are distinguished by their 'basename' which is to be replaced by 'core', 'corepush', or 'corehlack' in the tables below, respectively.
+
+Note that the number of LLACK and HLACK messages to be transmitted is a configuration parameter of the in-band modem [2]. It is up to higher-layer protocol requirements whether link-layer and/or higher-layer ACK messages are transmitted. From a modem protocol perspective [1], at least five ACK messages of one type (either link-layer or higher-layer) shall be transmitted consecutively for security. For conformance testing, the modem shall be configured to send four LLACK and then five HLACK messages.
+
+The attached test campaign file `campaign_conformance_test.txt` specifies the MSDs, delays, codecs and channel conditions to be used according to Tables A.1 to A.4.
+
+The test scripts `confest.bat` (for Windows) and `confest.sh` (for Linux) are provided in order to perform all tests according to clauses A.1 to A.4. Note that these are exemplary test scripts for the case that the IVS and PSAP implementations exhibit the same output signal delays as the reference implementation [2]. For other signal output delays within the limits specified in clause 5.1, the scripts should be adapted.
+
+The test setup included in [2] automatically records input/output PCM data, as well as the contents of the state variables at the transmitter/receiver interface. The test setup also checks for the correct reception of the MSD. It is required for the execution of the above test scripts.
+
+## A.1 Testing a bit-exact implementation of the IVS transmitter function
+
+The set-up illustrated in Figure A.1 is used to test the bit-exact compliance of an IVS transmitter implementation.
+
+
+
+```
+graph TD; subgraph Inputs; direction TB; CS[input control sequence]; IM[input MSD]; UPS[UL input PCM signal]; end; Inputs --> IVS[IVS Tx]; IVS --> Output[ ];
+```
+
+Diagram of the IVS transmitter function set-up. A central block labeled 'IVS Tx' has three input arrows: 'input control sequence' from the top, 'input MSD' from the left, and 'UL input PCM signal' from the right. An output arrow points to the right from the 'IVS Tx' block.
+
+**Figure A.1: Set-up for testing bit-exact eCall modem IVS transmitter function**
+
+The set of test input control sequences listed in Table A.1 are input into the IVS Tx. Each test sequence specifies the series of control messages and the time at which each is to be input into the IVS Tx.
+
+**Table A.1: Input control sequences and output PCM files for testing bit-exact IVS transmitter -
+The sequences are attached electronically**
+
+| Sequence | Characteristics | Input Control Sequence Filename | Output PCM Data Filename |
+|----------|------------------------|---------------------------------|--------------------------|
+| 1 | AMR-FR 12.2 Error Free | {basename}_portivstx1.txt | {basename}_pcmulin1.pcm |
+| 2 | GSM_FR, C/I = 7dB | {basename}_portivstx2.txt | {basename}_pcmulin2.pcm |
+| 3 | AMR-FR 12.2, C/I = 7dB | {basename}_portivstx3.txt | {basename}_pcmulin3.pcm |
+| 4 | AMR-FR 5.9, C/I = 4dB | {basename}_portivstx4.txt | {basename}_pcmulin4.pcm |
+| 5 | AMR-FR 5.15, C/I = 4dB | {basename}_portivstx5.txt | {basename}_pcmulin5.pcm |
+| 6 | AMR-FR 4.75, C/I = 1dB | {basename}_portivstx6.txt | {basename}_pcmulin6.pcm |
+| 7 | GSM-HR, C/I = 4dB | {basename}_portivstx7.txt | {basename}_pcmulin7.pcm |
+| 8 | GSM_FR, C/I = 7dB | {basename}_portivstx8.txt | {basename}_pcmulin8.pcm |
+
+For each test input control sequence, the output PCM data from the IVS Tx function is recorded and the initial series of zero-valued PCM samples shall be checked to not exceed the maximum allowable delay specified in clause 5.1. The initial series of zero samples are then removed and the remaining PCM output data shall be bit-exact identical to the output PCM data files listed in Table A.1.
+
+## A.2 Testing a bit-exact implementation of the PSAP transmitter function
+
+The set-up illustrated in Figure A.2 is used to test the bit-exact compliance of a PSAP transmitter implementation.
+
+
+
+```
+
+graph TD
+ PSAP_Tx[PSAP Tx]
+ DL_input[DL input PCM signal] --> PSAP_Tx
+ Input_control[input control sequence] --> PSAP_Tx
+
+```
+
+Diagram of the PSAP transmitter test setup. A block labeled 'PSAP Tx' has two input arrows: one from the left labeled 'DL input PCM signal' and one from the bottom labeled 'input control sequence'.
+
+**Figure A.2: Set-up for testing bit-exact eCall modem PSAP transmitter function**
+
+The set of test input control sequences listed in Table A.2 are input into the PSAP Tx. Each test sequence specifies the series of control message and the time at which each is to be input into the PSAP Tx.
+
+**Table A.2: Input control sequences and output PCM files for testing bit-exact PSAP transmitter -
+The sequences are attached electronically**
+
+| Sequence | Characteristics | Input Control Sequence Filename | Output PCM Data Filename |
+|----------|------------------------|---------------------------------|--------------------------|
+| 1 | AMR-FR 12.2 Error Free | {basename}_portpsaptx1.txt | {basename}_pcmdlin1.pcm |
+| 2 | GSM_FR, C/I = 7dB | {basename}_portpsaptx2.txt | {basename}_pcmdlin2.pcm |
+| 3 | AMR-FR 12.2, C/I = 7dB | {basename}_portpsaptx3.txt | {basename}_pcmdlin3.pcm |
+| 4 | AMR-FR 5.9, C/I = 4dB | {basename}_portpsaptx4.txt | {basename}_pcmdlin4.pcm |
+| 5 | AMR-FR 5.15, C/I = 4dB | {basename}_portpsaptx5.txt | {basename}_pcmdlin5.pcm |
+| 6 | AMR-FR 4.75, C/I = 1dB | {basename}_portpsaptx6.txt | {basename}_pcmdlin6.pcm |
+| 7 | GSM-HR, C/I = 4dB | {basename}_portpsaptx7.txt | {basename}_pcmdlin7.pcm |
+| 8 | GSM_FR, C/I = 7dB | {basename}_portpsaptx8.txt | {basename}_pcmdlin8.pcm |
+
+For each test input control sequence, the output PCM data from the PSAP Tx function is recorded and the initial series of zero-valued PCM samples shall be checked to not exceed the maximum allowable delay specified in clause 5.1. The initial series of zero samples are then removed and the remaining PCM output data shall be bit-exact identical to the output PCM data files listed in Table A.2.
+
+## A.3 Testing a bit-exact implementation of the IVS receiver function
+
+The set-up illustrated in Figure A.3 is used to test the bit-exact compliance of an IVS receiver implementation.
+
+
+
+Figure A.3: Set-up for testing bit-exact eCall modem IVS receiver function. The diagram shows a block labeled 'IVS Rx'. An arrow labeled 'DL output PCM signal' points into the block from the right. An arrow labeled 'output control sequence' points out of the block downwards.
+
+**Figure A.3: Set-up for testing bit-exact eCall modem IVS receiver function**
+
+The set of test input PCM data files listed in Table A.3 are input into the IVS Rx. For each test input PCM data file, the output control sequence from the IVS Rx function is recorded with a time stamp for each control message.
+
+The sequence of recorded output control messages from IVS Rx shall be identical to the output control sequence listed in Table A.3. The absolute value difference in time stamps of a message in the recorded and attached sequence file shall not exceed one frame.
+
+**Table A.3: Input PCM files and output control sequences for testing bit-exact IVS receiver - The sequences are attached electronically.**
+
+| Sequence | Characteristics | Output Control Sequence Filename | Input PCM Data Filename |
+|----------|------------------------|----------------------------------|--------------------------|
+| 1 | AMR-FR 12.2 Error Free | {basename} portivsr1.txt | {basename} pcmdlout1.pcm |
+| 2 | GSM_FR, C/I = 7dB | {basename} portivsr2.txt | {basename} pcmdlout2.pcm |
+| 3 | AMR-FR 12.2, C/I = 7dB | {basename} portivsr3.txt | {basename} pcmdlout3.pcm |
+| 4 | AMR-FR 5.9, C/I = 4dB | {basename} portivsr4.txt | {basename} pcmdlout4.pcm |
+| 5 | AMR-FR 5.15, C/I = 4dB | {basename} portivsr5.txt | {basename} pcmdlout5.pcm |
+| 6 | AMR-FR 4.75, C/I = 1dB | {basename} portivsr6.txt | {basename} pcmdlout6.pcm |
+| 7 | GSM-HR, C/I = 4dB | {basename} portivsr7.txt | {basename} pcmdlout7.pcm |
+| 8 | GSM_FR, C/I = 7dB | {basename} portivsr8.txt | {basename} pcmdlout8.pcm |
+
+## A.4 Testing a bit-exact implementation of the PSAP receiver function
+
+The set-up illustrated in Figure A.4 is used to test the bit-exact compliance of a PSAP receiver implementation.
+
+
+
+Figure A.4: Set-up for testing bit-exact eCall modem PSAP receiver function. The diagram shows a block labeled 'PSAP Rx'. An arrow labeled 'UL output PCM' points into the block from the left. An arrow labeled 'output control' points out of the block upwards. An arrow labeled 'output MSD' points out of the block to the right.
+
+**Figure A.4: Set-up for testing bit-exact eCall modem PSAP receiver function**
+
+The set of test input PCM data files listed in Table A.4 are input into the PSAP Rx. For each test input PCM data file the following are recorded and tested:
+
+1. The output control sequence from the PSAP Rx function is recorded with a time stamp for each control message. The sequence of recorded output control messages from PSAP Rx shall be identical to the output control sequence listed in Table A.4. The absolute value difference in time stamps of a message in the recorded and attached sequence file shall not exceed one frame.
+2. The output MSD from the PSAP Rx function is evaluated. The output MSD shall be equal to the MSD indicated in the attached campaign file `campaign_conformance_test.txt`.
+
+**Table A.4: Input PCM files and output control sequences for testing bit-exact PSAP receiver -
+The sequences are attached electronically.**
+
+| Sequence | Characteristics | Output Control Sequence Filename | Input PCM Data Filename |
+|----------|------------------------|----------------------------------|--------------------------|
+| 1 | AMR-FR 12.2 Error Free | {basename}_portpsapr1.txt | {basename}_pcmulout1.pcm |
+| 2 | GSM_FR, C/I = 7dB | {basename}_portpsapr2.txt | {basename}_pcmulout2.pcm |
+| 3 | AMR-FR 12.2, C/I = 7dB | {basename}_portpsapr3.txt | {basename}_pcmulout3.pcm |
+| 4 | AMR-FR 5.9, C/I = 4dB | {basename}_portpsapr4.txt | {basename}_pcmulout4.pcm |
+| 5 | AMR-FR 5.15, C/I = 4dB | {basename}_portpsapr5.txt | {basename}_pcmulout5.pcm |
+| 6 | AMR-FR 4.75, C/I = 1dB | {basename}_portpsapr6.txt | {basename}_pcmulout6.pcm |
+| 7 | GSM-HR, C/I = 4dB | {basename}_portpsapr7.txt | {basename}_pcmulout7.pcm |
+| 8 | GSM_FR, C/I = 7dB | {basename}_portpsapr8.txt | {basename}_pcmulout8.pcm |
+
+# Annex B (normative): Test set-up and sequences for testing minimum performance of eCall in-band modem receivers
+
+This annex specifies how modem receiver implementations can be tested to determine if they conform to the minimum performance requirements.
+
+The MSDs, codecs, and channel conditions to be used for minimum performance testing are given in the attached full campaign file `official_test_configuration_file.txt`.
+
+## B.1 Modem Transmission Performance
+
+The transmission performance of an eCall modem receiver shall be evaluated using the eCall test set-up and the attached full campaign test file, including the input test MSDs.
+
+The eCall test set-up configuration illustrated in Figure B.1 is used to test the minimum performance compliance of an IVS receiver implementation. For all of the other modem functions not being tested, i.e., IVS Tx, PSAP Rx, and PSAP Tx, the ANSI-C reference code or a bit-exact implementation of them shall be used.
+
+![Figure B.1: Set-up for testing the minimum performance compliance of the eCall modem IVS receiver function. The diagram shows an 'eCall test set-up [2]' enclosed in a dashed box. Inside, an 'IVS modem' (containing 'IVS Rx' and 'IVS Tx') and a 'PSAP modem' (containing 'PSAP Tx' and 'PSAP Rx') are connected via 'DL channel' and 'UL channel'. The 'IVS Rx' receives a 'DL output PCM signal' from the 'DL channel' and sends 'port data' to the 'IVS Tx'. The 'IVS Tx' sends a 'UL input PCM signal' to the 'UL channel'. The 'UL channel' sends a 'UL output PCM signal' to the 'PSAP Rx'. The 'PSAP Rx' sends 'port data' to the 'PSAP Tx'. The 'PSAP Tx' sends a 'DL input PCM signal' to the 'DL channel'. An 'input MSD' enters the 'IVS Tx' from the left, and an 'output MSD' exits the 'PSAP Rx' to the right.](a7c51c18111139f9aca2805114108565_img.jpg)
+
+Figure B.1: Set-up for testing the minimum performance compliance of the eCall modem IVS receiver function. The diagram shows an 'eCall test set-up [2]' enclosed in a dashed box. Inside, an 'IVS modem' (containing 'IVS Rx' and 'IVS Tx') and a 'PSAP modem' (containing 'PSAP Tx' and 'PSAP Rx') are connected via 'DL channel' and 'UL channel'. The 'IVS Rx' receives a 'DL output PCM signal' from the 'DL channel' and sends 'port data' to the 'IVS Tx'. The 'IVS Tx' sends a 'UL input PCM signal' to the 'UL channel'. The 'UL channel' sends a 'UL output PCM signal' to the 'PSAP Rx'. The 'PSAP Rx' sends 'port data' to the 'PSAP Tx'. The 'PSAP Tx' sends a 'DL input PCM signal' to the 'DL channel'. An 'input MSD' enters the 'IVS Tx' from the left, and an 'output MSD' exits the 'PSAP Rx' to the right.
+
+**Figure B.1: Set-up for testing the minimum performance compliance of the eCall modem IVS receiver function**
+
+The performance of the above set-up over the entire test campaign shall meet the requirements in clauses 5.2.1 to 5.2.3.
+
+The eCall test set-up configuration illustrated in Figure B.2 is used to test the minimum performance compliance of an PSAP receiver implementation. For all of the other modem functions not being tested, i.e., IVS Rx, IVS Tx, and PSAP Tx, the ANSI-C reference code or a bit-exact implementation of them shall be used.
+
+![Figure B.2: Set-up for testing the minimum performance compliance of the eCall modem PSAP receiver function. The diagram shows an 'eCall test set-up [2]' enclosed in a dashed box. Inside, an 'IVS modem' (containing 'IVS Rx' and 'IVS Tx') and a 'PSAP modem' (containing 'PSAP Tx' and 'PSAP Rx') are connected via 'DL channel' and 'UL channel'. 'DL output PCM signal' flows from 'DL channel' to 'IVS Rx'. 'DL input PCM signal' flows from 'PSAP Tx' to 'DL channel'. 'UL input PCM signal' flows from 'IVS Tx' to 'UL channel'. 'UL output PCM signal' flows from 'UL channel' to 'PSAP Rx'. 'port data' flows from 'IVS Rx' to 'IVS Tx' and from 'PSAP Tx' to 'PSAP Rx'. An external 'input MSD' enters 'IVS Tx' from the left. An external 'output MSD' exits 'PSAP Rx' to the right. The 'PSAP Rx' block is shaded with diagonal lines.](1a827b10290f33d4fec04d0e8ef7a897_img.jpg)
+
+Figure B.2: Set-up for testing the minimum performance compliance of the eCall modem PSAP receiver function. The diagram shows an 'eCall test set-up [2]' enclosed in a dashed box. Inside, an 'IVS modem' (containing 'IVS Rx' and 'IVS Tx') and a 'PSAP modem' (containing 'PSAP Tx' and 'PSAP Rx') are connected via 'DL channel' and 'UL channel'. 'DL output PCM signal' flows from 'DL channel' to 'IVS Rx'. 'DL input PCM signal' flows from 'PSAP Tx' to 'DL channel'. 'UL input PCM signal' flows from 'IVS Tx' to 'UL channel'. 'UL output PCM signal' flows from 'UL channel' to 'PSAP Rx'. 'port data' flows from 'IVS Rx' to 'IVS Tx' and from 'PSAP Tx' to 'PSAP Rx'. An external 'input MSD' enters 'IVS Tx' from the left. An external 'output MSD' exits 'PSAP Rx' to the right. The 'PSAP Rx' block is shaded with diagonal lines.
+
+**Figure B.2: Set-up for testing the minimum performance compliance of the eCall modem PSAP receiver function**
+
+The performance of the above set-up over the entire test campaign must meet the requirements in clauses 5.2.1 to 5.2.3. Furthermore, the output MSD from the PSAP Rx function shall be equal to the input MSD.
+
+### B.1.2 Test Tone Sensitivity
+
+The set-up illustrated in Figure B.3 shall be used to test the sensitivity of the IVS Rx implementation. When the test tone PCM data provided in the attached file EU\_DTMF\_tones.rawpcm is input into the IVS Rx function, the IVS Rx function shall not indicate that it has detected any of the eCall modem messages.
+
+
+
+Figure B.3: Set-up for testing test tone sensitivity of eCall modem IVS receiver function. The diagram shows an 'IVS Rx' block. A 'test tone PCM signal' is input to it from the right. A 'detection indication' is output from the bottom of the block.
+
+**Figure B.3: Set-up for testing test tone sensitivity of eCall modem IVS receiver function**
+
+This test can be performed in a similar way as described in clause A.3. The detection indication can be evaluated by analyzing the output control sequence file according to Figure A.3.
+
+# --- Annex C (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|---------|-----------|------|-----|------------------------------------------------------------------------------|--------|--------|
+| Date | TSG SA# | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2009-06 | 44 | SP-090252 | | | Approved at TSG SA#44 | 2.0.0 | 8.0.0 |
+| 2009-09 | 45 | SP-090565 | 0001 | | Introduction of HL-ACK test cases | 8.0.0 | 8.1.0 |
+| 2009-09 | 45 | SP-090625 | 0002 | 3 | Introduction of test cases for IVS-initiated signalling | 8.0.0 | 8.1.0 |
+| 2009-09 | 45 | SP-090565 | 0003 | 1 | Clarification of conformance testing requirements and correction of a figure | 8.0.0 | 8.1.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.1.0 | 9.0.0 |
+| 2010-09 | 49 | SP-100462 | 0005 | | Update of conformance testing reference sequences | 9.0.0 | 9.1.0 |
+| 2010-12 | 50 | SP-100844 | 0007 | 2 | Correction of eCall conformance test sequences | 9.1.0 | 9.2.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.2.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26273/1a827b10290f33d4fec04d0e8ef7a897_img.jpg b/marked/Rel-11/26_series/26273/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7ab6e0c166001ae71a1ebc0b59b017076eec3aed
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b16dfd5b0f5ba666b57736ccfd9311d4d73ab71d3c4a7ff0c532d758baec4c79
+size 103055
diff --git a/marked/Rel-11/26_series/26273/27b06ec9f42b5d727a2630f61a5f1861_img.jpg b/marked/Rel-11/26_series/26273/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b9ffaeee58afc4c3f4a1934dbe3def78a38ecc5f
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8b600e245eeb7a2e6064c51568919972a5f86a6ac16898455d8eff8d64bfef19
+size 119034
diff --git a/marked/Rel-11/26_series/26273/4356776ca004ecba5d599667a155d7d4_img.jpg b/marked/Rel-11/26_series/26273/4356776ca004ecba5d599667a155d7d4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..12834029c33093fa2b4f67ee3800c96c5867b872
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/4356776ca004ecba5d599667a155d7d4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d02459f3a9d764a854a18764a7ba2969efbf41f4edd37e073daf4bd4a90db7d1
+size 119690
diff --git a/marked/Rel-11/26_series/26273/49ee89a1d5852ab005dbbab6de09a8a6_img.jpg b/marked/Rel-11/26_series/26273/49ee89a1d5852ab005dbbab6de09a8a6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1138d25b928e6d86bed8b1afaebc7129d3595046
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/49ee89a1d5852ab005dbbab6de09a8a6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:85e067f627dc2a5d4fd1b80ab7ae22f234621908d2fbc5afb5a09eefa297cb82
+size 89862
diff --git a/marked/Rel-11/26_series/26273/5a4e62bead259c258d069fd3663ea670_img.jpg b/marked/Rel-11/26_series/26273/5a4e62bead259c258d069fd3663ea670_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5b9127c41baf7731c6fef661d9bae86d48b432f8
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/5a4e62bead259c258d069fd3663ea670_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6d347c7df71e41c17475561a19b21e986b5e187b530fdf22a33d7680e81a936a
+size 101258
diff --git a/marked/Rel-11/26_series/26273/7efae06af3af43ffe5d4b956a679cf54_img.jpg b/marked/Rel-11/26_series/26273/7efae06af3af43ffe5d4b956a679cf54_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..29a7658e5d64f0897dc78f7feba61bb601e9c937
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/7efae06af3af43ffe5d4b956a679cf54_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:51771aa6546c067126b0e69f6772c94031a1b98ee4deb11493e60326dadf2a7b
+size 120163
diff --git a/marked/Rel-11/26_series/26273/8fa679f79a1bb1f527cba9f29e784e89_img.jpg b/marked/Rel-11/26_series/26273/8fa679f79a1bb1f527cba9f29e784e89_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..321cdfdbf3c5c11dc1a52db04e9e8375d1746460
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/8fa679f79a1bb1f527cba9f29e784e89_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a3a8c482e914f28d2a74eb568ebb068a0d3dd1b5cfa15c3738adf2d90b7db8b
+size 89654
diff --git a/marked/Rel-11/26_series/26273/d0abac95583b52a3b35f74a215567334_img.jpg b/marked/Rel-11/26_series/26273/d0abac95583b52a3b35f74a215567334_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6c35e22b6d20a38210e070c9f7c2be4324b69700
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/d0abac95583b52a3b35f74a215567334_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:823076eb833b990d38ac3c96fd4d34895a90605c375520c04a3ba98a3e8f019d
+size 109254
diff --git a/marked/Rel-11/26_series/26273/e6df2733626a85205c1db682e6259c46_img.jpg b/marked/Rel-11/26_series/26273/e6df2733626a85205c1db682e6259c46_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9a100a4aac2f803aa09ab42d245dc8b8baca3657
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/e6df2733626a85205c1db682e6259c46_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:11ef86a0cf8f58a93f08f56f7a6116c8193ef010db47522cd913bf7f1db56b2e
+size 83978
diff --git a/marked/Rel-11/26_series/26273/ff0952ef692c9d960ce5f6708bcc9711_img.jpg b/marked/Rel-11/26_series/26273/ff0952ef692c9d960ce5f6708bcc9711_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c6ac997227f7beb850d8ef737d0dfff7c53d6960
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/ff0952ef692c9d960ce5f6708bcc9711_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e0c0c04fd8e76a9c54724395b075966fba53164ea68a6cc7ada63b1adcf6bb04
+size 78811
diff --git a/marked/Rel-11/26_series/26273/raw.md b/marked/Rel-11/26_series/26273/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..adb3364d011f8a493dd2c859aca0d9b8bb77cae8
--- /dev/null
+++ b/marked/Rel-11/26_series/26273/raw.md
@@ -0,0 +1,955 @@
+
+
+
+
+
+
+# --- Contents
+
+| | |
+|-------------------------------------------------------------------|----|
+| Foreword ..... | 4 |
+| 1 Scope..... | 5 |
+| 2 References..... | 5 |
+| 3 Definitions and abbreviations ..... | 5 |
+| 3.1 Definitions..... | 5 |
+| 3.2 Abbreviations ..... | 5 |
+| 4 C code structure ..... | 6 |
+| 4.1 Contents of the C source code..... | 6 |
+| 4.2 Program execution..... | 6 |
+| 4.3 Code hierarchy ..... | 6 |
+| 4.5 Variables, constants and tables..... | 19 |
+| 4.5.1 Description of fixed tables used in the C-code..... | 19 |
+| 4.5.2 Static variables used in the C-code..... | 20 |
+| 5 File formats ..... | 25 |
+| 5.1 Audio file (encoder input/decoder output) ..... | 25 |
+| 5.2 Parameter bitstream file (encoder output/decoder input) ..... | 25 |
+| Annex A (informative): Change history..... | 26 |
+
+# --- Foreword
+
+This Technical Specification has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The present document contains an electronic copy of the ANSI-C code for the Fixed-point Extended Adaptive Multi-Rate Wideband codec. Alternatively, floating-point ANSI-C code is specified in 3GPP TS 26.304 [1]. The floating-point codec/encoder/decoder specified in the present document or the floating-point codec/encoder/decoder specified in 3GPP TS 26.304 [1] may be used depending on if the implementation platform is better suited for a floating-point or a fixed-point implementation. It has been verified that the fixed-point and floating-point codecs interoperate with each other without any artifacts.
+
+The fixed-point ANSI-C code in the present document defines, besides the floating-point c-code specified in 3GPP TS 26.304 [1], one valid reference implementation of the Extended Adaptive Multi-Rate Wideband transcoder (3GPP TS 26.290 [2]). Standard conformance it is enforced by meeting the conformance criteria defined in 3GPP TS 26.274 [3].
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TS 26.304: "Extended Adaptive Multi-Rate - Wideband (AMR-WB+) codec; Floating-point ANSI-C code".
+- [2] 3GPP TS 26.290: "Audio codec processing functions; Extended Adaptive Multi-Rate - Wideband (AMR-WB+) codec; Transcoding functions".
+- [3] 3GPP TS 26.274: "Speech codec speech processing functions; Extended Adaptive Multi-Rate - Wideband (AMR-WB+) speech codec; Conformance testing".
+- [4] 3GPP TS 26.244: "Transparent end-to-end packet switched streaming service (PSS); 3GPP file format (3GP)".
+
+# --- 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions are given in 3GPP TS 26.290 [1].
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the following abbreviations apply:
+
+| | |
+|---------|-----------------------------------------|
+| AMR-WB+ | Extended Adaptive Multi-Rate WideBand |
+| ANSI | American National Standards Institute |
+| ETS | European Telecommunication Standard |
+| GSM | Global System for Mobile communications |
+| I/O | Input/Output |
+| RAM | Random Access Memory |
+| ROM | Read Only Memory |
+
+# 4 C code structure
+
+This clause gives an overview of the structure of the bit-exact C code and provides an overview of the contents and organization of the C code attached to the present document.
+
+The C code has been verified on the following systems:
+
+- IBM PC/AT compatible computers with Windows 2000 SP4 and Microsoft Visual C++ v.6.0 compiler.
+
+ANSI-C was selected as the programming language because portability was desirable.
+
+## 4.1 Contents of the C source code
+
+The C code distribution has the files divided in six different directories, all present in the directory *c-code*. The directories are: *common\_fx*, *decoder\_fx*, *encoder\_fx*, *lib\_amr\_fx*, *include\_fx* and *basic\_op*. The distributed files with suffix "c" contain the source code and the files with suffix "h" are the header files.
+
+Project and workspace files are provided in the directory *MSVC*.
+
+## 4.2 Program execution
+
+The Extended Adaptive Multi-Rate Wideband codec is implemented in two programs:
+
+- (*encoder*) audio encoder;
+- (*decoder*) audio decoder.
+
+The programs should be called like:
+
+- encoder [encoder options] -if -of ;
+- decoder [decoder options] -if -of .
+
+The input files contain one or two channels of 16-bit linear encoded PCM audio samples stored in the *wav* file format and the parameter files contain encoded audio data and some additional flags.
+
+The encoder and decoder options will be explained by running the applications without input arguments. Detailed information explaining the use of the AMR-WB+ encoder and decoder programs is provided in the user's guide in Annex A of [1]. See also the file *readme.txt* for condensed information on how to run the *encoder* and *decoder* programs.
+
+## 4.3 Code hierarchy
+
+Tables 1 and 2 are call graphs that show the functions used in the audio codec.
+
+Each column represents a call level and each cell a function. The functions contain calls to the functions in rightwards neighbouring cells. The time order in the call graphs is from the top downwards as the processing of a frame advances. All standard C functions: *printf()*, *fwrite()*, etc. have been omitted. Also, no basic operations (*add()*, *L\_add()*, *mac()*, etc.) or double precision extended operations (e.g. *L\_Extract()*, *Copy()* or *Set\_zero()*) appear in the graphs. The initialization of the static RAM (i.e. calling the *\_init* functions) is also omitted.
+
+The basic operations are not counted as extending the depth, therefore the deepest level in this software is level 6.
+
+Table 1: Encoder call structure
+
+
+
+| | | | | |
+|-------------------------|--------------------|------------------|-------------|-------------|
+| coder_amrwb_plus_stereo | Scale_speech_st | | | |
+| | Rescale_enc_mem_st | Scale_sig | | |
+| | Decim_12k8_p | Interpol | | |
+| | HP50_12k8_p | | | |
+| | Mix_ch | | | |
+| | Preemph_scaled | | | |
+| | Rescale_enc_mem_st | | | |
+| | Coder_lf | AutocorrPlus | | |
+| | | Lag_window_p | | |
+| | | Levinson | | |
+| | | Az_isp | Chebps2 | |
+| | | Int_lpc | Isp_Az | Get_isp_pol |
+| | | Find_wsp | Weight_a | |
+| | | | Residu2 | |
+| | | | Deemph | |
+| | | LP_Decim2 | | |
+| | | Scale_sig | | |
+| | | scale_mem_Hp_wsp | | |
+| | | Pitch_med_ol | Hp_wsp | |
+| | | Isp_isf | | |
+| | | Qpisf_2s_46b | VQ_stage1 | |
+| | | | Sub_VQ | |
+| | | Dpisf_2s_46b | Reorder_isf | |
+
+
+
+```
+
+coder_acelp
+├── Scale_sig
+├── Residu
+├── Weight_a
+├── Syn_filt
+├── Deemph2
+├── Preemph
+├── Syn_filt_s
+├── Pitch_fr4
+│ ├── Norm_Corr
+│ │ └── Convolve
+│ └── Interpol_4
+├── Pred_lt4
+├── Convolve
+├── G_pitch
+├── Updt_tar
+├── Pit_shrp
+├── cor_h_x
+└── ACELP_4t64_fx
+ ├── cor_h_vec
+ ├── search_ixiy
+ ├── Quant_2p_2N1
+ ├── Quant_1p_N1
+ ├── Quant_3p_3N1
+ │ └── Quant_2p_2N1
+ ├── Quant_4p_4N
+ │ └── Quant_4p_4N1
+ │ └── Quant_2p_2N1
+ ├── Quant_5p_5N
+ │ └── Quant_3p_3N1
+ │ └── Quant_2p_2N1
+ └── Quant_6p_6N_2
+ ├── Quant_5p_5N
+ │ └── Quant_3p_3N1
+ │ └── Quant_2p_2N1
+ ├── Quant_4p_4N
+ │ └── Quant_4p_4N1
+ │ └── Quant_2p_2N1
+ └── Quant_3p_3N1
+ └── Quant_2p_2N1
+
+```
+
+A hierarchical tree diagram showing the structure of 'coder\_acelp'. It branches into various components like 'Scale\_sig', 'Residu', 'Weight\_a', 'Syn\_filt', 'Deemph2', 'Preemph', 'Syn\_filt\_s', 'Pitch\_fr4', 'Pred\_lt4', 'Convolve', 'G\_pitch', 'Updt\_tar', 'Pit\_shrp', 'cor\_h\_x', and 'ACELP\_4t64\_fx'. 'Pitch\_fr4' branches into 'Norm\_Corr' and 'Interpol\_4', which further lead to 'Convolve'. 'ACELP\_4t64\_fx' branches into 'cor\_h\_vec', 'search\_ixiy', 'Quant\_2p\_2N1', 'Quant\_1p\_N1', and 'Quant\_3p\_3N1'. 'Quant\_3p\_3N1' leads to 'Quant\_2p\_2N1'. 'Quant\_4p\_4N' leads to 'Quant\_4p\_4N1', which leads to 'Quant\_2p\_2N1'. 'Quant\_5p\_5N' leads to 'Quant\_3p\_3N1', which leads to 'Quant\_2p\_2N1'. 'Quant\_6p\_6N\_2' branches into 'Quant\_5p\_5N', 'Quant\_4p\_4N', and 'Quant\_3p\_3N1', which further lead to a series of 'Quant\_3p\_3N1', 'Quant\_2p\_2N1', 'Quant\_4p\_4N', 'Quant\_4p\_4N1', 'Quant\_2p\_2N1', and finally 'Quant\_2p\_2N1'.
+
+Error! No
+
+9
+
+Error! No text of specified style in
+
+| | | | | | |
+|--|--|------------------|-----------------|---------------|------------------|
+| | | | | Quant_2p_2N1 | |
+| | | | | Quant_1p_N1 | |
+| | | | Q_gain2_plus | | |
+| | | Segsnr | | | |
+| | | Coder_tcx | | | |
+| | | | Cos_window | | |
+| | | | Weight_a | | |
+| | | | Residu2 | | |
+| | | | Deemph | | |
+| | | | fft9_fx | | |
+| | | | | init_r_fft_fx | |
+| | | | | r_fft_fx | |
+| | | | FFT_reorder | | |
+| | | | Adap_low_freq_e | | |
+| | | | mph | SpPeak1k6 | |
+| | | | AVQ_Cod | | |
+| | | | | RE8_PPV_FX | |
+| | | | | | Nearest_neighbor |
+| | | | | | 2D8 |
+| | | | Scale_tcx_ifft | | |
+| | | | | Scale_sig | |
+| | | | Adap_low_freq_d | | |
+| | | | eemph | | |
+| | | | | SpPeak1k6 | |
+| | | | | Deemph1k6 | |
+| | | | lfft_reorder | | |
+| | | | lfft9_fx | | |
+| | | | | r_fft_fx | |
+| | | | Get_gain | | |
+| | | | Q_gain_tcx | | |
+| | | | Preemph | | |
+| | | | Scale_sig | | |
+| | | | Syn_filt_s | | |
+| | | Scale_speech | | | |
+| | | Rescale_enc_mem_ | | | |
+| | | hf | | | |
+| | | coder_hf | | | |
+| | | | AutocorrPlus | | |
+| | | | Lag_window_p | | |
+| | | | Levinson_p | | |
+
+
+
+```
+graph TD; Az_isp_p[Az_isp_p] --> Chebps2[Chebps2]; Int_lpc[Int_lpc] --> Isp_Az[Isp_Az]; Isp_Az --> Get_isp_pol[Get_isp_pol]; Isp_isf[Isp_isf] --> Q_isf_hf[Q_isf_hf]; Q_isf_hf --> Sub_VQ[Sub_VQ]; Q_isf_hf --> Reorder_isf[Reorder_isf]; Isf_isp[Isf_isp] --> Match_gain_6k4[Match_gain_6k4]; Match_gain_6k4 --> Residu[Residu]; Match_gain_6k4 --> Syn_filt[Syn_filt]; Match_gain_6k4 --> Scale_sig[Scale_sig]; Int_gain[Int_gain] --> Residu2[Residu2]; Int_gain --> Syn_filt_s[Syn_filt_s]; Int_gain --> E_LPC_a_weight[E_LPC_a_weight]; Int_gain --> Weight_a[Weight_a]; Int_gain --> Q_gain_hf[Q_gain_hf]; Band_split_taligned_2k[Band_split_taligned_2k] --> Decim_2k[Decim_2k]; Decim_2k --> Interpol_st1[Interpol_st]; Oversamp_2k[Oversamp_2k] --> Interpol_st2[Interpol_st]; Coder_stereo_x[Coder_stereo_x] --> Cod_hi_stereo[Cod_hi_stereo]; Cod_hi_stereo --> Residu2_2[Residu2]; Cod_hi_stereo --> Compute_exc_side[Compute_exc_side]; Cod_hi_stereo --> Compute_cross_corr_vector[Compute_cross_corr_vector]; Cod_hi_stereo --> Cholsolc[Cholsolc]; Cod_hi_stereo --> Cholsolc_repair[Cholsolc_repair]; Cod_hi_stereo --> Smooth_ener_filter[Smooth_ener_filter];
+```
+
+| | | |
+|------------------------|---------------------------|-------------|
+| Az_isp_p | Chebps2 | |
+| Int_lpc | Isp_Az | Get_isp_pol |
+| Isp_isf | Q_isf_hf | |
+| | Sub_VQ | |
+| | Reorder_isf | |
+| Isf_isp | Match_gain_6k4 | |
+| | Residu | |
+| | Syn_filt | |
+| | Scale_sig | |
+| Int_gain | Residu2 | |
+| | Syn_filt_s | |
+| | E_LPC_a_weight | |
+| | Weight_a | |
+| | Q_gain_hf | |
+| Band_split_taligned_2k | Decim_2k | |
+| | Interpol_st | |
+| Oversamp_2k | Interpol_st | |
+| Coder_stereo_x | Cod_hi_stereo | |
+| | Residu2 | |
+| | Compute_exc_side | |
+| | Compute_cross_corr_vector | |
+| | Cholsolc | |
+| | Cholsolc_repair | |
+| | Smooth_ener_filter | |
+
+A hierarchical tree diagram showing a list of functions and their sub-functions. The root node is 'Az\_isp\_p', which branches into 'Chebps2'. 'Int\_lpc' branches into 'Isp\_Az', which further branches into 'Get\_isp\_pol'. 'Isp\_isf' branches into 'Q\_isf\_hf', which branches into 'Sub\_VQ' and 'Reorder\_isf'. 'Isf\_isp' branches into 'Match\_gain\_6k4', which branches into 'Residu', 'Syn\_filt', and 'Scale\_sig'. 'Int\_gain' branches into 'Residu2', 'Syn\_filt\_s', 'E\_LPC\_a\_weight', 'Weight\_a', and 'Q\_gain\_hf'. 'Band\_split\_taligned\_2k' branches into 'Decim\_2k', which branches into 'Interpol\_st'. 'Oversamp\_2k' also branches into 'Interpol\_st'. 'Coder\_stereo\_x' branches into 'Cod\_hi\_stereo', which branches into 'Residu2', 'Compute\_exc\_side', 'Compute\_cross\_corr\_vector', 'Cholsolc', 'Cholsolc\_repair', and 'Smooth\_ener\_filter'.
+
+Error! No
+
+11
+
+Error! No text of specified style in
+
+
+
+```
+graph TD; subgraph Quant_Filt [quant_filt]; Fir_filt; Compute_gain_match; Quant_gain; end; Pmsvq2[Pmsvq2] --> Msvq2[Msvq2]; Msvq2 --> M_cbcod[M_cbcod]; subgraph Cod_tcx_stereo [Cod_tcx_stereo]; subgraph Ctcx_stereo [Ctcx_stereo]; Cos_window[Cos_window]; Windowing[Windowing]; Comp_gain_shap_cod[Comp_gain_shap_cod]; Apply_gain_shap[Apply_gain_shap]; Get_gain[Get_gain]; Q_gain_pan[Q_gain_pan]; Compute_xn_target[Compute_xn_target]; Fft3_1[Fft3]; FFT_reorder[FFT_reorder]; Adap_low_freq_emph[Adap_low_freq_emph]; AVQ_Cod[AVQ_Cod]; Scale_tcx_ifft[Scale_tcx_ifft]; Adap_low_freq_deemph[Adap_low_freq_deemph]; Ifft_reorder[Ifft_reorder]; Ifft3_1[Ifft3]; Q_gain_tcx[Q_gain_tcx]; Apply_tcx_overlap[Apply_tcx_overlap]; end; end; Segsnr[Segsnr]; Quant_Filt --> Pmsvq2; Ctcx_stereo --> Segsnr; Fft3_1 --> r_fft_fx_1[r_fft_fx]; Adap_low_freq_emph --> SpPeak1k6_1[SpPeak1k6]; AVQ_Cod --> RE8_PPV_FX[RE8_PPV_FX]; RE8_PPV_FX --> Nearest_neighbor_2D8[Nearest_neighbor_2D8]; Scale_tcx_ifft --> Scale_sig[Scale_sig]; Adap_low_freq_deemph --> SpPeak1k6_2[SpPeak1k6]; Adap_low_freq_deemph --> Deemph1k6[Deemph1k6]; Ifft3_1 --> r_fft_fx_2[r_fft_fx];
+```
+
+A hierarchical block diagram showing signal processing stages. The main block is 'Cod\_tcx\_stereo', which contains a sub-block 'Ctcx\_stereo'. 'Ctcx\_stereo' contains a sequence of blocks: 'Cos\_window', 'Windowing', 'Comp\_gain\_shap\_cod', 'Apply\_gain\_shap', 'Get\_gain', 'Q\_gain\_pan', 'Compute\_xn\_target', 'Fft3', 'FFT\_reorder', 'Adap\_low\_freq\_emph', 'AVQ\_Cod', 'Scale\_tcx\_ifft', 'Adap\_low\_freq\_deemph', 'Ifft\_reorder', 'Ifft3', 'Q\_gain\_tcx', and 'Apply\_tcx\_overlap'. 'Fft3' connects to 'r\_fft\_fx'. 'Adap\_low\_freq\_emph' connects to 'SpPeak1k6'. 'AVQ\_Cod' connects to 'RE8\_PPV\_FX', which connects to 'Nearest\_neighbor\_2D8'. 'Scale\_tcx\_ifft' connects to 'Scale\_sig'. 'Adap\_low\_freq\_deemph' connects to 'SpPeak1k6' and 'Deemph1k6'. 'Ifft3' connects to 'r\_fft\_fx'. Above 'Cod\_tcx\_stereo' is a block 'quant\_filt', which contains 'Fir\_filt', 'Compute\_gain\_match', and 'Quant\_gain'. 'quant\_filt' connects to 'Pmsvq2', which connects to 'Msvq2', which connects to 'M\_cbcod'.
+
+
+
+```
+
+graph TD
+ subgraph TopSection [ ]
+ direction TB
+ T1[Int2bin] --- T2[Enc_prm]
+ T2 --- T3[Int2bin]
+ T3 --- T4[AVQ_encmux]
+ T4 --- T5[split_idx_noovf]
+ T4 --- T6[Unpack4bits]
+ T5 --- T7[sort(avq_cod.c)]
+ T5 --- T8[RE8_cod]
+ T7 --- T9[RE8_vor]
+ T8 --- T9
+ T9 --- T10[RE8_compute_base_index]
+ T9 --- T11[RE8_identify_absolute]
+ T11 --- T12[Leader]
+ T11 --- T13[RE8_coord]
+ T13 --- T14[RE8_k2y]
+ T14 --- T15[RE8_PPV_FX]
+ T15 --- T16[Nearest_neighbor_2D8]
+ T10 --- T17[RE8_compute_rank_of_permutation_and_s]
+ T7 --- T18[calc_bits]
+ T18 --- T19[writ_all_nq]
+ T18 --- T20[writ_all_i]
+ T19 --- T21[calc_bits]
+ T20 --- T22[init_pos_i_ovf]
+ T20 --- T23[chk_ovf]
+ T20 --- T24[writ_l]
+ T20 --- T25[writ_k]
+ T20 --- T26[writ_ovf]
+ T23 --- T27[chk_ovf]
+ T6 --- T28[Int2bin]
+ end
+
+ subgraph BottomSection [ ]
+ direction TB
+ B1[Enc_prm_stereo_x] --- B2[lint2bin]
+ B1 --- B3[AVQ_encmux]
+ B3 --- B4[split_idx_noovf]
+ B4 --- B5[sort(avq_cod.c)]
+ B4 --- B6[RE8_cod]
+ B6 --- B7[RE8_vor]
+ B7 --- B8[re8_identify_absolute]
+ B8 --- B9[Leader]
+ B8 --- B10[olute]
+ end
+
+```
+
+A hierarchical block diagram showing signal processing stages. It starts with 'Int2bin' and 'Enc\_prm' leading to 'AVQ\_encmux', which then branches into 'split\_idx\_noovf' and 'Unpack4bits'. 'split\_idx\_noovf' leads to 'sort(avq\_cod.c)' and 'RE8\_cod', which further lead to 'RE8\_vor'. 'RE8\_vor' branches into 'RE8\_compute\_base\_index' and 'RE8\_identify\_absolute'. 'RE8\_identify\_absolute' leads to 'Leader', 'RE8\_coord', and 'RE8\_k2y'. 'RE8\_k2y' leads to 'RE8\_PPV\_FX', which leads to 'Nearest\_neighbor\_2D8'. 'RE8\_compute\_base\_index' leads to 'RE8\_compute\_rank\_of\_permutation\_and\_s'. 'sort(avq\_cod.c)' also leads to 'calc\_bits', which leads to 'writ\_all\_nq' and 'writ\_all\_i'. 'writ\_all\_nq' leads to 'calc\_bits'. 'writ\_all\_i' leads to 'init\_pos\_i\_ovf', 'chk\_ovf', 'writ\_l', 'writ\_k', and 'writ\_ovf'. 'chk\_ovf' leads to 'chk\_ovf'. 'Unpack4bits' leads to 'Int2bin'. Below this, 'Enc\_prm\_stereo\_x' leads to 'lint2bin' and 'AVQ\_encmux'. 'AVQ\_encmux' leads to 'split\_idx\_noovf', which leads to 'sort(avq\_cod.c)' and 'RE8\_cod'. 'RE8\_cod' leads to 'RE8\_vor', which leads to 're8\_identify\_absolute'. 're8\_identify\_absolute' leads to 'Leader' and 'olute'.
+
+Error! No
+
+13
+
+Error! No text of specified style in
+
+
+
+```
+graph LR; subgraph Outer [ ]; subgraph TopRight [ ]; re8_coord[re8_coord]; re8_k2y[re8_k2y]; RE8_PPV_FX[RE8_PPV_FX]; nearest_neighbor_2D8[nearest_neighbor_2D8]; end; subgraph MiddleRight [ ]; re8_compute_base_index[re8_compute_base_index]; re8_compute_rank_of_permutation_and_s[re8_compute_rank_of_permutation_and_s]; end; subgraph BottomLeft [ ]; calc_bits1[calc_bits]; writ_all_nq[writ_all_nq]; writ_all_i[writ_all_i]; init_pos_i_ovf[init_pos_i_ovf]; chk_ovf1[chk_ovf]; writ_l[writ_l]; writ_ovf[writ_ovf]; writ_k[writ_k]; end; subgraph BottomMiddle [ ]; unpack4bits_d[unpack4bits_d]; int2bin1[int2bin]; end; subgraph BottomLeft2 [ ]; Enc_prm_hf[Enc_prm_hf]; int2bin2[int2bin]; end; subgraph BottomLeft3 [ ]; calc_bits2[calc_bits]; end; subgraph BottomLeft4 [ ]; chk_ovf2[chk_ovf]; end; subgraph BottomLeft5 [ ]; int2bin3[int2bin]; end;
+```
+
+A hierarchical diagram showing nested boxes for various labels. The structure starts with a large outer box containing several nested boxes. Labels include re8\_coord, re8\_k2y, RE8\_PPV\_FX, nearest\_neighbor\_2D8, re8\_compute\_base\_index, re8\_compute\_rank\_of\_permutation\_and\_s, calc\_bits, writ\_all\_nq, writ\_all\_i, init\_pos\_i\_ovf, chk\_ovf, writ\_l, writ\_ovf, writ\_k, unpack4bits\_d, int2bin, and Enc\_prm\_hf.
+
+**Table 2: Decoder call structure**
+
+
+
+```
+
+graph TD
+ Decoder_amrwb_plus[Decoder_amrwb_plus] --> Bin2int1[Bin2int]
+ Decoder_amrwb_plus --> Dec_prm1[Dec_prm]
+ Decoder_amrwb_plus --> Dec_prm_stereo_x[Dec_prm_stereo_x]
+ Bin2int1 --> Dec_prm2[Dec_prm]
+ Dec_prm2 --> Bin2int2[Bin2int]
+ Dec_prm2 --> Pack4bits[Pack4bits]
+ Pack4bits --> Bin2int3[Bin2int]
+ Dec_prm_stereo_x --> Bin2int4[Bin2int]
+ Dec_prm_stereo_x --> Pack4bits_d[Pack4bits_d]
+ Dec_prm_stereo_x --> AVQ_Demuxdec1[AVQ_Demuxdec]
+ Bin2int4 --> Bin2int5[Bin2int]
+ Pack4bits_d --> Bin2int6[Bin2int]
+ AVQ_Demuxdec1 --> Read_all_nq[Read_all_nq]
+ AVQ_Demuxdec1 --> Read_all_i[Read_all_i]
+ AVQ_Demuxdec1 --> RE8_Dec[RE8_Dec]
+ Read_all_nq --> Read_nq[Read_nq]
+ Read_all_i --> Init_pos_i_ovf[Init_pos_i_ovf]
+ Read_all_i --> Split_n[Split_n]
+ Read_all_i --> Chk_ovf1[Chk_ovf]
+ Read_all_i --> Read_l[Read_l]
+ Read_all_i --> Read_ovf[Read_ovf]
+ Read_all_i --> Read_k[Read_k]
+ Init_pos_i_ovf --> Chk_ovf2[Chk_ovf]
+ RE8_Dec --> Re8_decode_base_index[Re8_decode_base_index]
+ RE8_Dec --> Re8_k2y[Re8_k2y]
+ RE8_Dec --> RE8_PPV_FX[RE8_PPV_FX]
+ Re8_decode_base_index --> Re8_decode_rank_of_permutation[Re8_decode_rank_of_permutation]
+ Re8_k2y --> RE8_PPV_FX
+ RE8_PPV_FX --> Nearest_neighbor_2D8[Nearest_neighbor_2D8]
+ Dec_prm_hf[Dec_prm_hf] --> Bin2int7[Bin2int]
+ Decoder_amrwb_plus_1[Decoder_amrwb_plus_1] --> Decoder_lf[Decoder_lf]
+ Decoder_lf --> Dpispf_2s_46b_2[Dpispf_2s_46b_2]
+ Decoder_lf --> Isf_isp[Isf_isp]
+ Decoder_lf --> Int_lpc[Int_lpc]
+ Decoder_lf --> decoder_tcx[decoder_tcx]
+ Dpispf_2s_46b_2 --> Reorder_isf[Reorder_isf]
+ Isf_isp --> Isp_Az[Isp_Az]
+ Int_lpc --> Isp_Az
+ Isp_Az --> Get_isp_pol[Get_isp_pol]
+ decoder_tcx --> AVQ_Demuxdec2[AVQ_Demuxdec]
+
+```
+
+A hierarchical tree diagram showing the structure of a decoder. The root node is 'Decoder\_amrwb\_plus'. It branches into 'Bin2int', 'Dec\_prm', and 'Dec\_prm\_stereo\_x'. 'Bin2int' branches into 'Dec\_prm', which further branches into 'Bin2int' and 'Pack4bits'. 'Pack4bits' branches into 'Bin2int'. 'Dec\_prm\_stereo\_x' branches into 'Bin2int', 'Pack4bits\_d', and 'AVQ\_Demuxdec'. 'Bin2int' and 'Pack4bits\_d' both branch into 'Bin2int'. 'AVQ\_Demuxdec' branches into 'Read\_all\_nq', 'Read\_all\_i', and 'RE8\_Dec'. 'Read\_all\_nq' branches into 'Read\_nq'. 'Read\_all\_i' branches into 'Init\_pos\_i\_ovf', 'Split\_n', 'Chk\_ovf', 'Read\_l', 'Read\_ovf', and 'Read\_k'. 'Init\_pos\_i\_ovf' branches into 'Chk\_ovf'. 'RE8\_Dec' branches into 'Re8\_decode\_base\_index', 'Re8\_k2y', and 'RE8\_PPV\_FX'. 'Re8\_decode\_base\_index' branches into 'Re8\_decode\_rank\_of\_permutation'. 'Re8\_k2y' branches into 'RE8\_PPV\_FX'. 'RE8\_PPV\_FX' branches into 'Nearest\_neighbor\_2D8'. 'Dec\_prm\_hf' branches into 'Bin2int'. 'Decoder\_amrwb\_plus\_1' branches into 'Decoder\_lf'. 'Decoder\_lf' branches into 'Dpispf\_2s\_46b\_2', 'Isf\_isp', 'Int\_lpc', and 'decoder\_tcx'. 'Dpispf\_2s\_46b\_2' branches into 'Reorder\_isf'. 'Isf\_isp' and 'Int\_lpc' both branch into 'Isp\_Az'. 'Isp\_Az' branches into 'Get\_isp\_pol'. 'decoder\_tcx' branches into 'AVQ\_Demuxdec'.
+
+Error! No
+
+16
+
+Error! No text of specified style in
+
+
+
+```
+graph TD; 16[16] --> Read_all_nq[Read_all_nq]; 16 --> Read_all_i[Read_all_i]; 16 --> RE8_dec[RE8_dec]; 16 --> Scale_tcx_ifft[Scale_tcx_ifft]; 16 --> NoiseFill[NoiseFill]; 16 --> Adap_low_freq_deemph[Adap_low_freq_deemph]; 16 --> Find_mpitch[Find_mpitch]; 16 --> Ifft_reorder[Ifft_reorder]; 16 --> Ifft9_fx[Ifft9_fx]; 16 --> Cos_window[Cos_window]; 16 --> D_gain_tcx[D_gain_tcx]; 16 --> Scale_mem_tcx[Scale_mem_tcx]; 16 --> Preemph[Preemph]; 16 --> Weight_a[Weight_a]; 16 --> Syn_filt_s[Syn_filt_s]; 16 --> Residu2[Residu2]; 16 --> Decoder_acelp[Decoder_acelp]; Read_all_nq --> Read_nq[Read_nq]; Read_all_i --> Init_pos_i_ovf[Init_pos_i_ovf]; Read_all_i --> Split_n[Split_n]; Read_all_i --> Chk_ovf1[Chk_ovf]; Read_all_i --> Read_l[Read_l]; Read_all_i --> Read_k[Read_k]; Read_all_i --> Read_ovf[Read_ovf]; Init_pos_i_ovf --> Chk_ovf2[Chk_ovf]; RE8_dec --> RE8_decode_base_index[RE8_decode_base_index]; RE8_dec --> RE8_k2y[RE8_k2y]; RE8_dec --> RE8_PPV_FX[RE8_PPV_FX]; RE8_decode_base_index --> RE8_decode_rank_of_permutation[RE8_decode_rank_of_permutation]; RE8_k2y --> RE8_PPV_FX; RE8_PPV_FX --> Nearest_neighbor_2D8[Nearest_neighbor_2D8]; Scale_tcx_ifft --> Scale_sig1[Scale_sig]; NoiseFill --> Rnd_ph16[Rnd_ph16]; Rnd_ph16 --> Random[Random]; Adap_low_freq_deemph --> SpPeak1k6[SpPeak1k6]; Adap_low_freq_deemph --> Deemph1k6[Deemph1k6]; Ifft9_fx --> r_fft_fx[r_fft_fx]; Scale_mem_tcx --> Scale_sig2[Scale_sig]; Decoder_acelp --> Pred_lt4[Pred_lt4]; Decoder_acelp --> DEC_ACELP_4t_64_fx[DEC_ACELP_4t_64_fx];
+```
+
+A hierarchical tree diagram showing a sequence of operations. The root node is '16'. It branches into 'Read\_all\_nq', 'Read\_all\_i', 'RE8\_dec', 'Scale\_tcx\_ifft', 'NoiseFill', 'Adap\_low\_freq\_deemph', 'Find\_mpitch', 'Ifft\_reorder', 'Ifft9\_fx', 'Cos\_window', 'D\_gain\_tcx', 'Scale\_mem\_tcx', 'Preemph', 'Weight\_a', 'Syn\_filt\_s', 'Residu2', and 'Decoder\_acelp'. 'Read\_all\_nq' branches into 'Read\_nq'. 'Read\_all\_i' branches into 'Init\_pos\_i\_ovf', 'Split\_n', 'Chk\_ovf', 'Read\_l', 'Read\_k', and 'Read\_ovf'. 'Init\_pos\_i\_ovf' branches into 'Chk\_ovf'. 'RE8\_dec' branches into 'RE8\_decode\_base\_index', 'RE8\_k2y', and 'RE8\_PPV\_FX'. 'RE8\_decode\_base\_index' branches into 'RE8\_decode\_rank\_of\_permutation'. 'RE8\_k2y' branches into 'RE8\_PPV\_FX'. 'RE8\_PPV\_FX' branches into 'Nearest\_neighbor\_2D8'. 'Scale\_tcx\_ifft' branches into 'Scale\_sig'. 'NoiseFill' branches into 'Rnd\_ph16'. 'Rnd\_ph16' branches into 'Random'. 'Adap\_low\_freq\_deemph' branches into 'SpPeak1k6' and 'Deemph1k6'. 'Ifft9\_fx' branches into 'r\_fft\_fx'. 'Scale\_mem\_tcx' branches into 'Scale\_sig'. 'Decoder\_acelp' branches into 'Pred\_lt4' and 'DEC\_ACELP\_4t\_64\_fx'.
+
+Error! No
+
+Error! No text of specified style in
+
+| | | | |
+|--|--|--|--|
+| | | | |
+|--|--|--|--|
+
+| | | |
+|--------------|------------|------------|
+| Dec_1p_N1 | | |
+| Dec_2p_2N1 | | |
+| Dec_3p_3N1 | | |
+| | Dec_2p_2N1 | |
+| | Dec_1p_N1 | |
+| Dec_4p_4N | | |
+| | Dec_4p_4N1 | |
+| | | Dec_1p_N1 |
+| | Dec_1p_N1 | |
+| | Dec_2p_2N1 | |
+| | Dec_3p_3N1 | |
+| | | Dec_2p_2N1 |
+| | | Dec_1p_N1 |
+| Dec_5p_5N | | |
+| | Dec_2p_2N1 | |
+| | Dec_3p_3N1 | |
+| | | Dec_2p_2N1 |
+| | | Dec_1p_N1 |
+| Dec_6p_6N_2 | | |
+| | Dec_1p_N1 | |
+| | Dec_2p_2N1 | |
+| | Dec_3p_3N1 | |
+| | | Dec_2p_2N1 |
+| | | Dec_1p_N1 |
+| | Dec_4p_4N | |
+| | | Dec_4p_4N1 |
+| | | Dec_1p_N1 |
+| | Dec_5p_5N | |
+| | | Dec_2p_2N1 |
+| | | Dec_3p_3N1 |
+| | | Dec_2p_2N1 |
+| | | Dec_1p_N1 |
+| add_pulses | | |
+| Preemph | | |
+| Pit_shrp | | |
+| D_gain2_plus | | |
+| Scale_exc | | |
+| | Scale_sig | |
+| Scale_sig | | |
+| voice_factor | | |
+| Rescale_mem | | |
+| | Scale_sig | |
+| Syn_filt_s | | |
+| Weight_a | | |
+
+Error! No
+
+Error! No text of specified style in
+
+
+
+```
+
+graph LR
+ subgraph C1 [ ]
+ direction TB
+ B1[Updt_mem_q]
+ B2[Scale_mem2]
+ B3[Deemph]
+ B4[Bass_postfilter]
+ B5[Decoder_hf]
+ B6[Delay]
+ B7[Oversamp_12k8]
+ B8[Decoder_stereo_x]
+ B9[Band_split_taligne d_2k]
+ B10[Decim_2k]
+ B11[Oversamp_2k]
+ B12[Dec_tcx_stereo]
+ B13[Dtcx_stereo]
+ B14[Windowing]
+ B15[Comp_gain_sha p]
+ end
+
+ subgraph C2 [ ]
+ direction TB
+ B1 --- S1_1[Residu]
+ B1 --- S1_2[Deemph2]
+ B2 --- S2_1[Scale_sig]
+ B4 --- S4_1[Scale_sig]
+ B4 --- S4_2[Short_pitch_tracker]
+ B5 --- S5_1[D_isf_hf]
+ B5 --- S5_2[Isf_isp]
+ B5 --- S5_3[Int_lpc]
+ B5 --- S5_4[Match_gain_6k4]
+ B5 --- S5_5[Int_gain]
+ B5 --- S5_6[D_gain_chan]
+ B5 --- S5_7[D_gain_hf]
+ B5 --- S5_8[Soft_exc_hf]
+ B5 --- S5_9[Syn_filt s]
+ B5 --- S5_10[Smooth_ener_hf]
+ B7 --- S7_1[Interpol]
+ B11 --- S11_1[Oversamp_2k]
+ B11 --- S11_2[Decim_2k]
+ B12 --- S12_1[Dtcx_stereo]
+ B12 --- S12_2[Windowing]
+ B12 --- S12_3[Comp_gain_sha p]
+ end
+
+ subgraph C3 [ ]
+ direction TB
+ S5_1 --- S5_1_1[Reorder_isf]
+ S5_3 --- S5_3_1[Isp_Az]
+ S5_3_1 --- S5_3_1_1[Get_isp_pol]
+ S5_4 --- S5_4_1[Residu]
+ S5_4 --- S5_4_2[Syn_filt]
+ S5_4 --- S5_4_3[Scale_sig]
+ S10 --- S10_1[Interpol_st]
+ S11_1 --- S11_1_1[Interpol_st]
+ S13 --- S13_1[Cos_window]
+ S13 --- S13_2[Scale_tcx_ifft]
+ S14 --- S14_1[Scale_sig]
+ end
+
+```
+
+A hierarchical block diagram showing signal processing stages. The diagram is organized into three vertical columns. The first column lists the main processing blocks. The second column lists sub-blocks or parameters within each main block. The third column lists further sub-blocks or parameters for the sub-blocks in the second column. The main blocks are: Updt\_mem\_q, Scale\_mem2, Deemph, Bass\_postfilter, Decoder\_hf, Delay, Oversamp\_12k8, Decoder\_stereo\_x, Band\_split\_taligne d\_2k, Decim\_2k, Oversamp\_2k, Dec\_tcx\_stereo, Dtcx\_stereo, Windowing, Comp\_gain\_sha p. Sub-blocks include: Residu, Deemph2, Scale\_sig, Short\_pitch\_tracker, D\_isf\_hf, Reorder\_isf, Isf\_isp, Int\_lpc, Isp\_Az, Get\_isp\_pol, Match\_gain\_6k4, Syn\_filt, Int\_gain, D\_gain\_chan, D\_gain\_hf, Soft\_exc\_hf, Smooth\_ener\_hf, Interpol, Interpol\_st, Cos\_window, Scale\_tcx\_ifft.
+
+Error! No
+
+19
+
+Error! No text of specified style in
+
+
+
+| | | | | | |
+|-----------------------|--------------------------------------------------|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|--|
+| Dec_hi_stereo | Get_alpha Ch_sep | | adap_lo_freq_de emph Ifft_reorder Ifft3 Balance D_gain_tcx Apply_xnq_gain 2 Apply_wien_filt Crosscorr_2 Glev_s Apply_tcx_overlap | SpPeak1k6 | |
+| | | | | Deemph1k6 | |
+| | | | | | |
+| | | | | ifft_rel | |
+| | | | | | |
+| | | Dec_filt Dec_gain Residu | | D_Balance | |
+| | | | | | |
+| | | | | | |
+| | | | | | |
+| | | | | | |
+| | Fir_filt Get_exc_win Get_exc Syn_filt_s | | | | |
+| | | | | | |
+| | | | | | |
+| | | | | | |
+| | | | | | |
+| Delay Band_join_2k | Interpol_st | | | | |
+| HP50_12k8 | | | | | |
+| Oversamp_12k8 | Interpol | | | | |
+
+## 4.5 Variables, constants and tables
+
+The data types of variables and tables used in the fixed point implementation are signed integers in 2's complement representation, defined by:
+
+- **Word16** 16 bit variable;
+- **Word32** 32 bit variable.
+
+### 4.5.1 Description of fixed tables used in the C-code
+
+This clause contains a listing of all fixed tables sorted by source file name and table name. All table data is declared as **Word16**.
+
+**Table 3: Encoder fixed tables**
+
+| Format | Table name | Size | Description | Format |
+|--------|-----------------------|------|----------------------------------------------------|----------|
+| Word16 | MonoRate | 54 | Predefined mono rate | Q6/Q0/Q0 |
+| Word16 | StereoRate | 81 | Predefined stereo rate | Q6/Q0/Q0 |
+| Word16 | NBITS_CORE_AMR_WB_FX | 9 | miMode_fx AMR WB Core bits | Q0 |
+| Word16 | miMode_fx | 48 | Stereo Mode Index | Q0 |
+| Word16 | isfIndex_fx | 14 | Internal sampling Frequency | Q0 |
+| Word16 | NBITS_CORE_FX | 8 | Core bit-rates | Q0 |
+| Word16 | t_sinFxs4 | 1440 | FFT Sine&Cos table | Q13 |
+| Word16 | Filter_32k | 61 | FIR table for decimation/oversampling | Q13 |
+| Word16 | Filter_32k_hf | 61 | FIR table for decimation/oversampling | Q13 |
+| Word16 | Filter_32k_7k | 61 | FIR table for decimation/oversampling | Q13 |
+| Word16 | Filter_48k | 185 | FIR table for decimation/oversampling | Q13 |
+| Word16 | Filter_48k_hf | 185 | FIR table for decimation/oversampling | Q13 |
+| Word16 | Filter_8k | 61 | FIR table for decimation/oversampling | Q13 |
+| Word16 | lsf_init | 16 | Initial ISF memory | |
+| Word16 | lsp_init | 16 | Initial ISP memory | Q15 |
+| Word16 | lsp_init_HF | 8 | HF Initial ISP memory | Q15 |
+| Word16 | Mean_isf | 16 | Means of ISFs | |
+| Word16 | Dico1_isf | 2304 | 1 st stage codebook, isf0 to isf8 | |
+| Word16 | Dico2_isf | 1792 | 1 st stage codebook, isf9 to isf15 | |
+| Word16 | Dico21_isf | 192 | 2 nd stage codebook, isf2_0 to isf2_2 | |
+| Word16 | Dico22_isf | 384 | 2 nd stage codebook, isf2_3 to isf2_5 | |
+| Word16 | Dico23_isf | 384 | 2 nd stage codebook, isf2_6 to isf2_8 | |
+| Word16 | Dico24_isf | 96 | 2 nd stage codebook, isf2_9 to isf2_11 | |
+| Word16 | Dico25_isf | 128 | 2 nd stage codebook, isf2_12 to isf2_15 | |
+| Word16 | Dico21_isf_36b | 640 | 1 st stage codebook, (36b) split 1 | |
+| Word16 | Dico22_isf_36b | 512 | 1 st stage codebook, (36b) split 2 | |
+| Word16 | Dico23_isf_36b | 448 | 1 st stage codebook, (36b) split 3 | |
+| Word16 | Dico_gain_hf | 512 | Quantization table for one-stage HF gain | Q8 |
+| Word16 | Mean_isf_hf_12k8 | 8 | Means of ISFs (full band) | |
+| Word16 | Dico1_isf_hf_12k8 | 32 | 1 st stage isf codebook (full band) | |
+| Word16 | Mean_isf_hf_low_rate | 8 | Means of isfs | |
+| Word16 | Dico1_isf_hf_low_rate | 32 | 1 st stage isf codebook | |
+| Word16 | Dico2_isf_hf | 1024 | 2 nd stage isf codebook | |
+| Word16 | Filt_lp | 13 | Low-pass fir filter for bass post filter | Q15 |
+| Word16 | Sin20 | 20 | Random phase | Q15 |
+| Word16 | Inter4_2 | 128 | 1/4 resolution interpolation filter | Q14 |
+| Word16 | VadFiltBandFreqs | 12 | Open-loop classifier | Q0 |
+| Word16 | Bw_inv | 12 | Open-loop classifier | Q22 |
+| Word16 | Lwg | 8 | Open-loop classifier | Q15 |
+| Word16 | Gain_hf_ramp | 64 | HF gain ramp for wb->wb+ switching | Q15 |
+| Word16 | Inter2_coef | 12 | Filter coefficients for band join/split | Q13 |
+| Word16 | Filter_LP180 | 2341 | Filter for 48 kHz interpolation | Q14 |
+| Word16 | StereoNbts_FX | 18 | Stereo bit-rates | Q0 |
+| Word16 | Filter_2k_fxQ14_32 | 321 | 2k decimation filter | Q14 |
+| Word16 | Filter_2k_fxQ14_5 | 321 | 2k decimation filter | Q14 |
+
+| Format | Table name | Size | Description | Format |
+|------------------|------------------------|------|------------------------------------|---------|
+| Word16 | cb_filt_hi_mean_fx | 9 | Average filter | Q14 |
+| Word16 | Filt_hi_mscb_4a_fx | 16*9 | | Q14 |
+| Word16 | Filt_hi_mscb_7a_fx | 16*9 | | Q14 |
+| Word16 | Filt_hi_mscb_7b_fx | 8*9 | | Q14 |
+| Word16 | Cb_gain_hi_mean_fx | 2 | Average gain vector | Q10 |
+| Word16 | Gain_hi_mscb_2a_fx | 4*2 | | Q10 |
+| Word16 | Gain_hi_mscb_5a_fx | 32*2 | | Q10 |
+| Word16 | Dico1_isf_hf_high_rate | 32 | 1 st stage isf codebook | |
+| Word16 | Mean_isf_hf_high_rate | 8 | Means of isfs | |
+| Word16 | Filter_LP45 | 586 | Filter for 48 kHz interpolation | Q14 |
+| Word16 | t_qua_gain6b | 128 | Gain pitch and gain code | Q14/Q11 |
+| Word16 | | | | Q14/Q11 |
+| t_qua_gai n7b | t_qua_gain7b | 256 | Gain pitch and gain code | |
+| Word16 | Overlap_wind | 63 | Overlap window | Q15 |
+| Word16 | Cos_wind | 128 | Cos window | Q15 |
+| Word16 | Cos_wind_LR | 224 | Cos_window (Low rate) | Q15 |
+| Word16 | TXV | 31 | Arctan piece table | Q15 |
+| Word16 | Len_tbl | 6 | Inverse length | Q15 |
+| Word16 | interpol_frac4 | 4 | Interpolation Window 4 sub-frame | Q15 |
+| Word16 | interpol_frac8 | 8 | Interpolation Window 8 sub-frame | Q15 |
+| Word16 | interpol_frac16 | 16 | Interpolation Window 16 sub-frame | Q15 |
+| Word16 | size_filt_hi_msvq_4_fx | 16 | Stereo param | |
+| Word16 | *cbs_filt_hi_msvq_4_fx | 16 | Stereo param | |
+| PMSQ_fx | filt_hi_pmsvq4_fx | | | |
+| Word16 | size_filt_hi_msvq_7_fx | 16 | Stereo param | |
+| Word16 | *cbs_filt_hi_msvq_7_fx | 16 | Stereo param | |
+| PMSQ_fx | filt_hi_pmsvq7_fx | | | |
+| Word16 | Size_gain_hi_msvq_2_fx | 16 | Stereo param | |
+| Word16 | *cbs_gain_hi_msvq_2_fx | 16 | Stereo param | |
+| PMSQ_fx | gain_hi_pmsvq2_fx | | | |
+| Word16 | size_gain_hi_msvq_5_fx | 16 | Stereo param | |
+| Word16 | *cbs_gain_hi_msvq_5_fx | 16 | Stereo param | |
+| PMSQ_fx | gain_hi_pmsvq5_fx | | | |
+
+Table 4: Decoder fixed tables
+
+| Format | Table name | Size | Description |
+|--------|-----------------|------|-------------|
+| | Same as encoder | | |
+
+### 4.5.2 Static variables used in the C-code
+
+In this clause two tables that specify the static variables for the encoder and decoder respectively are shown. All static variables are declared within a C **struct**.
+
+**Table 6: Encoder static variables**
+
+| Struct name | Type | Variable | Type[Length] | Description |
+|---------------------|------------------|---------------------------|--------------|-----------------------------------|
+| Coder_StState_fx | Word16 | mem_decim | 1608 | speech decimated filter memory |
+| | Word16 | decim_frac | 1 | Fractional decimation factor |
+| | Word16 | mem_sig_in | 6 | hp filter memory |
+| | Word16 | mem_preemph | 1 | speech preemphasis filter mem |
+| | Word16 | mem_decim_hf | 46 | HF filter memory |
+| | Word16 | old_speech_hf | 528 | HF old speech vector |
+| | Word16 | past_q_isf_hf | 8 | HF past quantized isf |
+| | Word16 | ispold_hf | 8 | HF old isp |
+| | Word16 | ispold_q_hf | 8 | HF quantized old isp |
+| | Word16 | old_gain; | 1 | HF old gain match |
+| | Word16 | mem_hf1 | 8 | HF memory for gain 1 |
+| | Word16 | mem_hf2 | 8 | HF memory for gain 2 |
+| | Word16 | mem_hf3 | 8 | HF memory for gain 3 |
+| | Word16 | old_exc | 375 | old excitation |
+| | Word16 | Q_sp_hf | 1 | Scaling hf speech |
+| | Word16 | OldQ_sp_hf | 2 | old scaling hf speech |
+| | Word16* | mean_isf_hf | 1 | isf codebook mean |
+| | Word16* | dico1_isf_hf | 1 | isf codebook first stage |
+| Coder_State_Plus_fx | | | | |
+| | Coder_StState_fx | Left | 2617 | state for left channel |
+| | Coder_StState_fx | Right | 2617 | state for right channel |
+| | Word16 | old_chan | 528 | old left signal |
+| | Word16 | old_chan_2k | 140 | old left signal 2 kHz sampl. rate |
+| | Word16 | old_chan_hi | 448 | old left signal HB |
+| | Word16 | old_speech_2k | 140 | old mono signal 2 kHz sampl. rate |
+| | Word16 | old_speech_hi | 448 | old mono signal HB |
+| | Word16 | old_speech_pe | 528 | past pre-emphasised mono |
+| | Word16 | old_wh | 9 | past weighted filter |
+| | Word16 | old_wh_q | 9 | past quantized weighted filter |
+| | Word16 | old_gm_gain | 2 | past gain matching |
+| | Word16 | old_exc_mono | 9 | past mono excitation |
+| | Word16 | filt_energy_thre shold | 1 | filter energy threshold |
+| | Word16 | w_window | 64 | weighting window |
+| | PMSVQ_fx* | *filt_hi_pmsvq | 1 | MSVQ quantizer |
+| | PMSVQ_fx* | *gain_hi_pmsvq | 1 | MSVQ quantizer |
+| | Word16 | mem_stereo_ov lp_size | 1 | past stereo overlap size |
+| | Word16 | mem_stereo_ov lp | 32 | past stereo overlap |
+| | NCLASSDATA | *stClass | 1 | use case B classifier |
+| | VadVars | *vadSt | 1 | VAD state |
+| | Word16 | vad_hist | 1 | VAD history |
+| | Word16 | old_speech | 528 | old speech |
+| | Word16 | old_synth | 16 | synthesis memory |
+| | Word16 | past_isfq | 16 | past isf quantizer |
+| | Word16 | old_wovlp | 128 | last tcx overlap |
+| | Word16 | old_d_wsp | 187 | Weighted speech vector |
+| | Word16 | old_exc | 392 | old excitation vector |
+| | Word16 | old_mem_wsyn | 1 | weighted synthesis memory |
+| | Word16 | old_mem_w0 | 1 | weighted speech memory |
+| | Word16 | old_mem_xnq | 1 | quantized target memory |
+| | Word16 | old_ovlp_size | 1 | last tcx overlap size |
+| | Word16 | lsfold | 16 | old isf frequency domain |
+| | Word16 | lspold | 16 | old isp |
+| | Word16 | ispold_q | 16 | quantized old isp |
+| | Word16 | mem_wsp | 1 | wsp vector mem |
+| | Word16 | mem_lp_decim 2 | 3 | wsp decimator filter mem |
+
+| Struct name | Type | Variable | Type[Length] | Description |
+|----------------|--------|--------------------|--------------|---------------------------------------|
+| | Word16 | ada_w | 1 | open loop LTP |
+| | Word16 | ol_gain | 1 | open loop LTP |
+| | Word16 | ol_wght_flg | 1 | open loop LTP |
+| | Word16 | old_ol_lag | 5 | past openloop lag |
+| | Word16 | old_T0_med | 1 | past pitch |
+| | Word16 | hp_ol_wsp | 699 | past HP weighted speech |
+| | Word16 | hp_ol_ltp_mem | 9 | past HP openloop long term prediction |
+| | Word16 | window | 512 | LP analysis window |
+| | Word16 | SwitchFlagPlusToWB | 1 | flag for switching to AMR-WB |
+| | Word16 | mem_gain_code | 4 | past code gain |
+| | Word16 | prev_mod | 1 | past frame type |
+| | Word16 | Q_sp | 1 | Scaling of speech |
+| | Word16 | OldQ_sp | 1 | Old scaling of speech |
+| | Word16 | i_offset | 1 | |
+| | Word16 | pit_max | 1 | Mem of pit_max |
+| | Word16 | lev_mem | 18 | Levinson durbin memory |
+| | Word16 | old_wsp_max | 4 | Weight speech scaling memory |
+| | Word16 | old_wsp_shift | 1 | limit dynamic at 12 bits |
+| | Word16 | scale_fac | 1 | scaling factor (preemph speech) |
+| | Word16 | Q_new | 1 | scaling factor of speech |
+| | Word16 | Q_max | 2 | Q_new limitation |
+| | Word16 | OldQ_sp_deci | 2 | Q_new memory |
+| | Word16 | Q_exc | 1 | excitation scaling |
+| | Word16 | Old_Qexc | 1 | excitation scaling memory |
+| | Word16 | LastQMode | 1 | Last subfr mode (acelp/tcx) |
+| Encoder Config | | | | |
+| | Word16 | mode | 1 | AMR_WB core mode: 0..8 |
+| | Word16 | extension | 1 | 0=AMRWB, 1=WB+ |
+| | Word16 | st_mode | 1 | stereo mode |
+| | Word16 | fscale | 1 | frequency scaling |
+| | Word16 | use_case_mode | 1 | use case (for AMRWB+ only) |
+| | Word16 | allow_dtx | 1 | dtx (for AMRWB only) |
+| | Word16 | FileFormat | 1 | 3gp or raw |
+| | Word16 | mode_index | 1 | index of wb+ mode used |
+| | Word16 | fscale_index | 1 | index of internal frequency sampling |
+| | Word16 | bc | 1 | Backward compatible file format |
+
+#### **Table 7: Decoder static variables**
+
+| Struct name | Type | Variable | Type[Length] | Description |
+|--------------------|-----------------|-------------------------|--------------|------------------------------------------------------------------------|
+| Decoder_StState | | | | |
+| | Word16 | wmem_oversamp | 72 | Memory oversampling |
+| | Word16 | wover_frac | 1 | Fractional overlocking factor |
+| | Word16 | wmem_oversamp_hf | 24 | memory |
+| | Word16 | wpast_q_isf_hf | 8 | HF past quantized isf |
+| | Word16 | wpast_q_isf_hf_ot_her | 8 | HF past quantized isf for the other channel when mono decoding stereo |
+| | Word16 | wpast_q_gain_hf | 1 | HF past quantized gain |
+| | Word16 | wpast_q_gain_hf_other | 1 | HF past quantized gain for the other channel when mono decoding stereo |
+| | Word16 | wold_gain | 1 | HF old gain match |
+| | Word16 | wispold_hf | 8 | HF old isp |
+| | Word32 | Lthreshold; | 1 | HF memory for smooth ener |
+| | Word16 | wmem_syn_hf | 8 | HF synthesis memory |
+| | Word16 | mem_d_tcx_fx | 96 | delay compensation memory |
+| | Word16 | wmem_d_nonc | 64 | Non causality delay |
+| | Word16 | mem_synth_hi | 16 | High band sunthesis memory |
+| | Word16 | wmem_sig_out | 6 | hp filter memory |
+| | Word16 | wold_synth_hf | 512 | synch delay memory |
+| | Word32 | Lp_amp | 1 | memory for soft exc |
+| | Word16* | mean_isf_hf | 1 | isf codebook mean |
+| | Word16* | dico1_isf_hf | 1 | isf codebook first stage |
+| | Word16 | Q_synHF | 1 | scaling of hf synth |
+| Decoder_State_Plus | | | | |
+| | Decoder_StState | left | 833 | State for left channel |
+| | Decoder_StState | right | 833 | State for right channel |
+| | Word16 | mem_left_2k_fx | 20 | 2kHz memory on left chan |
+| | Word16 | mem_right_2k_fx | 20 | 2kHz memory on right chan |
+| | Word16 | mem_left_hi_fx | 64 | HB memory left channel |
+| | Word16 | mem_right_hi_fx | 64 | HB memory right channel |
+| | Word16 | my_old_synth_2k_fx | 35 | old 2kHz synthesis |
+| | Word16 | my_old_synth_hi_f_x | 128 | old HB synthesis |
+| | Word16 | my_old_synth_fx | 148 | old stereo synth |
+| | Word16 | old_AqLF_fx | 85 | old quantized LPC |
+| | Word16 | old_wh_fx | 9 | old decoded filter |
+| | Word16 | old_wh2_fx | 9 | old decoded filter 2 |
+| | Word16 | old_exc_mono_fx | 9 | old mono excitation |
+| | Word16 | old_gain_left_fx | 4 | old gain on left chan |
+| | Word16 | old_gain_right_fx | 4 | old gain on right chan |
+| | Word16 | old_wh_q_fx | 9 | past quantized filter |
+| | Word16 | old_gm_gain_fx | 2 | past gain matching |
+| | Word16 | W_window | 64 | weighted synthesis window |
+| | PMSVQ | *filt_hi_pmsvq_fx | 1 | past MSVQ filter |
+| | PMSVQ | *gain_hi_pmsvq_fx | 1 | past MSVQ gain |
+| | Word16 | mem_stereo_ovlp_size_fx | 1 | past stereo overlap size |
+| | Word16 | mem_stereo_ovlp_fx | 32 | past stereo overlap |
+| | Word16 | last_stereo_mode | 1 | past stereo mode |
+| | Word16 | side_rms_fx | 1 | side signal RMS |
+| | Word16 | H_fx | 9 | current filter |
+| | Word16 | wold_xri | 1 148 | old spectral coefficeints |
+| | Word16 | last_mode | 1 | last mode in previous 80ms frame |
+| | Word16 | wmem_sig_out | 6 | hp50 filter memory for synthesis |
+| | Word16 | wmem_deemph | 1 | speech deemph filter memory |
+| | Word16 | prev_lpc_lost | 1 | previous lpc is lost when = 1 |
+| | Word16 | wold_synth | 16 | synthesis memory |
+| | Word16 | wold_exc | 392 | old excitation vector |
+| | Word16 | wisfold | 16 | old isf (frequency domain) |
+| | Word16 | wispold | 16 | old isp (immittance spectral pairs) |
+| | Word16 | wpast_isfq | 16 | past isf quantizer |
+
+| Struct name | Type | Variable | Type[Length] | Description |
+|---------------|--------|-----------------|--------------|-----------------------------------------|
+| | Word16 | wovlp | 128 | last weighted synthesis for overlap |
+| | Word16 | ovlp_size | 1 | overlap size |
+| | Word16 | wisf_buf | 51 | old isf (for frame recovery) |
+| | Word16 | wold_T0 | 1 | old pitch value (for frame recovery) |
+| | Word16 | wold_T0_frac | 1 | old pitch value (for frame recovery) |
+| | Word16 | seed_ace | 1 | seed memory (for random function) |
+| | Word16 | wmem_wsyn | 1 | TCX synthesis memory |
+| | Word16 | seed_tcx | 1 | seed memory (for random function) |
+| | Word16 | wwsyn_rms | 1 | rms value of weighted synthesis |
+| | Word16 | wpast_gp1t | 1 | past gain of pitch (for frame recovery) |
+| | Word32 | Lpast_gcode | 1 | past gain of code (for frame recovery) |
+| | Word16 | pitch_tcx | 1 | for bfi |
+| | Word32 | L_gc_threshold | 1 | GC threshold |
+| | Word16 | wold_synth_pf | 503 | Bass post-filter: old synthesis |
+| | Word16 | wold_noise_pf | 24 | bass post-filter: noise memory |
+| | Word16 | wold_T_pf | 2 | bass post-filter: old pitch |
+| | Word16 | wold_gain_pf | 2 | Bass post-filter: old pitch gain |
+| | Word16 | *mean_isf_hf | 1 | HF isf codebook in-use |
+| | Word16 | *dico1_isf_hf | 1 | HF isf codebook in-use |
+| | Word16 | wmem_gain_code | 4 | past code gain |
+| | Word16 | wmem_lpc_hf | 9 | past HF lpc filter |
+| | Word16 | wmem_gain_hf | 1 | past HF gain |
+| | Word16 | wramp_state | 1 | ramp state |
+| | Word16 | cp_old_synth | 16 | old synthesis switching memory |
+| | Word16 | Q_old | 1 | Old scaling |
+| | Word16 | Q_exc | 1 | excitation scaling |
+| | Word16 | Q_syn | 1 | synthesis scaling |
+| | Word16 | Old_Q_syn | 1 | Old synthesis scaling |
+| | Word16 | Old_Q_exc | 1 | Old excitation scaling |
+| | Word16 | prev_Q_syn | 1 | Limitation on synthesis scaling |
+| | Word16 | mem_syn2 | 16 | Switching synthesis memory |
+| | Word16 | Old_Qxnq | 1 | Old xnq scaling |
+| | Word16 | Old_QxnqMax | 1 | Old maximum xnq scaling |
+| | Word16 | Old_Qxri | 1 | Old xri scaling |
+| | Word16 | Old_bpf_scale | 1 | noise buf scaling |
+| | Word16 | mem_subfr_q | 7 | subfr maximum excitation scaling |
+| | Word16 | old_subfr_q | 16 | subfr true excitation scaling |
+| | Word16 | old_syn_q | 16 | subfr true synthesis scaling |
+| | Word16 | i_offset | 1 | offset memory |
+| DecoderConfig | | | | |
+| | Word16 | mode | 1 | AMR_WB core modes |
+| | Word16 | extension | 1 | 0 = AMR_WB 1 = WB+ |
+| | Word16 | st_mode | 1 | Stereo modes |
+| | Word16 | fscale | 1 | Internal Frequency scaling |
+| | Word32 | fs | 1 | Sampling rate |
+| | Word32 | mono_dec_stereo | 1 | decode mono a stereo bitstream |
+| | Word32 | limiter_on | 1 | Limite clipping |
+| | Word16 | Fileformat | 1 | File format used (raw/3gpp) |
+| | Word16 | fer_sim | 1 | Frame erasure simulation |
+
+# --- 5 File formats
+
+This clause describes the file formats used by the encoder and decoder programs.
+
+## 5.1 Audio file (encoder input/decoder output)
+
+Audio files read by the encoder must be formatted as 16 bits PCM wave (\*.wav) files. The decoder output is written as a 16 bit PCM wave file (\*.wav).
+
+Note that the decoder, with proper command line switch, can produce a mono file from a stereo bit-stream.
+
+## 5.2 Parameter bitstream file (encoder output/decoder input)
+
+For AMR-WB+ operation, the files produced by the audio encoder/expected by the audio decoder are either according to the raw format defined in 3GPP TS 26.290 [2], clause 8.2, or according to the 3GP file format (3GPP TS 26.244 [4]), whereby the storage sample definition is found in 3GPP TS 26.290 [2], clause 8.3.
+
+# Annex A (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|---------|-----------|------|-----|----------------------------------------------------------------------------------------------------------|--------|--------|
+| Date | TSG SA# | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2005-03 | 27 | SP-050083 | | | Approved at TSG SA#27 Plenary | 2.0.0 | 6.0.0 |
+| 2005-06 | 28 | SP-050252 | 001 | | Prevent an access outside a buffer when simulating frame erasures | 6.0.0 | 6.1.0 |
+| 2005-06 | 28 | SP-050252 | 002 | 1 | Remove unused code | 6.0.0 | 6.1.0 |
+| 2005-06 | 28 | SP-050252 | 003 | | Remove IF2 header in AMR-WB bitstream | 6.0.0 | 6.1.0 |
+| 2005-06 | 28 | SP-050252 | 004 | | Prevent an access outside a buffer in Reconst_spect function | 6.0.0 | 6.1.0 |
+| 2005-06 | 28 | SP-050252 | 005 | | Decoder synchronization after frame erasures | 6.0.0 | 6.1.0 |
+| 2005-06 | 28 | SP-050252 | 006 | | Correction of mode switching using configuration file | 6.0.0 | 6.1.0 |
+| 2005-06 | 28 | SP-050252 | 007 | | Prevent encoding end of wave file information | 6.0.0 | 6.1.0 |
+| 2005-06 | 28 | SP-050252 | 008 | | Correction of library function for 3GP file format | 6.0.0 | 6.1.0 |
+| 2005-06 | 28 | SP-050252 | 009 | | Support for input files with sampling frequency other than 48 kHz | 6.0.0 | 6.1.0 |
+| 2005-09 | 29 | SP-050425 | 0010 | | Correction to frame erasure concealment | 6.1.0 | 6.2.0 |
+| 2005-09 | 29 | SP-050425 | 0011 | | Correction to threshold value in bandwidth extension | 6.1.0 | 6.2.0 |
+| 2005-09 | 29 | SP-050425 | 0012 | | Removal of copyright statements and unused files | 6.1.0 | 6.2.0 |
+| 2005-12 | 30 | SP-050785 | 0013 | | Correction to scaling of decimation filter memory | 6.2.0 | 6.3.0 |
+| 2006-03 | 31 | SP-060012 | 0014 | | Correction to end-of-file logic and initialisation in AMR-WB modes | 6.3.0 | 6.4.0 |
+| 2006-03 | 31 | SP-060012 | 0015 | | Correction to unnecessary look ahead in encoder | 6.3.0 | 6.4.0 |
+| 2006-03 | 31 | SP-060012 | 0016 | | Correction to memory initialization and memory overwrite when switching between AMR-WB and AMR-WB+ modes | 6.3.0 | 6.4.0 |
+| 2006-06 | 32 | SP-060353 | 0017 | | Correction to switching between AMR-WB and AMR-WB+ modes | 6.4.0 | 6.5.0 |
+| 2006-06 | 32 | SP-060353 | 0018 | | Correction to default stereo codec configurations | 6.4.0 | 6.5.0 |
+| 2007-03 | 35 | SP-070029 | 0019 | | Reference to users guide | 6.5.0 | 7.0.0 |
+| 2008-12 | 42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26274/raw.md b/marked/Rel-11/26_series/26274/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..119ab31da8d52ab3597110b662a572bf16196358
--- /dev/null
+++ b/marked/Rel-11/26_series/26274/raw.md
@@ -0,0 +1,571 @@
+
+
+
+
+
+
+# Contents ---
+
+| | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----|
+| Foreword ....................................................................................................................................................................... | 4 |
+| 1 Scope................................................................................................................................................................... | 5 |
+| 2 References........................................................................................................................................................... | 5 |
+| 3 Definitions and abbreviations ............................................................................................................................. | 5 |
+| 3.1 Definitions................................................................................................................................................... | 5 |
+| 3.2 Abbreviations ............................................................................................................................................. | 5 |
+| 4 General................................................................................................................................................................ | 6 |
+| 5 Conformance....................................................................................................................................................... | 6 |
+| 5.1 Bit-exactness ............................................................................................................................................... | 7 |
+| 5.2 Objective quality measures ......................................................................................................................... | 8 |
+| 5.2.1 Encoder................................................................................................................................................... | 8 |
+| 5.2.1.1 AMR-WB mode compliance with DTX disabled........................................................................... | 9 |
+| 5.2.1.2 AMR-WB mode compliance with DTX enabled ............................................................................ | 9 |
+| 5.2.1.3 ACELP mode compliance ............................................................................................................... | 9 |
+| 5.2.1.4 TCX-256 mode compliance............................................................................................................. | 9 |
+| 5.2.1.5 TCX-512 mode compliance........................................................................................................... | 10 |
+| 5.2.1.6 TCX-1024 mode compliance......................................................................................................... | 10 |
+| 5.2.1.7 ACELP/TCX switching compliance.............................................................................................. | 10 |
+| 5.2.1.8 ACELP/TCX open-loop mode selection compliance ................................................................... | 11 |
+| 5.2.1.9 Stereo operation compliance.......................................................................................................... | 11 |
+| 5.2.1.10 Mode switching operation compliance ........................................................................................ | 12 |
+| 5.2.1.11 Overall mono compliance............................................................................................................ | 13 |
+| 5.2.2 Decoder................................................................................................................................................... | 13 |
+| 5.2.2.1 AMR-WB mode compliance with DTX disabled......................................................................... | 14 |
+| 5.2.2.2 AMR-WB mode compliance with DTX enabled .......................................................................... | 14 |
+| 5.2.2.3 Extension mode compliance in mono operation without frame erasures ..................................... | 14 |
+| 5.2.2.4 Extension mode compliance in mono operation with frame erasures .......................................... | 14 |
+| 5.2.2.5 Extension mode compliance in stereo operation without frame erasures...................................... | 15 |
+| 5.2.2.6 Extension mode compliance in stereo operation with frame erasures........................................... | 15 |
+| 5.2.2.7 Extension mode compliance in stereo to mono downmixing operation without frame erasures ......... | 15 |
+| 5.2.2.8 Extension mode compliance in stereo to mono downmixing operation with frame erasures ............ | 16 |
+| 5.2.3 Additional objective criteria (valid for both fixed- and floating point versions) ................................. | 16 |
+| 5.3 Subjective conformance testing ................................................................................................................. | 17 |
+
+| | | |
+|-----------------------------|--------------------------------------------------------------------------------------------------|-----------|
+| Annex A (normative): | Codec test sequences for bit exact testing of AMR-WB+ ................................... | 18 |
+|-----------------------------|--------------------------------------------------------------------------------------------------|-----------|
+
+| | | |
+|-----------------------------|--------------------------------------------------------------------------------------------------|-----------|
+| Annex B (normative): | Codec test sequences for objective testing of AMR-WB+ ................................... | 19 |
+|-----------------------------|--------------------------------------------------------------------------------------------------|-----------|
+
+| | | |
+|------------------------|---------------------------------------------------------------------------------------------------------------------------|----|
+| Annex C (informative): | Change history........................................................................................................... | 20 |
+|------------------------|---------------------------------------------------------------------------------------------------------------------------|----|
+
+# --- Foreword
+
+This Technical Specification has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The present document specifies test procedures and digital test sequences to be used for conformance testing of implementations of the Extended Adaptive Multi-Rate Wideband (AMR-WB+) codec.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+ - For a specific reference, subsequent revisions do not apply.
+ - For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+- [1] 3GPP TS 26.290: "Audio codec processing functions; Extended Adaptive Multi-Rate - Wideband (AMR-WB+) codec; Transcoding functions".
+- [2] 3GPP TS 26.304: - "Extended Adaptive Multi-Rate - Wideband (AMR-WB+) codec; Floating-point ANSI-C code".
+- [3] 3GPP TS 26.273: "ANSI-C code for the fixed-point Extended Adaptive Multi-Rate - Wideband (AMR-WB+) speech codec".
+- [4] ITU-R Recommendation BS.1387-1: "Method for objective measurements of perceived audio quality".
+- [5] 3GPP TS 26.204: "ANSI-C code for the floating-point Adaptive Multi-Rate - Wideband (AMR-W) speech codec".
+- [6] 3GPP TS 26.174: "AMR speech codec, wideband; Test sequences".
+
+# --- 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in 3GPP TS 26.290 [1], 3GPP TS 26.304 [2] and 3GPP TS 26.273 [3] apply.
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the following abbreviations apply:
+
+| | |
+|---------|------------------------------------------|
+| ACELP | Algebraic Code Excited Linear Prediction |
+| AMR | Adaptive Multi-Rate |
+| AMR-WB | Adaptive Multi-Rate Wideband |
+| AMR-WB+ | Extended Adaptive Multi-Rate Wideband |
+| CELP | Code Excited Linear Prediction |
+| ODG | Objective Difference Grade |
+| PEAQ | Perceptual Evaluation of Audio Quality |
+| TCX | Transform coded excitation |
+| WB | Wideband |
+
+# --- 4 General
+
+Test procedures and test sequences are necessary to test for correct implementations of the Extended Adaptive Multi-Rate Wideband (AMR-WB+) codec.
+
+Clause 5 explains the procedure for conformance testing and the detailed requirements.
+
+Annex A and B explain the digital test sequences and scripts to be executed for conformance testing of AMR-WB+ codec implementations. The test sequences and scripts are attached to the present document.
+
+# --- 5 Conformance
+
+Conformance testing of fixed-point encoder and decoder is done by showing bit-exactness to the fixed-point reference C-code implementation (given in 3GPP TS 26.273 [3]) or by meeting a set of minimum objective performance requirements by means of objective measures or by subjective testing.
+
+The bit-exact approach should be preferred over applying objective and subjective measures if it can be achieved without undue penalty on computational complexity.
+
+Conformance may also be concluded by subjective tests, in which performance not worse than that of the reference codec (given in 3GPP TS 26.273 [3]) is achieved. Details are given in clause 5.3.
+
+Floating-point implementations of encoder or decoder should be done by utilizing (compiling) the reference floating-point source code in specification (see 3GPP TS 26.304 [2]). In addition, as the exact behaviour of executables derived from floating-point code may depend on the platform onto which it was compiled, for implementations used in mobile equipment the objective measures shall be used for verification that minimum objective performance requirements are met. For floating-point implementations, which are not used in mobile equipment the usage of the objective measures is recommended.
+
+Conformance may also be concluded by subjective tests, in which performance not worse than that of the reference codec (see 3GPP TS 26.304 [2]) is achieved. Details are given in clause 5.3.
+
+The minimum performance requirements (objective and subjective measures) are the same for all implementations (fixed- and floating-point).
+
+If an implementor chooses to implement only mono encoder functionality, then conformance of only this functionality shall be tested. As above, conformance shall be shown by applying the bit-exact approach (fixed-point encoders), or by applying objective measures, or by subjective testing.
+
+Although the details of encoder and decoder implementation conformance testing depends on the comparison criteria given in sections 5.1 to 5.3, the following generic procedures applies for testing.
+
+A generic procedure for encoder implementation conformance testing is that the reference decoder decodes the output of implemented encoder and the resulting audio file is compared against the audio file got when the reference decoder decodes the output of reference encoder.
+
+A generic procedure for decoder implementation conformance testing is that the implemented decoder decodes the output of reference encoder and the resulting audio file is compared against the audio file got when the reference decoder decodes the output of reference encoder.
+
+The conformance requirements are summarised in the below table.
+
+| | Fixed-point | Floating-point |
+|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Encoder* | One of the following requirements must be met:
bit-exactness to the fixed-point reference C-code (given in TS 26.273) shall be shown as explained in Clause 5.1 using the test sequences included in Annex A,
or
the set of minimum objective performance requirements shall be met as explained in Clause 5.2 using the test sequences included in Annex B,
or
the set of minimum subjective performance requirements shall be met as explained in Clause 5.3.
The bit-exact approach should be preferred over applying objective or subjective measures if it can be achieved without undue penalty on computational complexity.
| The reference floating-point source code (given in TS 26.304) shall be used (compiled).
In addition:
For implementations used in mobile equipment:
the set of minimum objective performance requirements shall be met as explained in Clause 5.2 using the test sequences included in Annex B,
or
the set of minimum subjective performance requirements shall be met as explained in Clause 5.3.
For implementations not used in mobile equipment:
the set of minimum objective performance requirements should be met as explained in Clause 5.2 using the test sequences included in Annex B,
or
the set of minimum subjective performance requirements should be met as explained in Clause 5.3.
|
+| Decoder | Same as for the fixed-point encoder | Same as for the floating-point encoder |
+
+\*) If an implementor chooses to implement only mono encoder functionality, then conformance of only this functionality shall be tested.
+
+## 5.1 Bit-exactness
+
+The implementor should choose the bit-exact approach for fixed-point encoder/decoder implementations. For fixed-point encoder and decoder implementations, test sequences are used for conformance testing. The test sequences consist of reference input audio files and corresponding reference encoder and decoder outputs. To meet the bit exact criterion all test sequences must give bit-exact result to the reference fixed-point C-code of 3GPP TS 26.273 [3]. The procedure is to run the encoder and decoder and check that the output (bit stream from encoder and decoded audio) is identical to the reference. Decoder only implementation conformance is checked using the reference encoder output and the reference decoder output test vectors. The test sequences are described in Annex A.
+
+For the floating-point encoder and decoder implementations, executables should be derived by directly compiling the reference source code in the floating-point codec specification 3GPP TS 26.304 [2]. Even though in that case the floating-point source code is identical to the reference code, different compilers and platforms may result in non bit-exact variations in the bit-streams produced by the encoder and decoder. Hence, in order to check for conformance of such implementations in mobile equipment the objective or subjective criteria given below shall be met. For other floating-point implementations, which are not used in mobile equipment the objective or subjective criteria given below should be tested and met.
+
+## 5.2 Objective quality measures
+
+Objective measures are used for testing the fulfilment of minimum performance requirements. These measures are the same for all implementations (fixed- and floating-point). Objective criteria used are PEAQ-ODG [4], wsegSNR and other statistics.
+
+### 5.2.1 Encoder
+
+Conformance of encoder implementations is tested with “white-box” tests, which make use of specific structural knowledge of the AMR-WB+ codec. The tests verify the operation of various encoder parts, modules or modes such that when all tests are passed conformance can be concluded for the complete encoder implementation. Tests of the following codec parts/modules/modes must be passed in order to conclude conformance:
+
+| Test # | Mode | Module/Part | Reference configuration | Criterion |
+|-----------|--------------------------------------------------------------------|---------------------------------------|----------------------------------|------------------------------------------------------------------------------------------|
+| 1.0 – 1.8 | MI=0.8; DTX disabled | All | 26.273 encoder 26.273 decoder | All AMR-WB modes of AMR-WB+ are required to behave bit exactly to the FIP reference code |
+| 2.0 – 2.8 | MI=0.8; DTX enabled | All | 26.273 encoder 26.273 decoder | All AMR-WB modes of AMR-WB+ are required to behave bit exactly to the FIP reference code |
+| 3.0 – 3.2 | MI = 23; ISF = 0.5, 1, 1.5; Mono operation | ACELP | 26.304 encoder | Weighted SNR |
+| 4.0 – 4.2 | MI = 23; ISF = 0.5, 1, 1.5; Mono operation | TCX-256 | 26.304 encoder | Weighted SNR |
+| 5.0 – 5.2 | MI = 23; ISF = 0.5, 1, 1.5; Mono operation | TCX-512 | 26.304 encoder | Weighted SNR |
+| 6.0 – 6.2 | MI = 23; ISF = 0.5, 1, 1.5; Mono operation | TCX-1024 | 26.304 encoder | Weighted SNR |
+| 7.0-7.3 | MI = 23 ISF = 0.5, 1.0, 1.5 Mono operation | ACELP/TCX | 26.304 encoder | Weighted SNR |
+| 8.0 | MI = 23; ISF = 1; Mono operation Low complexity operation | ACELP/TCX open-loop mode selection | 26.304 encoder 26.273 decoder | Relative number of identical mode selection |
+| 9.0 – 9.2 | MI = 26, 38, 47; ISF = 1.0; Stereo operation | Low-band stereo | 26.304 encoder 26.273 decoder | PEAQ-ODG |
+| 9.3 – 9.5 | MI = 26, 38, 47; ISF = 1.0; Stereo operation | Mid-band stereo | 26.304 encoder 26.273 decoder | PEAQ-ODG |
+| 10.0 | Switched mode operation controlled with configuration file | ACELP/TCX TCX/BWE/Stereo | 26.304 encoder 26.273 decoder | Weighted SNR PEAQ-ODG |
+| 11 | MI = 23 ISF = 1.0 Mono operation | TCX+BWE | 26.304 encoder 26.304 decoder | PEAQ-ODG |
+
+#### 5.2.1.1 AMR-WB mode compliance with DTX disabled
+
+All AMR-WB modes of AMR-WB+ are required to behave bit exactly to the FIP reference code. The implementation should comply with the test vectors given in Annex B.
+
+#### 5.2.1.2 AMR-WB mode compliance with DTX enabled
+
+All AMR-WB modes of AMR-WB+ are required to behave bit exactly to the FIP reference code. The implementation should comply with the test vectors given in Annex B.
+
+#### 5.2.1.3 ACELP mode compliance
+
+ACELP mode compliance is tested in an encoder configuration where the reference configuration is using the floating-point encoder according to 3GPP TS 26.304 [2] and the test configuration is composed of the encoder implementation to be verified.
+
+The test is run in forced-mode operation where the mode selection is disabled and the encoder is forced to ACELP mode. The compliance is tested by means of comparing the weighted segmental SNR (wsegSNR) resulting from both reference and test encoders. To that purpose, a modified instance of the reference encoder is used, which allows operation only in ACELP mode. This is accomplished by compiling the encoder applying a corresponding code patch (Annex B). Further, the function `segsnr()` is used to compute the wsegSNR. The test encoder implementation operated in a test mode, is modified in the same manner (forced to ACELP mode and enabled to compute wsegSNR).
+
+This setup is used for all items out of the test set (Annex B) and all configurations given in the following table.
+
+| Test # | Encoder command line |
+|--------|----------------------|
+| 3.0 | (MI=23, ISF=0.5) |
+| 3.1 | (MI=23, ISF=1.0) |
+| 3.2 | (MI=23, ISF=1.5) |
+
+ACELP mode compliance can be concluded if in each of the test configurations in above table.
+
+- For no item a wsegSNR degradation of more than 2% is observed.
+- No more than 2% of frames shall have a wsegSNR more than 4 dB lower than the reference.
+
+#### 5.2.1.4 TCX-256 mode compliance
+
+TCX-256 mode compliance is tested in an encoder configuration where the reference configuration is using the floating-point encoder according to 3GPP TS 26.304 [2] and the test configuration is composed of the fixed-point encoder implementation to be verified.
+
+The test is run in forced-mode operation where the mode selection is disabled and the encoder is forced to TCX-256 mode. The compliance is tested by means of comparing the weighted segmental SNR (wsegSNR) resulting from both reference and test encoders. To that purpose, a modified instance of the reference encoder is used, which allows operation only in TCX-256 mode. This is accomplished by compiling the encoder applying a corresponding code patch (Annex B). Further, the function `segsnr()` is used to compute the wsegSNR. The test encoder implementation operated in a test mode, is modified in the same manner (forced to TCX-256 mode and enabled to compute wsegSNR).
+
+This setup is used for all items out of the test set (Annex B) and all configurations given in the following table.
+
+| Test # | Encoder command line |
+|--------|----------------------|
+| 4.0 | (MI=23, ISF=0.5) |
+| 4.1 | (MI=23, ISF=1.0) |
+| 4.2 | (MI=23, ISF=1.5) |
+
+TCX-256 mode compliance can be concluded if in each of the test configurations in above table
+
+- For no item a wsegSNR degradation of more than 1% is observed.
+- No more than 2% of frames shall have a wsegSNR more than 4 dB lower than the reference.
+
+#### 5.2.1.5 TCX-512 mode compliance
+
+TCX-512 mode compliance is tested in an encoder configuration where the reference configuration is using the floating-point encoder according to 3GPP TS 26.304 [2] and the test configuration is composed of the fixed-point encoder implementation to be verified.
+
+The test is run in forced-mode operation where the mode selection is disabled and the encoder is forced to TCX-512 mode. The compliance is tested by means of comparing the weighted segmental SNR (wsegSNR) resulting from both reference and test encoders. To that purpose, a modified instance of the reference encoder is used, which allows operation only in TCX-512 mode. This is accomplished by compiling the encoder applying a corresponding code patch (Annex B). Further, the function segsnr() is used to compute the wsegSNR. The test encoder implementation operated in a test mode, is modified in the same manner (forced to TCX-512 mode and enabled to compute wsegSNR).
+
+This setup is used for all items out of the test set (Annex B) and all configurations given in the following table.
+
+| Test # | Encoder command line |
+|--------|----------------------|
+| 5.0 | (MI=23, ISF=0.5) |
+| 5.1 | (MI=23, ISF=1.0) |
+| 5.2 | (MI=23, ISF=1.5) |
+
+TCX-512 mode compliance can be concluded if in each of the test configurations in above table.
+
+- For no item a wsegSNR degradation of more than 1% is observed.
+- No more than 2% of frames shall have a wsegSNR more than 4 dB lower than the reference.
+
+#### 5.2.1.6 TCX-1024 mode compliance
+
+TCX-1024 mode compliance is tested in an encoder configuration where the reference configuration is using the floating-point encoder according to 3GPP TS 26.304 [2] and the test configuration is composed of the encoder implementation to be verified.
+
+The test is run in forced-mode operation where the mode selection is disabled and the encoder is forced to TCX-1024 mode. The compliance is tested by means of comparing the weighted segmental SNR (wsegSNR) resulting from both reference and test encoders. To that purpose, a modified instance of the reference encoder is used, which allows operation only in TCX-1024 mode. This is accomplished by compiling the encoder applying a corresponding code patch (Annex B). Further, the function segsnr() is used to compute the wsegSNR. The test encoder implementation operated in a test mode, is modified in the same manner (forced to TCX-1024 mode and enabled to compute wsegSNR).
+
+This setup is used for all items out of the test set (Annex B) and all configurations given in the following table.
+
+| Test # | Encoder command line |
+|--------|----------------------|
+| 6.0 | (MI=23, ISF=0.5) |
+| 6.1 | (MI=23, ISF=1.0) |
+| 6.2 | (MI=23, ISF=1.5) |
+
+TCX-1024 mode compliance can be concluded if in each of the test configurations in above table.
+
+- For no item a wsegSNR degradation of more than 1% is observed.
+- No more than 2% of frames shall have a wsegSNR more than 4 dB lower than the reference.
+
+#### 5.2.1.7 ACELP/TCX switching compliance
+
+Compliance of switching between ACELP and TCX modes is tested in an encoder configuration where the reference configuration is using the floating-point encoder according to 3GPP TS 26.304 [2] and the test configuration is composed of the fixed-point encoder implementation to be verified.
+
+The test is run in free-mode operation where the closed-loop mode selection is used. The compliance is tested by means of comparing the weighted segmental SNR (wsegSNR) resulting from both reference and test encoders. To that purpose, a modified instance of the reference encoder is used, which allows the computation of the wsegSNR. This is accomplished by compiling the encoder applying a corresponding code patch (Annex B). The test encoder implementation operated in a test mode, which allows forcing the mode usage to the saved mode selections of the reference encoder and computing the wsegSNR.
+
+This setup is used for all items out of the test set (Annex B) and all configurations given in the following table.
+
+| Test # | Encoder command line |
+|--------|----------------------|
+| 7.0 | (MI=23, ISF=0.5) |
+| 7.1 | (MI=23, ISF=1.0) |
+| 7.2 | (MI=23, ISF=1.5) |
+
+ACELP/TCX switching compliance can be concluded if in each of the test configurations in above table
+
+- For no item a wsegSNR degradation of more than 1% is observed.
+- No more than 2% of frames shall have a wsegSNR more than 4 dB lower than the reference.
+
+#### 5.2.1.8 ACELP/TCX open-loop mode selection compliance
+
+Correct ACELP/TCX selection for the signal content (speech vs. music) has a major impact in overall quality. Therefore, the algorithm selection has a specific conformance rule. The open-loop classification of the fixed-point encoder is tested comparing the ACELP/TCX selection. The reference source code in 3GPP TS 26.273 [3] contains functionality to output the coding mode selection. The MODE\_SELECTION\_CONFORMANCE needs to be defined in “cod\_main\_p\_fx.c”. The outcome is that the reference encoder produces a file called “mode\_selection.dat.” The file contains in ASCII format the ACELP/TCX selection (ACELP = 0 and TCX = 1).
+
+The conformance criterion $P$ is calculated as follows:
+
+$$P = \frac{N - \sum_{i=1}^N (|S_r(i) - S_i(i)|)}{N}$$
+
+Where $N$ is the number of frames, $S_r(i)$ and $S_i(i)$ are the ACELP/TCX selection output vector for reference and implemented encoder, respectively.
+
+Mode selection outputs are created running the reference and implemented fixed-point encoders with the test vectors. Since the bit-rate or the number of channels does not affect the open-loop classification, a test using only mono encoding with one bit rate is sufficient.
+
+This setup is used for all items out of the test set (Annex B) and the configuration given in the following table.
+
+| Test # | Encoder command line |
+|--------|----------------------|
+| 8.0 | (MI=23, ISF=1.0) |
+
+The fixed-point encoder open-loop classification is compliant to the specification when $0.99 \leq P \leq 1.00$ .
+
+#### 5.2.1.9 Stereo operation compliance
+
+Stereo operation conformance is tested in an encoder – decoder configuration where the reference configuration is using the floating-point encoder and the fixed-point decoder according to 3GPP TS 26.304 [2] and 3GPP TS 26.273 [3], respectively. The test configuration (codec in test) is composed of the encoder in test (EiT) and the fixed-point decoder according to 3GPP TS 26.273 [3].
+
+Two sets of tests of the stereo operation are defined using the described configuration, one testing the low-band stereo operation and one testing the mid-band stereo. Common for these tests is that for the codec in test they apply an approach where the bit streams of the reference encoder and the encoder in test are merged before decoding. Specifically, the part of the bit stream generated by EiT belonging to the specific operation is merged into the bit stream of the reference encoder, thereby replacing the corresponding part generated by the reference encoder. The output files produced by reference configuration and such way composed test configurations are then compared using PEAQ [4].
+
+For the test of the low-band stereo the bit stream is composed by using the bit groups corresponding to low-band stereo from the EiT and the rest from the reference encoder.
+
+This setup is used for all items out of the test set (Annex B) and all configurations given in the following table.
+
+| Test # | Encoder command line |
+|--------|----------------------|
+| 9.0 | (MI=26, ISF=1.0) |
+| 9.1 | (MI=38, ISF=1.0) |
+| 9.2 | (MI=47, ISF=1.0) |
+
+Low-band stereo operation compliance can be concluded if in each of the test configurations in above table.
+
+- For no item a PEAQ-ODG deviation of less than -0.2 is observed.
+- The mean of the PEAQ-ODG deviation scores is not below -0.05.
+
+For the test of the mid-band stereo the bit stream is composed by using the bit groups corresponding to mid-band stereo from the EiT and the rest from the reference encoder. In addition EiT operation must be modified such that the EiT uses the states of the anti-dithering logic of the reference encoder. This is accomplished by compiling the encoder applying a corresponding code patch (Annex B).
+
+This setup is used for all items out of the test set (Annex B) and all configurations given in the following table.
+
+| Test # | Encoder command line |
+|--------|----------------------|
+| 9.3 | (MI=26, ISF=1.0) |
+| 9.4 | (MI=38, ISF=1.0) |
+| 9.5 | (MI=47, ISF=1.0) |
+
+Mid-band stereo operation compliance can be concluded if in each of the test configurations in above table.
+
+- For no item a PEAQ-ODG deviation of less than -0.2 is observed.
+- The mean of the PEAQ-ODG deviation scores is not below -0.05.
+
+#### 5.2.1.10 Mode switching operation compliance
+
+Compliance of switching the bit rate and ISF is tested in an encoder configuration where the reference configuration is using the floating-point encoder according to 3GPP TS 26.304 [2] and the test configuration is composed of the fixed-point encoder implementation to be verified.
+
+The test is run in an operation using three configuration files in mono operation where in the first configuration the ISF is changed from 0.5 to 1.5 at fixed FT=23, in the second configuration the FT is changed from 16 to 23 at fixed ISF=1.0, and the third configuration both FT and ISF are changed. The compliance is tested by means of comparing the weighted segmental SNR (wsegSNR) resulting from both reference and test encoders. To that purpose, a modified instance of the reference encoder is used, which allows the computation of the wsegSNR. This is accomplished by compiling the encoder applying a corresponding code patch (Annex B). The test encoder implementation should be patched similarly to allow computing the wsegSNR.
+
+This setup is used for all items out of the test set (Annex B) and all configurations given in the following table.
+
+| Test # | Encoder command line |
+|--------|-------------------------------|
+| 10.0 | Config file switch_fs.txt |
+| 10.1 | Config file switch_mode.txt |
+| 10.2 | Config file switch_allcat.txt |
+
+Switching compliance can be concluded if in each of the test configurations in above table.
+
+- For no item a wsegSNR degradation of more than 1% is observed.
+
+#### 5.2.1.11 Overall mono compliance
+
+Mono operation compliance (including bandwidth extension) is tested in an encoder – decoder configuration where the reference configuration is using the floating-point encoder and the floating-point decoder according to 3GPP TS 26.304 [2]. The test configuration is composed of the fixed-point encoder implementation to be verified and the floating-point decoder according to 3GPP TS 26.304 [2].
+
+In order to make the testing independent of possible deviations of ACELP/TCX it is run in forced-mode operation. To that purpose, a modified instance of the reference encoder is used, which merely operates in TCX modes and which prohibit ACELP mode use, and which allows for tracing TCX mode selection. This is accomplished by compiling the encoder applying a corresponding code patch (Annex B). The test encoder implementation should be operable in a test mode, which allows forcing the TCX mode usage to the saved mode selections of the reference encoder. The output files produced in reference and test configuration are then both compared to the original input signal by means of measuring the PEAQ ODG. Then the absolute value of the difference of both PEAQ ODGs is computed and used for checking compliance.
+
+This setup is used for all items out of the test set (Annex B) and the configuration given in the following table.
+
+| Test # | Encoder command line |
+|--------|----------------------|
+| 11.0 | (MI=23, ISF=1.0) |
+
+Overall mono compliance can be concluded if in the test configuration in above table
+
+- For no item an absolute PEAQ-ODG difference of more than -0.1 is observed
+- The mean of the PEAQ-ODG difference scores is not greater than 0.01.
+
+### 5.2.2 Decoder
+
+Conformance of decoder implementations is tested with “black-box” tests. Such tests verify the output of the given decoder implementation against the output of the reference decoder (see 3GPP TS 26.273 [3]) for certain input test vectors and various codec operation modes and bit rates. The following tests must be passed in order to conclude conformance:
+
+| Test # | Encoder operation | Decoder condition | Reference configuration | Criterion |
+|-----------|----------------------------------|----------------------------------------|----------------------------------|------------------------------------------------------------------------------------------|
+| 1.0 – 1.8 | MI=0.8; DTX disabled | Without frame erasures | 26.304 encoder 26.273 decoder | All AMR-WB modes of AMR-WB+ are required to behave bit exactly to the FIP reference code |
+| 2.0 – 2.8 | MI=0.8; DTX enabled | Without frame erasures | 26.304 encoder 26.273 decoder | All AMR-WB modes of AMR-WB+ are required to behave bit exactly to the FIP reference code |
+| 3.0 – 3.7 | All mono rates, Various ISFs | Without frame erasures | 26.304 encoder 26.273 decoder | PEAQ-ODG |
+| 4.0 – 4.7 | All mono rates, Various ISFs | With frame erasures | 26.304 encoder 26.273 decoder | PEAQ-ODG |
+| 5.0 – 5.2 | Rate = 14, 24, 48 kbps Stereo | Without frame erasures | 26.304 encoder 26.273 decoder | PEAQ-ODG |
+| 6.0 – 6.2 | Rate = 14, 24, 48 kbps Stereo | With frame erasures | 26.304 encoder 26.273 decoder | PEAQ-ODG |
+| 7.0 – 7.2 | Rate = 14, 24, 48 kbps Stereo | Without frame erasures; Mono output | 26.304 encoder 26.273 decoder | PEAQ-ODG |
+| 8.0 – 8.2 | Rate = 14, 24, 48 kbps Stereo | With frame erasures; Mono output | 26.304 encoder 26.273 decoder | PEAQ-ODG |
+
+#### 5.2.2.1 AMR-WB mode compliance with DTX disabled
+
+All AMR-WB modes of AMR-WB+ are required to behave bit exactly to the FIP reference code. The implementation shall comply with the test vectors given in Annex B.
+
+#### 5.2.2.2 AMR-WB mode compliance with DTX enabled
+
+All AMR-WB modes of AMR-WB+ are required to behave bit exactly to the FIP reference code. The implementation shall comply with the test vectors given in Annex B.
+
+#### 5.2.2.3 Extension mode compliance in mono operation without frame erasures
+
+Compliance is tested in an encoder – decoder configuration where the reference configuration is using the floating-point encoder and the fixed-point decoder according to 3GPP TS 26.304 [2] and 3GPP TS 26.273 [3], respectively. The test configuration is composed of the floating-point encoder according to 3GPP TS 26.304 [2] and the fixed-point decoder implementation to be verified.
+
+The output files produced in reference and test configuration are compared using PEAQ.
+
+The following table list the tests to be carried out for all items of the test set (Annex B).
+
+| Test # | Encoder command line options | Decoder command line options |
+|--------|------------------------------|------------------------------|
+| 3.0 | -mi 19 -isf 0.9375 | None |
+| 3.1 | -mi 20 -isf 1 | None |
+| 3.2 | -mi 21 -isf 1.125 | None |
+| 3.3 | -mi 22 -isf 1.33333 | None |
+| 3.4 | -mi 23 -isf 1.5 | None |
+
+Compliance can be concluded if in each of the tests in above table.
+
+- For no item a PEAQ-ODG deviation of less than -0.2 is observed.
+- The mean of the PEAQ-ODG deviation scores is not below -0.05.
+
+#### 5.2.2.4 Extension mode compliance in mono operation with frame erasures
+
+Compliance is tested in an encoder – decoder configuration where the reference configuration is using the floating-point encoder and the fixed-point decoder according to 3GPP TS 26.304 [2] and 3GPP TS 26.273 [3], respectively. The test configuration is composed of the floating-point encoder according to 3GPP TS 26.304 [2] and the fixed-point decoder implementation to be verified.
+
+The output files produced in reference and test configuration are compared using PEAQ.
+
+The following table list the tests to be carried out for all items of the test vector set (TBA).
+
+| Test # | Encoder command line options | Decoder command line options |
+|--------|------------------------------|------------------------------|
+| 4.0 | -mi 19 -isf 0.9375 | None |
+| 4.1 | -mi 20 -isf 1 | None |
+| 4.2 | -mi 21 -isf 1.125 | None |
+| 4.3 | -mi 22 -isf 1.33333 | None |
+| 4.4 | -mi 23 -isf 1.5 | None |
+
+The ferfile to be used is part of the test vector set (Annex B) and simulates a random frame loss of 10 %.
+
+Compliance can be concluded if in each of the tests in above table.
+
+- For no item a PEAQ-ODG deviation of less than -0.2 is observed.
+- The mean of the PEAQ-ODG deviation scores is not below -0.05.
+
+#### 5.2.2.5 Extension mode compliance in stereo operation without frame erasures
+
+Compliance is tested in an encoder – decoder configuration where the reference configuration is using the floating-point encoder and the fixed-point decoder according to 3GPP TS 26.304 [2] and 3GPP TS 26.273 [3], respectively. The test configuration is composed of the floating-point encoder according to 3GPP TS 26.304 [2] and the fixed-point decoder implementation to be verified.
+
+The output files produced in reference and test configuration are compared using PEAQ.
+
+The following table list the tests to be carried out for all items of the test set (Annex B).
+
+| Test # | Encoder command line options | Decoder command line options |
+|--------|------------------------------|------------------------------|
+| 5.0 | -rate 14 | None |
+| 5.1 | -rate 24 | None |
+| 5.2 | -rate 48 | None |
+
+Compliance can be concluded if in each of the tests in above table.
+
+- For no item a PEAQ-ODG deviation of less than -0.2 is observed.
+- The mean of the PEAQ-ODG deviation scores is not below -0.05.
+
+#### 5.2.2.6 Extension mode compliance in stereo operation with frame erasures
+
+Compliance is tested in an encoder – decoder configuration where the reference configuration is using the floating-point encoder and the fixed-point decoder according to 3GPP TS 26.304 [2] and 3GPP TS 26.273 [3], respectively. The test configuration is composed of the floating-point encoder according to 3GPP TS 26.304 [2] and the fixed-point decoder implementation to be verified.
+
+The output files produced in reference and test configuration are compared using PEAQ.
+
+The following table list the tests to be carried out for all items of the test vector set (Annex B).
+
+| Test # | Encoder command line options | Decoder command line options |
+|--------|------------------------------|------------------------------|
+| 6.0 | -rate 12 | -fer ferfile |
+| 6.1 | -rate 24 | -fer ferfile |
+| 6.2 | -rate 36 | -fer ferfile |
+
+The ferfile to be used is part of the test vector set (Annex B) and simulates a random frame loss of 10%.
+
+Compliance can be concluded if in each of the tests in above table.
+
+- For no item a PEAQ-ODG deviation of less than -0.2 is observed.
+- The mean of the PEAQ-ODG deviation scores is not below -0.075.
+
+#### 5.2.2.7 Extension mode compliance in stereo to mono downmixing operation without frame erasures
+
+Compliance is tested in an encoder – decoder configuration where the reference configuration is using the floating-point encoder and the fixed-point decoder according to 3GPP TS 26.304 [2] and 3GPP TS 26.273 [3], respectively. The test configuration is composed of the floating-point encoder according to 3GPP TS 26.304 [2] and the fixed-point decoder implementation to be verified.
+
+The output files produced in reference and test configuration are compared using PEAQ.
+
+The following table list the tests to be carried out for all items of the test set (Annex B).
+
+| Test # | Encoder command line options | Decoder command line options |
+|--------|------------------------------|------------------------------|
+| 7.0 | -rate 14 | -mono |
+| 7.1 | -rate 24 | -mono |
+| 7.2 | -rate 48 | -mono |
+
+Compliance can be concluded if in each of the tests in above table.
+
+- For no item a PEAQ-ODG deviation of less than -0.2 is observed.
+- The mean of the PEAQ-ODG deviation scores is not below -0.05.
+
+#### 5.2.2.8 Extension mode compliance in stereo to mono downmixing operation with frame erasures
+
+Compliance is tested in an encoder – decoder configuration where the reference configuration is using the floating-point encoder and the fixed-point decoder according to 3GPP TS 26.304 [2] and 3GPP TS 26.273 [3], respectively. The test configuration is composed of the floating-point encoder according to 3GPP TS 26.304 [2] and the fixed-point decoder implementation to be verified.
+
+The output files produced in reference and test configuration are compared using PEAQ.
+
+The following table list the tests to be carried out for all items of the test vector set (Annex B).
+
+| Test # | Encoder command line options | Decoder command line options |
+|--------|------------------------------|------------------------------|
+| 8.0 | -rate 12 | -fer ferfile -mono |
+| 8.1 | -rate 24 | -fer ferfile -mono |
+| 8.2 | -rate 36 | -fer ferfile -mono |
+
+The ferfile to be used is part of the test vector set (Annex B) and simulates a random frame loss of 10%.
+
+Compliance can be concluded if in each of the tests in above table.
+
+- For no item a PEAQ-ODG deviation of less than -0.2 is observed.
+- The mean of the PEAQ-ODG deviation scores is not below -0.05.
+
+### 5.2.3 Additional objective criteria (valid for both fixed- and floating point versions)
+
+- If the mobile equipment requires 16 kHz or 8 kHz output sampling rate, then the decoder implementation shall be able to provide 16 or 8 kHz output sampling rate, respectively.
+- If the mobile equipment requires mono output, then the decoder implementation shall be able to provide mono output when the input bit stream is stereo. Conformance is verified applying the criteria given in clauses 5.2.2.7 and 5.2.2.8.
+- The delay of implementations for decoders and encoders used in mobile equipment shall not exceed the reference decoder and encoder delay.
+- Decoder implementation shall support all the modes and bit rates described in the specifications.
+
+Encoder shall be able to perform switching between AMR-WB and extension modes when operated at 16 kHz input sampling rate. Conformance specification contains test vectors and mode information file to check the functionality. Fixed-point and floating-point AMR-WB modes as well as VAD/DTX operation compliance is the same to 3GPP TS 26.173 [3] and 3GPP TS 26.204 [5], respectively.
+
+## 5.3 Subjective conformance testing
+
+Conformance may be concluded by subjective testing in which in no test condition performance worse than the reference codec (see 3GPP TS 26.273 [3]) is proven. Test plan: (characterization test plan tba when finalized).
+
+Subjective conformance testing is allowable for all extension modes. AMR-WB modes of AMR-WB+ shall conform according to respective AMR-WB specifications.
+
+# --- Annex A (normative): Codec test sequences for bit exact testing of AMR-WB+
+
+This Annex describes the test sequences designed to exercise the bitexactness of a fixed-point implementation of the extended adaptive multi-rate wideband (AMR-WB+) codec (see 3GPP TS 26.290 [1]).
+
+The companion archive “bitexact.zip” contains test items (original wav files), reference encoder and decoder executables and scripts to generate all required test sequences that are needed for testing bit exactness according to clause 5.1. Further, for testing the bitexactness of the decoder, test bitstream files are provided.
+
+# --- Annex B (normative): Codec test sequences for objective testing of AMR-WB+
+
+This Annex describes the test sequences designed to exercise the objective testing of a non-bit exact implementation of the extended adaptive multi-rate wideband (AMR-WB+) codec (see 3GPP TS 26.290 [1]).
+
+The companion archive “objective.zip” contains:
+
+- test items (original wav files);
+- reference encoder and decoder executables;
+- scripts applying the verification procedures; and
+- code patches to the reference codec to enable certain objective tests.
+
+# Annex C (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|---------|-----------|------|-----|----------------------------------------------------------------------------------|--------|--------|
+| Date | TSG SA# | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2005-06 | 28 | SP-050243 | | | Approved at TSG SA#28 | 2.0.0 | 6.0.0 |
+| 2005-09 | 29 | SP-050425 | 0001 | | Corrections to the AMR-WB+ conformance specification | 6.0.0 | 6.1.0 |
+| 2005-12 | 30 | SP-050785 | 0002 | | Correction to AMR-WB+ bit exact test vectors | 6.1.0 | 6.2.0 |
+| 2006-03 | 31 | SP-060012 | 0003 | | Update of test vectors in consequence of CR 0015 to 26.273 and CR 0037 to 26.304 | 6.2.0 | 6.3.0 |
+| 2007-06 | 36 | | | | Version for Release 7 | 6.3.0 | 7.0.0 |
+| 2008-12 | 42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26401/0b87abe67b21a93777287649c33e755d_img.jpg b/marked/Rel-11/26_series/26401/0b87abe67b21a93777287649c33e755d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a57363a57b11d94ff0ab00441eb3f5c07b642cf4
--- /dev/null
+++ b/marked/Rel-11/26_series/26401/0b87abe67b21a93777287649c33e755d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a986e09f9e7c6dea00fa7fb3b6f98df8f979a6f79c8cb9c436ba0ccbb27d2f54
+size 83191
diff --git a/marked/Rel-11/26_series/26401/35a7554182eb055209552843f341a1ae_img.jpg b/marked/Rel-11/26_series/26401/35a7554182eb055209552843f341a1ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7f7027edf9bd374bb2e2a83865d3c34483db53ea
--- /dev/null
+++ b/marked/Rel-11/26_series/26401/35a7554182eb055209552843f341a1ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a281a3dc99a47f2cf07fe413660a2bb7c597a227396491b969742fee0df33519
+size 67526
diff --git a/marked/Rel-11/26_series/26401/d793cf7c174b89eb024d132f00679787_img.jpg b/marked/Rel-11/26_series/26401/d793cf7c174b89eb024d132f00679787_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6abd79f10a782296e3fecf26bac7116d11ff5c3b
--- /dev/null
+++ b/marked/Rel-11/26_series/26401/d793cf7c174b89eb024d132f00679787_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:94b6e409077d65e5075aa0a9491257a2b9bc8cc9ec8612f94565f738f6364d4a
+size 38240
diff --git a/marked/Rel-11/26_series/26401/raw.md b/marked/Rel-11/26_series/26401/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..347daffcf575756f2ee77dd26ff716796eacb44a
--- /dev/null
+++ b/marked/Rel-11/26_series/26401/raw.md
@@ -0,0 +1,228 @@
+
+
+
+
+
+
+# --- Contents
+
+| | |
+|------------------------------------------------------------------------|----|
+| Foreword ..... | 4 |
+| 1 Scope..... | 5 |
+| 2 Normative references ..... | 5 |
+| 3 Abbreviations ..... | 5 |
+| 4 Outline description..... | 6 |
+| 5 General..... | 6 |
+| 6 Enhanced aacPlus general audio codec: ANSI-C code..... | 7 |
+| 7 Enhanced aacPlus general audio codec: Enhanced aacPlus encoder ..... | 7 |
+| 8 Enhanced aacPlus general audio codec: Enhanced aacPlus decoder ..... | 8 |
+| 9 Enhanced aacPlus general audio codec: Additional Decoder Tools..... | 9 |
+| 10 Enhanced aacPlus general audio codec: Compatibility ..... | 10 |
+| 11 SBR Signalling in Payload formats ..... | 10 |
+| Annex A (informative): Change history..... | 11 |
+
+# --- Foreword
+
+The present document describes the Enhanced aacPlus general audio codec within the 3GPP system.
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of this TS, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 Indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the specification;
+
+# --- 1 Scope
+
+This Telecommunication Standard (TS) describes the detailed mapping from an MPEG-4 bitstream containing Enhanced aacPlus coded audio to PCM sample output. The Enhanced aacPlus audio codec is based on the AAC, SBR and Parametric Stereo coding tools defined in the MPEG-4 Audio standard [5][6][7]. In addition it includes further tools such as error concealment, spline resampler, and stereo-to-mono downmix.
+
+This Telecommunication Standard (TS) also describes the detailed mapping from a PCM sample input to an MPEG-4 bitstream containing Enhanced aacPlus coded audio.
+
+# --- 2 Normative references
+
+This TS incorporates by dated and undated reference, provisions from other publications. These normative references are cited in the appropriate places in the text and the publications are listed hereafter. For dated references, subsequent amendments to or revisions of any of these publications apply to this TS only when incorporated in it by amendment or revision. For undated references, the latest edition of the publication referred to applies.
+
+- [1] 3GPP TS 26.410 : Enhanced aacPlus general audio codec; Floating-point ANSI-C Code.
+- [2] 3GPP TS 26.403 : Enhanced aacPlus general audio codec; Encoder Specification AAC part.
+- [3] 3GPP TS 26.404 : Enhanced aacPlus general audio codec; Encoder Specification SBR part.
+- [4] 3GPP TS 26.405 : Enhanced aacPlus general audio codec; Encoder Specification Parametric Stereo part.
+- [5] ISO/IEC 14496-3:2001, Information technology - Coding of audio-visual objects - Part 3: Audio.
+- [6] ISO/IEC 14496-3:2001/Amd.1:2003, Bandwidth Extension.
+- [7] ISO/IEC 14496-3:2001/Amd.1:2003/DCOR1.
+- [8] ISO/IEC 14496-3:2001/Amd.2:2004, Parametric Coding for High Quality Audio.
+- [9] 3GPP TS 26.402: Enhanced aacPlus general audio codec; Additional Decoder Tools.
+- [10] 3GPP TS 26.411 : Enhanced aacPlus general audio codec; Fixed-point ANSI-C Code.
+- [11] 3GPP TS 26.234 : Transparent end-to-end Packet-switched Streaming Service (PSS) ; Protocols and codecs.
+- [12] ISO/IEC 14496-3:2001/Amd.2:2004/DCOR 1.
+
+# --- 3 Abbreviations
+
+For the purposes of this TS, the following abbreviations apply.
+
+| | |
+|------------------|-------------------------------------------------------------------------------------------------|
+| AAC | Advanced Audio Coding |
+| AAC-LC | Advanced Audio Coding Low Complexity Object Type |
+| AAC-LTP | Advanced Audio Coding Long Term Predictor Object Type |
+| aacPlus | MPEG-4 High Efficiency AAC, the combination of MPEG-4 AAC and MPEG-4 Bandwidth extension (SBR) |
+| Enhanced aacPlus | MPEG-4 High Efficiency AAC plus MPEG-4 Parametric StereoMDCT Modified Discrete Cosine Transform |
+| QMF | Quadrature Mirror Filter |
+| SBR | Spectral Band Replication |
+
+# --- 4 Outline description
+
+This TS is structured as follows:
+
+Section 5 gives a general overview of the parts in the Enhanced aacPlus codec. It further specifies what parts of the cited ISO standards apply.
+
+Section 7 gives a more detailed overview of the Enhanced aacPlus encoder, and references the relevant detailed technical description documents.
+
+Section 8 gives a more detailed overview of the ISO standardised parts of the Enhanced aacPlus decoder, and references the relevant ISO standards.
+
+Section 9 gives a more detailed overview of the additional tools present in the Enhanced aacPlus decoder that are not part of the cited ISO standards, and references the relevant detailed technical description documents.
+
+# --- 5 General
+
+The Enhanced aacPlus general audio codec consists of MPEG-4 AAC, MPEG-4 SBR and MPEG-4 Parametric Stereo. The AAC is a general audio codec, SBR is a bandwidth extension technique offering substantial coding gain in combination with AAC, and Parametric Stereo enables stereo coding at very low bitrates. In addition to the above parts of the Enhanced aacPlus codec that are specified in ISO standards [5][6][7][8][12] there are 3 additional tools included in the Enhanced aacPlus decoder:
+
+- Error concealment tools for AAC, SBR, and Parametric Stereo make the decoder robust against transmission errors like frame loss. These tools mitigate audible effects of such errors.
+- The stereo-to-mono downmix tool enables a decoder only capable of mono output to downmix a stereo bitstream. For the AAC part this is done in the time domain after the stereo decoding but for SBR this is done on the SBR parameters and thus saving complexity since only a mono decoding of SBR is needed.
+- The Spline resampler tool gives the possibility to resample the output to a sampling frequency different than what was supplied in the bitstream. This gives for example handsets with a D/A converter only capable of 16 kHz sampling frequency the possibility to play bit streams encoded with 22.05 kHz sampling frequency.
+
+The 3GPP Enhanced aacPlus general audio codec offers monophonic and stereophonic coding. For stereophonic coding two stereo modes are used: parametric stereo for low bitrates and M/S stereo for high bitrates. The codec is based on the MPEG-4 Audio ISO standard. The cited ISO standards define several profiles and levels of which not all are applicable in the 3GPP context. From the ISO standards the following subset shall be used:
+
+The Enhanced aacPlus general audio codec implements the High Efficiency AAC Profile at Level 21 as defined in [6]. In addition, the following restriction applies:
+
+- frameLengthFlag in GASpecificConfig() shall be 0 (i.e., 960 framing is not supported);
+
+For terminals supporting stereophonic output the following additional statements apply:
+
+- for mono and parametric stereo bitstreams, the Enhanced aacPlus decoder operates the SBR tool in HQ mode, thus the SBR HQ tool is required;
+- the parametric stereo enhancement implements the baseline version of the parametric stereo coding tool in direct combination with the SBR tool, as defined in [8].
+- for M/S stereo bitstreams, it is recommended that the Enhanced aacPlus decoder operates the SBR tool in Low Power mode.
+
+For terminals that are only capable of producing monophonic output the following additional statements apply:
+
+---
+
+1 The HE-AAC Profile combines the AAC Low Complexity object type plus the SBR tool. The AAC LC object type does not implement the Long Term Predictor (LTP) tool. The Level 2 implies a restriction to a maximum of two channels. Furthermore in case of SBR being used, the maximum AAC sampling rate is restricted to 24 kHz whereas if SBR is not used the maximum AAC sampling rate is restricted to 48 kHz.
+
+- implementation of the parametric stereo tool is not required. The decoder would skip the parametric stereo data and only decode the mono portion of the signal.
+- the stereo-to-mono-downmix tool is required in order to be able to decode M/S stereo bitstreams.
+- implementation of the SBR HQ tool is not required. Instead it is recommended to only implement the SBR Low Power tool since it allows for reduced computational complexity and lower memory requirements
+
+Figure 1 illustrates how the AAC, SBR and the Parametric Stereo tools are combined to form the enhanced aacPlus codec: aacPlus consists of AAC and SBR. Enhanced aacPlus consists of aacPlus and the additional Parametric Stereo tool. Enhanced aacPlus is thus a true superset of aacPlus and AAC.
+
+
+
+Figure 1: MPEG tools used to form the Enhanced aacPlus codec. The diagram shows three nested boxes. The outermost box is labeled 'Enhanced aacPlus (= MPEG-4 High Efficiency AAC + MPEG-4 Parametric Stereo)'. Inside it, on the left, is a box labeled 'aacPlus (= MPEG-4 High Efficiency AAC)' which contains two sub-boxes: 'AAC-LC' and 'SBR'. To the right of the 'aacPlus' box is a separate box labeled 'Parametric Stereo'.
+
+Figure 1: MPEG tools used to form the Enhanced aacPlus codec
+
+# 6 Enhanced aacPlus general audio codec: ANSI-C code
+
+The Floating-point ANSI –C-code of the general audio codec Enhanced aacPlus is described in [1]. The Fixed-point ANSI –C-code of the general audio codec Enhanced aacPlus is described in [10].
+
+# 7 Enhanced aacPlus general audio codec: Enhanced aacPlus encoder
+
+Figure 2 shows a block diagram of the Enhanced aacPlus encoder. The input PCM time domain signal is first fed to a stereo-to-mono downmix unit, which is only applied if the input signal is stereo but the chosen audio encoding mode is selected to be mono.
+
+Next, the (mono or stereo) input time domain signal is fed to an IIR resampling filter in order to adjust the input sampling rate $f_{s_{in}}$ to the best-suited sampling rate $f_{s_{enc}}$ for the encoding process. The usage of the IIR resampler is only applied if the input signal sampling rate differs from the encoding sampling rate. The IIR resampler may either be run as a 3:2 downsampler (e.g. to downsample from 48 kHz to 32 kHz) or as a 1:2 upsampler (e.g. to upsample from 16 to 32 kHz).
+
+The Enhanced aacPlus encoder basically consists of the well-known AAC2 (Advanced Audio Coding) waveform encoder, the SBR (Spectral Band Replication) high frequency reconstruction encoding tool and the Parametric Stereo encoding tool. The Enhanced aacPlus encoder is operating in a dual rate mode, whereas the SBR encoder operates at the encoding sampling rate $f_{s_{enc}}$ as delivered from the IIR resampler and the AAC encoder at half of this sampling rate $f_{s_{enc}}/2$ . Consequently a 2:1 downsampler is present at the input to the AAC encoder. For an efficient implementation an IIR (Infinite Impulse Response) filter algorithm is used. The Parametric Stereo tool is used for low-bitrate stereo
+
+2 AAC has been standardized as recommended audio codec in 3GPP, Release 5
+
+coding, i.e. at and below a bitrate of 44 kbit/s. The AAC encoder implementation complies with the AAC Low Complexity Object Type [5].
+
+
+
+Figure 2: Enhanced aacPlus Encoder overview. This block diagram illustrates the signal flow within the encoder. Input PCM Samples enter from the left and are split into two paths. One path goes through a 'stereo-to-mono downmix' block (marked with a superscript 1) and an 'IIR Resampler' block (also marked with a superscript 1). The second path goes directly to an 'Analysis QMF Bank'. Both paths converge at a junction. From this junction, one branch goes to a '2:1 IIR Downsample' block, which then connects to an 'AAC Core Encoder'. The other branch from the junction goes to a 'Parametric Stereo Estimation (incl. Downmix)' block. This block outputs a 'stereo parameter' to an 'Envelope Estimation' block and also to a 'Downsampled Synthesis QMF Bank'. The 'Envelope Estimation' block connects to 'SBR-related Modules', which in turn connect to the 'AAC Core Encoder'. The 'Downsampled Synthesis QMF Bank' also connects to the 'AAC Core Encoder'. All three components of the AAC Core Encoder (the 2:1 IIR Downsample, the Downsampled Synthesis QMF Bank, and the SBR-related Modules) feed into a 'Bitstream Payload Formatter', which produces the final 'Coded Audio Stream'. A note at the bottom left indicates that the 'usage dependant on audio mode' for the downmix and resampler blocks.
+
+**Figure 2: Enhanced aacPlus Encoder overview**
+
+The SBR encoder consists of a QMF (Quadrature Mirror Filter) analysis filter bank, which is used to derive the spectral envelope of the original input signal. Furthermore the SBR related modules control the selection of a input signal adaptive grid partitioning of the QMF samples on the time axis (i.e. control the framing), analyse the relation of noise floor to tonal components in the high band, collect guidance information for the transposition process in the decoder and detect missing harmonic components which could not be reconstructed by pure transposition. This gathered information about the characteristics of the input signal, together with the spectral envelope data forms the SBR stream. The amount of bits for the SBR stream is subtracted from the bits available to the AAC encoder in order to achieve a constant bitrate encoding of the multiplexed Enhanced aacPlus stream.
+
+For stereo bitrates at and below 44 kbit/s, the Parametric Stereo encoding tool in the Enhanced aacPlus encoder is used. For stereo bitrates above 44 kbit/s, normal stereo operation is performed. The Parametric Stereo encoding tool estimates parameters characterizing the perceived stereo image of the input signal. These stereo parameters are embedded in the SBR stream. At the same time, a signal-adaptive mono downmix of the input signal is generated in the QMF domain and fed into the SBR encoder operating in mono. This downmix is also processed by a downsampled QMF synthesis filterbank to obtain the time domain input signal for the AAC core encoder with the sampling rate $f_{senc}/2$ . In this case, the 2:1 IIR downsampler is not active.
+
+The embedding of the SBR stream (including the Parametric Stereo data) into the AAC stream is done in a backwards compatible way, i.e. a legacy Release 5 AAC decoder is able to parse the Enhanced aacPlus stream and decode the AAC core part.
+
+The Enhanced aacPlus encoder is described in detail in [2], [3] and [4].
+
+# 8 Enhanced aacPlus general audio codec: Enhanced aacPlus decoder
+
+Figure 3 shows a block diagram of the Enhanced aacPlus decoder. In the decoder the bitstream is de-multiplexed into the AAC and the SBR stream. Error concealment, e.g. in case of frame loss, is achieved by designated algorithms in the decoder for AAC, SBR and Parametric Stereo: the AAC core decoder employs signal-adaptive spectrally shaped noise generation for error concealment, in the SBR and Parametric Stereo decoders, error concealment is based on extrapolation of guidance, envelope, and stereo information.
+
+For the SBR processing, the Low-Power tool of SBR as described in [6] is used for full stereo decoding in order to keep the peak computational complexity as low as possible over all channel modes. Usage of the SBR Low-Power tool provides a computational complexity of an aacPlus stereo decoder in the same range as plain AAC stereo decoders.
+
+The lowband AAC time domain signal, sampled at $f_{senc}/2$ , is first fed to a 32-channel QMF analysis filter bank. The QMF lowband samples are then used to generate a highband signal, whereas the transmitted transposition guidance information is used to best match the original input signal characteristics.
+
+The transposed highband signal is then adjusted according to the transmitted spectral envelope signal to best match the original's spectral envelope. Also, missing components that could not be reconstructed by the transposition process are introduced. Finally, the lowband and the reconstructed highband are combined to obtain the complete output signal in the QMF domain.
+
+In case of a stream using parametric stereo, the mono output signal from the underlying aacPlus decoder is converted into a stereo signal. This processing is carried out in the QMF domain and is controlled by the parametric stereo parameters embedded in the SBR stream. The relevant blocks for the Parametric Stereo operation are highlighted using grey background colour in Figure 3.
+
+A 64-channel QMF synthesis filter bank is used to obtain the time domain output signal, sampled at the encoding sampling rate $f_{senc}$ . The synthesis filter bank may also be used to apply an implicit downsampling by a factor of 2, resulting in an output sampling rate of $f_{senc}/2$ .
+
+
+
+Figure 3: Enhanced aacPlus Decoder overview. This block diagram shows the signal flow from a Coded Audio Stream through various decoding stages. The stream is first processed by a Bitstream Payload Demultiplexer. It then splits into three main paths: 1) AAC Core Decoder (incl. error concealment) followed by a stereo-to-mono downmix block, which feeds into an Analysis QMF Bank. 2) SBR error concealment followed by an SBR stereo-to-mono downmix block, which feeds into an Envelope Adjustment block. 3) PS error concealment, which outputs a stereo parameter. The Analysis QMF Bank and Envelope Adjustment block both feed into a Merge lowband and highband block. The stereo parameter from the PS error concealment block feeds into a Parametric Stereo Synthesis block. The Merge lowband and highband block feeds into the Parametric Stereo Synthesis block. The Parametric Stereo Synthesis block feeds into a Synthesis QMF Bank. The Synthesis QMF Bank feeds into a Spline Resampler block, which outputs the final Output PCM Samples. A note indicates that the usage of the Spline Resampler is dependant on audio mode.
+
+Figure 3: Enhanced aacPlus Decoder overview
+
+The Enhanced aacPlus decoder is described in [5], [6], [7] and [8]. This description does not cover the additional decoder tools; error-concealment, SBR stereo-to-mono downmix and the spline resampler, that are not part of the cited ISO standards and therefore explained in section 9.
+
+# 9 Enhanced aacPlus general audio codec: Additional Decoder Tools
+
+Three additional tools are incorporated in the Enhanced aacPlus that are not part of the cited ISO standards. These are a error concealment algorithm, stereo-to-mono downmix, and a spline resampler.
+
+The error concealment, e.g. in case of frame loss, is achieved by designated algorithms in the decoder for AAC, SBR and Parametric Stereo: the AAC core decoder employs signal-adaptive spectrally shaped noise generation for error concealment, in the SBR and Parametric Stereo decoders, error concealment is based on extrapolation of guidance, envelope, and stereo information.
+
+If the transmitted stream is a M/S stereo stream, but a monophonic output is requested, for each of the two components a stereo-to-mono downmix tool is available. In case of AAC the downmix is applied in the time-domain after AAC decoding. In case of SBR the stereo SBR stream is mapped to a mono SBR stream, thus resulting in low computational complexity since all further processing is then done on one channel only. If the transmitted stream uses parametric stereo, but a monophonic output is requested, the Parametric Stereo decoder is deactivated.
+
+Finally a spline resampler algorithm is used to match the Enhanced aacPlus decoder output sampling rate to any arbitrary sampling rate. The spline resampler is only used if the handset requires any other specific output sampling rate different from $f_{senc}$ or $f_{senc}/2$ , e.g. 8 or 16 kHz if $f_{senc}$ is 44.1 kHz.
+
+The additional decoder tools are described in [9].
+
+# 10 Enhanced aacPlus general audio codec: Compatibility
+
+Due to the modular approach the enhanced aacPlus encoder also includes a fully featured aacPlus and AAC-LC encoder.
+
+A further consequence of the modular approach is decoder backwards compatibility: a Release-5 AAC decoder is able to decode the AAC part of an Enhanced aacPlus bitstream which contains both, SBR and Parametric Stereo data. However playback quality will be significantly limited. It is therefore recommended to not use this kind of compatibility unless it is specifically desired. Restricted backward compatibility can be accomplished by selecting the appropriate signalling as described in [6].
+
+Table 1 illustrates the bitstream and decoding compatibilities as outlined above.
+
+**Table 1: Playback capabilities of decoders**
+
+| | | Decoder | | | |
+|--------------|-------------------------------------------------|------------------|--|---------------------------------------------------|-------------------------------------------------------|
+| | | Enhanced aacPlus | | Release-5 AAC-LC, backwards compatible signalling | Release 5 AAC-LC, non backwards compatible signalling |
+| Encoder mode | Enhanced aacPlus stereo, at and below 44 kbit/s | Yes | | Mono only, no SBR | No |
+| | Enhanced aacPlus mono or stereo above 44 kbit/s | Yes | | No SBR | No |
+| | Release 5 AAC-LC | Yes | | Yes | Yes |
+
+Note: the table does not contain information on AAC-LTP, which is an optional audio codec since Release 5.
+
+# 11 SBR Signalling in Payload formats
+
+The decoder shall support all three signalling types defined in [6]. If implicit signalling is used, AAC-LC shall be signalled as described in Rel.5 of TS 26.234, in order to maintain backwards compatibility. If, in such a case, the sampling rate as indicated by the AAC object type descriptor (in the SDP) is 24 kHz or below and “SBR-enabled” (see [11]) is not specified in the SDP (i.e. the content does not originate from a Rel.6 server), the decoder output shall be configured to twice the AAC sampling rate.
+
+# --- Annex A (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|---------|-----------|------|-----|-----------------------------------------------------------------------------------------------------|--------|--------|
+| Date | TSG SA# | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2004-09 | 25 | SP-040633 | | | Approved at TSG SA#25 | 2.0.0 | 6.0.0 |
+| 2004-12 | 26 | SP-040840 | 001 | 1 | Alignment with C-code: Clarification on SBR mode to be used for mono only capable decoders | 6.0.0 | 6.1.0 |
+| 2005-03 | 27 | SP-050095 | 002 | 1 | Correction to written specification: add missing reference to MPEG corrigendum | 6.1.0 | 6.2.0 |
+| 2006-06 | 32 | SP-060360 | 0004 | 1 | Modification of written specification: Change of encoder bitrate border for Parametric Stereo usage | 6.2.0 | 7.0.0 |
+| 2008-12 | 42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26406/raw.md b/marked/Rel-11/26_series/26406/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..156377f2e23fd1468b593da329548205135aebe7
--- /dev/null
+++ b/marked/Rel-11/26_series/26406/raw.md
@@ -0,0 +1,268 @@
+
+
+
+
+
+
+# --- Contents
+
+| | |
+|-----------------------------------------------------------------------------------|-----------|
+| Foreword ..... | 4 |
+| 1 Scope..... | 5 |
+| 2 Normative references ..... | 5 |
+| 3 Definitions and abbreviations ..... | 6 |
+| 3.1 Definitions..... | 6 |
+| 3.2 Abbreviations ..... | 6 |
+| 4 General..... | 6 |
+| 5 Decoder conformance testing..... | 6 |
+| 5.1 AAC-LC, SBR and Parametric Stereo conformance testing..... | 6 |
+| 5.2 void..... | 6 |
+| 6 Encoder conformance ..... | 6 |
+| 6.1 Floating point encoder..... | 6 |
+| 6.2 Fixed point encoder..... | 7 |
+| 6.2.1 Bit-exact Behaviour..... | 7 |
+| 6.2.2 Objective criteria ..... | 7 |
+| 6.2.2.1 AAC encoder conformance ..... | 7 |
+| 6.2.2.2 SBR encoder conformance ..... | 8 |
+| 6.2.2.3 PS encoder conformance ..... | 9 |
+| 6.2.3 Subjective criteria..... | 9 |
+| Annex A: Void..... | 10 |
+| Annex B (normative): Test vectors for fixed-point encoder conformance..... | 11 |
+| Annex C (informative): Change history..... | 12 |
+
+# --- Foreword
+
+This Technical Specification (TS) has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The present document specifies the digital test sequences and conformance criteria for the Enhanced aacPlus audio codec.
+
+# --- 2 Normative references
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TS 26.401: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; General description".
+- [2] 3GPP TS 26.403: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; Encoder specification; Advanced Audio Coding (AAC) part".
+- [3] 3GPP TS 26.404: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; Encoder specification; Spectral Band Replication (SBR) part".
+- [4] 3GPP TS 26.405: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; Encoder specification; Parametric stereo part".
+- [5] 3GPP TS 26.410: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; Floating-point ANSI-C code".
+- [6] 3GPP TS 26.411: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; Fixed-point ANSI-C code".
+- [7] ISO/IEC 14496-4:2004: "Information technology - Coding of audio-visual objects - Part 4: Conformance testing".
+- [8] ISO/IEC 14496-4:2004/Amd.8:2005: "Information technology - Coding of audio-visual objects - Part 4: Conformance testing – Amendment 8: High Efficiency Advanced Audio Coding, audio BIFS, and structured audio conformance".
+- [9] ITU-R Recommendation BS.1387-1: "Method for objective measurements of PErceived Audio Quality (PEAQ)".
+- [10] ISO/IEC 14496-4:2004/Amd.11:2006 "Information technology - Coding of audio-visual objects - Part 4: Conformance testing - Amendment 11: Parametric Stereo conformance".
+- [11] ISO/IEC 14496-4:2004/Amd.11:2006/Cor.2:2007 "Information technology - Coding of audio-visual objects - Part 4: Conformance testing - Amendment 11: Parametric Stereo conformance Technical Corrigendum 2".
+
+# --- 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in 3GPP TS 26.401 [1], 3GPP TS 26.403 [2], 3GPP TS 26.404 [3], 3GPP TS 26.405 [4], 3GPP TS 26.410 [5] and 3GPP TS 26.411 [6] apply.
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the following abbreviations apply:
+
+| | |
+|--------|--------------------------------------------------------|
+| AAC-LC | Advanced Audio Coding-Low Complexity audio object type |
+| ODG | Objective Difference Grade |
+| PEAQ | Perceptual Evaluation of Audio Quality |
+| SBR | Spectral Band Replication |
+
+# --- 4 General
+
+Conformance testing is an important tool to verify that implementations of Enhanced aacPlus match the relevant specifications. It is also helpful in verifying the proper use of the source code provided in 3GPP TS 26.410 [5] and 3GPP TS 26.411 [6]. Conformance testing focuses on the core algorithm, therefore no criteria are defined for error concealment, downsampling and file I/O.
+
+Clause 5 describes the proposed method of conformance testing for the decoder. Clause 6 discusses encoder conformance.
+
+# --- 5 Decoder conformance testing
+
+Decoder conformance for both fixed-point and floating-point implementations shall be tested in accordance with clause 5.1. Conformance shall be verified by either bit-exact behaviour to the reference output or by meeting the objective criteria defined below. Bit-exact behaviour should be preferred for fixed-point implementations where it can be achieved without undue penalty on computational complexity.
+
+## 5.1 AAC-LC, SBR and Parametric Stereo conformance testing
+
+Conformance testing for AAC-LC, SBR and Parametric Stereo shall be performed according to the relevant clauses in ISO/IEC 14496-4 [7], [8], [10], [11]. 3GPP conformance shall not be claimed for implementations achieving an accuracy level of $K < 15$ for the “RMS/LSB Measurement” test carried out for AAC-LC.
+
+## 5.2 void
+
+# --- 6 Encoder conformance
+
+## 6.1 Floating point encoder
+
+No specific routines for floating-point encoder conformance testing are defined. It is recommended to use the floating-point code from 3GPP TS 26.410 [5]. In addition, it is recommended to verify that the implementation meets the criteria defined in clause 6.2 (Fixed-point encoder). If the floating-point code is used for an implementation in mobile equipment, the criteria defined in 6.2 shall be met.
+
+## 6.2 Fixed point encoder
+
+Conformance of fixed-point encoder implementations for use in mobile equipment shall be verified by bit-exact behaviour to the fixed-point reference code [6] as defined in 6.2.1, or by meeting the objective criteria as defined in 6.2.2, or by performing subjective tests as described in 6.2.3. Fixed-point encoder implementations which are not used in mobile equipment, should meet the conformance criteria defined in this clause.
+
+Bit-exact behaviour should be preferred for fixed-point implementations where it can be achieved without undue penalty on computational complexity.
+
+If an implementer chooses to implement only a mono-encoder functionality, then conformance of only this functionality shall be tested. This shall apply irrespective of the conformance testing method chosen.
+
+### 6.2.1 Bit-exact Behaviour
+
+If the bit-exact conformance method is chosen, the conformance of a fixed-point encoder implementation under test shall be verified by checking the bit-exactness of the raw payload of the encoded output as produced by the fixed-point reference encoder code [6] for all 23 test vectors as given in Annex B.
+
+### 6.2.2 Objective criteria
+
+If the objective criteria conformance method is chosen, the conformance of a fixed-point encoder implementation under test shall be verified by checking objective conformance criteria for each of the three tools of the Enhanced aacPlus encoder: AAC, SBR and PS. The tests shall be conducted with the test vectors as given in Annex B. The configurations under test shall be 16 kbit/s mono, 32 kbit/s parametric stereo and 48 kbit/s stereo. All tests shall use the fixed-point encoder as reference.
+
+For the purpose of fixed-point encoder conformance testing a tool has been developed which can be used to extract the various parts of an Enhanced aacPlus bitstream such that conformance of each of those parts can be tested independently. The source code for this tool can be found in an electronic attachment (fixp\_enc\_test\_tool.zip) to this document. For a description on how to invoke the various conformance tests, please refer to the “readme.txt” file that is part of the attached package. This tool is henceforth referenced as “fixed-point encoder test tool”.
+
+#### 6.2.2.1 AAC encoder conformance
+
+Conformance testing of the AAC encoder tool shall be conducted using an implementation of ITU-R BS.1387 (PEAQ) [9]. The test consists of a statistical analysis comparison of the reference encoder performance with the performance of the encoder under test. The following pseudo-code and the succeeding description outlines how the performance shall be assessed.
+
+```
+
+cfg = 0;
+
+foreach (bitrate, channels, aacbandwidth) {
+
+ tv = 0;
+
+ foreach (item) {
+
+ bandlimit (item, item_bandlimited, aacbandwidth);
+
+ encoder_reference (item, reference_bitstream, bitrate, channels);
+
+ encoder_test (item, test_bitstream, bitrate, channels);
+
+ decoder_bandlimiting (reference_bitstream, reference_waveform);
+
+ decoder_bandlimiting (test_bitstream, test_waveform);
+
+ odg_difference [cfg][tv] = PEAQ_advanced (item_bandlimited, reference_waveform) -
+ PEAQ_advanced (item_bandlimited, test_waveform);
+
+ tv++;
+
+ }
+
+ cfg++;
+
+}
+
+```
+
+where:
+
+- bandlimit (in, out, bw) is a function that limits the bandwidth of the waveform 'in' to 'bw' and stores the result in the waveform 'out'
+- encoder\_reference (in, out, br, ch) is a function that calls the reference encoder such that the waveform 'in' is encoded to the bitstream 'out' at the bitrate 'br' and using channelmode 'ch'
+- encoder\_test (in, out, br, ch) is a function that calls the encoder under test such that the waveform 'in' is encoded to the bitstream 'out' at the bitrate 'br' and using channelmode 'ch'
+- decoder\_bandlimiting (in, out) is a function that calls the fixed-point encoder test tool such that it decodes the AAC part of the bitstream 'in' to the waveform 'out', while limiting the bandwidth to the AAC part and performing QMF-domain upsampling
+- PEAQ\_advanced (ref, deg) is a function that compares the reference waveform 'ref' with the degraded waveform 'deg' returning the ODG resulting from that comparison
+
+The mean of the resulting vector odg\_difference[cfg] shall not indicate an average performance of the encoder under test that is worse by more than 0.2. Moreover the worstcase difference shall not exceed 0.5. These criteria shall be fulfilled for all configurations.
+
+#### 6.2.2.2 SBR encoder conformance
+
+Conformance for the SBR part of the encoder shall be measured for the various elements of the SBR bitstream independently. To eliminate the influence of potentially differing delays between the encoder under test and the reference encoder, the input waveforms shall be zero-padded at the beginning such that both encoders produce equivalent framing.
+
+The fixed-point encoder test tool shall be used to first extract the various SBR parameters that are embedded in the SBR bitstream under test and subsequently compare them to the output of the reference encoder.
+
+The following is an overview of how parameter extraction and parameter comparison work for the various modules. For further details, please consult the attached source code of the fixed-point encoder test tool:
+
+- The envelope energies signaled by the encoder under test are combined to the equivalent envelope energies for one envelope. This is done after dequantization and M/S -> L/R unmapping. The comparison however takes place in the log-domain. For higher energies only low deviations are allowed, while lower energies are permitted to deviate more: Differences of up to 3dB are allowed for all energies, differences of up to 6dB are allowed for energies up to 42 dB below a full scale sine, differences of up to 9 dB are allowed for energies up to 60 dB below a full scale sine.
+- The test of the transient detector is performed by comparing the bitstream element sbr\_grid() from both encoders. The RMS of the difference between the transient position vector of the encoder under test and the reference encoder shall not be greater than 0.2.
+- The test of the missing harmonics detector is carried out by comparing the bitstream elements sbr\_sinusoidal\_coding() from both encoders. The vector that is constructed by subtracting the missing harmonics vectors from both bitstreams and concatenating the result over all frames shall not have an RMS greater than 0.2.
+- The test of the whitening level detector is performed by comparing the bitstream element sbr\_invf() from both encoders. The vector that is constructed by subtracting the whitening level vectors of the encoder under test and the reference encoder shall not have an RMS greater than 0.2.
+- The test for the noise floor estimator module is identical to the test for the envelope energy conformance test, except that the actual noise floor energies are compared instead of the envelope energies. The maximum permissible noise floor energy difference for a given deviation between reference encoder and encoder under test are as follows: Differences of up to 6 dB are allowed for all energies, differences of up to 9 dB are allowed for energies up to 42 dB below a full scale sine, differences of up to 12 dB are allowed for energies up to 60 dB below a full scale sine.
+
+#### 6.2.2.3 PS encoder conformance
+
+All comparisons shall be limited to frames and bands in the bitstream that contain an energy greater than -87 dB below a full-scale sine. Prior to the actual conformance test, the stereo parameters from both encoders are mapped to the highest available stereo frequency resolution.
+
+- the signal that is constructed from the differences between all IID values signaled by the encoder under test and the reference encoder shall have a maximum absolute difference of 2 and the RMS must not exceed 0.25
+- the signal that is constructed from the differences between all ICC values signaled by the encoder under test and the reference encoder shall have a maximum absolute difference of 2 and the RMS must not exceed 0.25
+
+### 6.2.3 Subjective criteria
+
+Subjective tests shall cover the encoder configurations tested during the characterization phase. The requirement for passing the subjective tests is that the encoder under test does not perform worse in a statistically significant sense in any test case when compared to the fixed-point reference encoder.
+
+# --- Annex A: Void
+
+**Table 1: Void**
+
+# Annex B (normative): Test vectors for fixed-point encoder conformance
+
+**Table 2: Testvectors specifically relevant for the objective testing of the AAC tool**
+
+| # | Test vector file name |
+|----|----------------------------|
+| 1 | ct_castagnettes.wav |
+| 2 | ct_glockenspiel.wav |
+| 3 | ct_test_1_48.wav |
+| 4 | ct_test_2_48.wav |
+| 5 | ct_test_3_48.wav |
+| 6 | cymbal.wav |
+| 7 | gong.wav |
+| 8 | guitar_1.wav |
+| 9 | guitar_2.wav |
+| 10 | guitar_cymbals.wav |
+| 11 | handcuff.wav |
+| 12 | hihat.wav |
+| 13 | laugh.wav |
+| 14 | shaker.wav |
+| 15 | speech_female.wav |
+| 16 | speech_male_german.wav |
+| 17 | speech_male_portuguese.wav |
+| 18 | triangle.wav |
+| 19 | wooden_toys_1.wav |
+| 20 | wooden_toys_2.wav |
+
+**Table 3: Testvectors specifically relevant for the objective testing of the SBR tool**
+
+| # | Test vector file name | SBR module |
+|----|-----------------------|------------|
+| 21 | noise_fade.wav | Envelope |
+| 12 | hihat.wav | Transients |
+| 1 | ct_castagnettes.wav | Transients |
+| 22 | sines.wav | Sines |
+| 21 | noise_fade.wav | Noise |
+| 23 | invf.wav | Whitening |
+
+**Table 4: Testvectors specifically relevant for the objective testing of the PS tool**
+
+| # | Test vector file name | PS parameter |
+|----|-----------------------|--------------|
+| 3 | ct_test_1_48.wav | IID |
+| 2 | ct_glockenspiel.wav | IID |
+| 3 | ct_test_1_48.wav | ICC |
+| 18 | triangle.wav | ICC |
+
+# Annex C (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|---------|-----------|------|-----|-------------------------------------------------------------------------------------------|--------|--------|
+| Date | TSG SA# | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2005-06 | 28 | SP-050242 | | | Approved at TSG SA#28 | 2.0.0 | 6.0.0 |
+| 2005-12 | 30 | SP-050786 | 0001 | 2 | Correction to Enhanced aacPlus Encoder conformance | 6.0.0 | 6.1.0 |
+| 2006-03 | 31 | SP-060013 | 0002 | | Correction to Enhanced aacPlus Decoder conformance: replacement of one test-vector | 6.1.0 | 6.2.0 |
+| 2006-06 | 32 | SP-060354 | 0004 | 1 | Correction to Enhanced aacPlus Decoder conformance: clarification of conformance criteria | 6.2.0 | 6.3.0 |
+| 2007-03 | 35 | SP-070030 | 0005 | 1 | Change of Enhanced aacPlus decoder conformance for the Parametric Stereo tool | 6.3.0 | 7.0.0 |
+| 2008-12 | 42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26412/raw.md b/marked/Rel-11/26_series/26412/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..3d7f2add4afb545ed61ead3de73e2c532bb4fa2f
--- /dev/null
+++ b/marked/Rel-11/26_series/26412/raw.md
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+# --- Contents
+
+Foreword ..... 4
+
+Introduction ..... 4
+
+1 Scope..... 5
+
+2 References..... 5
+
+3 Source code..... 5
+
+Annex A (informative): Change history..... 6
+
+# --- Foreword
+
+This Technical Specification has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- Introduction
+
+This document provides information on obtaining reference software for the 3GPP File Format.
+
+# --- 1 Scope
+
+The present document serves as a "cover note" for the source code of the 3GPP file format.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TS 26.244: "Transparent end-to-end Packet-switched Streaming Service (PSS); 3GPP file format (3GP)".
+- [2] ISO/IEC 14496-12:2004 "Information technology – Coding of audio-visual objects – Part 12: ISO base media file format".
+- [3] ISO/IEC 14496-5:2001 "Information technology – Coding of audio-visual objects – Part 5: Reference software".
+- [4] MP4 REG
+- NOTE: See
+- [5] ISO/IEC 15444: "Information technology - JPEG 2000 image coding system - Part 12: ISO base media file format".
+
+# --- 3 Source code
+
+The definition of the 3GPP file format [1] is derived from the ISO Base Media File Format, as published by ISO/IEC in ISO/IEC 14496-12 (technically identical to 15444-12) [2]. The reference software for the file format is also therefore maintained by ISO/IEC, as part of the overall reference software [3]. However, that reference software was "frozen" some time ago, and more recent versions may be available from the registration authority for the file format, called (for historical reasons) MP4 REG[4].
+
+For convenience, a compiled copy of the library and appropriate headers, for Windows, are included here. The library can be built for other operating systems platforms also, from the source.
+
+# --- Annex A (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|-------|-----------|----|-----|------------------------|--------|--------|
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2005-06 | SA#28 | SP-050244 | | | Approved at TSG SA#28 | 2.0.0 | 6.0.0 |
+| 2007-06 | SA#36 | | | | Version for Release 7 | 6.0.0 | 7.0.0 |
+| 2008-12 | SA#42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | SA#46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | SA#51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | SA#57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26430/5e92d9e8e9ce204e405bff2367f88176_img.jpg b/marked/Rel-11/26_series/26430/5e92d9e8e9ce204e405bff2367f88176_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2fd3d6f452818b7b575c1683afe8146216c055cc
--- /dev/null
+++ b/marked/Rel-11/26_series/26430/5e92d9e8e9ce204e405bff2367f88176_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ebc8b86298a41788153636a9f96bfb229b8ea441b87cc277f34135788d8b53aa
+size 53466
diff --git a/marked/Rel-11/26_series/26430/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg b/marked/Rel-11/26_series/26430/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b4f4f27b70bcfeae68fa7d073ac0b99c7e69d49a
--- /dev/null
+++ b/marked/Rel-11/26_series/26430/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3dba924a6850e1554bcde05f9b36fb4906cc2eebc47f3ada3a799ff2c3b18c44
+size 12157
diff --git a/marked/Rel-11/26_series/26430/7a0db9703b68b3d06cdaeefc084c0006_img.jpg b/marked/Rel-11/26_series/26430/7a0db9703b68b3d06cdaeefc084c0006_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..77371718750285509279009cd50085196e1df3b1
--- /dev/null
+++ b/marked/Rel-11/26_series/26430/7a0db9703b68b3d06cdaeefc084c0006_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c85b2b2a780103d2dc929bd1fa9a01586ca4f3e5e354f0b7c46d13e8066a584e
+size 18296
diff --git a/marked/Rel-11/26_series/26430/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg b/marked/Rel-11/26_series/26430/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5b8fcc16a89474112069d8c98938740702efb3bd
--- /dev/null
+++ b/marked/Rel-11/26_series/26430/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:78d4d081bed3a520aec8f6b7e3a6bbc180771d6bb0d8ae389575a36da98ea767
+size 12531
diff --git a/marked/Rel-11/26_series/26430/ca4d4ff86cf319ed7cc36a1ecda29101_img.jpg b/marked/Rel-11/26_series/26430/ca4d4ff86cf319ed7cc36a1ecda29101_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a649fd8d32a222253d8400d0d39182920e6b217c
--- /dev/null
+++ b/marked/Rel-11/26_series/26430/ca4d4ff86cf319ed7cc36a1ecda29101_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a8fa1c2d83e70a1fc3253837a3e8219b821d0b5b6b3daa97cf5b051bb2ac99a7
+size 23680
diff --git a/marked/Rel-11/26_series/26430/raw.md b/marked/Rel-11/26_series/26430/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..913604dcae7efee934d7e46fed18539c83538467
--- /dev/null
+++ b/marked/Rel-11/26_series/26430/raw.md
@@ -0,0 +1,663 @@
+
+
+
+
+Error! No
+text of
+
+Error! No text of specified style in
+document.
+
+# Contents
+
+| | |
+|--------------------------------------------------------|----|
+| Foreword ..... | 5 |
+| Introduction ..... | 5 |
+| 1 Scope..... | 6 |
+| 2 References..... | 6 |
+| 3 Definitions and abbreviations ..... | 7 |
+| 3.1 Definitions..... | 7 |
+| 3.2 Abbreviations ..... | 7 |
+| 4 Overview and architecture ..... | 7 |
+| 5 SVG-based Timed Graphics ..... | 7 |
+| 5.1 Introduction ..... | 7 |
+| 5.2 Scene Description Restrictions..... | 8 |
+| 5.3 Scene Commands..... | 8 |
+| 5.4 Timed Graphics Media Unit Restrictions..... | 8 |
+| 5.5 Timing model ..... | 8 |
+| 5.6 Processing Model..... | 8 |
+| 5.7 Rendering Model..... | 9 |
+| 5.8 Transport ..... | 9 |
+| 5.9 Timed Graphics Profile ..... | 9 |
+| 5.10 Timed Graphics Level 5 ..... | 10 |
+| 6 Simple Timed Graphics ..... | 10 |
+| 6.1 Media definition ..... | 10 |
+| 6.1.1 Introduction ..... | 10 |
+| 6.1.2 Media component entities..... | 10 |
+| 6.1.2.1 JPEG ..... | 10 |
+| 6.1.2.2 GIF and PNG ..... | 10 |
+| 6.1.2.3 Timed Text..... | 11 |
+| 6.2 Layout definition ..... | 11 |
+| 6.2.1 Introduction ..... | 11 |
+| 6.2.2 Rendering position and composition..... | 11 |
+| 6.3 Random access ..... | 11 |
+| 6.4 Timing and processing model ..... | 12 |
+| 6.4.1 Timing model ..... | 12 |
+| 6.4.2 Processing model..... | 12 |
+| 6.5 Transport and Storage ..... | 12 |
+| 6.5.1 Overview ..... | 12 |
+| 6.5.2 Storage in ISO base media file format files..... | 12 |
+| 6.5.2.1 Track Header..... | 12 |
+| 6.5.2.2 Media component specific configurations ..... | 13 |
+| 6.5.2.2.1 Introduction ..... | 13 |
+| 6.5.2.2.2 Timed Text..... | 13 |
+| 6.5.2.2.3 JPEG, GIF and PNG..... | 13 |
+| 6.5.2.3 Timed Graphics ContentID Box ..... | 13 |
+| 6.5.2.4 Sample Entry Name and Format..... | 14 |
+| 6.5.2.5 Sample Format..... | 14 |
+| 6.5.2.6 Sample Modifier Boxes ..... | 14 |
+| 6.5.2.6.1 Appearance Delay ..... | 14 |
+| 6.5.2.6.2 HyperText..... | 14 |
+| 6.5.2.6.3 Box Over-ride ..... | 14 |
+| 6.5.3 RTP payload format for Timed Graphics ..... | 15 |
+| 6.5.3.1 General ..... | 15 |
+| 6.6 Registered Types..... | 15 |
+| 6.6.1 RTP Payload format MIME Type ..... | 15 |
+| 6.6.2 'Codecs' Parameter for 3GP files ..... | 16 |
+| Annex A (informative): Change history..... | 17 |
+
+
+
+# --- Foreword
+
+This Technical Specification has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- Introduction
+
+Timed graphics is a media type that enables advanced subtitle like services in parallel to video. It enables high quality text and graphics at a low cost.
+
+In low bit-rate video, the areas which are often perceived as the worst are subtitles and graphics or tables (encoded as part of the video). Encoding subtitles as timed text instead of as part of the video can increase the perceived quality of the video substantially. Timed Text [4] solves the problem of subtitles and when used gives a perceptual quality much higher than encoding the text as part of the video stream. DIMS [5] allows the placement of vector graphics on top of video - but from an application perspective and requires DIMS to control the media. Timed Graphics works together with these abovementioned specifications, or independently, to enable better "video" quality.
+
+# 1 Scope
+
+The present document defines a timed graphics media type which reuses components from existing media types. A transport system is defined as is a storage format.
+
+The specification is written in a forward-compatible way in order to allow additions of media components and functionality in future releases.
+
+It enhances the user experience by enabling graphics to be encoded as graphics (as opposed to video) and without requiring an umbrella system such as SMIL or DIMS.
+
+# 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [2] W3C Recommendation: "Scalable Vector Graphics (SVG) Tiny 1.2 Specification".
+- [3] 3GPP TS 26.234: "Transparent end-to-end Packet-switched Streaming Service (PSS); Protocols and codecs".
+- [4] 3GPP TS 26.245: "Transparent end-to-end Packet-switched Streaming Service (PSS); Timed text format".
+- [5] 3GPP TS 26.142: ""Dynamic and Interactive Multimedia Scenes (DIMS)".
+- [6] ITU-T Recommendation T.81 (1992) | ISO/IEC 10918-1:1993: "Information technology – Digital compression and coding of continuous-tone still images – Requirements and guidelines".
+- [7] CompuServe Incorporated: "GIF Graphics Interchange Format: A Standard defining a mechanism for the storage and transmission of raster-based graphics information", Columbus, OH, USA, 1987.
+- [8] CompuServe Incorporated: "Graphics Interchange Format: Version 89a", Columbus, OH, USA, 1990.
+- [9] IETF RFC 2083: "PNG (Portable Networks Graphics) Specification Version 1.0", Boutell T., et al., March 1997.
+- [10] IETF RFC 4396: "RTP Payload Format for 3rd Generation Partnership Project (3GPP) Timed Text", Rey J, Matsui Y, February 2006
+
+# 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in TR 21.905 [1] and the following apply. A term defined in the present document takes precedence over the definition of the same term, if any, in TR 21.905 [1].
+
+**Timed Graphics Entity:** A byte aligned, network independent unit containing timed graphics data
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the abbreviations given in TR 21.905 [1] and the following apply. An abbreviation defined in the present document takes precedence over the definition of the same abbreviation, if any, in TR 21.905 [1].
+
+DIMS Dynamic and Interactive Multimedia Scenes
+
+# 4 Overview and architecture
+
+Timed graphics has two main components: The graphics description, i.e. the actual images, and the layout, i.e. a coordinate system describing the placement of the images.
+
+Timed graphics is designed in as a media type. It can coexist with umbrella systems (e.g. DIMS or SMIL) just as other media types do, yet contains components from DIMS or other media types.
+
+
+
+```
+graph LR; Server[Server] -- "Video stream" --> Client[Client]; Server -- "Timed Graphics stream" --> Client; Server -- "Audio/Other stream" --> Client;
+```
+
+Diagram showing a Server sending three parallel streams to a Client: Video stream, Timed Graphics stream (highlighted in red), and Audio/Other stream.
+
+**Figure 1: Example of a Timed Graphics stream, in parallel to an audio and video stream. No "umbrella" scene description is present.**
+
+Timed graphics may be realized in one of two ways: SVG-based timed graphics or simple timed graphics mode. In the SVG-based timed graphics, the layout and timing are controlled by the SVG scene. The transport and storage are inherited from DIMS. In the simple timed graphics mode, a binary representation format is defined to enable simple embedding of graphics elements. The transport over RTP and the storage in the 3GP file format are defined by this specification.
+
+# 5 SVG-based Timed Graphics
+
+## 5.1 Introduction
+
+SVG-based Timed Graphics is defined as a profile of DIMS with certain restrictions and a layout mechanism for rendering timed graphics with external continuous media (i.e. video). Similarly to DIMS, SVG-based Timed Graphics consists of a multimedia scene. The multimedia scene is described using SVG Tiny 1.2 [2] and may consist of any combination of still pictures and animated graphics. In SVG-based Timed Graphics, continuous media such as audio and video are not allowed and shall be ignored by the receiver. The profile limitations are described in the following sections.
+
+## 5.2 Scene Description Restrictions
+
+SVG Tiny 1.2 shall be used for the description of SVG-based Timed Graphics. The base scene description shall not contain any references to continuous media such as audio or video.
+
+The following restrictions to SVG Tiny 1.2 apply to the SVG scene of SVG-based Timed Graphics:
+
+- Timed Media Elements: audio, video, and animation elements shall not be present in a timed graphics scene and should be ignored by the timed graphics client.
+- Interactivity: scripting and handling of events is not allowed and shall be ignored by the timed graphics client.
+
+Furthermore, SVG-based Timed Graphics scenes should not contain any elements or attributes from DIMS scene extensions.
+
+## 5.3 Scene Commands
+
+Timed Graphics does not support scene commands. In a Timed Graphics scene, DIMS scene commands should not be present and shall be ignored by a terminal that conforms to this specification.
+
+## 5.4 Timed Graphics Media Unit Restrictions
+
+SVG-based Timed Graphics media units are DIMS media units that are restricted to complete SVG documents. The DIMS compression method may be applied to Timed Graphics unit body.
+
+For Timed Graphics the Unit header fields shall be set as follows:
+
+- S: is-Scene: shall be set to 1 and may be ignored by a Timed Graphics decoder.
+- M: is-RAP: shall be set to 1 and may be ignored by a Timed Graphics decoder.
+- I: is-redundant: shall be set to 0 and may be ignored by a Timed Graphics decoder.
+- D: redundant-exit: shall be set to 0 and may be ignored by a Timed Graphics decoder.
+- P: priority shall be set to 1 and may be ignored by a Timed Graphics decoder.
+- C: compression: indicates the compression applied;
+0 indicates no compression (textual format);
+1 indicates that the content is compressed using the encoding signalled in stream setup.
+- X: reserved: shall be set to 0 and shall be ignored by the receiver
+
+## 5.5 Timing model
+
+Timed Graphics consists of a sequence of SVG scenes where each incurs a reset of the scene time to 0. The synchronization to external continuous media is achieved using the transport protocol (RTP) timestamps and the sample timestamps in the 3GP file format.
+
+The SVG scene itself defines its own timeline, which has as origin the time that corresponds to the presentation time given by the RTP or sample timestamp. The usage of internal timelines should be limited to timing the presentation and removal of the graphics content. This is ensured by disallowing continuous media components including the animation element in the SVG scene for timed graphics.
+
+## 5.6 Processing Model
+
+In SVG-based Timed Graphics, a Scene Description is a random access point (RAP) and is processed as a complete replacement for the current scene tree. That is, the entire DOM is discarded and replaced with the result of parsing the newly received SVG element.
+
+The following state diagram illustrates the states. The state diagram should be implemented by timed graphics terminals.
+
+In the state diagram, the terminal may be processing a stream under one of two conditions:
+
+- a) normal processing, 'normal';
+- b) after tuning in, performing random access, or when loss is detected, 'tune-in'.
+
+Tune-in state is entered under any of the following circumstances:
+
+- a) after opening a stream;
+- b) after performing random access;
+- c) after loss of a timed graphics Unit in normal processing.
+
+The terminal transfers to 'normal' state after processing any received timed graphics sample.
+
+
+
+```
+
+stateDiagram-v2
+ [*] --> tune-in : tune-in or random access
+ tune-in --> normal : normal RAP
+ normal --> tune-in : any loss
+
+```
+
+Figure 2: State transition diagram showing two states: 'tune-in' and 'normal'. An arrow labeled 'tune-in or random access' points from the left to the 'tune-in' state. A double-headed arrow labeled 'any loss' points from the 'normal' state to the 'tune-in' state. A double-headed arrow labeled 'normal RAP' points from the 'tune-in' state to the 'normal' state.
+
+Figure 2
+
+## 5.7 Rendering Model
+
+The root element of the Timed Graphics scene shall be rendered on the parent canvas (provided by the media player) originating at the upper left corner. The element shall be completely transparent and should contain the attribute "viewport-fill" that shall be set to "none".
+
+Timed Graphics media shall have a higher rendering order than other continuous media such as video and timed text. In case multiple Timed Graphics streams co-exist in the same multimedia session, the rendering order shall be established based on the media identifiers, or, if not present, the order of appearance in the 3GP file or the SDP.
+
+## 5.8 Transport
+
+SVG-based Timed Graphics uses from the same transport mechanisms as DIMS. It may be downloaded using HTTP, as part of a file format or it may be streamed over RTP.
+
+Timed Graphics reuses the DIMS RTP payload format and the 3GP file format extensions. The Timed Graphics also reuses the SDP syntax and media type parameters defined for DIMS. The profile shall indicate Timed Graphics by carrying the value 5.
+
+## 5.9 Timed Graphics Profile
+
+A new Profile Indicator with value 5 is allocated for the Timed Graphics profile.
+
+Support for the following media types shall also be supported in Timed Graphics Profile:
+
+- The Still Image media formats and the Bitmap Graphics formats of [3].
+
+As required in the SVG specification, SVG fonts shall be supported. The lack of hinting in SVG fonts means that small text which is anti-aliased may become unreadable. This problem is even more evident when text is rotated or animated. Recommendation: SVG fonts should be used with care.
+
+The Open Font Format [4] should be supported at advanced simple text profile, level 2, with the following constraints: if Open Type fonts are supported, the DIMS Timed Graphics Profile client shall support downloadable OpenType fonts with TrueType outlines, TrueType hinting shall be supported for improved text readability, and advanced typographic features may be supported.
+
+NOTE: When OpenType fonts are supported, download of them may be initiated using the font-face-uri element from [1].
+
+Device-native fonts and fonts identified by generic family names may be used.
+
+## 5.10 Timed Graphics Level 5
+
+This level contains the following restrictions:
+
+**Table 1: Timed Graphics Level 5 Limits**
+
+| | Level 5 |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|
+| Scene bitrate (includes the static media embedded within the scene/commands and referenced media payloads) | 200 kbit/sec |
+| Simultaneous video playing | 0 |
+| Simultaneous audio playing | 0 |
+| Simultaneous active Timed Graphics scenes | 1 |
+| Minimum pixel output buffer size | 16 wide by 16 tall |
+| Maximum path segments across all paths | 3000 |
+| Maximum text content size (this refers to the number of characters and does not include the glyph) | 10k bytes |
+| Maximum dash array size | 16 |
+| Maximum number of gradient stops | 32 |
+| Maximum recommended DOM tree size | 20 nodes |
+| Minimum recommended screen refresh rate Note: Depending on the DOM tree size, the recommended screen refresh rate value may not be feasible and a lower screen refresh rate might be expected. | 0.2 frames/sec |
+
+# 6 Simple Timed Graphics
+
+## 6.1 Media definition
+
+### 6.1.1 Introduction
+
+Simple Timed Graphics does not define any new media components, but instead refers to components from existing graphics and image formats. Each format has its own units which are described below. A Simple Timed Graphics "stream" may contain a combination of units of different types, some possibly containing basic interactivity.
+
+This section defines media component entities that together make simple Timed Graphics.
+
+### 6.1.2 Media component entities
+
+#### 6.1.2.1 JPEG
+
+A JPEG image, as specified in [JPEG], is a timed graphics media entity. The support requirement for ISO/IEC JPEG only applies to the following two modes:
+
+- baseline DCT, non-differential, Huffman coding, as defined in table B.1, symbol 'SOF0' in [6];
+- progressive DCT, non-differential, Huffman coding, as defined in table B.1, symbol 'SOF2' [6].
+
+#### 6.1.2.2 GIF and PNG
+
+GIF87a [7], GIF89a [8] and PNG [9] images are timed graphics media entities.
+
+#### 6.1.2.3 Timed Text
+
+A timed text sample, as defined in section 5.17 of [4], is a timed graphics media entity.
+
+## 6.2 Layout definition
+
+### 6.2.1 Introduction
+
+In Simple Timed Graphics, each graphic is given a position on the rendering surface.
+
+### 6.2.2 Rendering position and composition
+
+Graphics are rendered with a region (a concept derived from SMIL). A graphics box is then set within that region. This permits the terminal to position the graphics within the overall presentation. In the case that the graphic contains
+
+internal layout information e.g. an SVG graphic, the explicit layout mode defines the point which the graphic treats as an origin.
+
+A Simple Timed Graphics region is defined which is a rendering area defined using the following attributes:
+
+- tx: Translation value from the coordinate origin (x component)
+- ty: Translation value from the coordinate origin (y component)
+- width: Width of the Timed Graphics Region
+- height: Height of the Timed Graphics Region
+
+
+
+Figure 3: Illustration of graphics region using with a video being origin. The diagram shows a large yellow rectangle representing the 'Display Area'. Inside it, a smaller rectangle with a blue border represents the 'Video region'. A third rectangle with a green border represents the 'Graphics region'. The 'Graphics region' is offset from the top-left corner of the 'Video region' by 'tx' (horizontal translation) and 'ty' (vertical translation). The 'width' and 'height' of the 'Graphics region' are indicated by double-headed arrows at the bottom and left respectively. Labels on the right point to each region: 'Display Area' (yellow box), 'Video region' (blue box), and 'Graphics region' (green box).
+
+**Figure 3: Illustration of graphics region using with a video being origin.**
+
+Graphics regions may be layered, in a similar way to the z-index in SMIL, using the 'layer' attribute.
+
+Layer: Specifies the front-to-back ordering of the graphics region; lower numbers are closer to the viewer. 0 is the normal value, and -1 would be in front of track 0, and so on.
+
+The actual representation of the abovementioned attributes is dependent on the transport/storage format and defined elsewhere.
+
+## 6.3 Random access
+
+All Timed graphics samples are random access points (RAPs) and RAPs are processed by terminals in all states.
+
+A RAP contains the entire content of a timed graphics sample and replaces the corresponding previous data.
+
+There may be multiple timed graphics contents with the same timestamp. When received, the RAP replaces the corresponding previous data per content.
+
+## 6.4 Timing and processing model
+
+### 6.4.1 Timing model
+
+Timed Graphics inherits the timing model from timed text [4]. This section defines the timing model of Timed Graphics samples.
+
+The timed graphics samples are associated with the following parameters:
+
+- the media timestamp. The time when the timed graphics sample is applied;
+- the sample duration.
+
+When multiple timed graphics contents are received simultaneously, the timing model is maintained separately for each content.
+
+The actual representation of the abovementioned attributes is dependent on the transport/storage format and defined elsewhere.
+
+### 6.4.2 Processing model
+
+A RAP is processed as a complete replacement to the previous data of the corresponding contents. The same process is applied during tune-in and standard decoding.
+
+Two RAPs with the same timestamp, and in the same flow (i.e. with the same content\_ID) are considered redundant alternatives to each other. Upon reception of two such RAPs, it is not required to process both.
+
+When multiple timed graphics contents are received simultaneously, the terminal processes each content separately.
+
+## 6.5 Transport and Storage
+
+### 6.5.1 Overview
+
+### 6.5.2 Storage in ISO base media file format files
+
+#### 6.5.2.1 Track Header
+
+A track header box with the following data is used for Timed Graphics tracks:
+
+```
+aligned(8) class TrackHeaderBox
+ extends FullBox('tkhd', version, flags){
+ if (version==1) {
+ unsigned int(64) creation_time;
+ unsigned int(64) modification_time;
+ unsigned int(32) track_ID;
+ const unsigned int(32) reserved = 0;
+ unsigned int(64) duration;
+ } else { // version==0
+ unsigned int(32) creation_time;
+ unsigned int(32) modification_time;
+ unsigned int(32) track_ID;
+ const unsigned int(32) reserved = 0;
+ unsigned int(32) duration;
+ }
+ const unsigned int(32) [2] reserved = 0;
+ int(16) layer;
+ template int(16) alternate_group = 0;
+ template int(16) volume = 0;
+ const unsigned int(16) reserved = 0;
+ template int(32) [9] matrix=
+ { 0x00010000,0,0,0,0x00010000,0,tx,ty,0x40000000 };
+ // unity matrix
+ unsigned int(32) width;
+ unsigned int(32) height;
+ }
+}
+```
+
+The values tx, ty, width, height and layer are defined in section 6.2. All other values are defined as per the ISO base file format.
+
+NOTE: This track header is identical to its use in [4].
+
+#### 6.5.2.2 Media component specific configurations
+
+##### 6.5.2.2.1 Introduction
+
+Within the sample entry there are one or more boxes. Each box has two functions:
+
+- it declares that samples of that type may occur in the track;
+- it contains the setup information for samples of that type.
+
+##### 6.5.2.2.2 Timed Text
+
+```
+class TG3gttConfiguration extends Box('3gtt') {
+{
+ unsigned int(32) displayFlags;
+ signed int(8) horizontal-justification;
+ signed int(8) vertical-justification;
+ unsigned int(8) background-color-rgba[4];
+ BoxRecord default-text-box;
+ StyleRecord default-style;
+ FontTableBox font-table;
+}
+```
+
+The TimedText configuration contains the boxes defined for 3GPP Timed Text in clause 5.16 of [4], and that specification also defines which boxes are mandatory and which are optional.
+
+##### 6.5.2.2.3 JPEG, GIF and PNG
+
+```
+class TG3gttConfiguration extends Box('jpeg')
+{
+ BoxRecord default-box;
+ unsigned int(32) displayFlags;
+}
+class TG3gttConfiguration extends Box('gif ')
+{
+ BoxRecord default-box;
+ unsigned int(32) displayFlags;
+}
+class TG3gttConfiguration extends Box('png ')
+{
+ BoxRecord default-box;
+ unsigned int(32) displayFlags;
+}
+```
+
+The graphics configurations all include a default-box, as a boxrecord and displayFlags as defined in clause 5.16 of [4]. The displayFlags declare transition/appearance behaviour and the fields continuous karaoke, write text vertically and fill text region shall be set to zero for non-text sample types.
+
+#### 6.5.2.3 Timed Graphics ContentID Box
+
+```
+class TG3gCIDBox extends FullBox('cid ') {
+ Uint(4) content_ID;
+ Uint(4) reserved = 0;
+}
+```
+
+The TG3gCIDBox distinguishes Timed Graphics content. The default value (and recommended value for text flows) is zero.
+
+Each stream of units with the same content\_ID is a logically separate streams and should be processed independently.
+
+#### 6.5.2.4 Sample Entry Name and Format
+
+The sample entry four-character code for timed graphics is 'tigr'. One or more configuration boxes shall be present in the sample entry. A timed graphics ContentID box may be present in the sample entry.
+
+#### 6.5.2.5 Sample Format
+
+The sample structure is very similar to that defined in section 5.17 of [4]. In that specification, the text string is preceded by a length field, and is followed by modifier boxes. In this specification, the text string or graphics element is enclosed in a box, whose type MUST match one of the configuration boxes in the sample entry. Modifier boxes are specific to the sample type.
+
+The modifier boxes for a text sample are defined in [4].
+
+The modifier boxes for a JPEG, PNG or GIF sample are as follows.
+
+#### 6.5.2.6 Sample Modifier Boxes
+
+##### 6.5.2.6.1 Appearance Delay
+
+'dlay' - Specifies a delay after a Scroll or fade In and/or before Scroll or fade Out. A 32-bit integer specifying the delay, in the units of the timescale of the track. The default delay, in the absence of this box, is 0.
+
+```
+class ScrollDelayBox() extends SampleModifierBox ('dlay') {
+ unsigned int(32) scroll-delay;
+}
+```
+
+##### 6.5.2.6.2 HyperText
+
+'clik' - Click-through link.
+
+This box contains these values:
+
+URLLength:- the number of bytes in the following URL
+
+URL: UTF-8 characters – the linked-to URL
+
+altLength:- the number of bytes in the following "alt" string
+
+altstring: UTF-8 characters – an "alt" string for user display
+
+The URL should be an absolute URL, as the context for a relative URL may not always be clear.
+
+The "alt" string may be used as a tool-tip or other visual clue, as a substitute for the URL, if desired by the terminal, to display to the user as a hint on where the link refers.
+
+Hypertext-linked graphics should not be scrolled. It is hard for the user to interact with moving graphics.
+
+```
+class TextHyperTextBox() extends TextSampleModifierBox ('href') {
+ unsigned int(8) URLLength;
+ unsigned int(8) URL[URLLength];
+ unsigned int(8) altLength;
+ unsigned int(8) altstring[altLength];
+}
+```
+
+##### 6.5.2.6.3 Box Over-ride
+
+'tbox' - box over-ride. This over-rides the default box set in the sample description.
+
+```
+class BoxBox() extends SampleModifierBox ('tbox') {
+ BoxRecord the-box;
+}
+```
+
+### 6.5.3 RTP payload format for Timed Graphics
+
+#### 6.5.3.1 General
+
+The RTP payload format for Simple Timed Graphics is laid out the same as, and uses for the most part the same definition as, the RTP payload format for Timed Text (RFC 4396). The differences are:
+
+- that a new MIME type is used, to identify this as a Timed Graphics stream rather than simply Timed Text;
+- multiple Timed Graphics Streams may be packed into one RTP session, using the content\_ID to distinguish them;
+- where the payload format talks about 'the text string' and a graphic element is in use, then the graphic element (e.g. JPEG picture) should be understood;
+- The U bit is specific to text and should be set to 0 for graphics.
+
+Flows are identified in the content\_ID in the 4 bits following the U bit in the common header; replace
+
+
+
+```
+
+ 0 1 2
+ 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ |U| R |TYPE | LEN |
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+```
+
+Figure 4a. Common payload header fields. A diagram showing a 32-bit header structure with fields U, R, TYPE, and LEN.
+
+Figure 4a. Common payload header fields
+
+o R (4 bits) "Reserved bits": for future extensions. This field MUST be set to zero (0x0) and MUST be ignored by receivers.
+
+With:
+
+
+
+```
+
+ 0 1 2
+ 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ |U| CID |TYPE | LEN |
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
+```
+
+Figure 4b. Common payload header fields. A diagram showing a 32-bit header structure with fields U, CID, TYPE, and LEN.
+
+Figure 4b. Common payload header fields
+
+o F (4 bits) contentID. This field distinguishes flows. The default value (and recommended value for text flows) is zero.
+
+Each stream of units with the same contentID is a logically separate stream in the RTP session and should be processed independently.
+
+## 6.6 Registered Types
+
+### 6.6.1 RTP Payload format MIME Type
+
+**Type name:** video
+
+**Subtype name:** timedgraphics
+
+**Required parameters:**
+
+- As defined in [10]
+
+**Optional parameters:**
+
+- As defined in [10]
+
+**Encoding considerations:**
+
+- This media type is currently only defined for transport via RTP.
+
+**Security considerations:**
+
+- RTP packets using the payload format defined in the present document are subject to the security considerations discussed in the RTP specification [15] and any applicable RTP profile, e.g. AVP [21].
+
+**Interoperability considerations:**
+
+- None.
+
+**Published specification:**
+
+- 3GPP TS 26.430
+
+#### **Applications that use this media type:**
+
+- Timed Graphics Streaming applications.
+
+#### **Additional information:**
+
+- Magic number(s): None.
+- File extension(s): None.
+- Macintosh file type code(s): None.
+
+#### **Person and email address to contact for further information:**
+
+- John Meredith.
+- john.meredith@3gpp.org
+
+#### **Intended usage:**
+
+- COMMON.
+
+#### **Restrictions on usage:**
+
+- None.
+
+#### **Author:**
+
+- 3GPP SA4 WG.
+
+#### **Change controller:**
+
+- 3GPP TSG SA.
+
+### 6.6.2 'Codecs' Parameter for 3GP files
+
+When timed graphics content is supplied in 3GP files which are identified by MIME type, the 'codecs' parameter defined in [14] may be used to indicate that Timed Graphics content is present. The codecs parameter takes the sample entry name as defined above (that is, 'tigr').
+
+# Annex A (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|-------|-----------|----|-----|------------------------|--------|--------|
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2010-03 | 47 | SP-100027 | | | Approved TSG SA#47 | | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26851/0332672e127cd13bb6d2fc8d1e27bfa2_img.jpg b/marked/Rel-11/26_series/26851/0332672e127cd13bb6d2fc8d1e27bfa2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1559e1323acede4b055e19e5906b06df1eb7bd02
--- /dev/null
+++ b/marked/Rel-11/26_series/26851/0332672e127cd13bb6d2fc8d1e27bfa2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ac9ba974a307bae500ca45b95360a6020a46e8352468b4b1c6884b6c2bdb068f
+size 88528
diff --git a/marked/Rel-11/26_series/26851/bafe3c344aef7f6f79dab49c9eca89a9_img.jpg b/marked/Rel-11/26_series/26851/bafe3c344aef7f6f79dab49c9eca89a9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f20bd44ba34814bfd321df0600943c8d172c054c
--- /dev/null
+++ b/marked/Rel-11/26_series/26851/bafe3c344aef7f6f79dab49c9eca89a9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f32e13af041270b73f320326c696c455dc7993b54894dce89559bc3b24957b8c
+size 101432
diff --git a/marked/Rel-11/26_series/26851/raw.md b/marked/Rel-11/26_series/26851/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..a3786a13a9305393d2aab13ea7547cd15ee4c5c1
--- /dev/null
+++ b/marked/Rel-11/26_series/26851/raw.md
@@ -0,0 +1,525 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|------------------------------------------------------------------------------------------------------------------------------|----|
+| Foreword ..... | 5 |
+| 1 Scope..... | 6 |
+| 2 References..... | 6 |
+| 3 Abbreviations..... | 6 |
+| 4 Enhancements to Multimedia: PSS, MMS, and MBMS Enhancements and Performance Improvements (EMM) ..... | 7 |
+| 4.1 Introduction ..... | 7 |
+| 4.2 Use Cases, Requirements and Working assumptions ..... | 7 |
+| 4.2.1 Use Case#1: Reception reporting aggregation for quick channel change ..... | 7 |
+| 4.2.1.1 Recommended Requirements ..... | 7 |
+| 4.2.1.2 Assumptions..... | 8 |
+| 4.3 Other Enhancements ..... | 8 |
+| 4.3.1 MBMS video enhancements..... | 8 |
+| 4.4 Impacted Technical Specification(s)..... | 8 |
+| 5 Download Delivery Enhancements for MBMS (EMM-DDE) ..... | 8 |
+| 5.1 Introduction ..... | 8 |
+| 5.2 Use Cases, Recommended Requirements and Assumptions ..... | 9 |
+| 5.2.1 Use Case#1: Continuity between MBMS Download and HTTP-based Delivery of DASH-Formatted Content ..... | 9 |
+| 5.2.1.1 Recommended Requirements ..... | 9 |
+| 5.2.1.2 Assumptions..... | 10 |
+| 5.2.2 Use Case#2: Multiplexed User Services ..... | 10 |
+| 5.2.2.1 Recommended Requirements ..... | 10 |
+| 5.2.2.2 Assumptions..... | 10 |
+| 5.2.3 Use Case#3: Separated User Services ..... | 10 |
+| 5.2.3.1 Recommended Requirements ..... | 10 |
+| 5.2.3.2 Assumptions..... | 10 |
+| 5.2.4 Use Case#4: Location-based Traffic Alert Service ..... | 11 |
+| 5.2.4.1 Recommended Requirements ..... | 11 |
+| 5.2.4.2 Assumptions..... | 11 |
+| 5.2.5 Use Case#5: MBMS File Repair via Conventional HTTP Servers ..... | 12 |
+| 5.2.5.1 Recommended Requirements ..... | 12 |
+| 5.2.5.2 Assumptions..... | 12 |
+| 5.2.5.3 Gap Analysis..... | 13 |
+| 5.2.6 Use Case#6: HTTP Delivery of Partial Resources: Application Access to Incomplete Segments in DASH over MBMS/FLUTE..... | 13 |
+| 5.2.6.1 Recommended Requirements ..... | 15 |
+| 5.2.6.2 Assumptions..... | 15 |
+| 5.2.6.3 Gap Analysis..... | 15 |
+| 5.2.7 Use Case#7: HTTP Delivery of Partial Resources: Generic File Downloading ..... | 15 |
+| 5.2.7.1 Recommended Requirements ..... | 15 |
+| 5.2.7.2 Assumptions..... | 15 |
+| 5.2.7.3 Gap Analysis..... | 15 |
+| 5.3 Impacted Technical Specification(s)..... | 15 |
+| 6 IMS-based PSS and MBMS Streaming Synchronization Enhancements (IPME) ..... | 16 |
+| 6.1 Introduction ..... | 16 |
+| 6.2 Use Cases, Recommended Requirements and Assumptions ..... | 16 |
+| 6.2.1 Use Case#1: Media presentation synchronization across multiple UEs in IMS-based PSS services .. | 16 |
+| 6.2.1.1 Recommended Requirements ..... | 16 |
+| 6.2.1.2 Assumptions..... | 16 |
+| 6.2.1.3 Gap Analysis..... | 16 |
+| 6.2.2 Use Case#2: Lip-sync across multiple UEs in IMS-based PSS services ..... | 16 |
+| 6.2.2.1 Recommended Requirements ..... | 17 |
+| 6.2.2.2 Assumptions..... | 17 |
+
+- 6.2.2.3 Gap Analysis.....17
+- 6.2.3 Use Case#3: Media presentation synchronization across multiple UEs in IMS-based MBMS services
+- .....17
+- 6.2.3.1 Recommended Requirements .....17
+- 6.2.3.2 Assumptions.....17
+- 6.2.3.3 Gap Analysis.....17
+- 6.2.4 Use Case#4: Lip-sync across multiple UEs in IMS-based MBMS services .....18
+- 6.2.4.1 Recommended Requirements .....18
+- 6.2.4.2 Assumptions.....18
+- 6.2.4.3 Gap Analysis.....18
+- 6.3 Impacted Technical Specification(s).....18
+- 7 Conclusion .....18
+- Annex A: Change history.....19
+
+# --- Foreword
+
+This Technical Report has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The present document contains the results of the work items EMM , EMM-DDE and EMM-IPME. This document does not include the results from the EMM-EFEC work item.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [2] 3GPP TS 26.346: "Multimedia Broadcast/Multicast Service (MBMS); Protocols and codecs".
+- [3] 3GPP TS 26.237: "IP Multimedia Subsystem (IMS) based Packet Switch Streaming (PSS) and Multimedia Broadcast/Multicast Service (MBMS) User Service; Protocols".
+- [4] 3GPP TS 26.247: "Transparent end-to-end Packet-switched Streaming Service (PSS); Progressive Download and Dynamic Adaptive Streaming over HTTP (3GP-DASH)".
+- [5] 3GPP TR 26.946: "Multimedia Broadcast/Multicast Service (MBMS) user service guidelines".
+- [6] IETF RFC 6184 (May 2011): "RTP Payload Format for H.264 Video", Y.-K. Wang, R. Even, T. Kristensen, R. Jesup.
+- [7] IETF RFC 3986 (Jan 2004): "Uniform Resource Identifier (URI): Generic Syntax", R. Housley.
+- [8] OMA-TS-MLP-V3\_3-20100831-C: "Mobile Location Protocol 3.3".
+
+# --- 3 Abbreviations
+
+For the purposes of the present document, the abbreviations given in TR 21.905 [1] and the following apply:
+
+NOTE: An abbreviation defined in the present document takes precedence over the definition of the same abbreviation, if any, in TR 21.905 [1].
+
+| | |
+|-------|---------------------------------------------------------------|
+| AVC | Advanced Video Coding |
+| DASH | Dynamic Adaptive Streaming over HTTP |
+| DDE | Download Delivery Enhancements |
+| EFEC | Enhancement to FEC |
+| eMBMS | E-UTRAN MBMS |
+| EMM | Enhancements to Multimedia |
+| FDT | File Description Table |
+| FEC | Forward Error Correction |
+| FLUTE | File deLivery over Unidirectional Transport |
+| GNSS | Global Navigation Satellite System |
+| GPS | Global Positioning System |
+| HDTV | High Definition TV |
+| HTTP | Hypertext Transfer Protocol |
+| IDR | Independent Data Refresh |
+| IPME | IMS-based PSS and MBMS Streaming Synchronization Enhancements |
+| IUT | Inter UE Session Transfer |
+
+| | |
+|------|----------------------------------------|
+| LA | LosAngeles |
+| MB | MegaByte |
+| MBMS | Multimedia Broadcast/Multicast Service |
+| MIME | Multipurpose Internet Mail Extensions |
+| MLP | Mobile Location Protocol |
+| MMS | Multimedia Messaging Service |
+| MTSI | Multimedia Telephony Service for IMS |
+| OMA | Open Mobile Alliance |
+| OTA | Over The Air |
+| PSS | Packet-switched Streaming Service |
+| QoE | Quality of Experience |
+| RFC | Request For Comment |
+| SAP | Stream Access Points |
+| TV | Television |
+| UE | User Equipment |
+| URI | Uniform Resource Identifier |
+| URL | Uniform Resource Locator |
+| XML | Extensible Markup Language |
+
+# --- 4 Enhancements to Multimedia: PSS, MMS, and MBMS Enhancements and Performance Improvements (EMM)
+
+## 4.1 Introduction
+
+This clause describes the EMM use cases, associated recommended requirements, assumptions, other enhancements and provides a list of impacted technical specifications.
+
+This document is written in a form that the recommendations made and assumptions stated are directed to authors and contributors to Technical Specifications being affected as a result of the study presented here.
+
+## 4.2 Use Cases, Requirements and Working assumptions
+
+### 4.2.1 Use Case#1: Reception reporting aggregation for quick channel change
+
+One could consider the use case of a user who is channel surfing on a set of mobile TV services. The user clicks through several channels rapidly for a brief period before settling on a single channel for a more extended period of time.
+
+The UE is requested to send reception reports for the services he has and is continuing to consume. By aggregating the reception reports, the UE optimizes the transfer of the report.
+
+#### 4.2.1.1 Recommended Requirements
+
+- If the next session start is less than OffsetTime after a session end, then it is recommended that a UE shall disable the backoff timer for uploading the previously collected log and shall collect the new log per the previous samplePercentage (if samplePercentage was used).
+- It is recommended that the UE shall set the upload timer again after the end of the session.
+- It is recommended that the UE should maintain the decision of whether to log or not for consistency. In case samplePercentage is specified, then calculate whether or not to perform statistical reporting again if the session start is less than OffsetTime after the end of the last viewing session.
+- It is recommended that the existing mechanism of using multipart MIME to bundle multiple single XML files shall be maintained.
+
+- It is recommended to make it possible that the aggregation could be made at the XML level by using a number of statisticalReport elements that may be present in a single reception report.
+- In the case of multiple aggregated RAck reporting, the implications of backward compatibility between R11 client and R10 and earlier Reception Reporting Server need to be examined and considered.
+
+#### 4.2.1.2 Assumptions
+
+None identified.
+
+## 4.3 Other Enhancements
+
+### 4.3.1 MBMS video enhancements
+
+The EMM Work Item Description has the following objective:
+
+- "Given the Rel-10 and Rel-11 changes on video encoding and decoding capabilities in MTSI and PSS, it is felt that MMS encoding capabilities would require an upgrade. For example MMS encoding capabilities could be aligned to MTSI mandatory H.264 Constrained Baseline Profile level 1.2 as opposed to current H.263 support. The same would apply to PSS and MBMS services which may require upgrade of mandatory and recommended codec support given the wider availability of UEs with higher video rendering capabilities (e.g. tablets). These upgrades would both improve user experience and simplify implementations".
+
+The objective is to update video codec support of PSS, MMS and MBMS services in a consistent manner to improve video quality and simplify content preparation/adaptation, e.g. align MMS support to MTSI video codec support and improve PSS/MBMS video codec mandatory support with e.g. H.264.
+
+In order to fulfil this objective, the following changes were made in the specification:
+
+- H.264 (AVC) Constrained Baseline Profile Level 1.3 is changed from recommended to mandatory for MBMS clients.
+- H.264 (AVC) High Profile Level 3.1 is mandatory for MBMS clients supporting HDTV video content at a resolution of 1280x720 (720p) with progressive scan at 30 frames per second.
+- - Reference RFC 6184 [6] superseded RFC 3984 and it is now updated.
+
+## 4.4 Impacted Technical Specification(s)
+
+The changes required have been included in TS 26.346 [2].
+
+# --- 5 Download Delivery Enhancements for MBMS (EMM-DDE)
+
+## 5.1 Introduction
+
+This clause describes the EMM-DDE use cases, associated recommended requirements, assumptions, and provides a list of impacted technical specifications.
+
+## 5.2 Use Cases, Recommended Requirements and Assumptions
+
+### 5.2.1 Use Case#1: Continuity between MBMS Download and HTTP-based Delivery of DASH-Formatted Content
+
+A user would like to watch DASH-formatted content. The UE device of the user is capable of downloading DASH-formatted content over both HTTP-based delivery and MBMS download delivery methods. Initially, the user is outside of the MBMS coverage area and consequently receives the DASH-formatted content over HTTP-based delivery. Later on, the user enters into the MBMS coverage area, and the UE triggers a switch to the MBMS download delivery method for receiving DASH-formatted content. After a while, the user initiates a trick play mode action, and consequently the UE triggers a switch back to the HTTP-based delivery method for receiving DASH-formatted content.
+
+To summarize, here are the use cases for which such switching between MBMS download delivery and HTTP-based delivery methods are relevant:
+
+- a) Switching from MBMS download to unicast/HTTP-based delivery method:
+ - Without channel change e.g. when a user is viewing an MBMS user service and moves out of MBMS coverage, or the user initiates trick play mode action, etc.
+ - With channel change e.g. changing to a channel only available on unicast/HTTP.
+- b) Switching from unicast/HTTP-based delivery to MBMS download:
+ - Without channel change e.g. the user returns back from trick play mode to a normal MBMS user service, etc.
+ - With channel change e.g. changing to a channel available on MBMS.
+
+Given such availability of unicast/HTTP and broadcast/FLUTE delivery options for DASH formatted content, it is important to ensure continuity and consistent user experience for the entire streaming session.
+
+#### 5.2.1.1 Recommended Requirements
+
+- - It is recommended to make it possible to switch from MBMS download delivery method to HTTP-based delivery method for downloading DASH-formatted content including:
+ - User-initiated content switch with access change: The user requests reception of a service other than the one currently received over MBMS, and the new service is only available over unicast/HTTP.
+ - Application-initiated switch of access: The MBMS coverage is lost and alternative reception of the same service is possible over unicast/HTTP.
+- - It is recommended to make it possible to switch from HTTP-based delivery method to MBMS download delivery method for downloading DASH-formatted content.
+ - User-initiated content switch with access change: The user requests reception of a service other than the one currently received over unicast/HTTP, and the new service is available over MBMS.
+ - Application-initiated switch of access: The UE recognizes that MBMS reception of that service is alternatively possible (e.g. because MBMS reception was re-gained), such that the UE may terminate the unicast/HTTP session and initiate reception over MBMS.
+- - It is recommended to make it possible for a network operator to indicate a relative level of preference to the UE within one representation e.g. unicast and broadcast access networks.
+- - It is recommended to make it possible to support a complete QoE reporting framework for DASH over combined MBMS download and HTTP-based delivery methods.
+
+#### 5.2.1.2 Assumptions
+
+None identified.
+
+### 5.2.2 Use Case#2: Multiplexed User Services
+
+An operator identifies that certain MBMS services are almost always consumed together, e.g. Liverpool FC match highlights and alternative commentary tracks. The operator decides that it will multiplex these services onto a single MBMS transport bearer in order to lower the number of MBMS radio bearers provisioned across its network, reduce the amount of signalling across its network, and furthermore, decrease UE complexity by maintaining less session state information.
+
+It is of benefit in the case where a particular user is interested in only one or some of the services on the transport session that the MBMS client has knowledge of when to tune into the transport session in order to receive the content. Some users only want to consume the commentary track (e.g. a visually impaired user). By adding timing information to the metadata, a UE is capable of not tuning into the transmission session until the content the user has registered for is being transmitted, therefore saving battery power, requiring less cache, etc.
+
+#### 5.2.2.1 Recommended Requirements
+
+- It is recommended that the mobile operator shall be able to carry more than one user service per transport session.
+- It is recommended that the mobile operator shall be able to signal timing information relating to multiplexed user services per transport session.
+- It is recommended that an MBMS UE shall be able to tune in to transport sessions based on the operator-provided timing information or tune in to the entire session.
+
+#### 5.2.2.2 Assumptions
+
+None identified.
+
+### 5.2.3 Use Case#3: Separated User Services
+
+A service operator is utilising an eMBMS system to deliver the YouTube top-10 watched videos. These videos may vary from less than 30 seconds to upwards of 30 minutes.
+
+In this use case there can be significant benefits in terms of bandwidth and user experience if it were possible for videos with similar lengths (and therefore file size) to be grouped on separate transport sessions. This would allow for FEC, transmit power, file repair, carousel repetition etc to be provisioned per transport session and not simply per service. The ability to control these individually would prevent over-dimensioning of any parameter to fit the lowest common denominator.
+
+#### 5.2.3.1 Recommended Requirements
+
+- - It is recommended that the mobile operator shall be able to carry objects comprising a single MBMS user service over one or more MBMS transport sessions.
+- - It is recommended that the mobile operator shall be able to provision the one or more MBMS transport sessions independently.
+
+#### 5.2.3.2 Assumptions
+
+None identified.
+
+### 5.2.4 Use Case#4: Location-based Traffic Alert Service
+
+A mobile network operator offers a location-based traffic alert service. The mobile network operator provides a traffic alert service via download delivery for the Los Angeles (LA) metropolitan area. Traffic alerts might be delivered on a periodic basis, or in a dynamic fashion as events occur or conditions change in near real time, such as auto accidents, traffic congestion, unexpected road closure, etc. It also wants to be able to deliver advisories on upcoming and planned events such as highway/lane closure for scheduled repair. The operator wishes to enable selective reception of an individual traffic alert by target area, which may be represented by the nominal coverage area of one or more cell IDs. In addition, based on knowledge that most of its subscriber devices are capable of finer positioning precision than cell-ID (e.g. GPS/GNSS is built in), the operator may choose to specify the reception area as a point with an uncertainty radius, or a polygon whose shape is as defined for example by OMA MLP (see OMA-TS-MLP-V3\_3-20100831-C [8]).
+
+Subscribing to such location-dependent service whose content files are associated with target reception data enables motorists to obtain traffic alert information tailored to his/her current location within the service area. Traffic alerts could also be predictively selected by the UE, based on knowledge of its present location, speed and heading, or by known past location behavior, for example in relation to repetitive commute patterns to/from work. The received traffic information provides timely, accurate and location-relevant information on traffic-related problems or events according to scheduled or unexpected occurrences, and as such occurrences evolve. This service provides considerable value and convenience to the subscriber by enhancing his/her ability to avoid, or be warned in advance about, traffic incidents.
+
+#### 5.2.4.1 Recommended Requirements
+
+- It is recommended that the mobile operator shall be able to offer content download delivery services whose contents are targeted to specific locations.
+- It is recommended that the mobile operator shall be able to dynamically produce and change the associated target location criteria, and its time validity.
+- It is recommended that the mobile operator shall be able to define the target reception area by different parameters, including but not limited to cell-ID.
+- It is recommended that the mobile operator shall be able to define filtering criteria by different parameters including but not limited to time in the past, present, or future.
+- It is recommended that the UE should take in account a minimum level of confidence in meeting the location criteria in deciding whether to download the associated content.
+- It is recommended that the UE should perform selective content reception decision in accordance to the location targeting criteria. The standard shall not define how the reception decision is computed in terms of specific algorithms or technical capabilities.
+- It is recommended that the mobile operator shall be able to offer location-based content delivery services while ensuring privacy of subscribers' locations in consuming location-based broadcast services.
+- It is recommended that to make it possible for the mobile operator to employ network-controlled, UE-controlled, or hybrid (combination of network- and UE-controlled) positioning technologies in support of download delivery services whose contents are intended for reception in specific locations. It is recommended that the choice of positioning technology/technologies should be driven by considerations such as network efficiency and user privacy.
+
+#### 5.2.4.2 Assumptions
+
+None identified.
+
+### 5.2.5 Use Case#5: MBMS File Repair via Conventional HTTP Servers
+
+A mobile network operator wishes to use conventional HTTP servers as repair servers for the MBMS File Repair feature. Using conventional web servers allows the operator to leverage the existing, scalable, standardized, and widely-deployed web infrastructure. The operator wishes not to use specialized file-repair servers and would prefer to use the same web servers as for delivering other content.
+
+From a service perspective the operator wishes to re-use content already available on the Internet via standard HTTP servers. Furthermore, the operator can leverage the standardized, reliable, and optimized delivery provided by conventional HTTP-based Content Delivery Networks, resulting in a better and proven user experience with less risks, and reducing their own network congestion. The operator can also enable advanced hybrid Internet/MBMS services, e.g. where eMBMS is used as a "traffic offload service" for Internet content.
+
+It is important that the use of the HTTP-byte range requests be optimized to minimize the number of file repair requests from the repair servers. For an operator that already has an existing MBMS deployment not using HTTP byte range requests for file repair, it is necessary to be able to gradually deploy terminals and servers that use the HTTP byte-range request messaging without negatively impacting the deployed terminals and servers.
+
+#### 5.2.5.1 Recommended Requirements
+
+- It is recommended to make it possible for the mobile network operator to use conventional HTTP/1.1 servers as file repair servers for the MBMS File Repair feature.
+- It is recommended to make it possible for terminals to make standard HTTP/1.1 byte-range requests for repair data from the file repair servers.
+- It is recommended to make it possible to indicate to terminals the capability to use conventional HTTP byte-range requests to request repair data for a file directly from a content server location. When known, the availability time of the file on the content server should also be indicated to the terminal.
+- It is recommended to make it possible to indicate to terminals the capability to use conventional HTTP byte-range requests to request repair data for multiple files from a common or dedicated HTTP server location.
+- When a terminal has the option to request data from both a common dedicated HTTP server or a content server, It is recommended to make it possible to indicate a prioritization of which type of server the terminal should select.
+- It is recommended to make it possible for the mobile network operator to configure the network broadcast data and also terminal requests for repair data to minimize the amount of unicast load and number of HTTP repair requests.
+- It is recommended to make it possible for the mobile network operator to perform a gradual deployment of terminals and conventional servers that support using HTTP byte range request without breaking backward compatibility with currently deployed terminals and servers.
+- It is recommended to make it possible for the mobile operator using HTTP servers as file repair servers to collect File Repair statistics for an MBMS session using UE Reception Reports It is recommended to make it also possible for an operator to collect File Repair statistics for an MBMS session from an HTTP File Repair server, i.e. without relying on UE Reception Reports. There is no intention to include the interface between the File Repair Server and the Network Operator within the scope of TS 26.346 [2].
+
+#### 5.2.5.2 Assumptions
+
+- For backwards compatibility, re-use the "serviceURI" element in the Associated Delivery Procedures to indicate the availability of symbol-based repair servers for legacy terminals.
+- It is recommended that the changes to indicate the availability of byte-range based repair servers shall be made in the File Delivery Table (FDT). It is recommended that these changes shall be made in a manner that is backwards compatible with pre Release 11 terminals and their XML Schema. It is recommended that no changes be made to the Associated Delivery Procedures.
+- Introduce two optional elements in the File element of the File Delivery Table (FDT)
+
+- Each of these elements can be used to provide the URL of the file on a content server or on a common dedicated server.
+- When either of these elements are present these locations are prioritized by the terminal before making a request from symbol-based file repair servers (listed under "serverURI" in the Associated Delivery Procedures).
+- It is recommended that one element shall have priority over the other in the case that both are present.
+- The URLs can be absolute URLs or relative references as described in RFC 3986 [7].
+- Associated with each of the above elements, introduce an optional element to indicate the availability time, if known.
+- In the FDT introduce two optional elements which, when present, provide a base URL against which to resolve a relative reference included in the two new URL elements in the File element.
+
+#### 5.2.5.3 Gap Analysis
+
+The introduction of the new server URI elements in the File element of the FDT and a BaseURI element into the FDT enable the operator to collect File Repair Statistics from a standard HTTP server without using UE Reception Reports. The operator can use these new elements to provide session-specific URIs which the UE uses to make file repair requests. Using standard analytics, the HTTP server can correlate the URI in these requests with the session over which the file was delivered.
+
+### 5.2.6 Use Case#6: HTTP Delivery of Partial Resources: Application Access to Incomplete Segments in DASH over MBMS/FLUTE
+
+An MBMS User Service which pertains to streaming of H.264 encoded live video in Dynamic Adaptive Streaming HTTP (DASH) format is delivered by File Delivery over Unidirectional Transport (FLUTE) protocol. A particular user is in a region of marginal coverage which is subject to random errors. This particular service is operating with DASH Live profile and a relatively long Segment duration e.g. 12 seconds, in order to achieve maximum bit rate efficiency. The operating bit rate, for example, is 1 Mbps, so the individual Segments are of a 1.5 MB file size. The average delivery time is less than or equal to 12 seconds. The encoder for this service, on average, produces one Independent Data Refresh (IDR) video frame due to a video content scene change every 6 seconds. These IDRs are marked as Stream Access Points (SAP) and are in addition to the SAP required at the start of each Segment for Live profile. A scene change IDR (SAP) in this context is an IDR generated by a change in video content from one frame to the next significant enough to code most efficiently, as an IDR video frame.
+
+In its current form, with regards to the download delivery method, TS 26.346 does not specify a means for the FLUTE client to pass up to the consuming application a partial file. The result is that any file, in this case a Segment, containing missing data is ultimately discarded. In the case of Application Layer FEC being applied, any file that is not successfully recovered is similarly dropped.
+
+For an example of how partial Segment delivery to the application might enhance end user experience, please see Figures 1 & 2 below.
+
+
+
+This diagram illustrates the current FLUTE operation across four layers: SERVER, OTA error pattern, UE, and LEGEND.
+
+- SERVER:**
+ - DASH segmentation: Alternating blue and light blue blocks.
+ - FEC symbol creation: Blue blocks with vertical dividers.
+ - FLUTE packetisation: A continuous row of small grey blocks.
+- OTA error pattern:** A graph showing BLER (Block Error Rate) over Time with four distinct peaks representing bursts of errors.
+- UE:**
+ - FLUTE packet errors: The grey packet stream with red blocks corresponding to the BLER peaks.
+ - FEC repair output: Reconstructed blue blocks, with some gaps where errors were too dense.
+ - DASH segments passed up: Final segments; one is grey, indicating it could not be recovered.
+- LEGEND:**
+ - | This is a FLUTE packet / FEC symbol
+ - [Blue/Light Blue block] This is a DASH segment
+ - [Long Light Blue bar] This is a DASH session
+ - [Red block] These are errored FLUTE packets
+ - [Grey block] This is a DASH segment that FEC could not recover
+
+Figure 1: Current FLUTE operation diagram showing data flow from server to UE with error recovery.
+
+Figure 1: Current FLUTE operation
+
+
+
+This diagram illustrates the operation of FLUTE with delivery of partial files, following a similar structure to Figure 1 but with higher packet granularity.
+
+- SERVER:**
+ - DASH segmentation: Same as Figure 1.
+ - FEC symbol creation: Same as Figure 1.
+ - FLUTE packetisation: Represented by very dense, thin vertical lines, indicating many small packets.
+- OTA error pattern:** Identical BLER over Time graph as Figure 1.
+- UE:**
+ - FLUTE packet errors: Many thin red lines corresponding to the BLER peaks.
+ - FEC repair output: Shows partial recovery of segments.
+ - DASH segments passed up: Includes a white segment with a blue border, representing a partial file delivery.
+- LEGEND:** Identical to Figure 1.
+
+Figure 2: Operation of FLUTE with delivery of Partial Files diagram showing a different packetization and error recovery scenario.
+
+Figure 2: Operation of FLUTE with delivery of Partial Files
+
+In this use case, in the example shown by Figure 1, a dropped file would result in a 12-second video freeze or stall. On the other hand, as illustrated in Figure 2 and highlighted by the dotted oval region, a partially recovered Segment is made available to the application. As previously stated, the mean time to a mid-segment SAP is 6 seconds, since the missing data had occurred in the second half of the Segment, and given the presence of the SAP at the beginning of the Segment, the first half of the recovered Segment is now playable. On average, this should result in a superior user experience by reducing the overall stall to half of the duration when partially recovered Segments are dropped.
+
+#### 5.2.6.1 Recommended Requirements
+
+None identified.
+
+#### 5.2.6.2 Assumptions
+
+None identified.
+
+#### 5.2.6.3 Gap Analysis
+
+None identified.
+
+### 5.2.7 Use Case#7: HTTP Delivery of Partial Resources: Generic File Downloading
+
+A service operator offers broadcast download delivery of popular Internet multimedia content to mobile devices via eMBMS download delivery in order to avoid having each mobile device use unicast transmission bandwidth. An individual mobile device may not receive enough data from the eMBMS transmission to fully recover the multimedia content, although the mobile device may receive a substantial amount of source and repair data for the multimedia content over eMBMS.
+
+The mobile device can optionally request portions of the multimedia content available from the Internet via unicast and combine this with data received from the eMBMS transmission to fully recover the multimedia content. To minimize the amount of data the mobile device requests for the multimedia content over the Internet, all of the data received over eMBMS, including both source and repair data, should be passed up from FLUTE to the application so that it can be combined with the data downloaded over the Internet to recover the multimedia content.
+
+#### 5.2.7.1 Recommended Requirements
+
+None identified.
+
+#### 5.2.7.2 Assumptions
+
+None identified.
+
+#### 5.2.7.3 Gap Analysis
+
+None identified.
+
+## 5.3 Impacted Technical Specification(s)
+
+The changes required to enable the above use cases have been included in TS 26.346 [2], TS 26.247 [4], and TR 26.946 [5]:
+
+# --- 6 IMS-based PSS and MBMS Streaming Synchronization Enhancements (IPME)
+
+## 6.1 Introduction
+
+This clause describes the EMM-IPME use cases, associated recommended requirements, assumptions, and provides a list of impacted technical specifications.
+
+## 6.2 Use Cases, Recommended Requirements and Assumptions
+
+### 6.2.1 Use Case#1: Media presentation synchronization across multiple UEs in IMS-based PSS services
+
+Amy is watching a movie on her tablet PC in the car. Her brother, Paul wants to watch with her together. Amy replicates the session on her brother's tablet using inter-UE session transfer feature provided by her service provider. The movie is being simultaneously shown on Amy's and her brother's mobile device as a result of IUT replication. Furthermore Amy may watch the movie in English and her brother may watch the same movie with Spanish on their own devices.
+
+In this use case, it may be desirable that the media presentation is synchronized across Amy's and her brother's devices so that they can watch the same scenes and discuss the story. This creates a requirement for multi-device synchronization. However it is also possible that they do not want to synchronize the media presentations on their devices. They just watch the show individually. The preference of multi-device synchronization can be selected at the session setup or at the inter-UE session transfer/replication procedure.
+
+#### 6.2.1.1 Recommended Requirements
+
+- - It is recommended that there shall be mechanisms for a media session to be presented synchronously on multiple UEs when the media session is replicated on these UEs.
+- - It is recommended to make it possible for UEs to decide whether they synchronously present a replicated media session.
+
+#### 6.2.1.2 Assumptions
+
+None identified.
+
+#### 6.2.1.3 Gap Analysis
+
+The change introduced in the technical specification described a solution for this use case using "suggestedPresentationOffset" in the bookmark. The procedures are defined for signaling and using the "suggestedPresentationOffset" in the IUT replication.
+
+### 6.2.2 Use Case#2: Lip-sync across multiple UEs in IMS-based PSS services
+
+- 1) Amy may want to watch the video from a device connected to a big display and listen to the audio with a headphone connected to her mobile phone.
+- 2) Alternatively she could watch the video on her mobile phone and listen to the audio from a sound system.
+
+The audio and video are required to be synchronized across different devices in such a collaborative session. Loss of synchronization can happen between the audio and video if the multi-device synchronization is not addressed.
+
+#### 6.2.2.1 Recommended Requirements
+
+- There shall be mechanisms for the sub-streams (e.g. audio and video) in an IMS-based PSS service to be presented synchronously when the sub-streams are played back on different UEs.
+
+#### 6.2.2.2 Assumptions
+
+None identified.
+
+#### 6.2.2.3 Gap Analysis
+
+In general, the "suggestedPresentationOffset" can also be used for the sub-streams (e.g. audio and video) to be presented synchronously on different UEs. If the audio and video presentation on the different devices is a result of IUT replication, the signalling procedures introduced in TS 26.237 [3] can be used. However for the other lip-sync scenarios across multiple UEs in IMS-based PSS services, the signaling procedures to send the "suggestedPresentationOffset" to the audio and video devices are not specified due to complexity issue.
+
+### 6.2.3 Use Case#3: Media presentation synchronization across multiple UEs in IMS-based MBMS services
+
+A service provider wants to provide a live soccer event using IMS-based MBMS service that can potentially be accessed by many users. Amy accesses the IMS-based MBMS streaming service in the bus with her mobile device. Paul, sit across from her, watches the same game on his mobile device. A goal is scored and both, despite watching on different screens, celebrate this event at the same time. In general, people who follow the game should observe the scenes synchronously and celebrate at the same time when a goal is scored, despite watching on different screens.
+
+#### 6.2.3.1 Recommended Requirements
+
+- - It is recommended that there shall be mechanisms for a MBMS user service to be presented synchronously on multiple UEs.
+- - It is recommended to make it possible for UEs to decide whether they present at or behind any recommended presentation time.
+
+#### 6.2.3.2 Assumptions
+
+None identified.
+
+#### 6.2.3.3 Gap Analysis
+
+The change introduced in the technical specification described a solution for this use case by sending the suggestedPresentationOffset information to the UEs at IMS-based MBMS session setup to enable synchronized playout on the UEs.
+
+### 6.2.4 Use Case#4: Lip-sync across multiple UEs in IMS-based MBMS services
+
+Amy is using IMS-based MBMS service to watch a live soccer game. She listens to the audio using a headphone that is connected to her mobile device. Her mobile phone receives and plays out the audio stream. To obtain a better video quality, she uses another device connected to a big display to receive and plays out the video stream. "Lip-sync" between the audio and video is required for good quality of experience across different devices.
+
+#### 6.2.4.1 Recommended Requirements
+
+- It is recommended that there shall be mechanisms for the sub-streams (e.g. audio and video) in a MBMS user service to be presented synchronously when the sub-streams are played back on different UEs.
+
+#### 6.2.4.2 Assumptions
+
+None identified.
+
+#### 6.2.4.3 Gap Analysis
+
+The solution described in TS 26.237 [3] can also be used for this use case by sending the suggestedPresentationOffset information to the audio and video UEs at IMS-based MBMS session setup to enable synchronized playout on the UEs.
+
+## 6.3 Impacted Technical Specification(s)
+
+The changes required have been included in TS 26.237 [3].
+
+# --- 7 Conclusion
+
+This technical report provides the following results of the EMM, EMM-DDE, and EMM-IPME work items:
+
+- Descriptions of the use cases and enhancements;
+- Documentation of any associated recommended requirements, assumptions, and gap analysis for each of the use cases;
+
+- Lists of the impacted technical specifications that enable the uses cases and enhancements for each of the work items.
+
+# --- Annex A: Change history
+
+| Change history | | | | | | | |
+|----------------|-------|-----------|------|-----|---------------------------------------------------|--------|--------|
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2012-09 | 57 | | | | TR 26.951 provided to TSG SA#57 (for information) | | 1.0.0 |
+| 2012-12 | 58 | SP-120762 | | | TR 26.951 provided to TSG SA#58 (for approval) | 1.0.0 | 2.0.0 |
+| 2012-12 | 58 | | | | TR 26.851 approved at TSG SA#58 Plenary meeting | | 11.0.0 |
+| 2013-03 | 59 | SP-130019 | 0001 | 1 | EMM TR conformance to 3GPP drafting rules | 11.0.0 | 11.1.0 |
+| 2013-12 | 62 | SP-130568 | 0002 | | Correction to references | 11.1.0 | 11.2.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26911/d0abac95583b52a3b35f74a215567334_img.jpg b/marked/Rel-11/26_series/26911/d0abac95583b52a3b35f74a215567334_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..072762c618aaaedbbe05acc4c6b66aaa017f1557
--- /dev/null
+++ b/marked/Rel-11/26_series/26911/d0abac95583b52a3b35f74a215567334_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ff4b94d2bb4d1fe05d4f99f762188b32470407d4b01fc752584ac5cf46463b86
+size 83962
diff --git a/marked/Rel-11/26_series/26911/raw.md b/marked/Rel-11/26_series/26911/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..d1047bba2e679a7399501d18b8fe9c66d77100bb
--- /dev/null
+++ b/marked/Rel-11/26_series/26911/raw.md
@@ -0,0 +1,315 @@
+
+
+
+
+
+
+# --- Contents
+
+| | |
+|----------------------------------------------------------------------|----|
+| Foreword ..... | 4 |
+| 1 Scope..... | 5 |
+| 2 References..... | 5 |
+| 3 Definitions, symbols and abbreviations ..... | 6 |
+| 3.1 Definitions..... | 6 |
+| 3.2 Symbols..... | 6 |
+| 3.3 Abbreviations ..... | 6 |
+| 4 General..... | 7 |
+| 5 Multiplex Protocol ..... | 7 |
+| 5.1. H.223 Multiplex Transmission Bit Order ..... | 7 |
+| 6 Control Protocol..... | 8 |
+| 6.1 Usage of DRAWING_ORDER-information for MPEG-4 video objects..... | 9 |
+| 7 Video Codec..... | 9 |
+| 7.1 General Recommendations ..... | 9 |
+| 7.2 H.263..... | 9 |
+| 7.3 Other Video Codecs ..... | 10 |
+| 8 Audio Codec ..... | 11 |
+| 8.1 AMR Codec..... | 11 |
+| 8.2 Other Audio Codecs..... | 11 |
+| 9 Data Protocols..... | 11 |
+| 10 Terminal Procedures ..... | 11 |
+| 11 Interoperation with Other Terminals..... | 11 |
+| 11.1 Audio Codecs ..... | 11 |
+| 12 DTE-DCE Interface ..... | 12 |
+| 13 Optional Enhancements ..... | 12 |
+| 14 Multipoint Considerations..... | 12 |
+| 15 Other Recommendations..... | 12 |
+| Annex A (informative): Change history..... | 13 |
+
+# --- Foreword
+
+This Technical Report has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The present document provides non-mandatory recommendations for the use of the different codec implementation options for the circuit switched multimedia telephony service which is based on ITU-T Recommendation H.324 [7], and Annex C of ITU-T Recommendation H.324 [7] in particular. These recommendations address issues specific to the 3G operating environment, including guaranteeing sufficient error resilience and interworking between terminals.
+
+The contents of the present document are provided for information to assist in high quality implementation of multimedia telephony terminals. All references to "terminals" in this report are to terminals supporting the Circuit Switched Multimedia Telephony Service as described in [7-9].
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+ - For a specific reference, subsequent revisions do not apply.
+ - For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+- [1] ITU-T Recommendation H.223 (1996): "Multiplexing protocol for low bit rate multimedia communication".
+- [2] ITU-T Recommendation H.223 – Annex A (1998): "Multiplexing protocol for low bit rate multimedia mobile communication over low error-prone channels".
+- [3] ITU-T Recommendation H.223 – Annex B (1998): "Multiplexing protocol for low bit rate multimedia mobile communication over moderate error-prone channels".
+- [4] ITU-T Recommendation H.223 – Annex C (1998): "Multiplexing protocol for low bit rate multimedia mobile communication over highly error-prone channels".
+- [5] ITU-T Recommendation H.245 (2000): "Control protocol for multimedia communication"
+- [6] ITU-T Recommendation H.261 (1993): "Video codec for audiovisual services at px64 kbit/s"
+- [7] ITU-T Recommendation H.324 (2006): "Terminal for low bitrate multimedia communication"
+- [8] ITU-T Recommendation G.723.1 (1996): "Dual rate speech coder for multimedia communications transmitting at 5.3 and 6.3 kbit/s".
+- [9] ITU-T Recommendation H.263 (1998): "Video coding for low bit rate communication"
+- [10] 3GPP TS 26.110: "Codec for Circuit Switched Multimedia Telephony Service: General Description".
+- [11] 3GPP TS 26.111: "Codec for Circuit Switched Multimedia Telephony Service, Modifications to H.324".
+- [12] 3GPP TS 26.112: "Codec for Circuit Switched Multimedia Telephony Service; General description".
+- [13] 3GPP TR 26.912: "Codec for Circuit Switched Multimedia Telephony Service; Quantitative performance evaluation of H.324 Annex C over 3G".
+- [14] International Standard ISO/IEC 14496-2: "Information technology - Coding of audio-visual objects - Part 2: Visual".
+- [15] ISO/IEC JTC1/SC29/WG11 MPEG 99/N2724: "MPEG-4 Applications", March 1999.
+
+- [16] ITU-T Recommendation V.80: "In-band DCE control and synchronous data modes for asynchronous DTE".
+- [17] 3rd Generation Partnership Project (3GPP), 3GPP TS 25.301, Radio Interface Protocol Architecture.
+- [18] ITU-T Recommendation H.264 (2003): "Advanced video coding for generic audiovisual services" | ISO/IEC 14496-10:2003: "Information technology – Coding of audio-visual objects – Part 10: Advanced Video Coding"
+- [19] ITU-T Recommendation H.241 (2003): "Extended video procedures and control signals for H.300 series terminals"
+
+# --- 3 Definitions, symbols and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the following terms and definitions apply:
+
+**3G-324M terminal:** multimedia telephony terminal conforming to 3GPP TS 26.110 [10] and targeted for use in 3G mobile networks
+
+**3G-324M codec:** implementation of ITU-T Recommendation H.324 [7] and all its elements adapted to the 3G environment (known as 3G-324M) is seen as a "codec" consisting of an encoder and a decoder
+
+**3G-324M encoder:** encoder part of the 3G-324M codec
+
+**3G-324M decoder:** decoder part of the 3G-324M codec
+
+## 3.2 Symbols
+
+(void)
+
+## 3.3 Abbreviations
+
+For the purposes of the present document, the following abbreviations apply:
+
+- AL1,2,3:** ITU-T Recommendation H.223 [2] Adaptation layers 1, 2 and 3 (see [1])
+- AL-SDU:** Adaptation Layer Service Data Unit (see [1])
+- AMR:** Adaptive Multi-Rate (Audio Codec)
+- CIF:** Common Intermediate Format (a picture format for Video Codec)
+- CRC:** Cyclic Redundancy Check
+- DCE:** Data Circuit-terminating Equipment
+- DTE:** Data Terminal Equipment
+- GOB:** Group of blocks (a sub-part of a video picture)
+- GSM:** Global System for Mobile communications
+- GSTN:** General Switched Telephone Network
+- ISDN:** Integrated Services Digital Network
+- ITU-T:** International Telecommunication Union – Telecommunication Standardization Sector
+- MONA:** Media Oriented Negotiation Acceleration
+- MUX-PDU:** Multiplex Packet Data Unit (see [1])
+- NSRP:** Numbered Simple Retransmission Protocol
+- PSC:** Picture start code (synchronization field for Video Codec)
+- QCIF:** Quarter CIF (a picture format for Video Codec)
+- RVLC:** Reversible Variable Length Code (see [11])
+- SQCIF:** Sub QCIF (a picture format for Video Codec)
+- SRP:** Simple Retransmission Protocol
+- T401:** Acknowledgement timer used by ITU-T Recommendation H.245 [5] implementations
+- VOP:** Video Object Plane (see [11])
+- WNSRP:** Windowed Numbered Simple Retransmission Protocol
+
+# --- 4 General
+
+The following clauses give implementation recommendations for different parts of the 3G-324M codec. The clause division loosely follows the structure of ITU-T Recommendation H.324 [7].
+
+Most of the recommendations in the present document assume that both transmitting and receiving terminals operate within the 3G system and conform to 3G-324M specifications in [7-9]. Clause 11 additionally includes recommendations relevant for interoperability between 3G-324M terminals and other terminals.
+
+The recommendations are primarily targeted for such aspects of the codec implementation which have a significant effect on the quality perceived by the user at the other end of the connection which usually implies emphasizing encoder recommendations over decoder recommendations, although this division cannot be made in all cases. It should be recognized that the ITU-T Recommendation H.324 [7] specification leaves substantial amount of freedom for terminal implementations and no definite quality guarantee can be given even if all recommendations in the present document are followed.
+
+# --- 5 Multiplex Protocol
+
+Multiplexing of video, audio, data, and control information is based on the ITU-T Recommendation H.223 [1]. The following general guidelines are recommended to be followed in the implementation of ITU-T Recommendation H.223 [1].
+
+MUX-PDU size should be limited to be smaller than in typical GSTN use. Specific values depend on the bit-rate and channel characteristics, but suitable upper limits for MUX-PDU size are often in the range of 100-200 octets.
+
+Encoders are recommended to support the boolean ITU-T Recommendation H.245 [5] *maxMUXPDUSizeCapability* (clause 7.2.2.4 of [2] Version 3) to indicate that they are able to restrict the size of the MUX-PDUs that they transmit. Decoders are recommended to utilize the *maxH223MUXPDUSize* ITU-T Recommendation H.245 [5] command (clause 7.11.5 of [2] Version 3) to restrict the size of the MUX-PDUs, sent by the encoder, to a maximum of the specified number of octets.
+
+ITU-T Recommendation H.324 [7] mandates that ITU-T Recommendation H.263 [9] encoders shall align picture start codes (PSC) with the start of an AL-SDU (see [4], clause 6.6.1). It is here further recommended that AL-SDUs that do not start with a PSC should start with a GOB header to improve error resilience.
+
+ITU-T Recommendation H.241 [19] mandates that ITU-T Recommendation H.264 [18] encoders shall align Annex B/H.264 start code prefix for the first NAL unit of each access unit with the start of an AL-SDU. Use of the NAL Alignment Mode defined in TS 26.111 [11] is here further recommended.
+
+No more than 1-3 audio frames should be included in one MUX-PDU to avoid excessive delay.
+
+Use of the optional retransmission procedure for video when using Adaptation Layer Type 3 (AL3) is not recommended due to delay considerations. This recommendation implies that receiving terminals should not send retransmission requests. It is recommended that terminals support video also using Adaptation Layer Type 2 (AL2) where retransmission is not possible and overhead is slightly smaller.
+
+The ITU-T Recommendation H.223 [1] abort procedures should not be used (see ITU-T Recommendation H.223 [1] clauses 6.4.3, 7.2.3, 7.3.4, and 7.4.4).
+
+## 5.1. H.223 Multiplex Transmission Bit Order
+
+H.223 multiplex transmission bit order is defined in H.223 [1] Sec 3.2.2 as LSB first. This first bit is transparently mapped to the first bit of “higher layer PDU” depicted in 5.3.5 of TS25.301 [17], and vice versa.
+
+An example is given by the following figure:
+
+
+
+The diagram illustrates the UMTS Network Model for communication between two 3G Terminals. Each terminal contains a 3G-324M stack. Inside the stack, an Octet String (containing 0xE1 and 0x4D) is processed by H.223 (LSB first) to produce a Bit String (1000 0111 1011 0010). This Bit String is then transmitted through the UMTS Network. The network shows the Bit String being transmitted from the left terminal to the right terminal, with the label "(first->) 1000 0111 1011 0010".
+
+**UMTS Network Model (3G Terminal <-> 3G Terminal)**
+
+Diagram of UMTS Network Model (3G Terminal <-> 3G Terminal) showing data flow between two terminals through a network. Each terminal contains a 3G-324M stack with an Octet String (0xE1, 0x4D), H.223 (LSB first), and a Bit String (1000 0111 1011 0010). The network shows the Bit String being transmitted between them.
+
+# 6 Control Protocol
+
+It is recommended that terminals support the latest possible version of ITU-T Recommendation H.245 [5]. Capability to support latest improvements in ITU-T Recommendation H.324 [7] are usually dependent on supporting the corresponding signalling in ITU-T Recommendation H.245. [5] Most of the recommendations in the present document require support for at least ITU-T Recommendation H.245 [5] Version 3 and some require even newer versions.
+
+Recommendations for the control protocol are not limited to this clause of the present document. Other clauses of the present document give recommendations for the different parts of the terminal often implying corresponding support from ITU-T Recommendation H.245 [5]. These recommendations are not replicated in this clause, but they should still be interpreted as recommendations for the ITU-T Recommendation H.245 [5] control protocol implementation.
+
+Note that it is allowed for terminals to declare only H.245 [5] “transmit” capabilities, indicating that the terminal is only capable of transmitting media, and that logical channels should be established accordingly. Also note that it is allowed for terminals to use H.245 [5] to declare only audio or only video capabilities, and that logical channels should be established accordingly.
+
+Any combination of H.245 [5] OpenLogicalChannel requests that would result in a number of active audio and / or video channels exceeding the terminal’s simultaneous capabilities should be considered a source of conflict. Note that terminals declaring receiveAndTransmit capabilities does require symmetric logical channels, i.e. use of the same codec in both directions, which is also a possible source of conflict. Terminals should resolve such conflicts by H.245 [5] master/slave conflict procedures, i.e. the master rejects the slave’s request and the slave accepts the master’s request, unless the slave has to reject the master’s OpenLogicalChannel request with cause “unsuitable reverse parameters”, as described in H.245 [5]. For some cases where, although originally intended, a two-way communication would not result, the slave may have to complete the procedure by issuing a uni-directional OpenLogicalChannel. Note that a logical channel with nullData media type is not considered an active channel in this context. Editor’s note: IMTC has proposed a text on H.245 OpenLogicalChannel conflict handling and resolution to ITU-T for possible inclusion in a future H.324 Implementer’s Guide. The text of this paragraph intends to cover that issue in the absence of such H.324 Implementer’s Guide.
+
+The end-to-end transmission delay in the 3G system is expected to be somewhat higher than in GSTN. This will need to be considered for timer settings in connection with the ITU-T Recommendation H.245 [5] implementation. For that reason, ITU-T Recommendation H.324 [7] Annex C (and hence also 3G-324M) mandates the use of ITU-T Recommendation H.324 [7] Annex E for initializing the timer T401. The following additional guidelines for initializing and updating the timer T401 should be considered: ffs.
+
+ITU-T recommendation H.324 [7] Annex A defines WNSRP (Windowed Numbered Simple Retransmission Protocol). WNSRP should be supported.
+
+If WNSRP is not supported, NSRP or SRP shall be used. H.324 [7] Annex A defines the NSRP retransmission protocol that H.324 [7] Annex C mandates for use on mobile channels. To reduce the application setup time, H.245 [5] messages should be concatenated into as few NSRP packets as possible. Note that NSRP is not a windowed protocol and thus requires that the transmitter receive an NSRP response frame before the next NSRP command frame can be sent.
+
+ITU-T recommendation H.324 [7] Annex K defines MONA (Media Oriented Negotiation Acceleration), a call setup time reduction technique. H.324 [7] Annex K should be supported.
+
+MONA can be used in conjunction with WNSRP.
+
+Note that the H.245 [5] OpenLogicalChannel replacementFor procedure may be used to obtain seamless H.264 [18] change of sequence (parameter set update).
+
+## 6.1 Usage of DRAWING\_ORDER-information for MPEG-4 video objects
+
+3G-324M decoders should ignore any drawing order information as signalled by ITU-T Recommendation H.245 [5] drawingOrder Capability, see table E.5 in ITU-T Recommendation H.245 [5], if the MPEG-4 simple profile level 1 is used.
+
+# --- 7 Video Codec
+
+This clause gives recommendations for the video codec implementations within 3G-324M terminals. Clause 7.1 is applicable to the use of any mandatory or optional video codec. Clause 7.2 includes specific recommendations for using the ITU-T Recommendation H.263 [9] codec. Clause 7.3 gives specific recommendations for the use of MPEG-4 and other possible optional video codecs.
+
+## 7.1 General Recommendations
+
+Regardless of which specific video codec standard is used, all video decoder implementations should include basic error concealment techniques. These techniques may include replacing erroneous parts of the decoded video frame with interpolated picture material from previous decoded frames or from spatially different locations of the erroneous frame. The decoder should aim to prevent the display of substantially corrupted parts of the picture. In any case, it is recommended that the terminal should tolerate *every* possible bitstream without catastrophic behaviour (such as the need for a user-initiated reset of the terminal).
+
+3G-324M encoders and decoders are recommended to support the 1:1 pixel format (square format). Encoders should signal this capability using ITU-T Recommendation H.245 [5] capability exchange and the appropriate header fields in video codecs so that unnecessary pixel shape conversions can be avoided.
+
+## 7.2 H.263
+
+Several of the optional annexes of ITU-T Recommendation H.263 [9] are useful for improving the compression efficiency and error resilience of the codec. The annexes below form a balanced set of tools with respect to error robustness, compression efficiency, quality, and complexity. It is recommended that an ITU-T Recommendation H.263 [9] video decoder should support the following annexes. The main feature of each annex is also mentioned:
+
+- Annex I (Advanced Intra Coding), improves error resilience and compression efficiency.
+- Annex J (Deblocking Filter), improves compression efficiency.
+- Annex K (Slice Structure Mode, without RS submode), improves error resilience.
+
+- Annex T (Modified Quantizer), improves compression efficiency.
+
+Non-empty GOB headers should be used frequently to improve error resilience (see [6], Clause 5.2).
+
+ITU-T Recommendation H.263 [9] encoders in 3G-324M terminals should respond to all videoFastUpdate commands received via the ITU-T Recommendation H.245 [5] control channel (i.e., videoFastUpdatePicture, videoFastUpdateGOB, and videoFastUpdateMB presented in clause 7.11.5 of [2] Version 3). Using this feedback information to make a focused picture update can significantly improve the error performance of the codec. 3G-324M decoders are correspondingly recommended to transmit videoFastUpdate commands when the received picture is detected to be significantly corrupted due to transmission errors.
+
+It is recommended that ITU-T Recommendation H.263 [9] decoders take advantage of the GOB and slice header GOB Frame ID (GFID) field in recovering corrupted picture header data (see Clauses 5.2.5 and K.2 of ITU-T Recommendation H.263 [9] recommendation version 2). For this purpose it is recommended that ITU-T Recommendation H.263 [9] encoders should not use the Rounding Type (RTYPE) bit of the extended picture header as described in Clause 5.1.4.3 of [1]. The RTYPE bit should always be set to 0 since it otherwise effectively prevents the use of the GFID field for picture header recovery.
+
+## 7.3 Other Video Codecs
+
+It is recommended that all 3G-324M terminals additionally support the ISO/IEC 14496-2 [14] (MPEG-4 Visual) video codec [11]. The explanatory text below gives justification and further detail for this recommendation.
+
+One of the main target environments for MPEG-4 Visual is mobile use. For this purpose the following error resilient techniques have been adopted in MPEG-4 Visual: Resynch Marker, Header Extension Code, Data Partitioning, and Reversible Variable Length Code. With these techniques MPEG-4 Visual codec can be used over errorprone channels enabling highly efficient low delay multimedia communication services for 3G networks. Support for MPEG-4 Visual potentially provides capabilities for communicating with heterogeneous networks without transcoding, or reusing pictures/video from 3G multimedia telephony service by different applications and vice versa.
+
+MPEG-4 Visual and ITU-T Recommendation H.263 [9] have substantial technical similarities. MPEG-4 Visual also includes support for the ITU-T Recommendation H.263 [9] baseline codec.
+
+Because of multi-functionality of MPEG-4 Visual, subsets of different tools have been defined in order to allow effective implementations of the standard. These subsets, called "Profiles", limit the tool set which shall be implemented. For each of these Profiles one or more Levels have been set to restrict the computational complexity of implementations. It is here recommended that the Simple Visual Profile @ Level 0 is supported to achieve adequate error resilience for transmission error and low complexity simultaneously. No other Profiles are recommended to be supported. Higher Levels for the Simple Visual Profile may be supported depending on the terminal capabilities.
+
+MPEG-4 Visual accepts various sizes of input picture within the capability specified from the Profile and Level. Picture size of QCIF for Level 1 should be used for the sake of interoperability.
+
+All of the error resilience tools in Simple Visual Profile are recommended to be activated.
+
+Resync Marker is a tool which increases the opportunities for the decoder to resynchronize with the bitstream and after loss of synchronization due to errors in the bitstream, thus enabling normal decoder operation to continue. The encoder should insert Resync Marker in the bitstream, in order to enable the decoder to search for the Resync Marker in addition to the Start Code.
+
+Header Extension Code (HEC) enables independent decoding of each video packet. One or more than one video packet in a VOP should have HEC in order for the decoder to utilize information derived from HEC, to avoid discarding a whole VOP when the VOP header could not be received.
+
+Data Partitioning is a tool that separates the information within a video packet to improve the degree of error localization and concealment. When the decoder detect errors in a video packet, the decoder may not discard whole the packet if the motion information or the I-VOP DC coefficients are decoded correctly. The decoder may reconstruct the corresponding part of the picture utilizing the above motion information or DC coefficients. The encoder should use Data Partitioning syntax in order to enable the decoder the above operation.
+
+Reversible Variable Length Code (RVLC) is a tool which reduce the number of discarded bits.. RVLC decoding operation as described in clause E.1.4 of Annex E in [11] may be performed. The encoder should utilize RVLC to enable the decoder to perform such operation.
+
+In addition to these tools, Intra Refresh should be inserted in order to prevent inter-frame propagation of errors. Adaptive Intra Refresh (AIR) described in clause E.1.5 in Annex E of [11] should be used in conjunction with cyclic Intra Refresh.
+
+One Video Packet of MPEG-4 Visual should be mapped to one AL-SDU of ITU-T Recommendation H.223 [1] Adaptive Layer.
+
+When an incoming bi-directional openLogicalChannel request has unsuitable reverse parameters for the local encoder, e.g., unsuitable MPEG-4 decoderConfigurationInformation, the terminal should reject the request. The cause field of openLogicalChannelReject should be set to value unsuitableReverseChannelParameters. A new openLogicalChannel request should be sent to the other end, now using the forward channel parameters of the rejected request as reverse channel parameters, and specifying new preferred forward channel parameters.
+
+All MPEG-4 encoders should accept and respond to ITU-T Recommendation H.245 [5] videoTemporalSpatialTradeOff commands. Support for temporal-spatial trade-off cannot be signaled for MPEG-4 encoders, but the encoders should provide that support by default. MPEG-4 decoders are encouraged to utilize the videoTemporalSpatialTradeOff command. The specific response to the TemporalSpatialTradeOff command by MPEG-4 encoders is not defined and it is up to the implementation to decide how to respond to the command.
+
+# --- 8 Audio Codec
+
+## 8.1 AMR Codec
+
+FFS. This clause will include guidance on how to utilize the different modes of the AMR codec.
+
+## 8.2 Other Audio Codecs
+
+FFS.
+
+# --- 9 Data Protocols
+
+FFS.
+
+# --- 10 Terminal Procedures
+
+FFS.
+
+# --- 11 Interoperation with Other Terminals
+
+## 11.1 Audio Codecs
+
+It is recommended that terminals additionally support the ITU-T Recommendation G.723.1 [8] audio codec [5] when it is expected that interoperability with GSTN is needed, because it cannot be guaranteed that ITU-T Recommendation H.324 [7] terminals developed for GSTN use will support the AMR codec.
+
+# --- 12 DTE-DCE Interface
+
+It is recommended to use procedures defined in ITU-T Recommendation V.80 [16] in the DTE-DCE interface in case of non-integrated videophone terminal implementations with separate DTE and DCE devices. Due to the requirements of 3G-324M, the transparent synchronous access mode is the only relevant submode.
+
+# --- 13 Optional Enhancements
+
+FFS.
+
+# --- 14 Multipoint Considerations
+
+FFS.
+
+# --- 15 Other Recommendations
+
+FFS.
+
+# Annex A (informative): Change history
+
+| Change history | | | | | | | |
+|----------------|---------|-----------|------|-----|--------------------------------------------------------------------------------------------------------------------|--------|--------|
+| Date | TSG SA# | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 12-2000 | 10 | SP-000579 | 007 | | Annex K submodes of ITU-T Recommendation H.263 [9] video codec for 3G-ITU-T Recommendation H.324 [7] specification | 3.2.1 | 4.0.0 |
+| 03-2001 | 11 | SP-010109 | 010 | 1 | ITU-T Recommendation V.80 [16] support for 3G terminals | 4.0.0 | 4.1.0 |
+| 06-2002 | 16 | | | | Version for Release 5 | | 5.0.0 |
+| 03-2003 | 19 | SP-030093 | 013 | | Clarification of bit-order handling for 3G-324M terminals | 5.0.0 | 5.1.0 |
+| | | | | | | | |
+| 09-2004 | 25 | SP-040660 | 014 | 3 | 3G-324M Improvements | 5.1.0 | 6.0.0 |
+| 09-2005 | 29 | SP-050430 | 0016 | 2 | Introduction of WNSRP | 6.0.0 | 7.0.0 |
+| 09-2006 | 33 | SP-060599 | 0017 | 2 | Introduction of MONA | 7.0.0 | 7.1.0 |
+| 12-2008 | 42 | | | | Version for Release 8 | 7.1.0 | 8.0.0 |
+| 12-2009 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 03-2011 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 09-2012 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26914/27b06ec9f42b5d727a2630f61a5f1861_img.jpg b/marked/Rel-11/26_series/26914/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7b140f0ef6de242f8059aaef10b3ba9ca7b0e904
--- /dev/null
+++ b/marked/Rel-11/26_series/26914/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:98991c48d487150a2bb06e779f106cbd47400dbf88950283ad11d7edc4887565
+size 26543
diff --git a/marked/Rel-11/26_series/26914/35a7554182eb055209552843f341a1ae_img.jpg b/marked/Rel-11/26_series/26914/35a7554182eb055209552843f341a1ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4623c0f4ba01c06762409a476afbf876cf999eff
--- /dev/null
+++ b/marked/Rel-11/26_series/26914/35a7554182eb055209552843f341a1ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bda705cf87f0de4064903a4d952aea6cc2ddde4b71a68299a52f26e775a7572c
+size 64869
diff --git a/marked/Rel-11/26_series/26914/raw.md b/marked/Rel-11/26_series/26914/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..fb7c3d94be2ba99d5e3e8cb0b5b6f4cab7f392a3
--- /dev/null
+++ b/marked/Rel-11/26_series/26914/raw.md
@@ -0,0 +1,441 @@
+
+
+
+
+
+
+# --- Contents
+
+| | |
+|-------------------------------------------------------------|----|
+| Foreword ..... | 4 |
+| Introduction ..... | 4 |
+| 1 Scope..... | 5 |
+| 2 References..... | 5 |
+| 3 Definitions and abbreviations ..... | 6 |
+| 3.1 Definitions..... | 6 |
+| 3.2 Abbreviations ..... | 7 |
+| 4 Overview..... | 7 |
+| 4.1 General ..... | 7 |
+| 4.2 System description ..... | 8 |
+| 5 Assumptions..... | 8 |
+| 5.1 General assumptions ..... | 8 |
+| 5.2 Channels..... | 9 |
+| 5.3 Media components ..... | 9 |
+| 5.4 Use scenarios..... | 10 |
+| 6 Basic point-to-point call in Release 6 ..... | 10 |
+| 6.1 General ..... | 10 |
+| 6.2 Session setup ..... | 11 |
+| 6.3 Media flow ..... | 11 |
+| 6.3.1 General ..... | 11 |
+| 6.3.2 Voice..... | 12 |
+| 6.3.3 Video ..... | 13 |
+| 7 Areas of optimizations ..... | 13 |
+| 7.1 General ..... | 13 |
+| 7.2 Delay jitter handling..... | 14 |
+| 7.3 Packet-loss handling..... | 14 |
+| 7.4 Handling of inter-working with CS..... | 14 |
+| 7.5 Handling of inter-working between UTRAN and GERAN ..... | 15 |
+| 7.6 Inter-media synchronization..... | 15 |
+| 7.7 SDU segmentation in UTRAN/GERAN..... | 15 |
+| 7.8 Rate Adaptation..... | 15 |
+| 7.9 Packetization Overheads ..... | 15 |
+| 7.10 End-2-End Signalling ..... | 16 |
+| 8 Conclusions and recommendations..... | 16 |
+| Annex A: Change history ..... | 17 |
+
+# --- Foreword
+
+This Technical Report has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- Introduction
+
+Multimedia telephony over IP (3GPP TS 22.973 [2]) is a standardized IMS telephony service in 3GPP Release 7 that builds on the IMS capabilities already provided in 3GPP Releases 5 and 6. The objective of defining a service is to specify the minimum set of capabilities required in the IP Multimedia Subsystem to secure multi-vendor and multi-operator inter-operability for Multimedia Telephony and related Supplementary Services.
+
+While the user experience of Multimedia telephony is expected to have some similarity to existing telephony services, the richer capabilities of IMS is exploited. In particular, multiple media components, such as voice and video, can be used and dynamically added or dropped during a call.
+
+# --- 1 Scope
+
+The present document:
+
+- identifies opportunities for optimization of service quality and efficiency of Multimedia telephony over IP in a qualitative sense;
+- provides the basis for developing a set of optional backward-compatible tools implementing such optimizations.
+
+The optimized multimedia telephony targets many different system configurations and operating conditions, e.g. GERAN, UTRAN, inter-working between GERAN, UTRAN, GAN, and different PLMNs. Of the various use cases for multimedia telephony, the main focus of the present document is on voice calls, but the focus also includes other core media components, such as video. In particular, areas with optimization opportunities include handling of degraded channels, delay jitter, packet losses, efficiency, inter-working with other voice systems, etc.
+
+The scope includes proposing solutions that maintain backward compatibility in order to ensure seamless inter-working with existing services available in the CS domain, such as CS voice telephony and 3G-324M, as well as with terminals of earlier 3GPP releases. Alignment with legacy media formats avoids transcoding and even allows realizing at least parts of the optimization gains. All optimizations are hence based on the default codecs specified in 3GPP TS 26.235 [3] and 3GPP TS 26.141 [6].
+
+The optimizations identified in the present document address mainly media transport and signalling. Most of the SIP signalling is out of scope and is handled by other 3GPP groups. Issues regarding registration to the network and/or to IMS at power-on or at other occurrences are not included either.
+
+The optimization tools are not specified in the present document per se, but will be specified as amendments to existing (pre-Release 7) Technical Specifications (3GPP TS 26.235 [3] and 3GPP TS 26.236 [4]) and possibly new Technical Specifications. Furthermore, a characterization of the optimized multimedia telephony over IMS will be available in a separate Technical Report.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [2] 3GPP TR 22.973: "IMS Multimedia Telephony Communication Enabler and supplementary services".
+- [3] 3GPP TS 26.235: "Packet switched conversational multimedia applications; Default codecs".
+- [4] 3GPP TS 26.236: "Packet switched conversational multimedia applications; Transport protocols".
+- [5] 3GPP TR 26.935: "Packet Switched (PS) conversational multimedia applications; Performance characterization of default codecs".
+- [6] 3GPP TS 26.141: "IP Multimedia System (IMS) Messaging and Presence; Media formats and codecs".
+- [7] 3GPP TS 43.318: "Generic access to the A/Gb interface; Stage 2".
+- [8] 3GPP TR 45.912: "Feasibility study for evolved GSM/EDGE Radio Access Network (GERAN)".
+
+- [9] IETF RFC 3550 (2003): "RTP: A Transport Protocol for Real-Time Applications", H. Schulzrinne, S. Casner, R. Frederick and V. Jacobson.
+- [10] IETF RFC 3551 (2003): "RTP Profile for Audio and Video Conferences with Minimal Control", H. Schulzrinne and S. Casner.
+- [11] IETF RFC 2327 (1998): "SDP: Session Description Protocol", M. Handley M. and V. Jacobson.
+- [12] 3GPP TS 26.071: "AMR Speech Codec; General description".
+- [13] 3GPP TS 26.090: "AMR Speech Codec; Transcoding functions".
+- [14] 3GPP TS 26.073: "AMR Speech Codec; C-source code".
+- [15] 3GPP TS 26.104: "ANSI-C code for the floating-point Adaptive Multi-Rate (AMR) speech codec".
+- [16] 3GPP TS 26.171: "AMR Speech Codec, wideband; General description".
+- [17] 3GPP TS 26.190: "Speech codec speech processing functions; Adaptive Multi-Rate - Wideband (AMR-WB) speech codec; Transcoding functions".
+- [18] 3GPP TS 26.173: "ANSI-C code for the Adaptive Multi Rate - Wideband (AMR-WB) speech codec".
+- [19] 3GPP TS 26.204: "ANSI-C code for the floating-point Adaptive Multi-Rate Wideband (AMR-WB) speech codec".
+- [20] IETF RFC 3267 (2002): "Real-Time Transport Protocol (RTP) Payload Format and File Storage Format for the Adaptive Multi-Rate (AMR) Adaptive Multi-Rate Wideband (AMR-WB) Audio Codecs", J. Sjoberg, M. Westerlund, A. Lakaniemi and Q. Xie.
+- [21] ITU-T Recommendation H.263 (1998): "Video coding for low bit rate communication".
+- [22] ITU-T Recommendation H.263 - Annex X (2004): "Profiles and levels definition".
+- [23] ISO/IEC 14496-2 (2004): "Information technology - Coding of audio-visual objects - Part 2: Visual".
+- [24] ITU-T Recommendation H.264 (2005): "Advanced video coding for generic audiovisual services" | ISO/IEC 14496-10:2005: "Information technology - Coding of audio-visual objects - Part 10: Advanced Video Coding".
+- [25] IETF RFC 3984 (2005): "RTP Payload Format for H.264 Video", S. Wenger, M.M. Hannuksela, T. Stockhammer, M. Westerlund and D. Singer.
+- [26] 3GPP TS 26.103: "Speech codec list for GSM and UMTS".
+- [27] IETF RFC 3095 (2001): "RObust Header Compression (ROHC): Framework and four profiles: RTP, UDP, ESP, and uncompressed", C. Bormann and al.
+- [28] 3GPP TS 26.234: "Transparent end-to-end Packet-switched Streaming Service (PSS); Protocols and codecs".
+
+# --- 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the following terms and definitions apply:
+
+**example:** text used to clarify abstract rules by applying them literally
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the abbreviations given in 3GPP TR 21.905 [1] and the following apply:
+
+| | |
+|-------|-------------------------------------------------------------|
+| ARQ | Automatic repeat ReQuest |
+| AS | Application Server |
+| AVC | Advanced Video Coding |
+| CSCF | Call Session Control Function |
+| GAN | Generic Access Network |
+| H-ARQ | Hybrid - ARQ |
+| HSDPA | High Speed Downlink Packet Access |
+| IMS | IP Multimedia Subsystem |
+| IP | Internet Protocol |
+| IPv4 | Internet Protocol version 4 |
+| IPv6 | Internet Protocol version 6 |
+| ITU-T | International Telecommunications Union - Telecommunications |
+| MM | MultiMedia |
+| MMS | Multimedia Messaging Service |
+| QoS | Quality of Service |
+| RTP | Real-time Transport Protocol |
+| SDP | Session Description Protocol |
+| SIP | Session Initiation Protocol |
+| TBF | Temporary Block Flow |
+| ToIP | Telephony over IP |
+| TTI | Transmission Time Interval |
+| URL | Universal Resource Locator |
+| VoIP | Voice over IP |
+
+# --- 4 Overview
+
+## 4.1 General
+
+The rest of the present document is divided into five main clauses.
+
+Clause 4 contains an architectural overview of the IMS system indicating the domain relevant to the work reported in the present document.
+
+Clause 5 provides the assumptions underlying the work of this report. General assumptions refer to networks, codecs and backward compatibility, etc. The following subclauses give information relevant to the channels, media components as well as use scenarios for multimedia telephony that are relevant to the optimizations targeted by the present document.
+
+Clause 6 shows the current status in Release 6 for non-optimized multimedia telephony. The point-to-point voice call has been used as the basic "use case". The goal for this use case is to show what is needed to create a VoIP telephony service with the same quality as circuit-switched telephony when the channel is virtually error-free. The following subclause also includes the current specifications for using video in multimedia telephony.
+
+Clause 7 is a list of areas with optimization opportunities in Release 7. Each area, such as handling of delay jitter, packet losses, inter-working with CS, inter-working between GERAN and UTRAN, etc., is a candidate for optimization where suggestions for standardization will be considered.
+
+Clause 8 finally gives a summary of all findings of clause 7 as well as recommendations for further standardization efforts.
+
+## 4.2 System description
+
+
+
+Figure 1: High-level architecture figure showing the nodes involved in a Multimedia Telephony call set-up over IMS. The diagram illustrates two operators, Operator A and Operator B, connected via an I-CSCF. Operator A's stack includes AS, S-CSCF, P-CSCF, GGSN, SGSN, and Radio Access Network, connected to UE A. Operator B's stack includes HSS/SLF, AS, S-CSCF, P-CSCF, GGSN, SGSN, and Radio Access Network, connected to UE B. A red curved line labeled 'Media path' connects the GGSN of Operator A directly to the GGSN of Operator B. A call flow arrow labeled 'A Calls B' is shown between the two UEs.
+
+**Figure 1: High-level architecture figure showing the nodes involved in a Multimedia Telephony call set-up over IMS**
+
+A Multimedia Telephony call over IMS uses the Call Session Control Function (CSCF) mechanisms to route control-plane signalling between the UEs involved in the call (see figure 1). In the control plane, Application Servers (AS) should be present and may provide supplementary services such as call hold/resume, call forwarding and multi-party calls, etc.
+
+The scope of the present document is to optimize the media path. In the example in figure 1, it is routed directly between the GGSNs outside the IMS. In case of trans-coding, multi-party calls or teleconferencing, the media path may pass through a Media Resource Function (MRF) that could handle mixing and transcoding of media streams.
+
+# 5 Assumptions
+
+## 5.1 General assumptions
+
+The following general assumptions are used in the present document:
+
+- The multimedia telephony service must be capable of operating on very different system configurations and operating conditions, for example GERAN, UTRAN, in combination with GAN (3GPP TS 43.318 [7]) and low/high system load.
+- Backward compatibility (TFO and/or TrFO) with legacy systems (circuit switched GERAN and UTRAN) is required, for example by avoiding transcoding.
+- Current codecs, payload formats, and session-signalling protocols standardized in 3GPP specifications will be used when applicable.
+- If adaptation is used to handle congestion, then the UE shall not adapt so that the bit rate is significantly increased. The reason is that it is not a good idea to send more bits or packets into an already congested network.
+- Backward compatibility is required to ensure seamless inter-working with existing services available in the CS domain, such as CS voice telephony and 3G-324M, as well as with terminals of earlier 3GPP releases.
+
+- Terminal performance shall be the same as for corresponding CS voice services and follow the same guidelines. To this end, echo cancellation and noise suppression make significant contributions to ensure end-user quality of voice calls.
+
+## 5.2 Channels
+
+Multimedia telephony over IP is an access-independent service. Based on IP transport, it is possible to use on any IP-based network, although certain access types will put limitations on, e.g. available bit-rate and latency. However, there is a large span in characteristics among the possible access types and since the present document aims to show possible optimizations, there is a need to clarify under what conditions these proposed optimizations will benefit the service the most. Hence, the proposed optimizations are derived assuming 3GPP standardized access types, both in GERAN and UTRAN networks.
+
+There are many uncertainties about the system configuration and operating conditions under which the multimedia telephony services will operate, especially when it comes to channel conditions. In 3GPP networks there are basically two different categories of radio channels; dedicated channels and shared channels. Dedicated channels allocate resources for a specific service for a specific user at the session set-up and are therefore more predictable when it comes to channel characteristics. Shared channels on the other hand will experience the same radio conditions as the dedicated channels, but the very nature of shared channels also introduces traffic load dependencies already in the scheduler. Hence, the traffic in channels shared between different users experiences not only varying radio conditions due to the current physical environment, but also a competition for transmission capacity between different users. In a shared channel, the channel scheduler has to make prioritizations between how to schedule the incoming packets to the shared channel in the cell for transmission. The scheduler can be optimized in different ways, but since the actual scheduling algorithms are proprietary, it is impossible on a scheduler-agnostic level to know exactly how packets under a certain network load for a certain service will be scheduled for transmission. Hence, although it may not possible to say what 'typical' shared channel characteristics look like, it is clear that from an application point-of-view they will be experienced as variable delay and packet losses.
+
+HSDPA is an access type standardized in 3GPP Release 5. It is by its very nature one of the possible 3GPP access types that multimedia telephony will use. Although no general channel characteristics are applicable for an HSDPA radio link, two features are well known. First, HSDPA has fast H-ARQ re-transmissions on the radio layer, which makes packet losses due to bad radio conditions rather infrequent. Second, the scheduler needs to prioritize between different users and different services within one cell, which as a consequence will induce varying transport delay to the UE. Since the radio access network will induce network load dependencies in the transport characteristics, in combination with the proprietary scheduler and the lower layer re-transmissions, there is a clear need for application-layer handling of these varying characteristics, i.e. delay jitter and packet losses induced by late delivery. Packets can be lost not only due to late delivery in the UE but also due to other circumstances such as too many H-ARQ re-transmissions, flushed NodeB buffers at handover, etc.
+
+In commercial 3GPP networks deployed today, dedicated channels are used for all media transport. Their characteristics are well known and they do not show the same behaviour as shared channels when it comes to delay jitter and packet loss. Dedicated channels may also be used for multimedia telephony so any optimizations suggested in this report must be compatible with dedicated channel characteristics, even if they in some cases are designed to handle induced jitter and packet loss most prominent in HSDPA.
+
+There is currently an ongoing feasibility study (3GPP TR 45.912 [8]) in GERAN groups to analyze how GERAN may be evolved. This work includes, for example, shorter TTI, fast retransmissions and pre-allocated TBF, in order to, for example, increase peak bit rate, reduce latency and reduced end-to-end round-trip-time.
+
+## 5.3 Media components
+
+Multimedia telephony supports simultaneous transfer of multiple media components with real-time characteristics. Media components denote the actual components that the end-user experiences. Any two such components may or may not use the same underlying protocols.
+
+The following media components are considered as core components. At least one of these components is present in all multimedia telephony sessions.
+
+- **Voice:** The sound that is picked up by a microphone and transferred from terminal A to terminal B and played out in a loudspeaker. In this report it is assumed that the call is full-duplex voice, although in principle it could be a one-way flow.
+- **Video:** The moving image that is captured by a camera of terminal A and rendered on the display of terminal B. Video can be full or half duplex.
+
+The present document focuses on core media components that are transported in real time from one terminal to the other using RTP (RFC 3550 [9]).
+
+All media components can be added or dropped during an ongoing session as required either by the end-user or by controlling nodes in the network assuming that when adding components, the capabilities of the UE support the additional component.
+
+## 5.4 Use scenarios
+
+The following example use scenarios may benefit from the optimizations identified by the present document.
+
+- Basic point-to-point voice telephony equivalent to today's CS voice service in UTRAN and GERAN. The main difference from CS is that the transport layers are replaced with IP.
+- Basic point-to-point video telephony equivalent to today's CS video telephony in UTRAN. Both the voice and the (full duplex) video are enabled from call setup to call termination.
+- Enriched point-to-point voice telephony where the video component is added and removed during the session. Voice is enabled the whole time, from call setup to call termination. Video (one or two way) may be enabled and disabled multiple times during the session.
+
+Multimedia telephony can include several other types of use cases, but the above use cases involve the core components voice and video, which benefit most from the proposed optimizations in the present document.
+
+# --- 6 Basic point-to-point call in Release 6
+
+NOTE: This clause (6) only reviews technology already present in the Release-6 versions of 3GPP TS 26.235 [3] and 3GPP TS 26.236 [4].
+
+## 6.1 General
+
+This clause describes basic (Release 6) packet-switched conversational multimedia calls in terms of a point-to-point voice call and a point-to-point video call. The main focus is to describe how a session is set up in order to get a quality that is equivalent to CS point-to-point calls using TFO/TrFO and to show the media flow. It is assumed that the call is between two subscribers within the same PLMN. A characterization of the current voice codecs can be found in 3GPP TR 26.935 [5].
+
+## 6.2 Session setup
+
+The following example shows how a subscriber invites another subscriber to a VoIP session by issuing a SIP INVITE command with an SDP (RFC 2327 [11]) description of the session. In order to highlight the SDP part, it is shown in **bold**.
+
+EXAMPLE 1: INVITE tel:+1-212-555-2222 SIP/2.0
+ Via: SIP/2.0/UDP [5555::aaa:bbb:ccc:ddd]:1357;comp=sigcomp;branch=z9hG4bKnashds7
+ Max-Forwards: 70
+ Route: ,
+ P-Preferred-Identity: "John Doe"
+ Privacy: none
+ From: ;tag=171828
+ To:
+ Call-ID: cb03a0s09a2sdfglkj490333
+ Cseq: 127 INVITE
+ Contact:
+ Allow: INVITE, ACK, CANCEL, BYE, PRACK, UPDATE, REFER, MESSAGE
+ Content-Type: application/sdp
+ Content-Length: (222)
+
+**v=0
+ o=- 2987933615 2987933615 IN IP6 5555::aaa:bbb:ccc:ddd
+ s=-
+ c=IN IP6 5555::aaa:bbb:ccc:ddd
+ t=0 0
+ m=audio 3456 RTP/AVP 97
+ b=AS:16
+ a=rtpmap:97 AMR/8000
+ a=fmtp:97 mode-change-period=2
+ a=maxptime:20
+ a=ptime:20**
+
+An offer to use wide-band speech may be realized by replacing the media part of the above SDP with the following lines:
+
+EXAMPLE 2: **m=audio 49120 RTP/AVP 98
+ a=rtpmap:98 AMR-WB/16000
+ a=fmtp:98 mode-change-period=2
+ a=maxptime:20
+ a=ptime:20**
+
+An offer to use H.263 video may be realized by adding the following media part to the SDP:
+
+EXAMPLE 3: **m=video 51372 RTP/AVP 99
+ a=rtpmap:99 H263-2000/90000
+ a=fmtp:99 profile=0;level=45**
+
+## 6.3 Media flow
+
+### 6.3.1 General
+
+The user plane protocol stack for a multimedia telephony capable terminal is shown below. All media components are transported over RTP with each respective payload format mapped onto the RTP (RFC 3550 [9]) flow according to RFC 3551 [10].
+
+
+
+| | | | |
+|---------------------------------------|-------|------|------|
+| Conversational Multimedia Application | | | |
+| Audio | Video | Text | RTCP |
+| Payload formats | | | |
+| RTP | | | |
+| UDP | | | |
+| IP | | | |
+
+**Figure 2: User plane protocol stack for a multimedia telephony capable terminal**
+
+The information in the RTP header, together with the payload header, is used for different purposes in the call.
+
+- The sequence number is used for detection of lost packets.
+- SSRC is used for source tracking. For voice calls a typical use would be in tele-conferencing.
+
+### 6.3.2 Voice
+
+For a point-to-point voice call, the default speech codec is AMR (3GPP TS 26.071 [12], 3GPP TS 26.090 [13], 3GPP TS 26.073 [14] and 3GPP TS 26.104 [15]), or in case of wideband speech, AMR-WB (3GPP TS 26.171 [16], 3GPP TS 26.190 [17], 3GPP TS 26.173 [18] and 3GPP TS 26.204 [19]). Both codecs use the payload formats specified in RFC 3267 [20]. There are a number of configurable details available in the payload format settings. The PSC specification for transport protocols (3GPP TS 26.236 [4]) states the following settings for AMR, AMR-WB encoded speech packetized according to RFC 3267 [20] for use in a Release 6 point-to-point packet switched multimedia voice call.
+
+Sender behaviour:
+
+- The bandwidth efficient operation shall be used. The alternative to bandwidth efficient operation is octet-aligned operation. The former reduces overhead while the latter enables the use of frame interleaving and other robustification procedures (see RFC 3267 [20] for details).
+- Codec mode changes shall be performed in integer multiples of 40 ms. This is for backward compatibility with CS GSM where only codec mode indication *or* codec mode request could be sent in one frame.
+- Codec mode changes should be performed to neighbouring modes of the selected combination of codec modes.
+- DTX signalling may be used.
+- Only one speech frame shall be encapsulated in each RTP packet. While this provides a big IP overhead for the media flow, it keeps the transport-induced latency low. The IP overhead can be significantly reduced by using header compression (RFC 3095 [27]).
+- The multi-channel session shall not be used. Only mono streams are allowed even though the payload format allows for multi-channel sessions.
+- Interleaving shall not be used. Although robustness is increased, the latency is also significantly increased which will substantially reduce conversational quality.
+- Internal CRC shall not be used.
+
+Receiver behaviour:
+
+- Codec mode changes shall be accepted at any time.
+- Codec mode changes shall be accepted to any supported mode of the selected combination of codec modes.
+- DTX signalling shall always be accepted.
+
+The information in the RTP header, together with the payload header, is used for different purposes in the call.
+
+- The marker bit is used when the frame contains the first speech frame in a talk spurt (i.e. first frame after DTX has been used). The marker bit identifies suitable locations in the media stream where buffer adaptation is particularly useful.
+- The timestamp field should be used for frame sorting in the receiver buffer and detection of lost frames.
+- The timestamp field is incremented according to the sampling frequency of the codec specified in the SDP (8 kHz for AMR-NB and 16 kHz for AMR-WB). This field is increased also in DTX mode (eight times the length of the typical frame increment) and sent in the SID UPDATE packet.
+
+### 6.3.3 Video
+
+Packet-switched multimedia terminals offering video communication shall support ITU-T Recommendation H.263 [21] and [22] Profile 0 Level 45. In addition they should support ITU-T Recommendation H.263 [21] and [22] Profile 3 Level 45, MPEG-4 Visual Simple Profile Level 0b (ISO/IEC 14496-2 [23]), and H.264 (AVC) Baseline Profile Level 1b (ITU-T Recommendation H.264 [24]) without requirements on output timing conformance (Annex C of ITU-T Recommendation H.264 [24]). Each sequence parameter set of H.264 (AVC) shall contain the `vui_parameters` syntax structure including the `num_reorder_frames` syntax element set equal to 0.
+
+The H.264 (AVC) decoder in a multimedia terminal shall start decoding immediately when it receives data (even if the stream does not start with an IDR access unit) or alternatively no later than it receives the next IDR access unit or the next recovery point SEI message, whichever is earlier in decoding order. The decoding process for a stream not starting with an IDR access unit shall be the same as for a valid H.264 (AVC) bit stream. However, the client shall be aware that such a stream may contain references to pictures not available in the decoded picture buffer. The display behaviour of the client is out of scope of the present document.
+
+NOTE 1: Terminals may use full-frame freeze and full-frame freeze release SEI messages of H.264 (AVC) to control the display process.
+
+NOTE 2: An H.264 (AVC) encoder should code redundant slices only if it knows that the far-end decoder makes use of this feature (which is signalled with the `redundant-pic-cap` MIME/SDP parameter as specified in RFC 3984 [25]). H.264 (AVC) encoders should also pay attention to the potential implications on end-to-end delay.
+
+Video packets should not be large to allow better error resilience and to minimize the transmission delay in conversational service. The size of each packet shall be kept smaller than 512 bytes.
+
+# --- 7 Areas of optimizations
+
+## 7.1 General
+
+This clause identifies areas of multimedia telephony over IMS where opportunities for optimization exist. A number of problems (potential optimization areas) are identified in the subclauses below.
+
+## 7.2 Delay jitter handling
+
+Shared channels in conjunction with packet-based transport are well known to introduce variations in end-user packet receiver timing. This is known as delay jitter. For real-time services, delay jitter poses a significant threat to the service quality and, in the conversational case, the conversational quality. The source of jitter can vary; for shared channels the jitter might occur due to high load in the cell where the scheduler has many different streams to schedule for transmission, due to the current service mix in the cell having different streams with different transmission requirements or due to other circumstances. Channels can have other jitter sources such as lower layer re-transmissions. The lower layer fast re-transmissions available in HSDPA will push the packet loss due to bad radio conditions to a minimum but it will do so at the expense of varying delay. Since HSDPA does not support soft handover, delay variations might also occur during handover. Although no shared channels for media transport is available in GERAN, features like acknowledged radio links can give similar consequences with varying packet delivery timing in the UE.
+
+The presence of delay jitter is not by itself a threat to the real-time service performance; it is the actual magnitude of the jitter that will determine the service quality impact.
+
+A common solution to handle delay jitter is by introducing a jitter buffer. This buffer is designed to handle the variation in packet receiver timing. However, the mere presence of the buffer implicates that the service latency will be increased. In order to minimize the additional latency introduced by the jitter buffer, various adaptive schemes have been proposed. The main goal of the schemes is to minimize the delay while at the same time prevent packet losses due to packet delivery timing variations.
+
+For multimedia telephony, delay jitter is a problem that needs to be addressed. This new functionality, jitter handling, not previously mentioned in any official 3GPP specification, is a pre-requisite for the performance of the real-time critical components in multimedia telephony over IMS with the voice component as the most obvious example.
+
+## 7.3 Packet-loss handling
+
+Clause 5 of the present document mentions that the multimedia telephony service must be capable of operating on several different system configurations and also at many different load levels. Even though significant development is still in progress, one can still draw some conclusions for the operating conditions that can be expected:
+
+- For UTRAN DCH channels, where the fast power control tries to keep the block error rate at a fairly constant level, one should expect that a few percent of packet loss may occur.
+- For UTRAN HSDPA/HSUPA the MAC-layer fast re-transmission scheme will usually try to keep the packet loss rate very close to zero. However, due to the scheduling, which is vendor specific, one cannot guarantee that the packet loss rate will be this low for all operating conditions. Depending on the load level, one can expect temporary packet loss rates that are at least as high as for the DCH channels, or even higher.
+
+NOTE: The performance will depend on the final specification of HSDPA/HSUPA RABs, e.g. whether RLC Acked or Un-acked mode is used.
+
+- For GERAN, where significant development is being made, it is very unsure what the performance one can expect. For current GERAN (Release 6) the RLC retransmission time will be far too slow to be useful for real-time services with delay constraints that these services require. Therefore, RLC Un-acked Mode will have to be used, which means that the service must be capable of handling packet losses, at least up to a few percent.
+
+Some of the media codecs specified in Release 6 of 3GPP TS 26.235 [3] do not address decoder reaction to non-compliant bitstreams resulting from, e.g. packet loss. Investigate and provide appropriate solutions to maintain acceptable media quality in typical 3GPP environments. A feedback mechanism to report error-events may be useful in order to mitigate the effects of packet loss and maintain the quality in error-prone 3GPP environments.
+
+## 7.4 Handling of inter-working with CS
+
+There is a list of issues concerning inter-working with CS. For voice this comprises questions related to facilitating proper inter-working with the speech codecs defined in 3GPP TS 26.103 [26]. In particular, the following list of issues may be addressed: TFO / TrFO, Transcoding issues, DTX, Codec mode adaptation, Active Codec mode set handling, End-to-end delay handling.
+
+## 7.5 Handling of inter-working between UTRAN and GERAN
+
+There are a number of issues that differentiate UTRAN from GERAN when it comes to transport characteristics of real-time packet-switched data. Available bit-rate, service latency, packet loss patterns, and radio link performance, all contribute to IP-layer characteristics that are different from UTRAN. In order for multimedia telephony over IMS to be access-agnostic within 3GPP networks, it is important to take into account any difference that significantly influence service quality when inter-working between UTRAN and GERAN is taken into account.
+
+## 7.6 Inter-media synchronization
+
+Synchronization between speech and video is not a new problem for multimedia services and valid solutions exist. However, for real-time services such as Multimedia Telephony over IMS in 3GPP networks, it is possible that new situations arise that have not been addressed in standardization fora previously. Keeping real-time performance for all media components, while, at the same time accommodating for varying transport-channel characteristics for each separate stream, might induce synchronization problems that need to be carefully examined and, if needed, solved. Examples of such problems might be varying jitter between voice and video streams and loss of stream synchronization due to temporal media scaling, etc. QoS work performed elsewhere in 3GPP will be taken into account.
+
+NOTE: The difference in packet sizes between voice and video may result in different jitter characteristics when transported over a shared channel, e.g. HSDPA.
+
+## 7.7 SDU segmentation in UTRAN/GERAN
+
+In UTRAN and GERAN networks IP packets are encapsulated in SDUs. These SDUs are mapped to PDUs that might serve as SDUs for the next underlying protocol layer. In UTRAN it is for example the case that IP packets are being encapsulated in PDCP-PDUs, which may become RLC-SDUs, which is mapped on RLC-PDUs. In GERAN similar segmentation takes place in corresponding layers. In general the PDU size is determined by some radio-bearer settings and is independent of the incoming SDU. However, whenever the SDU size exceeds the PDU size, the SDU needs to be segmented and reassembled at the corresponding layer at the receiver. The loss of a PDU generally results in the loss of all SDUs that are completely or partly included in the lost PDU. Typically, PDU sizes can be much smaller than SDU sizes, e.g. typical RLC-PDU sizes in GERAN and UTRAN range from 20 bytes to 80 bytes, which might result in multiple segments of an IP packet within the multimedia telephony service. In this case the SDU goodput might be significantly lower than the PDU goodput. By appropriate selection of SDU and/or PDU sizes the goodput might be optimized. Therefore, it is proposed to address and investigate the effects of segmentation in lower layers, which might lead to improvement in the goodput at the application layer.
+
+## 7.8 Rate Adaptation
+
+The Packet-switched Streaming Service (PSS) (3GPP TS 26.234 [28]) specifies rate adaptation mechanisms that enable streaming servers to make appropriate use of downlink resources given feedback signalled from a UE. Similar signalling capabilities may also be considered for conversational multimedia calls. When a particular UE is in a bad geometry, it may not only have poor media quality for itself, but also have an adverse effect on the latency of other users in the cell as well. Release-6 specifications of 3GPP TS 26.236 [4] specify RTCP for video calls but not for VoIP. Furthermore, default settings of RTCP may not be adequate for timely feedback of rate adaptation messages. It is proposed to investigate and provide appropriate rate adaptation signalling capabilities for multimedia telephony over IMS.
+
+## 7.9 Packetization Overheads
+
+The multimedia telephony service includes video, voice and possibly other media components for conversation in the future. Each media stream is delivered over RTP, requiring complete RTP/UDP/IP headers for each packet of every stream. Depending on the packetization schemes used, there is a trade-off between latency and the packetization overhead. Investigate and recommend appropriate guidelines for minimizing packetization overhead over the air.
+
+## 7.10 End-2-End Signalling
+
+Some solutions to problems addressed by the present document may require additional signalling. Investigate and specify appropriate signalling support.
+
+# --- 8 Conclusions and recommendations
+
+The present document has identified a number of areas of multimedia telephony over IMS where opportunities for optimization exist. The areas, identified in clause 7, include:
+
+- delay jitter handling;
+- packet-loss handling;
+- handling of inter-working with CS;
+- handling of inter-working between UTRAN and GERAN;
+- inter-media synchronization;
+- SDU segmentation in UTRAN/GERAN;
+- rate adaptation;
+- packetization overheads;
+- end-2-end signalling.
+
+The recommendations of the present document are:
+
+- to perform work addressing the above areas;
+- to create a new Technical Specification for an IMS Multimedia Telephony client in Release 7 supporting conversational speech, video and text with the scope to deliver a user experience comparable to that of CS conversational services using similar amount of resources.
+
+# --- Annex A: Change history
+
+| Change history | | | | | | | |
+|----------------|---------|----------|----|-----|----------------------------------|--------|--------|
+| Date | TSG #SA | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2006-03 | 31 | | | | TR 26.914 presented for approval | 2.0.0 | 7.0.0 |
+| 2008-12 | 42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26936/010f64870d9b7d9e04dc4059b1cf5f45_img.jpg b/marked/Rel-11/26_series/26936/010f64870d9b7d9e04dc4059b1cf5f45_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..60ce2d78e2b438019cd2646f25c0971bbf8f72d9
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/010f64870d9b7d9e04dc4059b1cf5f45_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:98769277b514db64f62636837d3fb57eecd0e84313c60a96dea6fdcaf50eac86
+size 97508
diff --git a/marked/Rel-11/26_series/26936/0245dc88c1db93181871e732bc0655dd_img.jpg b/marked/Rel-11/26_series/26936/0245dc88c1db93181871e732bc0655dd_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..fb701af9353dbfa5111b6759e126ab6b892de84c
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/0245dc88c1db93181871e732bc0655dd_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:442bf4f5a30d5c1b3f6f9799d15abe977a8c4903e9687ef49c6e98d470c9c3ab
+size 31597
diff --git a/marked/Rel-11/26_series/26936/02ab1c6abcb5a2d487a30d019a5454b6_img.jpg b/marked/Rel-11/26_series/26936/02ab1c6abcb5a2d487a30d019a5454b6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..658f123f729a6ee228555dd14c4d457419b3d532
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/02ab1c6abcb5a2d487a30d019a5454b6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0b0c305c895c6189895ed38a31d933c758d8208161a1d9e649c700627a5b1975
+size 34026
diff --git a/marked/Rel-11/26_series/26936/07b56a8a7752e22a6fc5e9a5d2de5caa_img.jpg b/marked/Rel-11/26_series/26936/07b56a8a7752e22a6fc5e9a5d2de5caa_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..94d2b5af2f6e00820fffe99a0979799d1cb2b4ae
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/07b56a8a7752e22a6fc5e9a5d2de5caa_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4997c8627868538ced7a89d224991c899cf1ecf3ce33d3a548992a976185df27
+size 41016
diff --git a/marked/Rel-11/26_series/26936/0a8d173734e4e46c344178e8d21bcbc3_img.jpg b/marked/Rel-11/26_series/26936/0a8d173734e4e46c344178e8d21bcbc3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7098037062d3f6096606ffb004c6145829db9c79
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/0a8d173734e4e46c344178e8d21bcbc3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:07e14ef89c84dd4debce09d351307191fbe7cad8edc32b7dd1b45aa82243b428
+size 46143
diff --git a/marked/Rel-11/26_series/26936/0aa15f5c9c3edae230985491199cfe8b_img.jpg b/marked/Rel-11/26_series/26936/0aa15f5c9c3edae230985491199cfe8b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5f8c8314ff5717fa52a29b76ff732d47879cc3ab
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/0aa15f5c9c3edae230985491199cfe8b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:57d420b1859029c86d2b7d5497bf811f0a812a5409dc65e31c7345fe5378909a
+size 67496
diff --git a/marked/Rel-11/26_series/26936/0bd23f00e0632855cfef9274f1ab93d8_img.jpg b/marked/Rel-11/26_series/26936/0bd23f00e0632855cfef9274f1ab93d8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..147670e16ec394cb34e13ba1ab63ba0e38316673
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/0bd23f00e0632855cfef9274f1ab93d8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:42c35904dcedfe23fd5a02f6fcbe0cea774721d6f84d0317af0b14366ffe6f17
+size 34281
diff --git a/marked/Rel-11/26_series/26936/114a0f7c7ac69ab82f03d68650cf8e88_img.jpg b/marked/Rel-11/26_series/26936/114a0f7c7ac69ab82f03d68650cf8e88_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d667f82ac80eaf7f2e5a007017018079c0d91209
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/114a0f7c7ac69ab82f03d68650cf8e88_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0989f3e965e8ec03ec64fe0ace0005534b7b60241872ab1efa70a6743ad7b6cc
+size 34109
diff --git a/marked/Rel-11/26_series/26936/163e5be3ffce95041586d5e1685cefad_img.jpg b/marked/Rel-11/26_series/26936/163e5be3ffce95041586d5e1685cefad_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0d3db874e1be9d2dc1752516b3f0f1adf1ac2f8c
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/163e5be3ffce95041586d5e1685cefad_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9c3fcdd5beee81c4badbf94e4eed0f39c5f4afa9a3935ebea7f44bbc9fb87a77
+size 32372
diff --git a/marked/Rel-11/26_series/26936/1b1bb497e39fcc025a3fc8bd4fc78d9a_img.jpg b/marked/Rel-11/26_series/26936/1b1bb497e39fcc025a3fc8bd4fc78d9a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5cf7ad48346135d58a1273d5235106f61f5e3b61
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/1b1bb497e39fcc025a3fc8bd4fc78d9a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:320251a7fc5ee96fb4ac469e8be69a409d79e483f09416769f79263e0a77eb52
+size 34177
diff --git a/marked/Rel-11/26_series/26936/2bb33687a0af0373c35b56f023a2a1d4_img.jpg b/marked/Rel-11/26_series/26936/2bb33687a0af0373c35b56f023a2a1d4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6717916de961a3abc9d0b17ec10725d6ae835fd4
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/2bb33687a0af0373c35b56f023a2a1d4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:561d70d8ebe21b06b25f813f4bd2d322a7240cdb0c436fa6c6a33240bcae6fca
+size 34028
diff --git a/marked/Rel-11/26_series/26936/308c247b6837fbd1b1bcfb0cba273afc_img.jpg b/marked/Rel-11/26_series/26936/308c247b6837fbd1b1bcfb0cba273afc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..036cbfc58d1156ac8529c78b71dd23d56bf01642
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/308c247b6837fbd1b1bcfb0cba273afc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5aff5733a20f42f6e3f641d500cf17aede07808e80eb932eba081436e70edd76
+size 30700
diff --git a/marked/Rel-11/26_series/26936/343d625a23e27ef3e1fe56dc003bb072_img.jpg b/marked/Rel-11/26_series/26936/343d625a23e27ef3e1fe56dc003bb072_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6e6fe822c9f49e8ec63587422dab238cfbb16201
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/343d625a23e27ef3e1fe56dc003bb072_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2d562e32a5b6ee91e223cecd6fc9302967d982c137e0ac7b98a24f87bda61e4e
+size 31934
diff --git a/marked/Rel-11/26_series/26936/42ff8b598a0818ca8b6ef30850ad5f4e_img.jpg b/marked/Rel-11/26_series/26936/42ff8b598a0818ca8b6ef30850ad5f4e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d24663269e32c4ef5c43c9be4fa911aeaba10c7e
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/42ff8b598a0818ca8b6ef30850ad5f4e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f06012f7573016817dda026ed5aec0377a0e014f8d531803d70dacaa8e79824f
+size 49169
diff --git a/marked/Rel-11/26_series/26936/45329c7d9aa2bd1290af5b2027f08d7e_img.jpg b/marked/Rel-11/26_series/26936/45329c7d9aa2bd1290af5b2027f08d7e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9b4c70033527e6ebfeaa8f361c8ddc035c52f0a7
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/45329c7d9aa2bd1290af5b2027f08d7e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b01b209f5ac356ee2523a31fe0764db06e580f65269d4fd3388d6bd6e16b2a99
+size 31994
diff --git a/marked/Rel-11/26_series/26936/4dfe30ac5a87d018364a0ac42ea533fe_img.jpg b/marked/Rel-11/26_series/26936/4dfe30ac5a87d018364a0ac42ea533fe_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f68e8fd9a2478e34efb6fb1ab2d672ef250456ff
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/4dfe30ac5a87d018364a0ac42ea533fe_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:612ce7793ab907357118db7cd4cab220826c08a31e846f13c769121f76836588
+size 31202
diff --git a/marked/Rel-11/26_series/26936/50ca235dd1136bcc9699f9ab131cac67_img.jpg b/marked/Rel-11/26_series/26936/50ca235dd1136bcc9699f9ab131cac67_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6523deee02d3a2ca7373c5373812d0eca0b022fe
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/50ca235dd1136bcc9699f9ab131cac67_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:246f52121e4805d6025d3838af263a56d1a1f03edd1246d3cc33ee06388740f7
+size 27259
diff --git a/marked/Rel-11/26_series/26936/6279fafb3a874e174648eb907385c954_img.jpg b/marked/Rel-11/26_series/26936/6279fafb3a874e174648eb907385c954_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..356580a0052e5e17355a4786f079e1e04fb62cab
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/6279fafb3a874e174648eb907385c954_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a483aafa8d772f05b331ddd4f5dec4d1ef96f95fa6d33235107d916838a72f0d
+size 68680
diff --git a/marked/Rel-11/26_series/26936/62ad98a4bc47922b5cf47de04571dae8_img.jpg b/marked/Rel-11/26_series/26936/62ad98a4bc47922b5cf47de04571dae8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a9ce892eebf60cfbd45c48fd1c15132db33b7860
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/62ad98a4bc47922b5cf47de04571dae8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:537fd39842b4c36e10321dd1d4543b4631795a0514fd0638b064537e2874fbd3
+size 30654
diff --git a/marked/Rel-11/26_series/26936/65f66758012e229247953202e8adf35d_img.jpg b/marked/Rel-11/26_series/26936/65f66758012e229247953202e8adf35d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..88b1cc8d6498553c7a5a3152aa80fdbc1969a953
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/65f66758012e229247953202e8adf35d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:487949aa259848b2e56a6bb7e26532b0fd060cd382d70dbc23c2d2462894212c
+size 32356
diff --git a/marked/Rel-11/26_series/26936/67518cfe156890dac13b5e67abd10dc1_img.jpg b/marked/Rel-11/26_series/26936/67518cfe156890dac13b5e67abd10dc1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3044b0a60826e89861d025d8d6644a5dcba66bef
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/67518cfe156890dac13b5e67abd10dc1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4c72864795337ace4925f9e8985b95047f6889b0f61b4d7b6ae9d9dfb323a6bb
+size 32677
diff --git a/marked/Rel-11/26_series/26936/71c152ac7a8ce3d70adcd78b3363a65e_img.jpg b/marked/Rel-11/26_series/26936/71c152ac7a8ce3d70adcd78b3363a65e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..13861c4112fcc4c558e633d8d059b6947e81ca05
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/71c152ac7a8ce3d70adcd78b3363a65e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:40203765a72a891de537ab9bc92da9bec0c4789bc65fef633ce7d93d43e6dda8
+size 89406
diff --git a/marked/Rel-11/26_series/26936/771c18f874d31c59c3b8c4e247be16ca_img.jpg b/marked/Rel-11/26_series/26936/771c18f874d31c59c3b8c4e247be16ca_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..18a4e779057c446ae74c51de500f7ed434f6fc8d
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/771c18f874d31c59c3b8c4e247be16ca_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f42f0f7980b49b86480565e066f7f690284b349510113aec58dcdb2a37e3ce26
+size 86059
diff --git a/marked/Rel-11/26_series/26936/853ef5420f0432e626e83987e3f38a0b_img.jpg b/marked/Rel-11/26_series/26936/853ef5420f0432e626e83987e3f38a0b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7726eecb880944d16ebf3df86728af3e0ff281e8
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/853ef5420f0432e626e83987e3f38a0b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c09815f27d34d4ea2e870643ad7654696811b63ecd7fe4884656647ae1ec26ca
+size 29778
diff --git a/marked/Rel-11/26_series/26936/85b10db535b22e64c7d37f362705ddbf_img.jpg b/marked/Rel-11/26_series/26936/85b10db535b22e64c7d37f362705ddbf_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f4b8b38d24a4830f27afff5072fea3018ade30bf
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/85b10db535b22e64c7d37f362705ddbf_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a8d1d499707234783ac40ae72cfa7f119b4c23ad2b77e30334bf2e4d303494ab
+size 32142
diff --git a/marked/Rel-11/26_series/26936/8a597e344d10e36bbb2f243f6c4e74c6_img.jpg b/marked/Rel-11/26_series/26936/8a597e344d10e36bbb2f243f6c4e74c6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..650964d29e450cbcdd91e9b1a15faec29f9a65dc
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/8a597e344d10e36bbb2f243f6c4e74c6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e99eb60f14d7c1cb1b3e004a8ca80ac4dcb1cd0a13ae741a1613edc13136d68d
+size 50775
diff --git a/marked/Rel-11/26_series/26936/8fd97886a32c3ac7abb08aba9f7f231b_img.jpg b/marked/Rel-11/26_series/26936/8fd97886a32c3ac7abb08aba9f7f231b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b7a2e206e9890ca6397e8062ba6e44be76bf8ec3
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/8fd97886a32c3ac7abb08aba9f7f231b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6c1c11db768c77d2465144e4834dc690a1a4a02f06caae1cde6b2aea145dd402
+size 30760
diff --git a/marked/Rel-11/26_series/26936/8fe46741a1476acebc88235e1b6e0f0b_img.jpg b/marked/Rel-11/26_series/26936/8fe46741a1476acebc88235e1b6e0f0b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..757eb2a5946b86ee5385c11806f3ded61f60724c
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/8fe46741a1476acebc88235e1b6e0f0b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d6ba05bda42dee38978ac2587fd72133e6cf563733175c00dc6172b31d74a8c6
+size 32450
diff --git a/marked/Rel-11/26_series/26936/90d8516930bb8334d7898604aee1bb58_img.jpg b/marked/Rel-11/26_series/26936/90d8516930bb8334d7898604aee1bb58_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9d4cc0cb304e62001743e154b8b50fc785eb5eed
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/90d8516930bb8334d7898604aee1bb58_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:27a94f6935be479aba2d7455d6ff8e20ba0085af39d1f0d0df7787619353f4e4
+size 31425
diff --git a/marked/Rel-11/26_series/26936/9260ae281f6b6470331f4a0f82dbc2b1_img.jpg b/marked/Rel-11/26_series/26936/9260ae281f6b6470331f4a0f82dbc2b1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1a2eda276113bd3d10baebfc66765d9ab99ad694
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/9260ae281f6b6470331f4a0f82dbc2b1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:012bc5cf8c305c71c2b06f7df41792f0b2fe53b62f87795a4e7f6d0fe5d4af09
+size 59514
diff --git a/marked/Rel-11/26_series/26936/93587f920736a2fdcefeba94b29f302a_img.jpg b/marked/Rel-11/26_series/26936/93587f920736a2fdcefeba94b29f302a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e723b040ae5fb44d26ef9f21115ba54ff9398a24
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/93587f920736a2fdcefeba94b29f302a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8047bea00e167914f56b43667c77ae9373f602e5d1d32f5402fd4fa595a1a828
+size 48497
diff --git a/marked/Rel-11/26_series/26936/939b79420df0cf962959ccef56f3371f_img.jpg b/marked/Rel-11/26_series/26936/939b79420df0cf962959ccef56f3371f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0efc11d06c244b10a24ed56739f65a46bfa7ac67
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/939b79420df0cf962959ccef56f3371f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1ac1df9e492173b376c745f346451f2ba70710eb468d5f08edaac52a57f24afb
+size 35064
diff --git a/marked/Rel-11/26_series/26936/98ee20ceb85cd84e2415b20b1eda1bcf_img.jpg b/marked/Rel-11/26_series/26936/98ee20ceb85cd84e2415b20b1eda1bcf_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e661b55d7151167246edc05de4a2ca78910d7c71
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/98ee20ceb85cd84e2415b20b1eda1bcf_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0d2bd9def0127d87e039adfb4b2f8d1d1f13afeb465dfdd32af4a4297073290e
+size 70810
diff --git a/marked/Rel-11/26_series/26936/99938fa8d7d80af041634eba601e418b_img.jpg b/marked/Rel-11/26_series/26936/99938fa8d7d80af041634eba601e418b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b6587a16c5d8f94e30d9a86533b4ce80132d4aee
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/99938fa8d7d80af041634eba601e418b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e39220b6b65d348024c90e2d8f3d916ad4d5a4334593beaa56b797026228020e
+size 31522
diff --git a/marked/Rel-11/26_series/26936/9d8d3d909d7fdccb631c519df2b86e61_img.jpg b/marked/Rel-11/26_series/26936/9d8d3d909d7fdccb631c519df2b86e61_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..39bf24a02f500a07d9e789dae2c82e01402204c5
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/9d8d3d909d7fdccb631c519df2b86e61_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:278d9e3a358546b6f961c4be8b4d07f3f67229ecfe2bdccc07270a8628577c02
+size 61800
diff --git a/marked/Rel-11/26_series/26936/9f92854fe6ecaf47760515c891a4fccc_img.jpg b/marked/Rel-11/26_series/26936/9f92854fe6ecaf47760515c891a4fccc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..637219591c1a02e3f1a5af5c32961751db685f71
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/9f92854fe6ecaf47760515c891a4fccc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:208bae7ae293d3aee39c0f6a568563e1a0290e4effe2157742157adfbed49707
+size 38372
diff --git a/marked/Rel-11/26_series/26936/a01cde7cbe4b1f1e275f4bcfce07433e_img.jpg b/marked/Rel-11/26_series/26936/a01cde7cbe4b1f1e275f4bcfce07433e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..479e74f113016be8e6ea901011fda6495bf0a493
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/a01cde7cbe4b1f1e275f4bcfce07433e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f44ebd8509309023b80914c530381c385b58e2948283dece270a47b6d7e46cc7
+size 31830
diff --git a/marked/Rel-11/26_series/26936/a1545557e366b6302109d13360b199c3_img.jpg b/marked/Rel-11/26_series/26936/a1545557e366b6302109d13360b199c3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6edbe11faab2f9a7d9c1f396f67a0e4810f12589
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/a1545557e366b6302109d13360b199c3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:77ea1c4963d315da610a976d0eb9a504fa76e5d822d980d0bcaf6576e48da64a
+size 32108
diff --git a/marked/Rel-11/26_series/26936/a1a474be12b8992842992294b1d18592_img.jpg b/marked/Rel-11/26_series/26936/a1a474be12b8992842992294b1d18592_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c7c6a3bbae69397000d5c12fe18402e6fdda3469
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/a1a474be12b8992842992294b1d18592_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f1c9125ce02dd77b29fa730b7452fb454bf07883634ee5ea4b2c346877397319
+size 32191
diff --git a/marked/Rel-11/26_series/26936/a3ee9a6f9fa9251ee0cac2d16e67e620_img.jpg b/marked/Rel-11/26_series/26936/a3ee9a6f9fa9251ee0cac2d16e67e620_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..51dac6af80e28c82690bd86f951fce6fcde8efc1
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/a3ee9a6f9fa9251ee0cac2d16e67e620_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b8ce9f698c86841abbbe8cfb0426a2664f9285421328ad3524c2be136ba243d2
+size 30258
diff --git a/marked/Rel-11/26_series/26936/aec18482b8a80bbd708de4fd182dae90_img.jpg b/marked/Rel-11/26_series/26936/aec18482b8a80bbd708de4fd182dae90_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..168d64c9aafdba6b4791ec911436cdbc6756eef1
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/aec18482b8a80bbd708de4fd182dae90_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e322297b3d09e4d54f58171c623a056cb636af27294b77744f3f5379b9fba6af
+size 31140
diff --git a/marked/Rel-11/26_series/26936/b712e7522f1bb7135730c7d1abb46d43_img.jpg b/marked/Rel-11/26_series/26936/b712e7522f1bb7135730c7d1abb46d43_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a920dee8a408733daf1323277404766a4a6ab0a8
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/b712e7522f1bb7135730c7d1abb46d43_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:81276d16f60e624127d6d076de3a07aaa523625fc54a3c66b9a03683844c978c
+size 50066
diff --git a/marked/Rel-11/26_series/26936/bc9b32ae69d991e56f9a5f1e1d383d3a_img.jpg b/marked/Rel-11/26_series/26936/bc9b32ae69d991e56f9a5f1e1d383d3a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d13c62c00829797f6ecb920128afa3ef12b1273d
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/bc9b32ae69d991e56f9a5f1e1d383d3a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7235744a47cc2d8ddec2749092ae64b330eba49f6fbf7af1252133b214f11976
+size 31326
diff --git a/marked/Rel-11/26_series/26936/c17eaf807acd5faec68da19dd16929be_img.jpg b/marked/Rel-11/26_series/26936/c17eaf807acd5faec68da19dd16929be_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a363e0292900d1840e8fc346a61af17069572fd8
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/c17eaf807acd5faec68da19dd16929be_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:936006cca6df450f17a9fe2256a150d6ffdfab46004f52d61cd218a9b6040f1b
+size 31462
diff --git a/marked/Rel-11/26_series/26936/c37fe03d7cad74ad675a0eb16aa43821_img.jpg b/marked/Rel-11/26_series/26936/c37fe03d7cad74ad675a0eb16aa43821_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c3bd6d00242ea55937bc8a1d6508752490595562
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/c37fe03d7cad74ad675a0eb16aa43821_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e17b40e9694cda9d2f4e7d6254999ae747af339f756180c5d357a7d325088985
+size 46486
diff --git a/marked/Rel-11/26_series/26936/c531b0e7e06671c980f2ed0d753d2fbc_img.jpg b/marked/Rel-11/26_series/26936/c531b0e7e06671c980f2ed0d753d2fbc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d009e28864ebeb01c005fe1b98f85851742b7331
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/c531b0e7e06671c980f2ed0d753d2fbc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d1938a29c3366afb37c09816696a73d51acea5027baf50ef66ccee676d84f225
+size 53363
diff --git a/marked/Rel-11/26_series/26936/cbc4516eb885829fe8c9dabc0946dcbe_img.jpg b/marked/Rel-11/26_series/26936/cbc4516eb885829fe8c9dabc0946dcbe_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e721c9a0cef6c6005d13e03716892d9252cf8ff4
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/cbc4516eb885829fe8c9dabc0946dcbe_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:08c5449e9496ecc2532c1cfbae788d092a6b60763db61b848abb8991a08edbdf
+size 29756
diff --git a/marked/Rel-11/26_series/26936/d7822d1c63f12f2a4b4fd8ffb6a4010c_img.jpg b/marked/Rel-11/26_series/26936/d7822d1c63f12f2a4b4fd8ffb6a4010c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..051279ec345850caeb7f55f55d11a9729a2c754a
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/d7822d1c63f12f2a4b4fd8ffb6a4010c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b174be416b3602da11d89ee6e5554334c669b0db14edcffcc0aaf6905cc860f9
+size 27902
diff --git a/marked/Rel-11/26_series/26936/dc0cec98faa3ead994c1b171cb56265d_img.jpg b/marked/Rel-11/26_series/26936/dc0cec98faa3ead994c1b171cb56265d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..de217cafb5ad82687ecfa7144854e91444126d9b
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/dc0cec98faa3ead994c1b171cb56265d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e3cbed793cf901eb3c733a699d697614b55e5fb130e1f1e5d0f2faa81b27db93
+size 26182
diff --git a/marked/Rel-11/26_series/26936/df476ed6ad0bb890c67aa63e7647d071_img.jpg b/marked/Rel-11/26_series/26936/df476ed6ad0bb890c67aa63e7647d071_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..73b7eba8e2db83eabf50f642b13d5b6b9852f48c
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/df476ed6ad0bb890c67aa63e7647d071_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6d955b5169490efacaec5224b46797f29e34540284fbc295069199f06518cc23
+size 56544
diff --git a/marked/Rel-11/26_series/26936/df7cb4ea9bd6c3f445f3e264773b125f_img.jpg b/marked/Rel-11/26_series/26936/df7cb4ea9bd6c3f445f3e264773b125f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7c9f1f1ce3787805711561b53f75d03dc5b687fd
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/df7cb4ea9bd6c3f445f3e264773b125f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:afbdf98eeb5d4d52083e2c83451e18f18a9e19c970b3279104be518eb1ebc737
+size 24997
diff --git a/marked/Rel-11/26_series/26936/ebb257e664fc85a1eb4d6534842794bb_img.jpg b/marked/Rel-11/26_series/26936/ebb257e664fc85a1eb4d6534842794bb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5b5a21f6d8c5d529e218afd81b337c55af5d31bd
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/ebb257e664fc85a1eb4d6534842794bb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:afddfb6a3c0bd5e448a2d9a48f8541387008c344db9e37a3d9801132d9b38dec
+size 32914
diff --git a/marked/Rel-11/26_series/26936/f519a5be118c846f631c992412353fb9_img.jpg b/marked/Rel-11/26_series/26936/f519a5be118c846f631c992412353fb9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..223a9d7d5a076e7dde5048de53e6271bca07c285
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/f519a5be118c846f631c992412353fb9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8fe1de27b9eca219883168e553ae70a96fb8aeebeb67bf48679947024aed02f5
+size 56135
diff --git a/marked/Rel-11/26_series/26936/fc857414626a8d94d132e12d9afe52a4_img.jpg b/marked/Rel-11/26_series/26936/fc857414626a8d94d132e12d9afe52a4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6962dc0b707d155fdada86fd8dc629e1569670d4
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/fc857414626a8d94d132e12d9afe52a4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b9032a5007b32494fb87b49bb932cfb41f856e6e85fe634a309665ada6a0bba6
+size 30243
diff --git a/marked/Rel-11/26_series/26936/fd188843e5acb8e0d76372860b5f5962_img.jpg b/marked/Rel-11/26_series/26936/fd188843e5acb8e0d76372860b5f5962_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c61864462e8dac6591b885dfe7f54a7910c51f72
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/fd188843e5acb8e0d76372860b5f5962_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:74d008308a026c3eab18750078a45d4c2afeb3d3d1776929330e7f72fe77caeb
+size 51104
diff --git a/marked/Rel-11/26_series/26936/ff2492be4fa814905acbad18f261b8a5_img.jpg b/marked/Rel-11/26_series/26936/ff2492be4fa814905acbad18f261b8a5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..cecd1e27c454ac6bc32bb4d1a78a8702c3efa585
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/ff2492be4fa814905acbad18f261b8a5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5a8c0538eda2f5bd75d9f0dc1c4ac932fceedfe0fa9b51657dc2c26a1819fac5
+size 57694
diff --git a/marked/Rel-11/26_series/26936/raw.md b/marked/Rel-11/26_series/26936/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..0bf321a4ae0f3f339634724eac0bb5333aac1485
--- /dev/null
+++ b/marked/Rel-11/26_series/26936/raw.md
@@ -0,0 +1,1749 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|-----------------------------------------------------------------------------------------------------|-----------|
+| Foreword ..... | 4 |
+| 1 Scope..... | 5 |
+| 2 References..... | 5 |
+| 3 Abbreviations ..... | 5 |
+| 4 Subjective test results..... | 6 |
+| 4.1 Organization of the subjective test results..... | 6 |
+| 4.2 Subjective test method ..... | 8 |
+| 5 Performance Characterization for Audio Content ..... | 9 |
+| 5.1 Results from characterization phase 1..... | 9 |
+| 5.2 Results from Characterization phase 2..... | 10 |
+| 5.3 Results from Selection Test..... | 12 |
+| 6 Performance characterization over bit-rate..... | 14 |
+| 7 Performance based on Selection Tests..... | 15 |
+| 7.1 Intrinsic quality comparison in lower bit-rate range (up to 24 kbps)..... | 15 |
+| 7.2 Quality comparison under stressed operating conditions at lower bit-rates (up to 24 kbps) ..... | 17 |
+| 7.3 Performance evaluation in higher bit-rate range (up to 48 kbps)..... | 18 |
+| 8 Performance characterization for error conditions..... | 18 |
+| 9 Results of verification tests..... | 21 |
+| 9.1 Complexity verification..... | 21 |
+| 9.1.1 AMR-WB+ complexity ..... | 21 |
+| 9.1.2 Eaac+ Complexity ..... | 22 |
+| 9.2 Frequency response verification..... | 22 |
+| 9.2.1 Frequency response of AMR-WB+..... | 22 |
+| 9.2.1.1 Characterization phase configuration ..... | 22 |
+| 9.2.1.2 Selection phase configuration..... | 26 |
+| 9.2.2 Frequency response of Eaac+ ..... | 29 |
+| 9.3 Codec delay verification..... | 33 |
+| 9.3.1 AMR-WB+ codec delay ..... | 33 |
+| 9.3.2 Eaac+ codec delay ..... | 34 |
+| 9.4 Performance verification with 3D audio signal..... | 35 |
+| 9.5 Verification of rate switching performance ..... | 40 |
+| 9.5.1 Rate switching performance of AMR-WB+..... | 40 |
+| 9.5.2 Rate switching performance of Eaac+..... | 40 |
+| 9.6 Verification of source code ..... | 41 |
+| 9.6.1 Source code verification of AMR-WB+..... | 41 |
+| 9.6.2 Source code verification of Eaac+..... | 44 |
+| 9.6.3 General discussion..... | 47 |
+| 9.7 Content dependency ..... | 48 |
+| Annex A: Test results from other bodies..... | 49 |
+| A.1 Test results from ITU-T standardization of G.722-1, annex C..... | 49 |
+| Annex B: Documents for information ..... | 51 |
+| B.1 Official testing documents (file TR26.936 Annex B1 Official Test Documents.zip) ..... | 51 |
+| B.2 Additional information documents (file TR26.936 Annex B2 Additional Documents.zip)..... | 51 |
+| B.3 Verification test documents (file TR26.936 Annex B3 Verification test documents.zip)..... | 52 |
+| Annex C: Change history..... | 53 |
+
+# --- Foreword
+
+This Technical Report has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The present document comprises the Technical Report for the Characterization of the 3GPP Audio Codecs, Enhanced aacPlus (*Eaac+*) and Extended AMR-WB (*AMR-WB+*), standardized by 3GPP in Release 6 for Packet-switched Streaming Service (PSS), Multimedia Messaging Service (MMS), Multimedia Broadcast and Multicast Service (MBMS), and IMS Messaging Service and Presence Service.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] ITU-R Recommendation BS.1534-1 (2003): "Method for the subjective assessment of intermediate quality level of coding systems".
+- [2] ISO/IEC JTC1/SC29/WG11/N5571 (2003): "Report on Informal MPEG-4 Extension 1 (Bandwidth Extension) Verification Tests".
+- [3] Tech 3296 (2003): "EBU Subjective listening tests on low bit-rate audio codecs".
+- [4] 3GPP TS 26.273: "ANSI-C code for the fixed-point Extended Adaptive Multi-Rate - Wideband (AMR-WB+) speech codec".
+- [5] 3GPP TS 26.290: "Audio codec processing functions; Extended Adaptive Multi-Rate - Wideband (AMR-WB+) codec; Transcoding functions".
+- [6] 3GPP TS 26.410: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; Floating-point ANSI-C code".
+- [7] 3GPP TS 26.411: "General audio codec audio processing functions; Enhanced aacPlus general audio codec; Fixed-point ANSI-C code".
+
+# --- 3 Abbreviations
+
+For the purposes of the present document, the following abbreviations apply:
+
+| | |
+|---------|-------------------------------------------------------------|
+| ACR | Absolute Category Rating method |
+| AMR-WB+ | Extended AMR-WB |
+| BLER | Block Error Rate |
+| DCR | Degradation Category Rating method |
+| DMOS | Degradation Mean Opinion Score |
+| Eaac+ | Enhanced aacPlus |
+| EBU | European Broadcasting Union |
+| EGPRS | Enhanced General Packet Radio Service |
+| FEC | Forward Error Correction |
+| FER | Frame Error Rate |
+| HRTF | Head Related Transfer Function |
+| ISF | Internal Sampling Frequency |
+| ITU-T | International Telecommunications Union - Telecommunications |
+| MBMS | Multi-media Broadcast and Multicast Services |
+| MMS | Multi-media Messaging Service |
+| MOS | Mean Opinion Score |
+
+| | |
+|---------|------------------------------------------------------------|
+| MPEG | Moving Picture Experts Group |
+| MUSHRA | Multiple Stimulus with Hidden Reference and Anchors method |
+| PLR | Packet Loss Rate |
+| PSS | Packet-switched Streaming Service |
+| ROHC | Robust Header Compression |
+| RTP | Real-time transport protocol |
+| RLC-PDU | Radio Link Control - Protocol Data Unit |
+| SEAQ | System for the Evaluation of Audio Quality |
+| UTRAN | UMTS Terrestrial Radio Access Network |
+
+# 4 Subjective test results
+
+The main body of the present document summarizes the results from official tests conducted by 3GPP.
+
+Further subjective test results were provided into the standardization process by various parties. Some of these results were part of the verification tasks. Two other contributions from codec proponents assessing the codecs across different bit rates in the low rate segment up to 24 kbps were provided in earlier phases of the process and are also attached to the present document (see S4-040439 and S4-040710 in attachment "TR 26.936 Annex B2 Additional Documents.zip").
+
+In addition, there are further reports from other bodies. Clause A.1 comprises test results for the two standardized codecs carried out by ITU-T, where the 3GPP audio codecs served as reference codecs. The Annex also contains references to tests on Eaac+ carried out in MPEG and EBU, which provide information for configurations using the Eaac+ decoder in combination with a non-standardized encoder.
+
+In the reporting of subjective test results, it is generally agreed that comparisons of results are valid only for conditions conducted within the same experiment. It is not valid, for example, to directly or statistically compare subjective test results for one codec across two bit-rates when those results have been obtained from different experiments. In general, this principle will be observed in the subjective test results presented in the following clauses.
+
+## 4.1 Organization of the subjective test results
+
+This report comprises data from subjective tests derived from standardization exercises organized in 3GPP. Each of the test exercises was conducted in accordance with a test plan and results were provided in a test report. Table 1 summarizes these test exercises including a series label, a description of the tests, and the specific Attachments containing the appropriate test plans and test reports.
+
+**Table 1: Subjective Test Series involved in the Technical Report**
+
+| Standardization exercise | Label | Test plan | Test report |
+|-------------------------------------------------|-------|---------------|---------------|
+| 3GPP audio codec characterization test, phase 1 | CT-P1 | Attachment 1A | Attachment 1B |
+| 3GPP audio codec characterization test, phase 2 | CT-P2 | Attachment 1A | Attachment 1C |
+| 3GPP audio codec low rate selection test | ST-LR | Attachment 1D | Attachment 1E |
+| 3GPP audio codec high rate selection test | ST-HR | Attachment 1F | Attachment 1G |
+
+Table 2 lists the subjective tests that provided the results reported in the present document including details such as the test parameters, mode (mono vs. stereo), and number of listening labs. All of the subjective tests described in this report involved some common test parameters. These include the use of 15 subjects and 12 test items where the test items are sub-divided into three classes of Audio Content - four items each for Music-only, Speech-only, and Mixed Music+Speech audio content. All experiments in CT-P1 and CT-P2 used the same 12 items of material. The ST-LR tests used 24 items in each experiment, but the test items were split into two sets of 12 test items and allocated across to different labs running the same experiment. All experiments in ST-HR used the same 12 test items.
+
+**Table 2: Summary of subjective tests involved in the Technical Report**
+
+| Series | Test parameter(s) | Mode | # Labs |
+|--------|------------------------------------|--------|--------|
+| CT-P1 | 3 bit-rates | mono | 2 |
+| | 3 bit-rates | stereo | 2 |
+| CT-P2 | 4 PLR's, EGPRS | mono | 1 |
+| | 4 PLR's, EGPRS | stereo | 1 |
+| | 3 PLR's, UTRAN - Lower rates | stereo | 1 |
+| | 3 PLR's, UTRAN - Higher rates | stereo | 1 |
+| ST-LR | 14 kbps, PSS | mono | 4 |
+| | 18 kbps, PSS | stereo | 4 |
+| | 24 kbps, PSS | mono | 4 |
+| | 24 kbps, PSS | stereo | 4 |
+| | 14 kbps, MMS, 16 kHz sampling rate | mono | 4 |
+| | 18 kbps, MMS | stereo | 4 |
+| | 14 kbps, PSS, 3 % FER | mono | 4 |
+| | 24 kbps, MMS, 3 % FER | stereo | 4 |
+| ST-HR | 32 kbps, PSS | stereo | 2 |
+| | 48 kbps, PSS | stereo | 2 |
+| | 32 kbps, PSS, 1 % and 3 % FER | stereo | 2 |
+
+It should be noted that, for both audio codecs, the codecs used in the Characterization Test (i.e. CT-P1 and CT-P2 test series) were different (e.g., bug fixes, optimized configurations) from the candidate codecs used in the earlier Selection Test (i.e. ST-LR and ST-HR test series).
+
+The Selection test results also provide information how the selected codecs perform in relation to Release 5 audio codecs.
+
+The clauses of the present document are organized as follows:
+
+- Clause 5: Performance Characterization for Audio Content:
+ - This clause comprises a quality evaluation of the codecs across audio content. It contains results from codec characterization both without and with packet loss. It also contains a similar evaluation from the selection tests.
+- Clause 6: Performance Characterization over Bit-rate:
+ - This clause comprises the test results from codec characterization assessing the performance of the codecs across bit rate. It highlights quality vs. bit-rate in the lower bit-rate range. This clause contains relevant data for PSS, MBMS and MMS services.
+- Clause 7: Performance based on Selection test results:
+ - This clause comprises test results from the codec selection tests demonstrating the performance of the selected codecs relative to that of reference codecs (including audio and wideband speech codecs specified in Release 5). It covers an intrinsic quality comparison of the codecs and a quality comparison under stressed operating conditions in a lower bit-rate segment up to 24 kbps. The intrinsic quality comparison was designed to target PSS applications without channel impairments, and the stressed operating conditions contained terminal-generated MMS scenarios and PSS with channel impairments. Also included are high-rate codec selection results for a higher bit-rate segment assessing the performance of the *Eaac+* codec relative to reference codecs at 32 kbps and 48 kbps. These tests were targeting PSS and MMS applications and did not include *AMR-WB+* codec.
+- Clause 8: Performance Characterization for Error Conditions:
+ - This clause comprises the test results from codec characterization assessing the codec performance for various packet loss rates. The tests used the RTP packetization schemes specified for MBMS services as well as a packet loss simulator designed for such purposes. This clause is relevant for the design of application layer FEC and the definition of target BLER for MBMS services without FEC.
+
+- Clause 9: Results of Verification Tests:
+ - This clause comprises results from codec verification tasks which checked and assessed various codec aspects such as complexity, verification of the fixed point code, frequency response, delay, codec performance with 3D audio signals, rate switching performance, and content dependency.
+- Annex A: Test results from other bodies:
+ - Annex A includes test results carried out by ITU-T, where the two 3GPP audio codecs participated as reference codecs. These results consist of two parts, one part obtained by MUSHRA testing of music and mixed material, the other part obtained by MOS and DMOS testing (ACR and DCR) using speech material. The Annex also contains references to tests on *Eaac+* carried out in bodies outside of 3GPP, which provide information for configurations using the *Eaac+* decoder in combination with a non-standardized encoder.
+
+All the results shown in the present document are generally valid for all Release 6 services and applications which are based on the Release 6 audio codecs. These are Packet switched Streaming Service (PSS), Multimedia Messaging Service (MMS), Multimedia Broadcast and Multicast Service (MBMS), IMS Messaging Service and Presence Service. During codec selection certain tests were designed to target a specific application, but are generally valid for all applications with similar constraints (e.g. bit-rate, mono/stereo). The only exception is terminal-generated MMS for which tests with reduced input signal bandwidth were carried out (restricted to 16 kHz sampling rate in some tests as reported in clauses 5.3 and 7.2) and for which a particularly low-complexity encoder for *AMR-WB+* was used (9.75k-lc in the results reported in clause 6).
+
+## 4.2 Subjective test method
+
+The subjective test results described in the present document were derived using the MUSHRA (**M**ultiple **S**timulus with **H**idden **R**eference and **A**nchors) test methodology. The MUSHRA method is an ITU-R standardized test methodology for the subjective assessment of intermediate audio quality [1]. On each trial in a MUSHRA test the subject is presented with an unprocessed audio sample - the "Open Reference" (OR). By definition the quality of the OR is a score of 100 on the MUSHRA quality scale. The subjects' task is to then evaluate the quality of the same audio sample processed by each of the conditions involved in the test as well as the unprocessed condition, the Hidden Reference (HR), and two or more degraded Anchor conditions, typically low-pass filtered at 3.5 kHz and low-pass filtered at 7.0 kHz.
+
+Figure 1 shows an example of a subject's response interface for a typical MUSHRA trial involving nine audio conditions. The subject is required to listen, first, to the OR (**Ref** button in the figure) and then to each of the test conditions (buttons **A** through **I** in the figure). The assignment of test conditions is randomized among the buttons for each trial. Subjects register their ratings, 1 to 100, using the scale sliders above each button. The subject's task is to identify the HR condition and give it a rating of 100 and then to rate the remainder of the conditions relative to the HR condition. Subjects may listen to the samples as many times as they want and adjust their ratings accordingly. Subject's ratings are used in test analyses only if the subject can reliably identify the HR and correctly order the anchors and the HR.
+
+
+
+Figure 1: Example MUSHRA response interface. The interface shows a trial with 10 channels (A-I) and a reference (REF). Each channel has a vertical slider ranging from 0 to 100, with qualitative labels: Bad, Poor, Fair, Good, and Excellent. Below the sliders are buttons for each channel. Playback controls (play again, stop) are visible. A 'FINISHED GO TO NEXT TRIAL' button is at the bottom right. Text indicates that checked items were played at least once and that the program will stop automatically when the last trial is finished.
+
+Figure 1: Example MUSHRA response interface
+
+# 5 Performance Characterization for Audio Content
+
+Results were extracted from three series of MUSHRA tests to characterize the 3GPP audio codecs for three different classes of audio content -- Music, Speech, and Mixed Music+Speech. Each of the MUSHRA tests described in the present document involved 12 test items, four items each for Music, Speech, and Mixed audio content.
+
+## 5.1 Results from characterization phase 1
+
+Figures 2 and 3 shows results from the experiments conducted in the CT-P1 test series. The Mean scores and 95 % Confidence Intervals shown in the figures are based on scores for two labs, 15 listeners, and four test-items per class of audio content ( $N = 2 \times 15 \times 4 = 120$ votes).
+
+
+
+| Codec | Bit-rate | Music (Mean) | Speech (Mean) | Mixed (Mean) |
+|---------|-----------|--------------|---------------|--------------|
+| AMR-WB+ | 9.75k-lic | ~40 | ~43 | ~41 |
+| | 9.75k | ~67 | ~59 | ~60 |
+| | 15.25k | ~77 | ~79 | ~74 |
+| | 19k | ~83 | ~85 | ~81 |
+| Eaac+ | 10k | ~47 | ~34 | ~37 |
+| | 16k | ~68 | ~62 | ~65 |
+| | 20k | ~78 | ~76 | ~77 |
+
+Figure 2: Bar chart titled 'CT-P1: Mono' showing MUSHRA scores for Music, Speech, and Mixed audio content across different bit-rates for AMR-WB+ and Eaac+ codecs. The Y-axis represents MUSHRA scores from 0 to 100. The X-axis shows bit-rates: 9.75k-lic, 9.75k, 15.25k, 19k (for AMR-WB+); 10k, 16k, 20k (for Eaac+). Music is represented by blue bars, Speech by maroon bars, and Mixed by yellow bars. Error bars indicate 95% confidence intervals.
+
+Figure 2: Audio Content for audio codecs across bit-rates (mono mode)
+
+
+
+| Codec | Bit-rate | Music | Speech | Mixed |
+|---------|----------|-------|--------|-------|
+| AMR-WB+ | 14.25k | ~33 | ~45 | ~39 |
+| | 20k | ~44 | ~55 | ~52 |
+| | 27k | ~58 | ~68 | ~64 |
+| Eaac+ | 16k | ~37 | ~36 | ~40 |
+| | 21k | ~51 | ~50 | ~49 |
+| | 28k | ~75 | ~58 | ~62 |
+
+Figure 3: Bar chart titled 'CT-P1: Stereo' showing MUSHRA scores for Music, Speech, and Mixed audio content across different bit-rates for AMR-WB+ and Eaac+ codecs. The y-axis represents MUSHRA scores from 0 to 100. The x-axis shows bit-rates: 14.25k, 20k, 27k for AMR-WB+ and 16k, 21k, 28k for Eaac+. Music is represented by blue bars, Speech by maroon bars, and Mixed by yellow bars. Error bars indicate 95% confidence intervals.
+
+Figure 3: Audio content for audio codecs across bit-rates (stereo mode)
+
+## 5.2 Results from Characterization phase 2
+
+Results in this clause were derived in experiments containing packet losses. Bit-rates mentioned in figures 4 to 7 represent gross bit-rates including packetization overhead. Further information about how the packet loss conditions were defined, can be found in clause 8.
+
+Figures 4 and 5 show results for audio content for the tests conducted in the CT-P2 test series for EGPRS under conditions of PLR. Figure 4 shows results for mono mode and figure 5 for stereo mode. The Mean scores and 95 % Confidence Intervals shown in the figure are based on scores for 15 listeners and four test-items per class of audio content ( $N = 15 \times 4 = 60$ votes).
+
+
+
+| Codec | Bit-rate | PLR | Music | Speech | Mixed |
+|---------------|-------------|-----|-------|--------|-------|
+| AMR-WB+ (16k) | 16k | 0% | ~54 | ~59 | ~56 |
+| | | 1% | ~47 | ~53 | ~52 |
+| | | 6% | ~21 | ~26 | ~27 |
+| | | 10% | ~11 | ~17 | ~16 |
+| | EAAC+ (20k) | 0% | ~56 | ~58 | ~55 |
+| | | 1% | ~50 | ~53 | ~51 |
+| | | 6% | ~25 | ~28 | ~29 |
+| | | 10% | ~15 | ~18 | ~17 |
+
+Figure 4: Bar chart titled 'CT-P2, EGPRS, Mono' showing MUSHRA scores for Music, Speech, and Mixed audio content across different Packet Loss Rates (PLR) for AMR-WB+ (16k) and EAAC+ (20k) codecs. The y-axis represents MUSHRA scores from 0 to 100. The x-axis shows PLR: 0%, 1%, 6%, 10% for both codecs. Music is represented by blue bars, Speech by maroon bars, and Mixed by yellow bars. Error bars indicate 95% confidence intervals.
+
+Figure 4: Audio content for audio codecs across PLR (EGPRS mono mode)
+(Bit-rates given are gross rates including packetization overhead)
+
+
+
+| Codec | PLR | Music | Speech | Mixed |
+|---------------|-----|-------|--------|-------|
+| AMR-WB+ (24k) | 0% | ~70 | ~78 | ~78 |
+| | 1% | ~55 | ~68 | ~68 |
+| | 6% | ~20 | ~25 | ~30 |
+| | 10% | ~12 | ~15 | ~18 |
+| EAAC+ (24k) | 0% | ~78 | ~75 | ~75 |
+| | 1% | ~60 | ~60 | ~65 |
+| | 6% | ~25 | ~30 | ~40 |
+| | 10% | ~15 | ~20 | ~22 |
+
+Bar chart titled 'CT-P2, EGPRS, Stereo' showing MUSHRA scores for Music, Speech, and Mixed audio content across different Packet Loss Rates (PLR) for AMR-WB+ (24k) and EAAC+ (24k) codecs. The Y-axis represents MUSHRA scores from 0 to 100. The X-axis shows PLR levels of 0%, 1%, 6%, and 10% for both codecs. Music is represented by blue bars, Speech by maroon bars, and Mixed by yellow bars. Error bars indicate 95% confidence intervals.
+
+**Figure 5: Audio content for audio codecs across PLR (EGPRS stereo mode)**
+ (Bit-rates given are gross rates including packetization overhead)
+
+Figures 6 and 7 show results for audio content for the tests conducted in the CT-P2 test series for UTRAN, stereo mode under conditions of PLR. Figure 6 shows results for lower bit-rates (*AMR-WB+* at 20 kbps and *Eaac+* at 32 kbps) and figure 7 for higher bit-rate (both codecs at 40 kbps). The Mean scores and 95 % Confidence Intervals shown in the figure are based on scores for 15 listeners and four test-items per class of audio content ( $N = 15 \times 4 = 60$ votes).
+
+
+
+| Codec | PLR | Music | Speech | Mixed |
+|---------------|-----|-------|--------|-------|
+| AMR-WB+ (20k) | 0% | ~55 | ~55 | ~55 |
+| | 1% | ~48 | ~52 | ~52 |
+| | 5% | ~32 | ~38 | ~35 |
+| EAAC+ (32k) | 0% | ~88 | ~68 | ~75 |
+| | 1% | ~78 | ~62 | ~70 |
+| | 5% | ~55 | ~42 | ~55 |
+
+Bar chart titled 'CT-P2, UTRAN, Stereo' showing MUSHRA scores for Music, Speech, and Mixed audio content across different Packet Loss Rates (PLR) for AMR-WB+ (20k) and EAAC+ (32k) codecs. The Y-axis represents MUSHRA scores from 0 to 100. The X-axis shows PLR levels of 0%, 1%, and 5% for both codecs. Music is represented by blue bars, Speech by maroon bars, and Mixed by yellow bars. Error bars indicate 95% confidence intervals.
+
+**Figure 6: Audio content for audio codecs across PLR (UTRAN stereo mode)**
+ (Bit-rates given are gross rates including packetization overhead)
+
+
+
+| Codec | PLR | Music | Speech | Mixed |
+|---------------|-----|-------|--------|-------|
+| AMR-WB+ (40k) | 0% | ~55 | ~60 | ~65 |
+| | 1% | ~38 | ~50 | ~45 |
+| | 5% | ~15 | ~20 | ~15 |
+| EAAC+ (40k) | 0% | ~78 | ~60 | ~55 |
+| | 1% | ~68 | ~50 | ~50 |
+| | 5% | ~38 | ~30 | ~35 |
+
+Bar chart titled 'CT-P2, UTRAN, Stereo' showing MUSHRA scores for Music, Speech, and Mixed audio content across different Packet Loss Rates (0%, 1%, 5%) for AMR-WB+ (40k) and EAAC+ (40k) codecs. The Y-axis represents MUSHRA scores from 0 to 100. For AMR-WB+, Music scores are around 55, 38, and 15; Speech scores are around 60, 50, and 20; Mixed scores are around 65, 45, and 15. For EAAC+, Music scores are around 78, 68, and 38; Speech scores are around 60, 50, and 30; Mixed scores are around 55, 50, and 35.
+
+Figure 7: Audio content for audio codecs across PLR (UTRAN stereo mode)
+(Bit-rates given are gross rates including packetization overhead)
+
+## 5.3 Results from Selection Test
+
+Figure 8 summarizes results for a subset of four MUSHRA experiments conducted in the selection series of tests (ST-LR), each experiment involving the two audio codecs for the PSS application. Results are shown for each of the two audio codecs in each of four MUSHRA tests for the three classes of Audio Content. The results shown in figure 8 are based on votes from 15 subjects for four test-items per class of audio content in each of four listening labs ( $N = 15 \times 4 \times 4 = 240$ votes). In general, these results show that *AMR-WB+* scores better for Speech content, relatively worse for Music content, with Mixed content between those values. On the other hand, *Eaac+* scores better for Music content, worse for Speech content, with Mixed content between those values.
+
+
+
+| Codec | Configuration | Music | Speech | Mixed |
+|---------|---------------|-------|--------|-------|
+| AMR-WB+ | 14k-Mono | ~60 | ~72 | ~60 |
+| | 18k-Stereo | ~52 | ~62 | ~55 |
+| | 24k-Mono | ~58 | ~80 | ~65 |
+| | 24k-Stereo | ~52 | ~65 | ~65 |
+| Eaac+ | 14k-Mono | ~60 | ~48 | ~50 |
+| | 18k-Stereo | ~68 | ~40 | ~55 |
+| | 24k-Mono | ~78 | ~72 | ~78 |
+| | 24k-Stereo | ~78 | ~58 | ~68 |
+
+Bar chart titled 'ST-LR: Intrinsic Quality' showing MUSHRA scores for Music, Speech, and Mixed audio content across different bit-rates and configurations (14k-Mono, 18k-Stereo, 24k-Mono, 24k-Stereo) for AMR-WB+ and Eaac+ codecs. The Y-axis represents MUSHRA scores from 0 to 100. For AMR-WB+, Music scores are around 60, 52, 58, 52; Speech scores are around 72, 62, 80, 65; Mixed scores are around 60, 55, 65, 65. For Eaac+, Music scores are around 60, 68, 78, 78; Speech scores are around 48, 40, 72, 58; Mixed scores are around 50, 55, 78, 68.
+
+Figure 8: Results for four ST-LR tests (intrinsic quality) by class of audio content
+
+Figure 9 summarizes results for a second subset of four ST-LR, two experiments for the MMS application without frame errors and two for the PSS application with 3 % frame errors. For the 14 kbps MMS case, the input and output sampling rate was restricted to 16 kHz. Results are shown for each of the two audio codecs in each of four MUSHRA tests for the three classes of Audio Content.
+
+
+
+The chart displays MUSHA scores for three audio content classes (Music, Speech, Mixed) across eight different operating conditions. The conditions are grouped by codec: AMR-WB+ and Eaac+. The Y-axis represents the MUSHA score, ranging from 0 to 100. The X-axis labels the conditions: 14k-Mono, 18k-Stereo, 14k-Mono 3%FER, 24k-Stereo 3%FER for AMR-WB+; and 14k-Mono, 18k-Stereo, 14k-Mono 3%FER, 24k-Stereo 3%FER for Eaac+.
+
+| Codec | Condition | Music | Speech | Mixed |
+|---------|------------------|-------|--------|-------|
+| AMR-WB+ | 14k-Mono | 45 | 55 | 50 |
+| | 18k-Stereo | 48 | 52 | 50 |
+| | 14k-Mono 3%FER | 52 | 53 | 50 |
+| | 24k-Stereo 3%FER | 52 | 50 | 55 |
+| Eaac+ | 14k-Mono | 50 | 42 | 45 |
+| | 18k-Stereo | 68 | 45 | 55 |
+| | 14k-Mono 3%FER | 48 | 40 | 45 |
+| | 24k-Stereo 3%FER | 72 | 42 | 58 |
+
+Bar chart titled 'ST-LR: Stressed Operating Conditions' showing MUSHA scores for Music, Speech, and Mixed audio content across different codec configurations (AMR-WB+ and Eaac+).
+
+**Figure 9: Results for four ST-LR tests (stressed operating conditions) by class of audio content**
+
+It can be observed from figures 4 to 9 that Extended AMR-WB tends to perform relatively better for speech than for music, while Enhanced aacPlus tends to perform relatively better for music than for speech.
+
+The duration of a transmission frame in AMR-WB+ depends on the Internal Sampling Frequency. In the codec used in the selection phase, 20 ms transmission frames were used. Thus, frame errors correspond to 20 ms frames being lost. A transmission frame in Eaac+ corresponds to 2048 samples. Thus, frame errors at 48 kHz sampling rate correspond to 23.4 ms portions of signal being lost. Note that these frame error rates are different from packet loss rates since a packet may contain one or more frames, depending on the packetization scenario.
+
+# 6 Performance characterization over bit-rate
+
+Results from two experiments conducted in the CT-P1 series of tests contribute to the performance characterization of coding bit-rate for the two selected 3GPP audio codecs.
+
+Figure 10 shows MUSHRA results from the CT-P1 test series for mono mode. These results are based on the MUSHRA ratings of 15 subjects, 12 test items, and two listening labs ( $N = 15 \times 12 \times 2 = 360$ ). The experiment was designed to evaluate the performance of two audio codecs across bit-rates in a mono application. The figure shows average MUSHRA scores for *AMR-WB+* at coding rates of 9.75 kbps, 15.2 kbps and 19 kbps (which were suitable configurations of *AMR-WB+* for the target bit-rates of 10 kbps, 16 kbps and 20 kbps) plus a low-complexity mode at 9.75 kbps and for *Eaac+* at coding rates of 10 kbps, 16 kbps and 20 kbps. Also shown are the Mean MUSHRA scores for the three Anchor conditions - Low Pass 3.5 kHz, Low Pass 7 kHz, and the Hidden Reference. In addition to the Mean scores, the figure shows error brackets for each condition indicating the 95 % Confidence Intervals. The Mean scores and 95 % Confidence Intervals are based on 360 votes as indicated above. The results in figure 10 confirm that, for both audio codecs, MUSHRA performance increases with increases in bit-rate. Furthermore, at 9.75 kbps, the low complexity version of *AMR-WB+* (9.75-lc in the figure) scored significantly lower than the standard version. Except for the low complexity version of *AMR-WB+*, figure 10 shows that *AMR-WB+* achieves a better performance than *Eaac+* at all tested bit-rates. Moreover, both codecs show a consistent increase in quality with growing bit-rate.
+
+
+
+| Codec | Bit-rate / Condition | MUSHRA Score |
+|----------------|----------------------|--------------|
+| AMR-WB+ | 9.75k-lc | 41.1 |
+| | 9.75k | 61.6 |
+| | 15.2k | 77.2 |
+| | 19k | 83.4 |
+| Eaac+ | 10k | 39.4 |
+| | 16k | 65.3 |
+| | 20k | 77.8 |
+| Anchors | lp3500 | 38.8 |
+| | lp7000 | 70.6 |
+| | hidref | 99.9 |
+
+Bar chart titled 'CT-P1: Mono' showing MUSHRA scores for AMR-WB+ and Eaac+ across various bit-rates and anchor conditions. The y-axis represents MUSHRA scores from 0 to 100. The x-axis lists conditions: 9.75k-lc, 9.75k, 15.2k, 19k (AMR-WB+); 10k, 16k, 20k (Eaac+); and lp3500, lp7000, hidref (Anchors). Scores are: 41.1, 61.6, 77.2, 83.4 for AMR-WB+; 39.4, 65.3, 77.8 for Eaac+; and 38.8, 70.6, 99.9 for Anchors. Error bars are shown for each bar.
+
+**Figure 10: MUSHRA results for *AMR-WB+* and *Eaac+* across bit-rates (mono mode)**
+
+Figure 11 shows MUSHRA results from the CT-P1 test series for stereo applications. These results are similar to those in figure 10 except the audio codecs and anchor conditions were tested in stereo mode. The figure shows Mean MUSHRA scores with 95 % Confidence Intervals for *AMR-WB+* at coding rates of 14.25 kbps, 20 kbps and 27 kbps (which were suitable configurations of *AMR-WB+* for the target bit-rates of 16 kbps, 21 kbps and 28 kbps) and for *Eaac+* at coding rates of 16 kbps, 21 kbps and 28 kbps. Also shown are the scores for three stereo Anchor conditions - Low Pass 3.5 kHz, Low Pass 7 kHz, and the Hidden Reference. As in figure 10, the Mean scores and 95 % confidence Intervals are based on 360 votes. Figure 11 shows that both codecs perform relatively similar at all tested bit-rates. Both codecs show a consistent quality increase with growing bit rate.
+
+
+
+| Codec | Bit-rate | MUSHRA Score |
+|---------|----------|--------------|
+| AMR-WB+ | 14.25k | 38.9 |
+| | 20k | 50.1 |
+| | 27k | 63.2 |
+| Eaac+ | 16k | 37.2 |
+| | 21k | 49.9 |
+| | 28k | 65.4 |
+| Anchors | lp3500 | 19.4 |
+| | lp7000 | 43.2 |
+| | hidref | 99.7 |
+
+Bar chart titled 'CT-P1: Stereo' showing MUSHRA results for AMR-WB+, Eaac+, and Anchors across various bit-rates. The y-axis is labeled 'MUSHRA' and ranges from 0 to 100. The x-axis shows bit-rates for AMR-WB+ (14.25k, 20k, 27k), Eaac+ (16k, 21k, 28k), and Anchors (lp3500, lp7000, hidref). The chart is categorized under '3GPP Audio Codecs'.
+
+Figure 11: MUSHRA results for *AMR-WB+* and *Eaac+* across bit-rates (stereo mode)
+
+# 7 Performance based on Selection Tests
+
+The MUSHRA results presented in this clause for the application/service specific experiments were conducted in the Selection Test, ST-LR and ST-HR test series. Moreover, the Selection Test experiments involved earlier versions of the two audio codecs, *AMR-WB+* and *Eaac+*.
+
+## 7.1 Intrinsic quality comparison in lower bit-rate range (up to 24 kbps)
+
+Four MUSHRA experiments were conducted in the ST-LR series of tests which characterize the intrinsic performance of the two 3GPP Release 6 audio codecs. Figures 12 to 15 show the results of these experiments. Each experiment involved the two 3GPP Release 6 audio codecs plus two reference codecs, *AMR-WB* and *AAC*, operating at a common bit-rate. Each experiment was conducted in four listening labs. The results shown in figures 12 to 15 are based on the MUSHRA ratings of 15 subjects, 12 test items per experiment (2 different test sets used in 2 labs each), and four listening labs ( $N = 15 \times 12 \times 4 = 720$ ). Two experiments were conducted to evaluate the performance of the audio codecs for PSS applications in mono mode, two experiments in stereo mode, and two experiments with 3 % FER.
+
+Figures 12 and 13 show the results for the PSS application in mono mode at coding rates of 14 kbps and 24 kbps, respectively. For the PSS application in mono mode, *AMR-WB+* scores higher than *Eaac+* at 14 kbps (62.6 vs. 51.5) but lower at 24 kbps (67.4 vs. 75.8).
+
+
+
+| Codec Type | MUSHRA Score |
+|-----------------------------|--------------|
+| AMR-WB+ (3GPP Audio Codecs) | 62.6 |
+| Eaac+ (3GPP Audio Codecs) | 51.5 |
+| AMR-WB (Reference Codecs) | 44.9 |
+| aac (Reference Codecs) | 32.9 |
+| lp3500 (Anchors) | 29.5 |
+| lp7000 (Anchors) | 62.5 |
+| hidref (Anchors) | 99.9 |
+
+Bar chart showing MUSHRA results for ST-LR: 14kbps, Mono, PSS. The chart compares 3GPP Audio Codecs (AMR-WB+, Eaac+), Reference Codecs (AMR-WB, aac), and Anchors (lp3500, lp7000, hidref).
+
+Figure 12: Results at 14 kpbs for PSS (mono)
+
+
+
+| Codec Type | MUSHRA Score |
+|-----------------------------|--------------|
+| AMR-WB+ (3GPP Audio Codecs) | 67.4 |
+| Eaac+ (3GPP Audio Codecs) | 75.8 |
+| AMR-WB (Reference Codecs) | 47.4 |
+| aac (Reference Codecs) | 50.9 |
+| lp3500 (Anchors) | 28.6 |
+| lp7000 (Anchors) | 56.2 |
+| hidref (Anchors) | 99.9 |
+
+Bar chart showing MUSHRA results for ST-LR: 24kbps, Mono, PSS. The chart compares 3GPP Audio Codecs (AMR-WB+, Eaac+), Reference Codecs (AMR-WB, aac), and Anchors (lp3500, lp7000, hidref).
+
+Figure 13: Results at 24 kbps for PSS (mono)
+
+Figures 14 and 15 show the results for the PSS application in stereo mode at coding rates of 18 kbps and 24 kbps, respectively. For the PSS application in stereo mode, *AMR-WB+* scores higher than *Eaac+* at 18 kbps (55.6 vs. 53.3) but lower at 24 kbps (61.3 vs. 67.1).
+
+
+
+| Codec Type | MUSHRA Score |
+|-----------------------------|--------------|
+| AMR-WB+ (3GPP Audio Codecs) | 55.6 |
+| Eaac+ (3GPP Audio Codecs) | 53.3 |
+| AMR-WB (Reference Codecs) | 48.2 |
+| aac (Reference Codecs) | 20.9 |
+| lp3500 (s12) (Anchors) | 31.2 |
+| lp7000 (s12) (Anchors) | 60.6 |
+| lp7000 (s6) (Anchors) | 62.3 |
+| hidref (Anchors) | 100.0 |
+
+Bar chart showing MUSHRA results for ST-LR: 18kbps, Stereo, PSS. The chart compares 3GPP Audio Codecs (AMR-WB+, Eaac+), Reference Codecs (AMR-WB, aac), and Anchors (lp3500 (s12), lp7000 (s12), lp7000 (s6), hidref).
+
+Figure 14: Results at 18 kpbs for PSS (stereo)
+
+
+
+| Codec Type | MUSHRA Score |
+|-----------------------------|--------------|
+| AMR-WB+ (3GPP Audio Codecs) | 61.3 |
+| Eaac+ (3GPP Audio Codecs) | 67.1 |
+| AMR-WB (Reference Codecs) | 44.8 |
+| aac (Reference Codecs) | 34.8 |
+| lp3500 (s12) (Anchors) | 31.3 |
+| lp7000 (s12) (Anchors) | 57.8 |
+| lp7000 (s6) (Anchors) | 61.1 |
+| hidref (Anchors) | 99.8 |
+
+Bar chart showing MUSHRA results for ST-LR: 24kbps, Stereo, PSS. The chart compares 3GPP Audio Codecs (AMR-WB+, Eaac+), Reference Codecs (AMR-WB, aac), and Anchors (lp3500 (s12), lp7000 (s12), lp7000 (s6), hidref).
+
+Figure 15: Results at 24 kbps for PSS (stereo)
+
+NOTE: For this stereo experiments there are three anchor conditions:
+
+*lp3500 (s12)*: original signal low-pass filtered at 3.5 kHz, stereo image reduced by 12 dB;
+*lp7000 (s12)*: original signal low-pass filtered at 7.0 kHz, stereo image reduced by 12 dB;
+*lp7000 (s6)*: original signal low-pass filtered at 7.0 kHz, stereo image reduced by 6 dB.
+
+## 7.2 Quality comparison under stressed operating conditions at lower bit-rates (up to 24 kbps)
+
+Four MUSHRA experiments were conducted in the ST-LR series of tests that characterize the performance of the two 3GPP audio codecs under stressed operating conditions. Each experiment involved the two 3GPP Release 6 audio codecs plus two reference codecs, *AMR-WB* and *AAC*, operating at a common bit-rate for the MMS application and each experiment was conducted in four listening labs. The results shown are based on the MUSHRA ratings of 15 subjects, 12 test items per experiment (2 different test sets used in 2 labs each), and four listening labs ( $N = 15 \times 12 \times 4 = 720$ ).
+
+Figures 16 and 17 show the results for the PSS application for 3 % FER - mono mode at 14 kbps and stereo mode at 24 kbps, respectively. In the context of this test, the error conditions were simulated by applying a random frame erasure rate (FER) of 3 % to both codecs. Both codecs out-perform the reference codecs by a wide margin when operated under error conditions and show a pattern of behaviour, relative to each other, which is similar to that under unimpaired channel conditions.
+
+
+
+| Codec Type | MUSHRA Score |
+|------------|--------------|
+| AMR-WB+ | 52.5 |
+| Eaac+ | 44.3 |
+| AMR-WB | 24.7 |
+| aac | 32.1 |
+| lp3500 | 37.0 |
+| lp7000 | 64.4 |
+| hidref | 100.0 |
+
+Bar chart showing MUSHRA results for ST-LR: 14kbps, Mono, 3% FER, PSS. The chart compares 3GPP Audio Codecs (AMR-WB+, Eaac+), Reference Codecs (AMR-WB, aac), and Anchors (lp3500, lp7000, hidref). AMR-WB+ scores 52.5, Eaac+ scores 44.3, AMR-WB scores 24.7, aac scores 32.1, lp3500 scores 37.0, lp7000 scores 64.4, and hidref scores 100.0.
+
+Figure 16: Results at 14 kbps mono, 3 % FER
+
+
+
+| Codec Type | MUSHRA Score |
+|--------------|--------------|
+| AMR-WB+ | 53.3 |
+| Eaac+ | 58.0 |
+| AMR-WB | 22.0 |
+| aac | 33.1 |
+| lp3500 (s12) | 32.4 |
+| lp7000 (s12) | 60.7 |
+| lp7000 (s6) | 62.9 |
+| hidref | 100.0 |
+
+Bar chart showing MUSHRA results for ST-LR: 24kbps, stereo, 3%FER, PSS. The chart compares 3GPP Audio Codecs (AMR-WB+, Eaac+), Reference Codecs (AMR-WB, aac), and Anchors (lp3500 (s12), lp7000 (s12), lp7000 (s6), hidref). AMR-WB+ scores 53.3, Eaac+ scores 58.0, AMR-WB scores 22.0, aac scores 33.1, lp3500 (s12) scores 32.4, lp7000 (s12) scores 60.7, lp7000 (s6) scores 62.9, and hidref scores 100.0.
+
+Figure 17: Results at 24 kbps stereo, 3 % FER
+
+Figure 18 shows the results for the terminal-generated MMS application, mono mode at 14 kbps and figure 19 shows the results for stereo at 18kbps. Both experiments used the low complexity encoder.
+
+
+
+| Codec Type | MUSHRA Score |
+|------------|--------------|
+| AMR-WB+ | 50.7 |
+| Eaac+ | 44.4 |
+| AMR-WB | 46.2 |
+| aac | 30.7 |
+| lp3500 | 31.7 |
+| lp7000 | 65.3 |
+| hidref | 100.0 |
+
+Bar chart showing MUSHRA results for ST-LR: 14kbps, Mono, MMS. The chart compares 3GPP Audio Codecs (AMR-WB+, Eaac+), Reference Codecs (AMR-WB, aac), and Anchors (lp3500, lp7000, hidref). AMR-WB+ scores 50.7, Eaac+ scores 44.4, AMR-WB scores 46.2, aac scores 30.7, lp3500 scores 31.7, lp7000 scores 65.3, and hidref scores 100.0.
+
+Figure 18: Results at 14 kbps for MMS (mono)
+
+
+
+| Codec Type | MUSHRA Score |
+|--------------|--------------|
+| AMR-WB+ | 50.7 |
+| Eaac+ | 55.7 |
+| AMR-WB | 46.8 |
+| aac | 22.8 |
+| lp3500 (s12) | 33.1 |
+| lp7000 (s12) | 62.6 |
+| lp7000 (s6) | 64.2 |
+| hidref | 99.9 |
+
+Bar chart showing MUSHRA results for ST-LR: 18kbps, Stereo, MMS. The chart compares 3GPP Audio Codecs (AMR-WB+, Eaac+), Reference Codecs (AMR-WB, aac), and Anchors (lp3500 (s12), lp7000 (s12), lp7000 (s6), hidref). AMR-WB+ scores 50.7, Eaac+ scores 55.7, AMR-WB scores 46.8, aac scores 22.8, lp3500 (s12) scores 33.1, lp7000 (s12) scores 62.6, lp7000 (s6) scores 64.2, and hidref scores 99.9.
+
+Figure 19: Results at 18 kbps for MMS (stereo)
+
+For the MMS application in mono mode at 14 kbps, *AMR-WB+* scores higher than *Eaac+* (50.7 vs. 44.4). However, for the MMS application in stereo mode at 24 kbps, *Eaac+* scores higher than *AMR-WB+* (50.7 vs. 55.7). It should be noted that the MMS test at 14 kbps mono was conducted using samples that were sample-rate limited to 16 kHz.
+
+## 7.3 Performance evaluation in higher bit-rate range (up to 48 kbps)
+
+Three MUSHRA experiments were conducted in the ST-HR series of tests designed to characterize the intrinsic performance of one of the two 3GPP Release 6 audio codecs, *Eaac+*, at higher bit-rates. Figures 20 to 22 show the results of these experiments. Each experiment involved the *Eaac+* audio codec plus *AAC* as a reference codec both codecs operating at a common bit-rate and each experiment was conducted in two listening labs. The results shown are based on the MUSHRA ratings of 15 subjects, 12 test items, and two listening labs ( $N = 15 \times 12 \times 2 = 360$ ). Two test evaluated the intrinsic performance of *Eaac+*, the third test evaluated error performance, again using random audio frame losses. It can be concluded that *Eaac+* out-performs the reference codec by a wide margin under both unimpaired and error conditions.
+
+
+
+| Codec | MUSHRA Score |
+|---------------------|--------------|
+| Eaac+ 3GPP Aud.Cod. | 84.9 |
+| aac Reference Codec | 38.7 |
+| hidref | 99.6 |
+| lp7000 Anchors | 53.6 |
+| lp3500 Anchors | 26.7 |
+
+Figure 20: MUSHRA results at 32 kbps (stereo). Bar chart showing MUSHRA scores for various codecs at 32 kbps stereo. The y-axis is labeled 'MUSHRA' and ranges from 0 to 100. The x-axis lists codecs: Eaac+ 3GPP Aud.Cod. (84.9), aac Reference Codec (38.7), hidref (99.6), lp7000 Anchors (53.6), and lp3500 Anchors (26.7).
+
+Figure 20: MUSHRA results at 32 kbps (stereo)
+
+
+
+| Codec | MUSHRA Score |
+|---------------------|--------------|
+| Eaac+ 3GPP Aud.Cod. | 81.5 |
+| aac Reference Codec | 60.5 |
+| hidref | 98.7 |
+| lp7000 Anchors | 45.4 |
+| lp3500 Anchors | 27.1 |
+
+Figure 21: MUSHRA results at 48 kbps (stereo). Bar chart showing MUSHRA scores for various codecs at 48 kbps stereo. The y-axis is labeled 'MUSHRA' and ranges from 0 to 100. The x-axis lists codecs: Eaac+ 3GPP Aud.Cod. (81.5), aac Reference Codec (60.5), hidref (98.7), lp7000 Anchors (45.4), and lp3500 Anchors (27.1).
+
+Figure 21: MUSHRA results at 48 kbps (stereo)
+
+
+
+| Codec | MUSHRA Score |
+|-----------------------------|--------------|
+| Eaac+, 1%FER 3GPP Aud.Cod. | 72.9 |
+| Eaac+, 3%FER 3GPP Aud.Cod. | 62.3 |
+| aac, 1%FER Reference Codecs | 38.7 |
+| aac, 3%FER Reference Codecs | 33.7 |
+| hidref | 99.8 |
+| lp7000 Anchors | 57.2 |
+| lp3500 Anchors | 31.7 |
+
+Figure 22: MUSHRA results at 32 kbps with 3 % errors (stereo). Bar chart showing MUSHRA scores for various codecs at 32 kbps stereo with 3% frame error rate (FER). The y-axis is labeled 'MUSHRA' and ranges from 0 to 100. The x-axis lists codecs: Eaac+, 1%FER 3GPP Aud.Cod. (72.9), Eaac+, 3%FER 3GPP Aud.Cod. (62.3), aac, 1%FER Reference Codecs (38.7), aac, 3%FER Reference Codecs (33.7), hidref (99.8), lp7000 Anchors (57.2), and lp3500 Anchors (31.7).
+
+Figure 22: MUSHRA results at 32 kbps with 3 % errors (stereo)
+
+# 8 Performance characterization for error conditions
+
+This clause comprises the test results from codec characterization assessing the codec performance for various packet loss rates. This clause is relevant for the design of application layer FEC and the definition of target BLER for PSS and MBMS services. The chosen test cases do not imply that the codecs should be operated under all the tested packet loss rates.
+
+The bit-rates mentioned in this clause are **gross** rates, which include packetization overhead. The performance relative to bit-rate and PLR depends on the chosen packetization and interleaving configuration. All packet loss rates mentioned in this context refer to RLC-PDU packet loss rates. Details on packetization, interleaving configurations and source bit-rates can be found in attachments S4-050453 for *AMR-WB+*, S4-050544 for *Eaac+* and S4-060099 for both codecs (in "TR 26.936 Annex B2 Additional Documents.zip").
+
+Results from the CT-P2 series of subjective tests contribute to the performance characterization of the two 3GPP audio codecs under error conditions expressed in terms of percent Packet Loss Rate (PLR). In all, four MUSHRA experiments were conducted in the CT-P2 series -- two tests for Enhanced General Packet Radio Service (EGPRS), one in mono mode and one in stereo mode; two tests for under UMTS Terrestrial Radio Access Network (UTRAN), one in stereo mode at relatively lower bit-rates and one in stereo mode at relatively higher bit-rates.
+
+Figure 23 shows MUSHRA results for the two 3GPP audio codecs across PLR under EGPRS, mono mode. Results are shown for *AMR-WB+* operating at 16 kbps and *Eaac+* operating at 20 kbps for PLR of 0 %, 1 %, 6 % and 10 %. Figure 24 shows results for EGPRS, stereo mode with both codecs operating at 24 k.
+
+
+
+**CT-P2: EGPRS-Mono**
+
+| Codec | PLR | MUSHRA Score |
+|---------------|--------|--------------|
+| AMR-WB+ (16k) | 0% | 56.3 |
+| | 1% | 51.2 |
+| | 6% | 24.8 |
+| | 10% | 14.8 |
+| Eaac+ (20k) | 0% | 57.0 |
+| | 1% | 51.5 |
+| | 6% | 28.3 |
+| | 10% | 17.9 |
+| Anchors | hidref | 100.0 |
+| | lp7000 | 52.8 |
+| | lp3500 | 33.7 |
+
+Bar chart titled 'CT-P2: EGPRS-Mono' showing MUSHRA scores for AMR-WB+ (16k) and Eaac+ (20k) at 0%, 1%, 6%, and 10% PLR, compared with anchors hidref, lp7000, and lp3500.
+
+**Figure 23: Results for EGPRS at four levels of PLR (mono mode)**
+**(Bit-rates given are gross rates including packetization overhead)**
+
+
+
+**CT-P2: EGPRS-Stereo**
+
+| Codec | PLR | MUSHRA Score |
+|---------------|--------|--------------|
+| AMR-WB+ (24k) | 0% | 76.3 |
+| | 1% | 64.3 |
+| | 6% | 24.5 |
+| | 10% | 15.0 |
+| Eaac+ (24k) | 0% | 75.1 |
+| | 1% | 63.3 |
+| | 6% | 31.1 |
+| | 10% | 19.7 |
+| Anchors | hidref | 98.6 |
+| | lp7000 | 69.4 |
+| | lp3500 | 49.5 |
+
+Bar chart titled 'CT-P2: EGPRS-Stereo' showing MUSHRA scores for AMR-WB+ (24k) and Eaac+ (24k) at 0%, 1%, 6%, and 10% PLR, compared with anchors hidref, lp7000, and lp3500.
+
+**Figure 24: Results for audio codecs for EGPRS at four levels of PLR (stereo mode)**
+**(Bit-rates given are gross rates including packetization overhead)**
+
+Figure 25 shows MUSHRA results for the two 3GPP audio codecs across PLR under UMTS Terrestrial Radio Access Network (UTRAN), mono mode with the codecs operating at relatively lower bit-rates. Results are shown for *AMR-WB+* operating at 20 kbps and *Eaac+* operating at 32 kbps for PLR of 0 %, 1 % and 5%. Figure 26 shows results for UTRAN, stereo mode with both codecs operating at 40 k.
+
+
+
+| Codec | PLR | MUSHRA Score |
+|---------------|-----|--------------|
+| AMR-WB+ (20k) | 0% | 55.4 |
+| | 1% | 49.7 |
+| | 5% | 34.5 |
+| Eaac+ (32k) | 0% | 76.0 |
+| | 1% | 70.3 |
+| | 5% | 51.0 |
+| hidref | | 99.6 |
+| lp7000 | | 47.3 |
+| lp3500 | | 27.4 |
+
+Bar chart titled 'CT-P2: UTRAN-Stereo' showing MUSHRA scores for various audio codecs and anchor points. The y-axis is labeled 'MUSHRA' and ranges from 0 to 100. The x-axis is labeled '3GPP Audio Codecs' and 'Anchors'. The chart compares AMR-WB+ (20k) and Eaac+ (32k) at 0%, 1%, and 5% PLR with anchor points hidref, lp7000, and lp3500.
+
+**Figure 25: Results for UTRAN, lower-rate at three levels of PLR (stereo mode)**
+**AMR-WB+ was tested at 20 kbps, Eaac+ at 32kbps**
+**(Bit-rates given are gross rates including packetization overhead)**
+
+
+
+| Codec | PLR | MUSHRA Score |
+|---------------|-----|--------------|
+| AMR-WB+ (40k) | 0% | 59.3 |
+| | 1% | 44.6 |
+| | 5% | 15.0 |
+| Eaac+ (40k) | 0% | 64.3 |
+| | 1% | 56.5 |
+| | 5% | 33.9 |
+| hidref | | 99.5 |
+| lp7000 | | 29.6 |
+| lp3500 | | 14.3 |
+
+Bar chart titled 'CT-P2: UTRAN-Stereo' showing MUSHRA scores for various audio codecs and anchor points. The y-axis is labeled 'MUSHRA' and ranges from 0 to 100. The x-axis is labeled '3GPP Audio Codecs' and 'Anchors'. The chart compares AMR-WB+ (40k) and Eaac+ (40k) at 0%, 1%, and 5% PLR with anchor points hidref, lp7000, and lp3500.
+
+**Figure 26: Results for UTRAN, Higher-rate at Three Levels of PLR (stereo mode)**
+**(Bit-rates given are gross rates including packetization overhead)**
+
+In general, the results in figures 23 and 24 show that, for EGPRS, MUSHRA performance decreases with increase in PLR. Moreover, the performance profiles across PLR for the two codecs are similar for both the mono and stereo tests, and exhibit slightly higher quality losses for AMR-WB+ at higher PLRs. Figures 25 and 26 show a similar trend for UTRAN in stereo mode - performance decreases with increase in PLR. However, for the 40 kbps condition shown in figure 26 the quality loss with increasing error rate for AMR-WB+ is significantly higher than in the lower bit-rate conditions tested. This might be related to the use of a different RTP packetizer configuration without interleaving for AMR-WB+ in this test case as it can be seen in document S4-050453 (in attachment "TR 26.936 Annex B2 Additional Documents.zip").
+
+A similar effect cannot be observed for Enhanced aacPlus. Again, as shown for the EGPRS experiments (figures 23 and 24), the performance profiles across PLR for the two codecs and for the two bit-rates are similar in the case of UTRAN.
+
+# 9 Results of verification tests
+
+This clause comprises results from codec verification tasks which checked and assessed various codec aspects such as complexity, verification of the fixed point code, frequency response, delay, codec performance with 3D audio signals, rate switching performance, and content dependency.
+
+## 9.1 Complexity verification
+
+The clause provides the results of the complexity verification of the fixed-point (FIP) code. The source code used for this verification task is that version which was obtained after completing the verification of the format of the C-code and correct implementation of complexity counters in agreement with verification entity STMicroelectronics.
+
+### 9.1.1 AMR-WB+ complexity
+
+The complexity has been evaluated using the "allcat.wav" stereo file, which covers the complete audio material used in the audio codec low-rate selection tests. For the mono test cases the "allcat.wav" file was externally down-mixed to mono.
+
+Tables 3 and 4 show the evaluated conditions and corresponding complexity results.
+
+**Table 3: Encoder complexity figures**
+
+| Condition | Command line options | Complexity (wMOPS) (Average/Worst Case) |
+|---------------------------------|----------------------|-----------------------------------------|
+| 14 kbps, mono | -rate 14 -mono | 53.217 / 54.009 |
+| 14 kbps, mono, low complexity | -rate 14 -mono -lc | 29.004 / 33.331 |
+| 24 kbps, mono | -rate 24 -mono | 70.998 / 72.055 |
+| 24 kbps, mono, low complexity | -rate 24 -mono -lc | 38.074 / 45.815 |
+| 18 kbps, stereo | -rate 18 | 69.279 / 70.479 |
+| 18 kbps, stereo, low complexity | -rate 18 -lc | 45.170 / 50.438 |
+| 24 kbps, stereo | -rate 24 | 80.778 / 82.183 |
+| 24 kbps, stereo, low complexity | -rate 24 -lc | 51.799 / 59.311 |
+
+**Table 4: Decoder complexity figures**
+
+| Condition | Command line options | Complexity (wMOPS) (Average/Worst Case) |
+|-----------------|----------------------|-----------------------------------------|
+| 14 kbps, mono | -mono | 8.415 / 8.792 |
+| 24 kbps, mono | -mono | 10.382 / 10.981 |
+| 36 kbps, mono | -mono | 12.463 / 13.184 |
+| 18 kbps, stereo | None | 15.996 / 16.603 |
+| 24 kbps, stereo | None | 17.654 / 18.303 |
+| 32 kbps, stereo | None | 20.288 / 21.081 |
+| 48 kbps, stereo | None | 22.960 / 23.927 |
+
+### 9.1.2 Eaac+ Complexity
+
+The complexity numbers for the Enhanced aacPlus audio codec can be found in the following tables, the numbers have been derived using the "allcat.wav" item, which holds all the material from the selection test concatenated in one single item. For every test case the average and worst frame weighted MOPS figure has been derived. The worst case wMOPS figure over all test cases has been marked in [blue](#).
+
+The fixed-point C-code contains a pre-compiler directive named "ACCOUNT\_ETSIOP\_OVERHEAD\_SPLITWORD32". If this pre-compiler directive is set during compilation, the complexity figures will be as given in table 5. If this pre-compiler directive is not set during compilation, the complexity figures will be as given in table 6. Regarding the details of the corresponding difference in the fixed-point C-code, please see the comments in the SplitWord32() function in intrinsics.c.
+
+**Table 5: Weighted MOPS figures with ACCOUNT\_ETSIOP\_OVERHEAD\_SPLITWORD32 set**
+
+| | Test Case | Mono Encoder | Stereo Encoder | Decoder | Decoder, Mono only |
+|----------------------------------------------|-----------|---------------|----------------------|----------------------|--------------------|
+| wMOPS [average / worst frame] | 14 m | 26.51 / 28.87 | 26.50 / 31.61 | 19.15 / 21.20 | 14.73 / 16.80 |
+| | 18 s | --- | 61.38 / 65.25 | 35.18 / 38.04 | 15.14 / 17.39 |
+| | 24 m | 29.51 / 34.28 | 29.51 / 34.26 | 20.98 / 23.84 | 15.93 / 18.74 |
+| | 24 s | --- | 63.47 / 68.17 | 37.35 / 40.98 | 15.93 / 18.72 |
+| | 32 s | --- | 64.61 / 71.02 | 38.39 / 42.28 | 16.47 / 19.60 |
+| | 48 s | --- | 64.17 / 77.63 | 32.65 / 38.46 | 21.96 / 26.83 |
+
+**Table 6: Weighted MOPS figures with ACCOUNT\_ETSIOP\_OVERHEAD\_SPLITWORD32 not set**
+
+| | Test Case | Mono Encoder | Stereo Encoder | Decoder | Decoder, Mono only |
+|----------------------------------------------|-----------|---------------|----------------------|----------------------|--------------------|
+| wMOPS [average / worst frame] | 14 m | 23.80 / 25.41 | 23.79 / 29.04 | 15.86 / 17.73 | 12.38 / 14.38 |
+| | 18 s | --- | 51.14 / 53.92 | 29.35 / 32.07 | 12.77 / 14.95 |
+| | 24 m | 26.52 / 29.60 | 26.52 / 29.66 | 17.53 / 20.13 | 13.51 / 16.21 |
+| | 24 s | --- | 53.08 / 56.06 | 31.17 / 34.64 | 13.57 / 16.22 |
+| | 32 s | --- | 54.11 / 58.39 | 32.08 / 35.75 | 14.05 / 17.09 |
+| | 48 s | --- | 57.46 / 65.89 | 27.88 / 33.43 | 18.53 / 23.22 |
+
+## 9.2 Frequency response verification
+
+The input signal is the concatenation of the files that have been used for the evaluation of floating point and fixed point decoder. This file comprises 4 music items, 4 speech items and 2 mixed content items. The total length of the file is 84 s.
+
+### 9.2.1 Frequency response of AMR-WB+
+
+The frequency response of the configurations of AMR-WB+ used during characterization and in selection are different. The characterization phase configuration operated with a signal sampling frequency of 48 kHz while the selection test configuration operated at only 24 kHz. The resulting difference in frequency response is shown in the following.
+
+#### 9.2.1.1 Characterization phase configuration
+
+This clause reports the results in computing the frequency response of the extended AMR-WB codec in the settings used for the characterization phase.
+
+##### Frequency response computation
+
+The AMR-WB+ codec was tested at following bit rates: 13.6 kbps mono, 18 kbps stereo, 23.85 kbps stereo and 48 kbps stereo.
+
+The input file is stereo. The frequency response has been evaluated by computing the spectra for input signal and processed signal.
+
+##### Results
+
+- 14 kbps, mono output:
+ - The output is band limited to 12 kHz as shown on the following image. Output signal is slightly attenuated in frequency range 7 kHz to 12 kHz.
+
+
+
+Figure 27: Frequency response plot for 14 kbps mono output. The x-axis represents frequency in Hz, scaled by 10^4, ranging from 0 to 2.4. The y-axis represents gain in dB, ranging from -60 to 0. Two curves are shown: 'Original' (blue) and '14kbps float' (red). The red curve follows the blue curve closely until approximately 10 kHz (1.0 x 10^4 Hz), after which it drops sharply to -60 dB by 1.4 x 10^4 Hz, indicating a low-pass filter effect. The blue curve continues with more detail up to 2.4 x 10^4 Hz.
+
+Figure 27
+
+- 18 kbps, stereo output:
+ - The output is band limited to 12 kHz as shown on the following images. Output signal is slightly attenuated in frequency range 7 kHz to 12 kHz.
+
+
+
+Figure 28: Frequency response plot for 18 kbps stereo output (Left channel). The axes and curves are identical to Figure 27. The x-axis is frequency in Hz (x 10^4) from 0 to 2.4. The y-axis is gain in dB from -60 to 0. The 'Original (Left)' curve is blue, and the '18kbps float(Left)' curve is red. The red curve shows the same band-limiting behavior, dropping to -60 dB around 1.4 x 10^4 Hz.
+
+Figure 28
+
+
+
+Figure 29 is a line graph showing the frequency response of two audio signals. The x-axis is labeled from 0 to 2.4 with a multiplier of $\times 10^4$ , representing frequency in Hz. The y-axis is labeled from -60 to 0 in increments of 10, representing gain in dB. A legend in the top right corner identifies the blue line as 'Original (Right)' and the red line as '18kbps float(Right)'. The blue line starts at 0 dB and gradually decreases, with some fluctuations, to approximately -55 dB at 2.4 $\times 10^4$ Hz. The red line follows the blue line closely until about 1.2 $\times 10^4$ Hz, where it drops sharply to around -55 dB and remains relatively flat.
+
+Figure 29: Frequency response plot comparing Original (Right) and 18kbps float(Right) signals. The x-axis represents frequency in Hz (x 10^4) from 0 to 2.4. The y-axis represents gain in dB from -60 to 0. The blue line (Original) shows a gradual roll-off, while the red line (18kbps float) shows a sharp roll-off starting around 1.2 x 10^4 Hz.
+
+Figure 29
+
+- 24 kbps, stereo output:
+ - The output is band limited to 14 kHz as shown on the following images. Output signal is slightly attenuated in frequency range 6 kHz to 12 kHz.
+
+
+
+Figure 30 is a line graph showing the frequency response of two audio signals. The x-axis is labeled from 0 to 2.4 with a multiplier of $\times 10^4$ , representing frequency in Hz. The y-axis is labeled from -60 to 0 in increments of 10, representing gain in dB. A legend in the top right corner identifies the blue line as 'Original (Left)' and the red line as '24kbps float(Left)'. The blue line starts at 0 dB and gradually decreases, with some fluctuations, to approximately -55 dB at 2.4 $\times 10^4$ Hz. The red line follows the blue line closely until about 1.2 $\times 10^4$ Hz, where it drops sharply to around -55 dB and remains relatively flat.
+
+Figure 30: Frequency response plot comparing Original (Left) and 24kbps float(Left) signals. The x-axis represents frequency in Hz (x 10^4) from 0 to 2.4. The y-axis represents gain in dB from -60 to 0. The blue line (Original) shows a gradual roll-off, while the red line (24kbps float) shows a sharp roll-off starting around 1.2 x 10^4 Hz.
+
+Figure 30
+
+
+
+This figure is a line graph showing the frequency response of two audio signals. The x-axis is labeled from 0 to 2.4 with a multiplier of $\times 10^4$ , representing frequencies from 0 to 24,000 Hz. The y-axis is labeled from -60 to 0 in increments of 10, representing gain in decibels (dB). There are two data series: 'Original (Right)' represented by a blue line and '24kbps float(Right)' represented by a red line. Both lines start at 0 dB at 0 Hz and follow a similar downward trend. The blue line continues to roll off gradually, reaching approximately -55 dB at 24,000 Hz. The red line follows the blue line closely until about 1.6 $\times 10^4$ Hz, where it exhibits a very steep drop, leveling off at approximately -58 dB for frequencies above 1.8 $\times 10^4$ Hz.
+
+Figure 31: Frequency response plot comparing Original (Right) and 24kbps float(Right) signals. The x-axis represents frequency in Hz (multiplied by 10^4) from 0 to 2.4. The y-axis represents gain in dB from -60 to 0. The blue line (Original) shows a gradual roll-off, while the red line (24kbps float) drops off sharply after 1.6 x 10^4 Hz.
+
+Figure 31
+
+- 48 kbps, stereo output:
+ - The output is band limited to 18 kHz as shown on the following images. Output signal is attenuated in frequency range 9 kHz to 11 kHz.
+
+
+
+This figure is a line graph showing the frequency response of two audio signals. The x-axis is labeled from 0 to 2.4 with a multiplier of $\times 10^4$ , representing frequencies from 0 to 24,000 Hz. The y-axis is labeled from -60 to 0 in increments of 10, representing gain in decibels (dB). There are two data series: 'Original (Left)' represented by a blue line and '48kbps float(Left)' represented by a red line. Both lines start at 0 dB at 0 Hz and follow a similar downward trend. The blue line continues to roll off gradually, reaching approximately -55 dB at 24,000 Hz. The red line follows the blue line closely until about 1.6 $\times 10^4$ Hz, where it exhibits a very steep drop, leveling off at approximately -58 dB for frequencies above 1.8 $\times 10^4$ Hz. This indicates a hard band limit at 18,000 Hz.
+
+Figure 32: Frequency response plot comparing Original (Left) and 48kbps float(Left) signals. The x-axis represents frequency in Hz (multiplied by 10^4) from 0 to 2.4. The y-axis represents gain in dB from -60 to 0. The blue line (Original) shows a gradual roll-off, while the red line (48kbps float) is band-limited to 18 kHz and shows attenuation between 9 kHz and 11 kHz.
+
+Figure 32
+
+
+
+Figure 33: Frequency response plot comparing Original (Right) and 48kbps float(Right) signals. The x-axis represents frequency in units of 10^4 (0 to 2.4), and the y-axis represents magnitude in dB (-60 to 0). The blue line (Original) shows a relatively flat response until about 1.8 x 10^4 Hz, where it drops sharply. The red line (48kbps float) shows a more pronounced drop starting around 0.8 x 10^4 Hz, indicating significant attenuation in the high-frequency range.
+
+Figure 33
+
+#### 9.2.1.2 Selection phase configuration
+
+This clause reports the results in computing the frequency response of the extended AMR-WB codec in the settings used for the selection phase for PSS application.
+
+##### Frequency response computation
+
+The AMR-WB+ codec was tested at following bit rates: 13.6 kbps mono, 18 kbps stereo, 24 kbps mono and 24 kbps stereo.
+
+The input file is 24 kHz sampling frequency, mono or stereo depending on the mode index. The command line was the one used for selection using the mode index from 10 to 13.
+
+The frequency response has been evaluated by computing the spectra for input signal and processed signal.
+
+##### Results
+
+- 14 kbps, mono output:
+ - The output is band limited to 11 kHz as shown on the above image. Output signal is slightly attenuated in frequency range 6 kHz to 11 kHz.
+
+
+
+Figure 34: Frequency response plot comparing Original and 14kbps float signals. The x-axis represents frequency in Hz (0 to 12000), and the y-axis represents magnitude in dB (-60 to 0). The blue line (Original) shows a relatively flat response until about 11 kHz, where it drops sharply. The red line (14kbps float) shows a more pronounced drop starting around 6 kHz, indicating significant attenuation in the high-frequency range.
+
+Figure 34
+
+- 18 kbps, stereo output:
+
+- The output is band limited to 11 kHz as shown on the images. Output signal is slightly attenuated in frequency range 4 kHz to 11 kHz.
+
+
+
+Figure 35: Frequency response plot for the left channel. The x-axis represents frequency from 0 to 12000 Hz, and the y-axis represents gain from -60 to 0 dB. Two curves are shown: 'Original (Left)' in blue and '18kbps float(Left)' in red. The red curve follows the blue curve closely until approximately 11000 Hz, where it drops sharply to -55 dB. The blue curve remains relatively flat around -40 dB until 12000 Hz.
+
+Figure 35
+
+
+
+Figure 36: Frequency response plot for the right channel. The x-axis represents frequency from 0 to 12000 Hz, and the y-axis represents gain from -60 to 0 dB. Two curves are shown: 'Original (Right)' in blue and '18kbps float(Right)' in red. The red curve follows the blue curve closely until approximately 11000 Hz, where it drops sharply to -55 dB. The blue curve remains relatively flat around -40 dB until 12000 Hz.
+
+Figure 36
+
+- 24 kbps, mono output:
+ - The output is band limited to 14 kHz as shown on the following image. Output signal is slightly attenuated in frequency range 6 kHz to 12 kHz.
+
+
+
+Figure 37: A line graph comparing 'Original' (blue line) and '24kbps float' (red line) audio signals. The x-axis represents frequency from 0 to 12000 Hz, and the y-axis represents amplitude from -60 to 0 dB. The red line follows the blue line closely until approximately 11000 Hz, where it drops sharply to -60 dB, indicating a low-pass filter effect.
+
+Figure 37
+
+- 24 kbps, stereo output:
+ - The output is band limited to 11 kHz as shown on the images. Output signal is attenuated in frequency range 6 kHz to 11 kHz.
+
+
+
+Figure 38: A line graph comparing 'Original (Left)' (blue line) and '24kbps float(Left)' (red line) audio signals. The x-axis represents frequency from 0 to 12000 Hz, and the y-axis represents amplitude from -60 to 0 dB. The red line follows the blue line closely until approximately 11000 Hz, where it drops sharply to -60 dB, indicating a low-pass filter effect.
+
+Figure 38
+
+
+
+Figure 39: Frequency response plot showing Original (Right) and 24kbps float(Right) signals. The x-axis represents frequency from 0 to 12000 Hz, and the y-axis represents gain from -60 to 0 dB. The 24kbps float signal shows a sharp drop-off in gain starting around 10 kHz, while the Original signal remains relatively flat until about 11 kHz.
+
+Figure 39
+
+##### Conclusion
+
+When used with the selection phase settings, the frequency response of AMR-WB+ is limited to 11 kHz.
+
+### 9.2.2 Frequency response of Eaac+
+
+This clause reports the results in computing the frequency response of the Eaac+ codec.
+
+#### Frequency response computation
+
+The Eaac+ codec was tested at following bit rates: 14 kbps mono, 18 kbps stereo, 24 kbps stereo and 48 kbps stereo.
+
+The input file is stereo. The frequency response has been evaluated by computing the spectra for input signal and processed signal.
+
+##### Results
+
+- 14 kbps, mono output:
+ - The output is band limited to 10 kHz as shown on the following images. Output signal is slightly attenuated in frequency range 7 kHz to 10 kHz.
+
+
+
+Figure 40: Frequency response plot showing Original and 14kbps float signals. The x-axis represents frequency from 0 to 2.4 x 10^4 Hz, and the y-axis represents gain from -60 to 0 dB. The 14kbps float signal shows a sharp drop-off in gain starting around 10 kHz, while the Original signal remains relatively flat until about 11 kHz.
+
+Figure 40
+
+- 18kbps, stereo output:
+
+- The output is band limited to 12 kHz as shown on the following images. Output signal is attenuated in frequency range 6 kHz to 12 kHz.
+
+
+
+Figure 41: Frequency spectrum plot for the left channel. The x-axis represents frequency in units of 10^4 Hz, ranging from 0 to 2.4. The y-axis represents magnitude in dB, ranging from -60 to 0. Two curves are shown: 'Original (Left)' in blue and '18kbps float(Left)' in red. The red curve follows the blue curve closely until approximately 1.2 x 10^4 Hz, where it drops sharply to about -55 dB and remains flat. The blue curve continues with more detail up to 2.4 x 10^4 Hz.
+
+Figure 41
+
+
+
+Figure 42: Frequency spectrum plot for the right channel. The x-axis represents frequency in units of 10^4 Hz, ranging from 0 to 2.4. The y-axis represents magnitude in dB, ranging from -60 to 0. Two curves are shown: 'Original (Right)' in blue and '18kbps float(Right)' in red. The red curve follows the blue curve closely until approximately 1.2 x 10^4 Hz, where it drops sharply to about -55 dB and remains flat. The blue curve continues with more detail up to 2.4 x 10^4 Hz.
+
+Figure 42
+
+- 24 kbps, stereo output:
+ - The output is band limited to 15 kHz as shown on the following images. Output signal is slightly attenuated in frequency range 6 kHz to 15 kHz.
+
+
+
+Figure 43: Frequency spectrum plot for the left channel. The y-axis represents magnitude in dB from -60 to 0. The x-axis represents frequency in Hz from 0 to 2.4 x 10^4. Two lines are plotted: 'Original (Left)' in blue and '24kbps float(Left)' in red. Both lines show a general downward trend with significant noise. The red line drops off sharply to -60 dB at approximately 1.5 x 10^4 Hz, while the blue line continues with more detail until the end of the scale.
+
+Figure 43
+
+
+
+Figure 44: Frequency spectrum plot for the right channel. The y-axis represents magnitude in dB from -60 to 0. The x-axis represents frequency in Hz from 0 to 2.4 x 10^4. Two lines are plotted: 'Original (Right)' in blue and '24kbps float(Right)' in red. The plot is nearly identical to Figure 43, showing the same spectral characteristics and sharp cutoff for the red line at approximately 1.5 x 10^4 Hz.
+
+Figure 44
+
+- 48 kbps, stereo output:
+ - The output is band limited to 17 kHz as shown on the following images.
+
+
+
+Figure 45: Frequency response plot for the left channel. The y-axis represents gain in dB from -60 to 0. The x-axis represents frequency in Hz from 0 to 2.4 x 10^4. Two curves are shown: 'Original (Left)' in blue and '48kbs float(Left)' in red. Both curves show a general downward trend with significant fluctuations. The red curve is generally lower than the blue curve, especially in the higher frequency range above 1.6 x 10^4 Hz.
+
+Figure 45
+
+
+
+Figure 46: Frequency response plot for the right channel. The y-axis represents gain in dB from -60 to 0. The x-axis represents frequency in Hz from 0 to 2.4 x 10^4. Two curves are shown: 'Original (Right)' in blue and '48kbs float(Right)' in red. The curves show a similar pattern to Figure 45, with the red curve generally exhibiting lower gain than the blue curve, particularly at higher frequencies.
+
+Figure 46
+
+#### Conclusion
+
+The frequency response of Enhanced aacPlus is also dependent on the bit rate. Attenuation can be observed for lowest bit rates; this attenuation is not constant over the frequency range.
+
+## 9.3 Codec delay verification
+
+### 9.3.1 AMR-WB+ codec delay
+
+#### Introduction
+
+This clause gives an analysis of the algorithmic delay of the extended AMR-WB codec. Delay figures are given for both mono and stereo operation, and at different Internal Sampling Frequencies (ISF).
+
+#### Delay in mono operation
+
+The delay analysis for mono operation is shown in table 7. The input signal sampling frequency of 48 kHz is used in the analysis. The table gives the encoder lookahead, decoder lookahead, and the superframe size. The algorithmic delay is measured as the superframe size plus the lookahead of both encoder and decoder. The breakdown of the delay is performed by listing the delay in samples for given operation, then the delay is converted from samples to ms based on the sampling frequency corresponding to that operation (in column Fs).
+
+**Table 7: Delay in mono operation for typical ISF of 25.6 kHz and for maximum ISF of 38.4 kHz, and minimum ISF of 12.8 kHz**
+
+| | Typical ISF = 25.6 kHz | | | Min ISF = 12.8 kHz | | | Max ISF = 38.4 kHz | | |
+|--------------------------|------------------------|----------|-----------------|--------------------|----------|-----------------|--------------------|----------|----------------|
+| | No of Samples | Fs (kHz) | Delay (ms) | No of Samples | Fs (kHz) | Delay (ms) | No of Samples | Fs (kHz) | Delay (ms) |
+| Encoder lookahead | | | | | | | | | |
+| Analysis lookahead | 256 | 12.8 | 20.0000 | 256 | 6.4 | 40.0000 | 288 | 19.2 | 15.0000 |
+| Down-sampling | 24 | 48.0 | 0.5000 | 48 | 48.0 | 1.0000 | 16 | 48.0 | 0.3333 |
+| Band-splitting | 24 | 25.6 | 0.9375 | 24 | 12.8 | 1.8750 | 24 | 38.4 | 0.6250 |
+| Decoder lookahead | | | | | | | | | |
+| Postfiltering | 140 | 12.8 | 10.9375 | 140 | 6.4 | 21.8750 | 140 | 19.2 | 7.2917 |
+| Band-merging | 12 | 12.8 | 0.9375 | 12 | 6.4 | 1.8750 | 12 | 19.2 | 0.6250 |
+| Upsampling | 12 | 25.6 | 0.4688 | 12 | 12.8 | 0.9375 | 12 | 38.4 | 0.3125 |
+| Superframe size | 1 024 | 12.8 | 80.0000 | 1024 | 6.4 | 160.0000 | 1024 | 19.2 | 53.3333 |
+| Total delay (ms) | | | 113.7813 | | | 227.5625 | | | 77.5208 |
+
+The algorithmic delay for the typical Internal Sampling Frequency (ISF) of 25.6 kHz is computed as 113.7813 ms. The algorithmic delay for the two extreme cases corresponding to maximum ISF of 38.4 kHz (32 kbps mono operation) and minimum ISF of 12.8 kHz (5.2 kbps mono operation) are also computed (77.5208 ms and 227.5625 ms, respectively).
+
+The delay for other ISFs can be approximately estimated as $113.78 \times (25.6/\text{ISF})$ , where ISF is the internal sampling frequency in kHz.
+
+#### Delay in stereo operation
+
+The delay analysis for stereo operation is shown in table 8. The input signal is assumed sampled at 48 kHz. The table gives the encoder lookahead, decoder lookahead, and the superframe size. The algorithmic delay is measured as the superframe size plus the lookahead of both encoder and decoder. The breakdown of the delay is performed by listing the delay in samples for given operation, then the delay is converted from samples to ms based on the sampling frequency corresponding to that operation (in column Fs).
+
+The algorithmic delay for the typical internal sampling frequency (ISF) of 25.6 kHz is computed as 162.8438 ms. The algorithmic delay for the two extreme cases corresponding to maximum ISF of 38.4 kHz and minimum ISF of 12.8 kHz are also computed (77.5208 ms and 227.5625 ms, respectively).
+
+The delay for other ISFs can be approximately estimated as $162.84 \times (25.6/\text{ISF})$ , where ISF is the internal sampling frequency in kHz.
+
+**Table 8: Delay in stereo operation for typical ISF of 25.6 kHz and for maximum ISF of 38.4 kHz, and minimum ISF of 12.8 kHz**
+
+| | Typical ISF = 25.6 kHz | | | Min ISF = 12.8 kHz | | | Max ISF = 38.4 kHz | | |
+|--------------------------|------------------------|----------|-----------------|--------------------|----------|-----------------|--------------------|----------|-----------------|
+| | No of Samples | Fs (kHz) | Delay (ms) | No of Samples | Fs (kHz) | Delay (ms) | No of Samples | Fs (kHz) | Delay (ms) |
+| Encoder lookahead | | | | | | | | | |
+| Analysis Lookahead | 512 | 12.8 | 40.0000 | 512 | 6.4 | 80.0000 | 512 | 19.2 | 26.6667 |
+| Down-sampling | 24 | 48 | 0.5000 | 48 | 48 | 1.0000 | 16 | 48 | 0.3333 |
+| Band-splitting | 24 | 25.6 | 0.9375 | 24 | 12.8 | 1.8750 | 24 | 38.4 | 0.6250 |
+| Decoder lookahead | | | | | | | | | |
+| Postfiltering | 512 | 12.8 | 40.0000 | 512 | 6.4 | 80.0000 | 512 | 19.2 | 26.6667 |
+| Band-merging | 12 | 12.8 | 0.9375 | 12 | 6.4 | 1.8750 | 12 | 19.2 | 0.6250 |
+| Upsampling | 12 | 25.6 | 0.4688 | 12 | 12.8 | 0.9375 | 12 | 38.4 | 0.3125 |
+| Superframe size | 1 024 | 12.8 | 80.0000 | 1024 | 6.4 | 160.0000 | 1024 | 19.2 | 53.3333 |
+| Total delay (ms) | | | 162.8438 | | | 325.6875 | | | 108.5625 |
+
+### 9.3.2 Eaac+ codec delay
+
+#### Introduction
+
+The clause holds the delay information for the Enhanced aacPlus codec.
+
+#### Delay by component
+
+The Enhanced aacPlus codec including pre-downsampling contains a number of delay sources, consisting of:
+
+- 25 (fixed point encoder) resp. 6 (floating point encoder) samples for a 2 : 1 downsampling filter;
+- 58 (fixed point encoder) resp. 5 (floating point encoder) samples for a 3 : 2 downsampling filter;
+- 2 048 samples for an overlapped MDCT;
+- 1 152 samples look-ahead buffer within the psychoacoustic module;
+- 962 samples SBR encoding and decoding delay;
+- 958 samples PS encoder downmix;
+- 2 048 samples (1 Frame) decoder concealment;
+- Bit-rate dependant bit-reservoir.
+
+#### Delay overview of the constant delay contributors
+
+When calculating the constant algorithmic codec delay contributors, the following additional considerations need to be taken into account:
+
+- The PS downmix includes also the downsampling of the downmixed input signal, the 25 resp. 6 samples delay for the 2: 1 downsampling filter does not apply.
+- For mono bit-rates below 12 kbps, Enhanced aacPlus operates with a sampling rate of 32 kHz. Here the 3: 2 downsampling filter is used for 48 kHz to 32 kHz input signal conversion.
+
+Consequently this results in table 9.
+
+**Table 9**
+
+| Encoding mode | 2: 1 Down-sampler | 3: 2 Down-sampler | MDCT | Psych look-ahead | SBR | Concealment | PS | Overall constant delay [samples, fixed point enc / floating point enc] |
+|------------------------|-------------------|-------------------|------|------------------|-----|-------------|-----|------------------------------------------------------------------------|
+| mono, br < 12 000 | Yes | Yes | Yes | Yes | Yes | Yes | No | 6293 / 6221 |
+| mono, br ≥ 12 000 | Yes | No | Yes | Yes | Yes | Yes | No | 6235 / 6216 |
+| PS-stereo, br < 36 000 | No | No | Yes | Yes | Yes | Yes | Yes | 7168 |
+| stereo, br ≥ 36 000 | Yes | No | Yes | Yes | Yes | Yes | No | 6235 / 6216 |
+
+#### Delay contribution of the bit-reservoir
+
+In cases where the codec is run in a streaming application, i.e. non-file based applications, the bitreservoir of AAC is also contributing to the overall codec delay. The bitreservoir has a size of 6 144 bits for mono and parametric stereo, and $2 \times 6\,144$ bits for stereo. Depending on the choice of the bit-rate when running the encoder the additional delay in samples can be expressed by:
+
+$$d[\text{samples}] = \frac{\text{bitresSize}}{\text{averageFrameSize}} \cdot \text{frameLen} = \frac{\text{bitresSize}}{(\text{bitrate} \cdot \text{frameLen}) f_s} \cdot \text{frameLen} = \frac{\text{bitresSize} \cdot f_s}{\text{bitrate}}$$
+
+Table 10 holds some example calculations for the overall codec delay.
+
+**Table 10**
+
+| Encoding mode | Constant delay contribution | Fs [Hz] | Bitreservoir Delay [samples] | Overall codec delay [ms] |
+|---------------------------|------------------------------------|----------------|-------------------------------------|---------------------------------|
+| mono, br = 10 000 | 6293 / 6221 | 32 000 | 19 661 | ca. 811 / 807 |
+| PS-stereo, br = 16 000 | 6235 / 6216 | 48 000 | 18 432 | ca. 513 |
+| PS-stereo, br = 24 000 | 7168 | 48 000 | 12 288 | ca. 405 |
+| stereo, br = 48 000 | 6235 / 6216 | 48 000 | 12 288 | ca. 386 |
+
+## 9.4 Performance verification with 3D audio signal
+
+### Introduction
+
+This clause reports on subjective tests conducted by France Telecom for the Audio Codec verification phase.
+
+France Telecom volunteered to verify the behaviour of recommended audio codec characterization on 3D-signals (binauralised virtual surround sound).
+
+This clause reports on subjective tests to verify the codec behaviour on 3D-signals.
+
+### Test process
+
+Void.
+
+### Test method
+
+This method has been recommended at the ITU-R under the name BS.1534-1 [1]. It was developed in 1999 by the EBU Project Group B/AIM in collaboration with the ITU-R Working Party 6Q.
+
+An important feature of this method is the inclusion of the hidden reference and bandwidth limited anchor signals. To adapt this method for testing 3D audio signals anchors with reduced spatial image (spatialisation closer to the head) were also introduced. For this test, anchor points were the band-limited (7 kHz and 10 kHz) reference signal with full spatial image and with reduced spatial image.
+
+### Test material
+
+The test items can be classified in mixed content items where speech and music were combined and music items containing only music. 5 music items and 5 mixed content items were considered during this test. One of each type being used in the training session.
+
+Some items were extracted from 5.1 recorded audio files and the others were created as synthetic 5.1 audio files. Then these items were binauralized through the binaural virtual surround technique.
+
+One set of HRTF (Head Related Transfer Function) was used for all subjects.
+
+### Training phase
+
+Each listener had a period of training, in order to get familiar with the test methodology, the use of the interface software and with the kind of quality they have to assess. This was as well an opportunity to adjust the restitution level that then remained constant during the test phase.
+
+The training session contained 2 audio items.
+
+### User Interface
+
+The MUSHRA method has the advantage of displaying all stimuli for one test item at a given bit-rate at the same time. The subjects were therefore able to carry out any comparison between them directly as well as to assess the quality comparing to the one of the explicit reference signal.
+
+Implementation of MUSHRA user interface from CRC (SEAQ, System for the Evaluation of Audio Quality from Communications Research Center Canada)) was used in the tests. A screenshot of one implementation of the user
+
+interface is shown in figure 47. The buttons represent all the configurations/codecs under test including the hidden reference and both the anchor signals, and the reference, which is specially displayed on the left as "REF". Above each button, with the exception of the "REF" one, a slider is used to grade the quality of the test item according to the continuous quality scale.
+
+For each of the test items, the signals under test were randomly assigned, with a different assignment for each subject. In addition, the test items were randomized for each subject within a session to avoid sequential effects. The session files were prepared by the host lab. There was one session file per listener.
+
+The same randomization process was used for the training sessions : there was one training session per listener.
+
+
+
+Screenshot of the CRC-SEQ audio testing software interface. The window title is 'Smile123-10(45)-100@ad.lycos'. The main display shows 'CRC-SEQ' in large blue letters. Below it, a text box reads 'Trial 1 of 7: Jazz'. The interface features a vertical quality scale on the left with labels: Excellent, Good, Fair, Poor, Bad, and numerical markers at 0, 20, 40, 60, 80, and 100. To the right of the scale are nine vertical sliders, each with a button below it labeled A through I. A red 'REF' button is on the far left. Below the sliders are four control buttons: a green play triangle, a yellow pause symbol, a red 'X' symbol, and a 'Trial' button. At the bottom is a progress bar with a playhead, flanked by digital time displays showing '00:00.0' on the left and '00:15.6' and '00:00.0' on the right.
+
+Figure 47: MUSHRA software
+
+### The Listening Panel
+
+The listening panel consisted of 12 subjects, most of them experienced in audio but not only professionally involved. All the 12 remaining listeners were respectful regarding the listening instructions.
+
+### Tests duration
+
+As mentioned above the test was preceded by a training period.
+
+The training phase took about half an hour. This time was also used to describe the listening instructions and answer listeners' questions if any. If the listeners have faced difficulties in the assessment of the quality, this time was also used to explain them how to behave.
+
+Then, one test took approximately 1 hour and 30 minutes (depending on listeners), including breaks. Every 20 minutes, the listener was asked to rest a bit by walking and breathing some fresh air.
+
+### Listening conditions
+
+The tests were performed on the headphone STAX Signature SR-404 (open) and its amplifier SRM-006t. The subjects had the possibility to set the reproduction level individually before they started the actual test (during the training phase). The subjects were then restricted from changing the reproduction level during the test.
+
+The test items were stored on a Windows 2k workstation. The digital sound was played through the PC board Digigram VX 222 and converted by 24 bits DAC (3Dlab DAC 2000).
+
+The tests were run in an acoustically neutral room dedicated to such tests.
+
+### Statistical analysis
+
+The statistical analysis method described in the MUSHRA specifications was used to process the test data. The results are presented as mean grades and standards deviation.
+
+Experience has shown that the scores obtained for different test sequences are dependent on the criticality of the test material used. Therefore, this figure have been included in this report in order to provide a more complete understanding of codec performance by presenting results for different test sequences rather than only as aggregated averages across all the test sequences used in the assessment.
+
+### Test results
+
+The test results are presented below.
+
+
+
+| Codec | exam | hypnose | manga | bees |
+|-------------------------|------|---------|-------|------|
+| hidden ref | 100 | 100 | 100 | 100 |
+| lp70 spatially reduced | 28 | 30 | 30 | 28 |
+| lp70 | 40 | 40 | 40 | 40 |
+| lp100 spatially reduced | 50 | 50 | 50 | 50 |
+| lp100 | 70 | 70 | 70 | 70 |
+| ext. AMR WB @ 32k | 50 | 50 | 50 | 50 |
+| enh. aacPlus @ 32k | 50 | 50 | 50 | 50 |
+| ext. AMR WB @ 48k | 55 | 55 | 55 | 55 |
+| enh. aacPlus @ 48k | 75 | 75 | 75 | 75 |
+
+Bar chart titled 'mixed content items' showing test results for various audio codecs across four test sequences: exam, hypnose, manga, and bees. The y-axis represents scores from 0 to 100. The x-axis lists the codecs: hidden ref, lp70 spatially reduced, lp70, lp100 spatially reduced, lp100, ext. AMR WB @ 32k, enh. aacPlus @ 32k, ext. AMR WB @ 48k, and enh. aacPlus @ 48k. The legend indicates: exam (blue), hypnose (dark red), manga (yellow), and bees (light green).
+
+Figure 48
+
+
+
+The chart displays scores for four music items across eight conditions. The y-axis ranges from 0 to 100. The x-axis labels are: hidden ref, lp70 spatially reduced, lp70, lp100 spatially reduced, lp100, ext. AMR WB @ 32k, enh. aacPlus @ 32k, ext. AMR WB @ 48k, and enh. aacPlus @ 48k. The legend indicates: applause (blue), bresilian music (maroon), requiem (yellow), and percu (light green). The 'hidden ref' condition shows a score of 100 for all items. The 'lp70 spatially reduced' condition shows no data for any items. For the remaining conditions, scores generally range between 20 and 80, with 'lp100' and 'lp100 spatially reduced' showing higher scores for 'applause' and 'percussion'.
+
+| Condition | applause | bresilian music | requiem | percussion |
+|-------------------------|----------|-----------------|---------|------------|
+| hidden ref | 100 | 100 | 100 | 100 |
+| lp70 spatially reduced | | | | |
+| lp70 | 40 | 25 | 35 | 20 |
+| lp100 spatially reduced | 50 | 40 | 45 | 30 |
+| lp100 | 70 | 55 | 65 | 40 |
+| ext. AMR WB @ 32k | 15 | 55 | 20 | 45 |
+| enh. aacPlus @ 32k | 20 | 60 | 25 | 75 |
+| ext. AMR WB @ 48k | 25 | 70 | 40 | 55 |
+| enh. aacPlus @ 48k | 20 | 65 | 35 | 70 |
+
+Bar chart titled 'Music items' showing scores for applause, bresilian music, requiem, and percu across various audio processing conditions.
+
+Figure 49
+
+
+
+The chart displays the mean scores across all music items for eight conditions. The y-axis ranges from 0 to 100. The x-axis labels are the same as in Figure 49. The legend indicates: mean (blue). The 'hidden ref' condition shows a mean score of 100. The 'lp70 spatially reduced' condition shows no data. For the remaining conditions, mean scores range from approximately 30 to 60, with 'lp100' and 'lp100 spatially reduced' showing higher mean scores.
+
+| Condition | mean |
+|-------------------------|------|
+| hidden ref | 100 |
+| lp70 spatially reduced | |
+| lp70 | 30 |
+| lp100 spatially reduced | 38 |
+| lp100 | 48 |
+| ext. AMR WB @ 32k | 62 |
+| enh. aacPlus @ 32k | 45 |
+| ext. AMR WB @ 48k | 50 |
+| enh. aacPlus @ 48k | 55 |
+
+Bar chart titled 'mean' showing the average scores across all music items for various audio processing conditions.
+
+Figure 50
+
+### Conclusion
+
+Even if the aggregated average scores over all test sequences tend to show that the quality is acceptable, for some items the perceived quality is rather poor. Moreover, the test was run with the highest bit rates in order to reach this quality.
+
+## 9.5 Verification of rate switching performance
+
+The ability of seamless bit rate switching of an audio decoder is a desirable property when, e.g. due to traffic load (congestion) the bit rate available for the service changes during the session. Seamless switching would allow changing the bit rate without audible artifacts.
+
+### 9.5.1 Rate switching performance of AMR-WB+
+
+#### Introduction
+
+The motivation was to check whether seamless switching between various modes (i.e. no audible artifacts when switching the mode) would be possible by using the AMR-WB+ codec.
+
+#### Test Methodology
+
+The complete selection test material was used in the tests. It has a length of around 8 minutes and contains various kinds of speech, music, and mixed content in a randomized order.
+
+The bit-rate switching was implemented through the configuration file feature of the AMR-WB+ fixed-point code in 3GPP TS 26.273 [4]. The bit-rate was changed every 1sec randomly between modes. So in total, around 480 switches were implemented by this approach.
+
+mono and stereo processing were done in two separate experiments:
+
+- For mono encoding, the sampling frequency was 16 kHz. The -lc option was applied. The internal sampling frequency was constant (25 600 Hz) in all cases. No DTX operation was applied. In the mono case, AMR-WB and AMR-WB+ modes were switched randomly in the mode index range of [0 to 15], see table 21 in 3GPP TS 26.290 [5]. In the decoder, the limiter option was turned on. The decoder was forced to provide mono output by using the -mono flag.
+- For stereo encoding, the sampling frequency was 48 kHz. The internal sampling frequency was switched randomly in the range of [0.5 to 1.5] simultaneously with every mode switch. No DTX operation was applied. In the stereo case, AMR-WB+ extension modes were switched randomly in the mode index range of [24 to 47], see table 25 in 3GPP TS 26.290 [5]. In combination of mode index and internal sampling frequency switching, the bit-rate varied in the range of 7 kb/s to 45 kb/s. In the decoder, the -limiter option was turned on.
+
+#### Listening
+
+The decoded materials were examined by expert listeners for audible artifacts.
+
+#### Results
+
+The AMR-WB+ code was able to encode and decode fully the input material. No audible artifacts could be perceived in any case. Hence it can be stated that the AMR-WB+ codec is able to provide seamless bit-rate switching in the framework of the experiments we conducted.
+
+### 9.5.2 Rate switching performance of Eaac+
+
+#### Introduction
+
+This clause presents the results of a study of the bit rate switching behaviour of the Eaac+ decoder.
+
+#### Methodology
+
+The following procedure was used for carrying out the task:
+
+- 1) Generation of configuration files for the Eaac+ encoder steering the encoding bit rate to toggle between various rates of interest. The toggling was done with a rate of about one rate change per second.
+- 2) Decoding of the generated audio parameter file with Eaac+ decoder (3GPP TS 26.410 [6]).
+- 3) Informal listening by expert listeners and further analysis.
+
+NOTE: The investigation was limited to bit rate toggling within a given Eaac+channel mode configuration, i.e. in between mono, in between PS stereo, and in between conventional stereo mode not using the PS tool. Switching across configurations, namely between mono and stereo or between PS stereo and conventional stereo (i.e. crossing the 36 kbps border) was not investigated since the used encoder did not provide such a functionality.
+
+#### Audio data
+
+The audio data used in the study was sound items from the selection test.
+
+#### Experiments
+
+The bit rates between which the toggling was performed were chosen with the preference to cause a change of the reconstructed audio bandwidth. In particular, the following cases have been investigated:
+
+- mono: togglings between 12/17 kbps, 17/19 kbps, 21/23 kbps, 27/29 kbps, 17/29 kbps.
+- PS stereo: togglings between 16/17 kbps, 17/19 kbps, 21/23 kbps, 27/29 kbps, 17/29 kbps.
+- Conventional (non-PS) stereo: 43/45 kbps, 45/51 kbps.
+
+#### Results
+
+The standardized Eaac+ decoder was fully capable of decoding the bitstream files with toggled bit rate within the given Eaac+ channel mode configurations. No particular switching effects were encountered even though the rate change may lead to a slight change of the spectral nature of the reconstructed signal. In conclusion it can be stated that the Eaac+ decoder provides seamless bit rate switching capability as long as the Eaac+ channel mode configuration is not changed.
+
+## 9.6 Verification of source code
+
+The verification aims at the following objectives:
+
+- to verify that the algorithms are based on a fixed-point 16/32-bit arithmetic;
+- to verify that the reference source code is instrumented with the ETSI basic operators that are used for the AMR and AMR-WB speech codecs;
+- to verify that the instrumentation follows the rules from document “ETSI SMG-11 AMR#9: Complexity and delay assessment” (included in attachment “TR 26.936 Annex B3 Verification test documents.zip”).
+
+### 9.6.1 Source code verification of AMR-WB+
+
+#### Introduction
+
+According to the verification plan in Tdoc S4-050187 “Source code verification plan v1.0” (included in attachment “TR 26.936 Annex B3 Verification test documents.zip”), STMicroelectronics has conducted the verification of the reference source code from the extended AMR-WB (AMR-WB+) decoder.
+
+#### Verification of the format of the C-code
+
+The verification laboratory has verified the following items for both reference source codes:
+
+- the source code of the AMRWB+ decoder compiles on MSVC (Microsoft Visual C);
+- there is no obvious deviation from the ANSI-C standard that would prevent compliant ANSI-C compiler to compile the source code.
+
+The verification laboratory has also verified that the only calls to external libraries that happened in the reference source codes were limited to:
+
+- calls to libc: fwrit()/fread()/fseek() for file IO, printf()/fprintf() for command line text display, assert() for debug assertion, malloc()/free() for memory allocation at the initialization stage of the decoder;
+- calls to libisomedia which is the library implementing the API for the 3GP file format.
+
+#### Verification of the usage of the fixed-point arithmetic
+
+The verification laboratory has verified that the audio decoding algorithm implemented through the reference source C code does not make usage of any floating-point instructions. It was checked that the algorithm relies exclusively on a 16/32-bit arithmetic. Other types of arithmetic (32/32-bit arithmetic and floating point arithmetic) are emulated through the 16/32-bit instructions.
+
+The verification laboratory believes that the source code provides a full bit-exact reference representation from the behaviour of the audio decoding algorithm and therefore, that it is admissible for a bit-exact reference representation of the AMR-WB+ decoder.
+
+#### Verification of the instrumentation
+
+##### Objective
+
+The verification laboratory has checked that the source code implements the basic operators and the instrumentation according to the rules described in the document "ETSI SMG-11 AMR#9: Complexity and delay assessment". The primary objective is to ensure that the figures of complexity (wMOPs, stack depth) estimated at run time by the software decoder are comparable to the figures of complexity obtained from past exercises.
+
+The secondary objective is to ensure that the source code can easily be ported on a DSP target by mapping basic operators or combination of basic operators onto the native intrinsic functions from the target platform.
+
+##### General comments
+
+The verification laboratory has mainly verified the functions that participate to the main loop of the decoding algorithm.
+
+Therefore, the instrumentation of the functions corresponding to the initialization stages of the decoder were not carefully verified since those functions do not participate at all to the evaluation of the figure of complexity of the algorithm (but still, the bit-exactness and the fixed-point implementation were verified).
+
+The verification laboratory reports also that the boundary between the file I/O operations that require to be instrumented and the file I/O operations that do not require to be instrumented is not very clear. In particular, the verification laboratory had no time to check whether the AMR-WB+ decoder has defined the same borders as limits of the source code instrumentation than AMR-WB or Eaac+.
+
+The verification laboratory reports also that the source code for AMRWB+ does not fully conform to the proposed usage of the step increment. It exists cases where the increment is not a constant and the amount of iteration in the loop is not easy to obtain. Depending on the cases, the verification laboratory believes that the environment of such loop statements could be re-written in order to finally fulfill the step increment constraints; alternatively, those loop statements could be re-cast as software loops. In any case, the impact on the bit-exactness in null and the impact on the overall figure of complexity will not be significant.
+
+##### List of files verified
+
+**Table 11: List of files that were verified**
+
+| File name | Verified |
+|-----------------------------------|----------|
+| common_fx/ALF_emph_fx.c | OK |
+| Common_fx/bits_p_fx.c | OK |
+| common_fx/Bitstream_fx.c | OK |
+| common_fx/decim12k8_fx.c | OK |
+| common_fx/bits_p_fx.c | OK |
+| common_fx/fft3_fx.c | OK |
+| common_fx/fft9_fx.c | OK |
+| common_fx/gaintcx_fx.c | OK |
+| common_fx/hf_func_fx.c | OK |
+| common_fx/int_lpc_p_fx.c | OK |
+| common_fx/join_split_fx.c | OK |
+| common_fx/overs12k8_fx.c | OK |
+| common_fx/q_gn_hf_fx.c | OK |
+| common_fx/q_isf_hf_fx.c | OK |
+| common_fx/r_fft_fx.c | OK |
+| common_fx/re8_dec_fx.c | OK |
+| common_fx/Re8_dic_fx.c | |
+| common_fx/re8_ppv_fx.c | OK |
+| common_fx/Re8_util_fx.c | OK |
+| common_fx/read_dat_fx.c | OK |
+| common_fx/rnd_phl6_fx.c | OK |
+| common_fx/tables_plus_fx.c | |
+| common_fx/tables_stereo_fx.c | OK |
+| common_fx/util_plus_fx.c | OK |
+| common_fx/util_stereo_x_fx.c | OK |
+| common_fx/wavefiletools_fx.c | OK |
+| common_fx/writ_dat_fx.c | OK |
+| decoder_fx/avq_dec_fx.c | OK |
+| decoder_fx/bass_pf_fx.c | OK |
+| decoder_fx/d_gain2p_fx.c | OK |
+| decoder_fx/d_isf_2s_fx.c | OK |
+| decoder_fx/dec_ace_fx.c | OK |
+| decoder_fx/dec_cp_state_fx.c | OK |
+| Decoder_fx/dec_hf_fx.c | OK |
+| Decoder_fx/dec_if_fx.c | OK |
+| Decoder_fx/dec_lf_fx.c | OK |
+| decoder_fx/dec_main_s_fx.c | OK |
+| decoder_fx/dec_prm_fx.c | OK |
+| decoder_fx/dec_tcx_fx.c | OK |
+| decoder_fx/dec_wbplus_fx.c | OK |
+| decoder_fx/Scale_dec_fx.c | OK |
+| decoder_fx/tcx_ecu_fx.c | OK |
+| stereo_fx_eks/d_stereo_x_fx.c | OK |
+| stereo_fx_eks/dec_hi_stereo_fx.c | OK |
+| stereo_fx_eks/dec_tcx_stereo_fx.c | OK |
+
+##### Comments
+
+Based on the suggestions made by the verification laboratory, the instrumentation of the source code was slightly cleaned while keeping its bit-exact behaviour. The resulting source code complies with the rules from the document “ETSI SMG-11 AMR#9: Complexity and delay assessment”.
+
+#### Conclusion
+
+The verification laboratory feels confident that the source code of the AMR-WB+ decoder can serve as a bit-exact reference of the algorithm. The verification laboratory thinks that the instrumentation of the source code is conformed to the expectation of a 3GPP reference source code.
+
+### 9.6.2 Source code verification of Eaac+
+
+#### Introduction
+
+According to the verification plan in Tdoc S4-050187 "Source code verification plan v1.0" (included in attachment "TR 26.936 Annex B3 Verification test documents.zip"), STMicroelectronics has conducted the verification of the reference source code from the enhanced aacPlus (Eaac+) decoder.
+
+#### Verification of the format of the C-code
+
+The verification laboratory has verified the following items for both reference source codes:
+
+- the source code of the Eaac+ decoder compiles on a Linux platform, with GNU gcc version 3.2.3 and GNU make version 3.79.1;
+- there is no obvious deviation from the ANSI-C standard that would prevent compliant ANSI-C compiler to compile the source code;
+- the text of the specification document 3GPP TS 26.411 [7] matches the file tree structure delivered to the verification laboratory.
+
+The verification laboratory has also verified that the only calls to external libraries that happened in the reference source codes were limited to:
+
+- calls to libc: fwrit()/fread()/fseek() for file IO, printf()/fprintf() for command line text display, assert() for debug assertion;
+- calls to libisomedia which is the library implementing the API for the 3GP file format.
+
+#### Verification of the usage of the fixed-point arithmetic
+
+The verification laboratory has verified that the audio decoding algorithm implemented through the reference source C code does not make usage of any floating-point instructions. It was checked that the algorithm relies exclusively on a 16/32-bit arithmetic. Other types of arithmetic (32/32-bit arithmetic and floating point arithmetic) are emulated through the 16/32-bit instructions.
+
+The verification laboratory believes that the source code provides a full bit-exact reference representation from the behaviour of the audio decoding algorithm and therefore, that it is admissible for a bit-exact reference representation of the Eaac+ decoder.
+
+#### Verification of the instrumentation
+
+##### Objective
+
+The verification laboratory has checked that the source code implements the basic operators and the instrumentation according to the rules described in the document “ETSI SMG-11 AMR#9: Complexity and delay assessment”. The primary objective is to ensure that the figures of complexity (wMOPs, stack depth) estimated at run time by the software decoder are comparable to the figures of complexity obtained from past exercises.
+
+The secondary objective is to ensure that the source code can easily be ported on a DSP target by mapping basic operators or combination of basic operators onto the native intrinsic functions from the target platform.
+
+##### General comments
+
+The verification laboratory has mainly verified the functions that participate to the main loop of the decoding algorithm.
+
+Therefore, the instrumentation of the functions corresponding to the initialization stages of the decoder were not carefully verified since those functions do not participate at all to the evaluation of the figure of complexity of the algorithm (but still, the bit-exactness and the fixed-point implementation were verified).
+
+The verification laboratory reports also that the boundary between the file I/O operations that require to be instrumented and the file I/O operations that do not require to be instrumented is not very clear. In particular, the verification laboratory had no time to check whether the Eaac+ decoder has defined the same borders as limits of the source code instrumentation than AMR-WB or AMR-WB+.
+
+The verification laboratory reports also that the source code of Eaac+ does not fully conform to the proposed usage of the step increment. It exists cases where the increment is not a constant and the amount of iteration in the loop is not easy to obtain. Depending on the cases, the verification laboratory believes that the environment of such loop statements could be re-written in order to finally fulfill the step increment constraints; alternatively, those loop statements could be re-cast as software loops. In any case, the impact on the bit-exactness is null and the impact on the overall figure of complexity will not be significant.
+
+##### List of files verified
+
+**Table 12: List of files that were verified**
+
+| Directory | Module name | Verified |
+|----------------|--------------------|----------|
+| src/ | main.c | OK |
+| | fileifc.c | OK |
+| | spline_resampler.c | OK |
+| etsiop_aacdec/ | aacdecoder.c | OK |
+| | streaminfo.c | OK |
+| | channelinfo.c | OK |
+| | stereo.c | OK |
+| | longblock.c | OK |
+| | shortblock.c | OK |
+| | pulsedata.c | OK |
+| | block.c | OK |
+| | pns.c | OK |
+| | imdct.c | OK |
+| | tns.c | OK |
+| | bitstream.c | OK |
+| | channel.c | OK |
+| | conceal.c | OK |
+| | datastream.c | OK |
+| | aac_ram.c | OK |
+| | aac_rom.c | OK |
+| etsiop_sbrdec/ | env_dec.c | OK |
+| | aacpluscheck.c | OK |
+| | env_calc.c | OK |
+| | lpp_tran.c | OK |
+| | sbrdecoder.c | OK |
+| | sbr_dec.c | OK |
+| | sbr_crc.c | OK |
+| | hybrid.c | OK |
+| | ps_bitdec.c | OK |
+| | env_extr.c | OK |
+| | freq_sca.c | OK |
+| | ps_dec.c | OK |
+| | qmf_dec.c | OK |
+| | sbr_ram.c | OK |
+| | sbr_rom.c | OK |
+| etsiop_bitbuf/ | bitbuffer.c | |
+| etsiop_ffr/ | fft_32x32.c | OK |
+| | transcendent.c | OK |
+| | transcendent_enc.c | OK |
+| | intrinsics.c | OK |
+| | vector.c | OK |
+
+##### Comments
+
+Based on the suggestions made by the verification laboratory, the instrumentation of the source code was slightly cleaned while keeping its bit-exact behaviour. The resulting source code complies with the rules from the document “ETSI SMG-11 AMR#9: Complexity and delay assessment“ (apart from the double precision multiplication issue which is dealt in section "16x32 and 32x32 multiplication").
+
+#### 16x32 and 32x32 multiplication
+
+The verification laboratory has noted that double precision multiplication is used. Such multiplication is difficult to simulate in full accuracy with the ETSI basic operators.
+
+Apart for this workaround, the verification laboratory is not aware of any full precision 16x32 workaround used in 3GPP codecs and based on the ETSI basic operators.
+
+The verification laboratory is aware of the workaround built in the AMR-WB source code and known as the DPF arithmetic. This workaround provides a 16x31 multiplication for 3 wops (weighted operations). It costs 5 wops in order to enter the DPF mode and costs 3 wops in order to exit the DPF mode.
+
+The verification laboratory has noted that the Eaac+ has built another workaround for the 16x31 multiplication based on a split in two arrays, LSB / MSB, from the double precision argument. It is believed that it exists a mean to re-organize the processing and the data storage that would validate the proposed implementation. It is understood that if such a code and data re-organization was provided as a reference source code, it would cause a significant workload for a developer to revert back to the original organization which exhibit natively the 16x31 multiplications and is easily mapped onto DSP intrinsic functions.
+
+Nevertheless, the current implementation does not exhibit such organization and therefore the verification laboratory can not state whether such workaround is valid.
+
+#### Conclusion
+
+The verification laboratory feels confident that the source code of the Eaac+ decoder can serve as a bit-exact reference of the algorithm.. The verification laboratory thinks that the instrumentation of the source code is conformed to the expectation of a 3GPP reference source code.
+
+### 9.6.3 General discussion
+
+During the source code verification phase, the instrumentation of the source code was slightly cleaned while keeping a bit-exact behaviour.
+
+Regarding Eaac+, and more specifically the double precision multiplication, the verification laboratory recognizes that requesting from the source code to be clean enough so that the port on a DSP platform is straightforward (which is one of the objective targeted by the release of a reference source code) was in contradiction with the primary objective that requests an instrumentation which provides figures of complexity that scales smoothly between existing algorithms.
+
+The verification laboratory understands that the nature of the audio codec technology (including the Eaac+ decoder, but not only) relies heavily on the 16x31-bit multiplication. The metric of the ETSI basic operators is designed in a way that penalizes heavily the usage of the double precision multiplication because such features were not common on baseband DSP. As a matter of fact, algorithms based on speech coding technology do not use heavily this kind of arithmetic.
+
+STMicroelectronics thinks that if the metric of the ETSI basic operator was modified in order to lessen the penalty of the double precision multiplication, then, first of all, it would not impact significantly the wMOPS score of the algorithm, even if it was re-written in order to replace the DPF arithmetic by plain 16x31 and 31x31 arithmetic; second, we believe that the design choices, that were introduced at the very beginning of the design of the AMR-WB and AMR-WB+, partially based on the metric that was available at that time (penalizing the double precision multiplication), would not have been made definitely different, if the metric had been different and the 16x31 and 31x31 arithmetic was not penalized.
+
+STMicroelectronics believes that the audio decoders under study will not be implemented on platforms that do not provide a support for the double precision multiplication. Therefore, we support the idea that the reference source code exhibits facilities for implementing the algorithm on platform supporting double precision multiplication.
+
+Therefore, it is understood that the wMOPS values obtained from the current ETSI basic operators would not scale properly from the AMR and AMR-WB to the Eaac+.
+
+The following way forward was agreed:
+
+- The reference source code provides (for instance through compilation flags) two alternative (but bit-exact) implementations:
+ - an implementation providing a source code fully based (but not necessarily optimized) for ETSI basic operators;
+ - an implementation that allows a fast and efficient port for a DSP, where the 16x31 multiplication from the reference source code maps easily on the DSP intrinsic functions.
+- It was agreed that in the characterization report, the wMOPS score obtained from the reference source codes is split in two values: the value that is directly due to the 16x31 and 31x31 arithmetic and the value that is due to everything else. From those two values, any manufacturer will be able to derive an actual figure of complexity that scales properly on its own platform.
+
+## 9.7 Content dependency
+
+One aspect of this verification item was addressed by a contribution from a codec proponent in which a subjective test was conducted to assess the stereo performance of *AMR-WB+* and *Eaac+* with real-world critical music material having certain signal characteristics. The report on this experiment can be found in document S4-050710 (see Attachment "TR26.936 Annex B2 Additional Documents.zip" to the present document).
+
+# Annex A: Test results from other bodies
+
+This annex comprises test results for the two standardized codecs carried out by ITU-T, where the codecs participated as reference codecs. These results consist of two parts, one part obtained by MUSHRA testing of music and mixed material, the other part obtained by ACR (MOS) and DCR (DMOS) testing of speech material. Documents S4-050260-part1 and S4-050260-part2 (see Attachment "TR26.936 Annex B2 Additional Documents.zip" to the present document) contain the complete results for the MUSHRA and ACR and DCR results from the ITU-T tests.
+
+Additional test results by MPEG [2] and EBU [3] provide further information for configurations using the *Eaac+* decoder in combination with a non-standardized encoder.
+
+Since those tests were conducted outside of 3GPP, test conditions, sampling rates and/or bit-rates may not be directly applicable to use cases in a 3GPP environment.
+
+## A.1 Test results from ITU-T standardization of G.722-1, annex C
+
+The results shown in figures A.1 to A.6 were derived from experiments involved in the ITU-T standardization of codec G.722.1, annex C. All six of these experiments were conducted under mono conditions and involved test items band-limited from 50Hz-14kHz. Two MUSHRA experiments were conducted in the ITU-Phase 2 series of tests that, taken together, characterize the performance of the two 3GPP audio codecs and one reference audio codec across two bit-rates. The MUSHRA tests were conducted with music and mixed content. Figures A1 and A2 show the results of G722-2 MUSHRA tests involving the three audio codecs at 24 kbps and 32 kbps, respectively. These results are based on the MUSHRA ratings of 20 subjects, 10 test items, and one listening lab ( $N = 20 \cdot 10 \cdot 1 = 200$ ).
+
+
+
+| Codec | MUSHRA Score |
+|----------|--------------|
+| AMR-WB+ | 72.8 |
+| Eaac+ | 65.8 |
+| G.722.1C | 62.2 |
+| lp7000 | 35.8 |
+| lp10000 | 71.0 |
+| hidref | 98.1 |
+
+Figure A.1: Bar chart showing MUSHRA results for audio codecs operating at 24 kbps. The y-axis is labeled 'MUSHRA' and ranges from 0 to 100. The x-axis lists codecs: AMR-WB+, Eaac+, G.722.1C, lp7000, lp10000, and hidref. The first three are categorized as '3GPP Audio Codecs' and 'Ref. Cod.', while the last three are 'Anchors'. The scores are: AMR-WB+ (72.8), Eaac+ (65.8), G.722.1C (62.2), lp7000 (35.8), lp10000 (71.0), and hidref (98.1).
+
+Figure A.1: MUSHRA results for audio codecs operating at 24 kbps
+
+
+
+| Codec | MUSHRA Score |
+|----------|--------------|
+| AMR-WB+ | 76.0 |
+| Eaac+ | 72.6 |
+| G.722.1C | 65.2 |
+| lp7000 | 31.5 |
+| lp10000 | 59.5 |
+| hidref | 97.0 |
+
+Figure A.2: Bar chart showing MUSHRA results for audio codecs operating at 32 kbps. The y-axis is labeled 'MUSHRA' and ranges from 0 to 100. The x-axis lists codecs: AMR-WB+, Eaac+, G.722.1C, lp7000, lp10000, and hidref. The first three are categorized as '3GPP Audio Codecs' and 'Ref. Cod.', while the last three are 'Anchors'. The scores are: AMR-WB+ (76.0), Eaac+ (72.6), G.722.1C (65.2), lp7000 (31.5), lp10000 (59.5), and hidref (97.0).
+
+Figure A.2: MUSHRA results for audio codecs operating at 32 kbps
+
+Figure A.3 shows MOS results from the ACR test in mono mode conducted in the ITU-Phase 1 test series (document "ITU-T Standardization of G.722-1C, part1 (S4-050260).doc" included in Attachment "TR26.936 Annex B2 Additional Documents.zip"). MOS results are shown for the two 3GPP audio codecs and for one ITU-T reference audio codec, *G.722.1-annex C*, across two bit-rates, 24 k and 32 kbps. The MOS tests were conducted with clean speech and speech with various types of background noises. For two of the audio codecs, MOS performance is better at the higher bit-rate (32 kbps). However, for *AMR-WB+*, MOS is higher for 24 kbps (4.11) than for 32 kbps (3.91). All of the test items involved in the ACR test involved Speech-only audio content.
+
+
+
+| Codec | Bit-Rate | MOS |
+|----------|----------|------|
+| AMR-WB+ | 24k | 4.11 |
+| | 32k | 3.91 |
+| Eaac+ | 24k | 3.67 |
+| | 32k | 3.84 |
+| G.722.1C | 24k | 3.52 |
+| | 32k | 3.80 |
+
+Bar chart titled 'ITU-P1: Bit-Rate, Mono' showing MOS for audio codecs at 24 and 32 kbps in speech-only conditions. The chart compares AMR-WB+, Eaac+, and G.722.1C at both bit-rates. AMR-WB+ shows the highest MOS scores, followed by Eaac+ and then G.722.1C.
+
+Figure A.3: MOS for audio codecs at bit-rates of 24 and 32 kbps (speech-only)
+
+Figures A.4 to A.6 show results from the three ITU-P1 series of DCR tests, all for the mono mode. In each of these figures, DMOS results are shown for the three audio codecs across two bit-rates, 24 k and 32 kbps. The three DCR tests characterize the performance of the audio codecs in background noise conditions. Figure A.4 shows DMOS results for Office Noise, figure A.5 for Interfering Talker, and figure A.6 for Office Noise plus Interfering Talker. All of the test items involved in the DCR tests also involved Speech-only audio content.
+
+
+
+| Codec | Bit-Rate | DMOS |
+|----------|----------|------|
+| AMR-WB+ | 24k | 4.17 |
+| | 32k | 4.36 |
+| Eaac+ | 24k | 3.48 |
+| | 32k | 3.97 |
+| G.722.1C | 24k | 3.89 |
+| | 32k | 4.18 |
+
+Bar chart titled 'ITU-P1: Office Noise, Bit-Rate, Mono' showing DMOS for audio codecs at 24 and 32 kbps in office background noise. The chart compares AMR-WB+, Eaac+, and G.722.1C at both bit-rates. AMR-WB+ shows the highest DMOS scores, followed by G.722.1C and then Eaac+.
+
+Figure A.4: DMOS for audio codecs at 24 and 32 kbps in office background noise
+
+
+
+| Codec | Bit-Rate | DMOS |
+|----------|----------|------|
+| AMR-WB+ | 24k | 4.40 |
+| | 32k | 4.42 |
+| Eaac+ | 24k | 3.93 |
+| | 32k | 4.34 |
+| G.722.1C | 24k | 4.01 |
+| | 32k | 4.38 |
+
+Bar chart titled 'ITU-P1: Interfering talker, Bit-Rate, Mono' showing DMOS for audio codecs at 24 and 32 kbps with an interfering talker. The chart compares AMR-WB+, Eaac+, and G.722.1C at both bit-rates. AMR-WB+ shows the highest DMOS scores, followed by G.722.1C and then Eaac+.
+
+Figure A.5: DMOS for audio codecs at 24 and 32 kbps with interfering talker
+
+
+
+| Codec | Bit-Rate | DMOS |
+|----------|----------|------|
+| AMR-WB+ | 24k | 4.17 |
+| | 32k | 4.17 |
+| Eaac+ | 24k | 3.76 |
+| | 32k | 4.16 |
+| G.722.1C | 24k | 3.78 |
+| | 32k | 4.16 |
+
+Bar chart titled 'ITU-P1: Office + Interfer. Talker, Bit-Rate, Mono' showing DMOS for audio codecs at 24 and 32 kbps in office noise with an interfering talker. The chart compares AMR-WB+, Eaac+, and G.722.1C at both bit-rates. AMR-WB+ shows the highest DMOS scores, followed by G.722.1C and then Eaac+.
+
+Figure A.6: DMOS for audio codecs at 24 and 32 kbps in office noise and interfering talker
+
+# --- Annex B: Documents for information
+
+The documents contained in the attached files :
+
+- TR26.936 Annex B1 Official Test Documents.zip
+- TR26.936 Annex B2 Additional Documents.zip
+- TR26.936 Annex B3 Verification test documents.zip
+
+provide useful additional information. The formatting of these documents does not follow the 3GPP drafting rules and some of them may contain further references to other temporary documents not essential for the purpose of this TR (and that may not be available for download, since they are not under permanent maintenance).
+
+## --- B.1 Official testing documents (file TR26.936 Annex B1 Official Test Documents.zip)
+
+List of documents :
+
+*Attachment 1A* : PSS/MMS[/MBMS] Audio Codec Characterization Test Plan
+
+*Attachment 1B* : Global Analysis Laboratory Report for Phase-1 of the 3GPP Audio Codec Characterization Test for PSS-MMS-MBMS
+
+*Attachment 1C* : Global Analysis Laboratory Report for Phase 2 of the 3GPP Audio Codec Characterization Test for PSS-MMS-MBMS Applications
+
+*Attachment 1D* : AMR-WB+ and PSS/MMS Low-Rate Audio Selection Test and Processing Plan
+
+*Attachment 1E* : Global Analysis Laboratory Report on 3GPP Low-Rate Audio Codec Exercises
+
+*Attachment 1F* : PSS/MMS High-Rate Audio Selection Test and Processing Plan
+
+*Attachment 1G* : Global Analysis Laboratory Report on 3GPP High-Rate Audio Codec Exercises
+
+## --- B.2 Additional information documents (file TR26.936 Annex B2 Additional Documents.zip)
+
+List of documents :
+
+*S4-050260* - Characterisation test results of the 14khz low-complexity audio coding algorithm at 24, 32, and 48 kbps extension to ITU-T G.722.1: phase 1
+
+*S4-050260* - Characterisation test results of the 14khz low-complexity audio coding algorithm at 24, 32, and 48 kbps extension to ITU-T G.722.1: phase 2
+
+*S4-040439* - Additional information on AMR-WB+ performance
+
+*S4-040710* - Additional information: AMR-WB+ performance at very-low bit rates
+
+*S4-050453* - AMR-WB+ configurations in characterisation test phase 2
+
+*S4-050544* - Characterization test phase 2, settings used for Enhanced aacPlus
+
+*S4-050710* - Evaluation of codec behaviour with special input signals
+
+*S4-060157* - Background on Error Conditions for the Characterization in TR26.936
+
+## --- B.3 Verification test documents (file TR26.936 Annex B3 Verification test documents.zip)
+
+List of documents :
+
+AMR#9 Permanent document on complexity and delay assessment
+
+S4-050187 - Source code verification plan
+
+# --- Annex C: Change history
+
+| Change history | | | | | | | |
+|----------------|----------|-----------|------|-----|-----------------------------------------------------------|--------|--------|
+| Date | TSG # SA | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2005-12 | 30 | SP-050807 | | | Technical Report 26.936 (Release 6) approved at TSG SA#30 | 2.0.0 | 6.0.0 |
+| 2005-12 | | | | | Minor typographical corrections. | 6.0.0 | 6.0.1 |
+| 2006-03 | 31 | SP-060015 | 0001 | 1 | Clean-up of TR 26.936 | 6.0.1 | 6.1.0 |
+| 2007-06 | 36 | | | | Version for Release 7 | 6.1.0 | 7.0.0 |
+| 2008-12 | 42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
+| | | | | | | | |
+| | | | | | | | |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26937/0332672e127cd13bb6d2fc8d1e27bfa2_img.jpg b/marked/Rel-11/26_series/26937/0332672e127cd13bb6d2fc8d1e27bfa2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4693cfb059579a91fdc01889e630abf379dc5661
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/0332672e127cd13bb6d2fc8d1e27bfa2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ef184fe872944b91fb046e21d43afaafcf3387f524d483921ebc05d436ce12d1
+size 63335
diff --git a/marked/Rel-11/26_series/26937/051638d871c75230edb3d005fa668810_img.jpg b/marked/Rel-11/26_series/26937/051638d871c75230edb3d005fa668810_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6ad57f3fe869b492acdfad43686cadc5caa1942a
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/051638d871c75230edb3d005fa668810_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3f56c3dd34e9a0286e947417d604a1365f482f2980134afc58a60fbb12e5d8d1
+size 82629
diff --git a/marked/Rel-11/26_series/26937/1c427123350e0e73e2a109b79069314b_img.jpg b/marked/Rel-11/26_series/26937/1c427123350e0e73e2a109b79069314b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..45dce1ea9f0c26f75a2eda4ae6d477e6238d6531
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/1c427123350e0e73e2a109b79069314b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e44a5fc014986edb77969c3e54702cc078b156aafbc9fdf33ea96146373fe8ed
+size 84487
diff --git a/marked/Rel-11/26_series/26937/27b3968bf5ede712f8defd1a7ed30a7a_img.jpg b/marked/Rel-11/26_series/26937/27b3968bf5ede712f8defd1a7ed30a7a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2d478b6c9d1598fa8ca8914249f0398560cd2d63
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/27b3968bf5ede712f8defd1a7ed30a7a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:19ff6bd12807db95e3eafa11eb24f4677d5b3dc70e4803e784d932c707f48da4
+size 45415
diff --git a/marked/Rel-11/26_series/26937/3788d43ff8c1f359e46e9373a533432f_img.jpg b/marked/Rel-11/26_series/26937/3788d43ff8c1f359e46e9373a533432f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7e565be49616b1a0be5c26a933ffab45f3b71196
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/3788d43ff8c1f359e46e9373a533432f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5e6d74a67a50ab7b5dfb3261b12472385e5c88a3acd87857cb8af999298c6532
+size 85757
diff --git a/marked/Rel-11/26_series/26937/484cfbdc05aee471306eeb11c0ee2543_img.jpg b/marked/Rel-11/26_series/26937/484cfbdc05aee471306eeb11c0ee2543_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b612f82c2653bfecef0803ee59b228506823dc52
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/484cfbdc05aee471306eeb11c0ee2543_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:665fc6f91cd341f3eff7b840b362ae3997ea8717057a33f5ce7b64151040bf32
+size 42768
diff --git a/marked/Rel-11/26_series/26937/4dfe30ac5a87d018364a0ac42ea533fe_img.jpg b/marked/Rel-11/26_series/26937/4dfe30ac5a87d018364a0ac42ea533fe_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0ac2c74fe16296db285c80a28b7eab17d0a3db49
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/4dfe30ac5a87d018364a0ac42ea533fe_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5408da860e62268d0255aa090258d32d8ba802e748ed00cab604f6076be1c9e4
+size 55962
diff --git a/marked/Rel-11/26_series/26937/645cfdb7a7e02c3b04b20d83aed890c3_img.jpg b/marked/Rel-11/26_series/26937/645cfdb7a7e02c3b04b20d83aed890c3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5b16a03c3dce04d5a9fe151270169de74a42c2cc
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/645cfdb7a7e02c3b04b20d83aed890c3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:29d0b6d6a4a9e6cea040e80c58c7318833752bd9169a8f4a377d5f15e0795883
+size 57530
diff --git a/marked/Rel-11/26_series/26937/7f687094e6abe34a9cf491942b296d9a_img.jpg b/marked/Rel-11/26_series/26937/7f687094e6abe34a9cf491942b296d9a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bbb7747d2a6af4602f172397494764bc19180a97
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/7f687094e6abe34a9cf491942b296d9a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7937980686da4b7a5ac743220b1c4e8ef8e8a9f2ed5c85f1bdbc405e9ad66990
+size 92081
diff --git a/marked/Rel-11/26_series/26937/853ef5420f0432e626e83987e3f38a0b_img.jpg b/marked/Rel-11/26_series/26937/853ef5420f0432e626e83987e3f38a0b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8065c84b1c2365f33e10fe87a006b1f15c514702
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/853ef5420f0432e626e83987e3f38a0b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5600a88f94fbe85002802f03bf029638efd1a297b37e050b6af1e58143bd03a8
+size 52171
diff --git a/marked/Rel-11/26_series/26937/85b10db535b22e64c7d37f362705ddbf_img.jpg b/marked/Rel-11/26_series/26937/85b10db535b22e64c7d37f362705ddbf_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6f9e897213b2160232c2c596981eed4d59866b83
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/85b10db535b22e64c7d37f362705ddbf_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:360156d49b743f6045072e40f62ee9ecad43732f7856ea4811692ba6174b72ca
+size 40219
diff --git a/marked/Rel-11/26_series/26937/86089bb74e9c313a8c62cd0cb41c3e66_img.jpg b/marked/Rel-11/26_series/26937/86089bb74e9c313a8c62cd0cb41c3e66_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a22512146bb069698ff8895cb668ef26ab04ddf4
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/86089bb74e9c313a8c62cd0cb41c3e66_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d70fc73f61e5fad880ce7674fd597e2bc62b020601089a161d00d4c7b029b22
+size 70200
diff --git a/marked/Rel-11/26_series/26937/8fe46741a1476acebc88235e1b6e0f0b_img.jpg b/marked/Rel-11/26_series/26937/8fe46741a1476acebc88235e1b6e0f0b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..070691f21339a17df3cb3ee8b2e9ea24333c238d
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/8fe46741a1476acebc88235e1b6e0f0b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:daca1dc45fbb0e2ef4cf80b14b9cde8fa220986eaf0a802b99d07ed26de63c37
+size 66452
diff --git a/marked/Rel-11/26_series/26937/9260ae281f6b6470331f4a0f82dbc2b1_img.jpg b/marked/Rel-11/26_series/26937/9260ae281f6b6470331f4a0f82dbc2b1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..24bf0f222f972f3e153cbf60c70d501334a792c5
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/9260ae281f6b6470331f4a0f82dbc2b1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:483eb06d6e1dfe3755895da53f2934213cc4fd4efd27ee5f82287ece2b9e10cb
+size 82675
diff --git a/marked/Rel-11/26_series/26937/bac21fd48fcd7f025c723590e07d1823_img.jpg b/marked/Rel-11/26_series/26937/bac21fd48fcd7f025c723590e07d1823_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7a459d3f97422686aecbb4cf2eaab8b53cea579f
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/bac21fd48fcd7f025c723590e07d1823_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1f70be05e3e48634dafb6e761db80b53764db2ab5ac05e6508608daa3a00ecf8
+size 72016
diff --git a/marked/Rel-11/26_series/26937/c53adc66eab40abd5f8b9107d950ad04_img.jpg b/marked/Rel-11/26_series/26937/c53adc66eab40abd5f8b9107d950ad04_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a9a5f12d27a55a2c40b77415d6a48df3bed75634
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/c53adc66eab40abd5f8b9107d950ad04_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9462e4ada063e18db2684b2395f91ad34ccecccd474750d51aa2852b46ad8560
+size 44207
diff --git a/marked/Rel-11/26_series/26937/ddc7460821484f1ae2835c67955c554c_img.jpg b/marked/Rel-11/26_series/26937/ddc7460821484f1ae2835c67955c554c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..284d670a9b511dbedb12c2c4fcc5df276cfa4c8b
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/ddc7460821484f1ae2835c67955c554c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2ef64664b03b4d1d1707041889b8d04a4f766df83f7b3013923c607b5f2bda63
+size 74847
diff --git a/marked/Rel-11/26_series/26937/e6df2733626a85205c1db682e6259c46_img.jpg b/marked/Rel-11/26_series/26937/e6df2733626a85205c1db682e6259c46_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..02884e1333d6fb608e46cc210d6bdf8101108c79
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/e6df2733626a85205c1db682e6259c46_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:657a71cbab65fc381b4c98f918b5906090d343acb8564efdc2d7e0cb81bd669c
+size 74315
diff --git a/marked/Rel-11/26_series/26937/ebce355620876e10f907f8b71926c112_img.jpg b/marked/Rel-11/26_series/26937/ebce355620876e10f907f8b71926c112_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ffd7ebdf2735d031c6b0da74d1f5dee6358c57c7
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/ebce355620876e10f907f8b71926c112_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ac72039ebe2f1fdd5b66689f5c3bbbd0c229978065011829f409c9502c05cc7a
+size 101528
diff --git a/marked/Rel-11/26_series/26937/ef177a7090c8da3fcd9beb78e78fd68f_img.jpg b/marked/Rel-11/26_series/26937/ef177a7090c8da3fcd9beb78e78fd68f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0781ae6966b733a96fbd086f5ad8103695bcd825
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/ef177a7090c8da3fcd9beb78e78fd68f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ef804f6adb359017efa8c4823c41cd63c4b2c4f7f622a6e18f06414be4b45d9b
+size 123466
diff --git a/marked/Rel-11/26_series/26937/raw.md b/marked/Rel-11/26_series/26937/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..c24f246b898289be430d29fc93a5dfb6c23464db
--- /dev/null
+++ b/marked/Rel-11/26_series/26937/raw.md
@@ -0,0 +1,1286 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|-------------------------------------------------------------------------------------------------------------------------|----|
+| Foreword ..... | 5 |
+| 1 Scope..... | 6 |
+| 2 References..... | 6 |
+| 3 Definitions and abbreviations ..... | 7 |
+| 3.1 Definitions..... | 7 |
+| 3.2 Abbreviations ..... | 7 |
+| 4 Background and motivation..... | 8 |
+| 5 Overview..... | 8 |
+| 6 End-to-end PSS system..... | 8 |
+| 6.1 Multimedia content creation..... | 9 |
+| 6.1.1 CBR vs. VBR encoding for video ..... | 9 |
+| 6.2 Streaming server media transmission..... | 9 |
+| 6.2.1 Transmission of VBR content over constant rate channels..... | 9 |
+| 6.2.2 Transport and Transmission ..... | 10 |
+| 6.2.3 Packet Sizes ..... | 10 |
+| 6.2.4 Adaptation capability..... | 12 |
+| 6.2.5 Clarification of using PSS Video Buffering Verifier in a rate adaptive service environment ..... | 13 |
+| 6.2.5.1 Clarification of terms and concepts ..... | 13 |
+| 6.2.5.2 Clarification of Annex G buffering parameters ..... | 14 |
+| 6.2.5.2.1 What is mandatory?..... | 15 |
+| 6.2.5.2.2 Adaptive transmission curve-reception curve control..... | 15 |
+| 6.2.5.2.3 Why is it important to have a strict conformance point at the sampling curve-transmission curve control?..... | 15 |
+| 6.2.5.3 The resulting constraints and responsibilities..... | 15 |
+| 6.2.5.4 Example scenario relying on 3GPP QoS guarantees ..... | 15 |
+| 6.2a Signalling for rate adaptation in Release 6..... | 16 |
+| 6.2a.1 Implementation of the signalling for rate adaptation..... | 16 |
+| 6.2a.2 Test results over EGPRS ..... | 17 |
+| 6.2a.2.1 Parameters used for the simulation..... | 17 |
+| 6.2a.2.2 Results..... | 18 |
+| 6.3 UMTS QoS profile parameters ..... | 22 |
+| 6.3.1 Guaranteed and maximum bitrate..... | 22 |
+| 6.3.2 SDU error ratio ..... | 22 |
+| 6.3.3 Residual bit error rate ..... | 23 |
+| 6.3.4 Maximum SDU size ..... | 23 |
+| 6.4 Bearer and Layer 2 network protocols options ..... | 23 |
+| 6.4.1 UTRAN streaming bearer implementation options..... | 23 |
+| 6.4.1.1 UTRAN RLC modes ..... | 23 |
+| 6.4.1.2 Implications of RLC mode decision..... | 24 |
+| 6.4.1.3 Examples of bearers for PSS ..... | 24 |
+| 6.4.2 GERAN streaming bearer implementation options..... | 24 |
+| 6.4.2.1 Iu and A/Gb modes ..... | 24 |
+| 6.4.2.2 GERAN RLC modes ..... | 24 |
+| 6.5 Network transport channel mapping ..... | 25 |
+| 6.5.1 Dedicated or shared channel..... | 25 |
+| 6.5.2 Implications of channel mapping decision ..... | 25 |
+| 6.5.3 HSDPA ..... | 26 |
+| 6.5.4 EGPRS / GERAN..... | 26 |
+| 6.6 Core network..... | 26 |
+| 6.7 Streaming client..... | 26 |
+| 7 PSS characterisation..... | 26 |
+| 7.1 Comparison of different rate control strategies for video streaming ..... | 26 |
+| 7.2 Streaming application traffic characteristics ..... | 29 |
+| 7.2.1 Packet size statistics ..... | 31 |
+
+| | | |
+|-----------------|-------------------------------------------------------------------------|-----------|
+| 7.2.2 | Packet Bitrate statistics..... | 33 |
+| 7.3 | UTRAN DCH with RLC Acknowledged Mode ..... | 35 |
+| 7.4 | Use cases for QoS profile settings..... | 37 |
+| 7.4.1 | Voice only AMR streaming QoS profile..... | 38 |
+| 7.4.2 | High quality voice/low quality music AMR-WB streaming QoS profile ..... | 38 |
+| 7.4.3 | Music only AAC streaming QoS profile ..... | 39 |
+| 7.4.4 | Voice and video streaming QoS profile ..... | 39 |
+| 7.4.5 | Voice and video streaming QoS profile for GPRS Rel. '97 ..... | 40 |
+| 7.5 | Robust handover management ..... | 40 |
+| Annex A: | Characterisation metrics and testing guidelines..... | 42 |
+| Annex B: | Change history ..... | 44 |
+
+# --- Foreword
+
+This Technical Report has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The objective of this document is to characterise the 3GPP Packet-switched Streaming Service (PSS). In doing so, the document considers the impacts of the underlying network configurations and how the streaming mechanism itself could be optimised.
+
+The scope of this document includes consideration of (non-exhaustive):
+
+- Trade-off between radio usage efficiency and streaming QoS
+- Feedback of network conditions and adaptation of stream and/or the transmission of the stream
+- Optimal packetisation of the media stream in line with the segmentation within the transport mechanism
+- Error robustness mechanisms (such as retransmission)
+
+Client buffering to ease the QoS requirements on the network and enable more flexibility in how the network transport resources are applied.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TR 41.001: "GSM Release specifications".
+- [2] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [3] 3GPP TS 26.234 (V5.0.0 onwards): "Transparent end-to-end packet switched streaming service (PSS); Protocols and codecs".
+- [4] 3GPP TS 23.107: "QoS Concept and Architecture".
+- [5] IETF RFC 3550: "RTP: A Transport Protocol for Real-Time Applications", Schulzrinne H. et al., July 2003.
+- [6] 3GPP TS 22.233: "Transparent end-to-end packet-switched streaming service. Service aspects (Stage 1)" (Release 5)
+- [7] 3GPP TS 25.322: "RLC protocol specification" (Release 5).
+- [8] V. Varsa, M. Karczewicz, Long Window Rate Control for Video Streaming, Proceedings of the 11th International Packet Video Workshop, 30 April – 1 May, 2001, Kyungju, South Korea.
+- [9] 3GPP TS 34.108: "Common test environments for user equipment (UE). Conformance testing" (Release '99).
+- [10] 3GPP TS 34.108: "Common test environments for user equipment (UE). Conformance testing" (Release 4).
+- [11] 3GPP TS 25.323: "Packet data convergence protocol (PDCP) specification" (Release 5).
+- [12] IETF RFC 3095: "Robust Header Compression (ROHC): framework and four profiles: RTP, UDP, ESP and uncompressed", C. Bormann (Ed.), July 2001.
+
+[13] 3GPP TS 44.064: "Mobile Station – Serving GPRS Support Node (MS-SGSN); Logical Link Control (LLC) layer specification" (Release 5).
+
+# 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in 3G TR 21.905 [2] and the following apply:
+
+**network:** in the context of the RTP usage model network refers to the UMTS bearer service between the entry-point of the UMTS network (i.e. GGSN) and the UE.
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the abbreviations given in 3GPP TR 21.905 [2] and the following apply:
+
+| | |
+|--------|-----------------------------------------|
+| 2G | Second generation |
+| AM | Acknowledged Mode |
+| AMC | Adaptive Modulation and Coding |
+| AMR | Adaptive Multi-Rate codec |
+| AMR-WB | AMR WideBand |
+| ARQ | Automatic Repeat 7ignal |
+| BLER | Block Error Rate |
+| CBR | Constant Bit Rate |
+| CBRP | CBR Packet transmission |
+| CN | Core Network |
+| CS | Circuit Switched |
+| DCH | Dedicated Channel |
+| DL | DownLink |
+| DSCH | Dedicated Shared Channel |
+| DSP | Digital Signal Processing |
+| EDGE | Enhanced Data rates for GSM Evolution |
+| EGPRS | Enhanced GPRS |
+| GERAN | GSM/EDGE RAN |
+| GOB | Group Of Blocks |
+| GPRS | General Packet Radio Service |
+| GSM | Global System for Mobile communications |
+| GTP | GPRS Tunneling Protocol |
+| H-ARQ | Hybrid ARQ |
+| HRD | Hypothetical Reference Decoder |
+| HSDPA | High Speed Downlink Packet Access |
+| HTTP | Hypertext Transfer Transport Protocol |
+| IP | Internet Protocol |
+| IR | Incremental Redundancy |
+| ISDN | Integrated Services Digital Network |
+| L2 | Layer 2 |
+| LAN | Local Area Network |
+| LLC | Logical Link Control |
+| LWRC | Long Window Rate Control |
+| MCS | Modulation and Coding Scheme |
+| MTU | Maximum Transmission Unit |
+| PCU | Packet Control Unit |
+| PDCP | Packet Data Convergence Protocol |
+| PDP | Packet Data Protocol |
+| PDTCH | Packet Data Traffic Channel |
+| PDU | Protocol Data Unit |
+| PS | Packet Switched |
+| PSNR | Peak Signal to Noise Ratio |
+| PSS | Packet-Switched streaming Service |
+| QCIF | Quarter Common Interchange Format |
+| QoS | Quality of Service |
+
+| | |
+|-------|----------------------------------------------|
+| QP | Quantization Parameter |
+| RAB | Radio Access Bearer |
+| RAN | Radio Access Network |
+| RLC | Radio Link Control |
+| RNC | Radio Network Controller |
+| ROHC | Robust Header Compression |
+| RRM | Radio Resource Management |
+| RTCP | RTP Control Protocol |
+| RTP | Real-time Transport Protocol |
+| SDP | Session Description Protocol |
+| SDU | Service Data Unit |
+| SMIL | Synchronized Multimedia Integration Language |
+| SNDPC | Subnetwork Dependent Convergence Protocol |
+| SW | SoftWare |
+| TCP | Transmission Control Protocol |
+| TFRC | TCP Friendly Rate Control |
+| TMN | Test Model Near-term |
+| TTI | Transmission Time Interval |
+| UDP | User Datagram Protocol |
+| UE | User Equipment |
+| UL | UpLink |
+| UTRAN | UMTS Terrestrial RAN |
+| VBR | Variable Bit Rate |
+| VBV | Video Buffering Verifier |
+| VBRP | VBR Packet transmission |
+
+# --- 4 Background and motivation
+
+The characterisation activity consists mainly of showing the expected PSS Release 5 performance in different use cases and network conditions and is expected to reveal any weaknesses and/or optimisation possibilities. The PSS characterisation results should serve as problem definition and requirements, based on which algorithmic enhancements can be defined for possible inclusion in PSS Release 6.
+
+# --- 5 Overview
+
+Void.
+
+# --- 6 End-to-end PSS system
+
+When considering use cases for 3GPP PSS, an end-to-end system and protocol view is taken into consideration. For instance, the following issues are taken into account:
+
+1. Multimedia content creation;
+2. Streaming server media transmission and traffic characteristics;
+3. UMTS QoS profile parameters and their implications;
+4. Bearer and Layer 2 network protocol options (including PDCP and RLC);
+5. Network transport channel mapping (dedicated or shared channels);
+6. Core network;
+7. Streaming client.
+
+The PSS use cases assume the streaming server to be located in the mobile operator's network or connected to the mobile network over the Gi interface where sufficient QoS is available (for example, through the use of over provisioning). The streaming client is located in the mobile User Equipment.
+
+Use cases are formed as a combination of QoS-relevant settings and parameters from the items 1-7 above. The PSS characterisation is meant to give insight into how different streaming server and streaming client algorithms and settings in PSS Release 5 perform in the given use cases.
+
+## 6.1 Multimedia content creation
+
+### 6.1.1 CBR vs. VBR encoding for video
+
+Rate control strategies for video coding can be classified into constant bit rate (CBR) and variable bit rate (VBR).
+
+The main application of CBR rate control is encoding for transmission over constant rate links (e.g. ISDN) under strict end-to-end delay constraints. Conversational multimedia services, such as video telephony (e.g. 3G-324M) typically employs CBR rate control. The low delay constraint of such applications requires the encoder rate control to generate a video bitstream which when transmitted at the constant channel rate can be decoded and displayed at the receiver virtually without any pre-decoder or post-decoder buffering. In this scenario, the frame selection algorithm of the CBR rate control (i.e. which input frames to encode from the source) is directly driven by the bit-allocation decision of the algorithm. The codec rate control has to ensure that the next frame is not taken from the source before all bits of an encoded frame are transmitted at the constant channel rate. Due to the variable rate nature of video compression, bit-allocation can not in general be kept constant through all frames of the video sequence, thus CBR rate control algorithms inherently generate a not constant picture rate video. In the attempt of still trying to maintain as constant picture rate as possible, CBR rate controls try to limit the number of bits, which can be used for compressing each picture in a video sequence, regardless of how “difficult” it is to compress the picture. The final quality of the compressed video stream, therefore, mainly depends on the complexity of the content (e.g. how difficult it is to compress the content). However, different scenes have different coding complexity. For instance, it is easier to encode a news speaker in front of a fixed background than a soccer game. The coding complexity of a scene is determined by the overall amount of motion and also by the level of detail in each particular picture. CBR coding for video works fine, as long as the complexity of the scene is more or less constant as it is the case for head-and-shoulder scenes with little motion. However, CBR coding of arbitrary video sequences containing scenes with varying coding complexity gives a fluctuating quality and varying frame rate, which has a negative impact on the subjective quality.
+
+VBR video rate control strategies can be used if either the low-delay or the constant transmission rate constraint of the application is relaxed. VBR allows video bitrate variation (i.e. the number of bytes decoded per a defined period can vary over different periods of the stream) and the rate control algorithm is therefore less restricted in the bit-allocation and frame selection. VBR video in general can provide more consistent visual quality by restricting less the inherent variable rate nature of video compression. The variation of bit rate can be still controlled to adhere the channel throughput limitations and pre-decoder and post-decoder buffering constraints of the receiver. Examples and comparison of different rate control methods will be given in section 7.
+
+## 6.2 Streaming server media transmission
+
+### 6.2.1 Transmission of VBR content over constant rate channels
+
+Real-time transmission of a variable rate encoded video stream would require a transport channel, which can fulfil at each point in time the streams variable rate demand. However, many typically used Internet access channels are characterized by a certain bottleneck link rate, which cannot be exceeded (e.g. analogue modem speeds, ISDN, and so on). A UMTS WCDMA bearer with strict QoS guarantees is another example for such a bottleneck link. Therefore, rate-smoothing techniques are required which allow streaming of variable rate encoded content at a constant transmission rate [8].
+
+Transmission of variable rate encoded video content over UMTS is explained in Figure 1. The encoder generates variable rate encoded video streams. The transmission rate of the streaming server is adjusted to the available bandwidth on the UMTS streaming bearer, in the example this is a constant rate, which corresponds to the negotiated guaranteed bitrate. Delivery over UMTS introduces a certain delay jitter, which needs to be compensated for at the streaming client in the de-jitter buffer. In addition to delay jitter compensation, the streaming client buffer is to compensate for the accumulated video encoding rate and transmission rate difference (i.e. pre-decoder buffer). The video buffering verifier of [3] is assumed to be followed by the streaming server.
+
+
+
+The diagram shows the transport of a VBR stream over UMTS. On the client side, an **Encoder** produces **Variable rate Encoded content** (shown in a graph of Encoded bytes vs time). This is sent to a **Server**, which **Data sent out at constant rate** (shown in a graph of Transmitted bytes vs time). The data travels through the **UMTS network** and is **Received data with delay jitter** (shown in a graph of Received bytes vs time). It then passes through a **De-jitter buffer** and a **Pre-decoder buffer**. The **Scope of video buffering model (TS 26.234 Annex G)** is indicated between these two buffers. After **delay jitter compensation** (shown in a graph of Received bytes vs time), the data goes to a **Video decoder** and finally to **Presentation**, where it is **Playout** (shown in a graph of Played bytes vs time).
+
+Figure 1: Transport of VBR streams over UMTS. The diagram illustrates the flow of a Variable Bit Rate (VBR) video stream from an encoder to a server, through a UMTS network, and into a client. The client side includes a de-jitter buffer, a pre-decoder buffer, a video decoder, and presentation. Four graphs show the data rate over time: 'Data sent out at constant rate' (a straight line), 'Received data with delay jitter' (a stepped line), 'After delay jitter compensation' (a straight line), and 'Playout' (a stepped line). The 'Scope of video buffering model (TS 26.234 Annex G)' is indicated between the de-jitter and pre-decoder buffers.
+
+**Figure 1: Transport of VBR streams over UMTS**
+
+### 6.2.2 Transport and Transmission
+
+Media streams can be packetized using different strategies. For example, video encoded data could be encapsulated using
+
+- One slice of a target size per RTP packet
+- One GOB (row of macroblocks) per RTP packet
+- One frame per RTP packet.
+
+Speech data could be encapsulated using an arbitrary (but reasonable) number of speech frames per RTP packet, and using bit- or byte alignment, along with options such as interleaving.
+
+Transmission of RTP packets can occur in different fashions. There are at least two possible ways of making transmission:
+
+- VBRP (Variable Bit Rate Packet) transmission: the transmission time of a packet depends solely on the timestamp of the video frame the packet belongs to. Therefore, the video rate variation is directly reflected to the channel.
+- CBRP (Constant Bit Rate Packet) transmission: the delay between sending consecutive packets is continuously adjusted to maintain a near constant rate.
+
+Examples of traffic characteristics for different packetization and transmission techniques are included in section 7.
+
+### 6.2.3 Packet Sizes
+
+While there are no theoretical limitations for the usage of small packet sizes, implementers must be aware of the implications of using too small RTP packets. The usage of such kind of packets would produce three drawbacks:
+
+1. The RTP/UDP/IP packet header overhead becomes too large compared to the media data;
+2. The bandwidth requirement for the bearer allocation increases, for a given media bit rate;
+3. The packet rate increases considerably, producing challenging situations for server, network and mobile client.
+
+As an example, Figure 2 shows a chart with the bandwidth repartition among RTP payload media data and RTP/UDP/IP headers for different RTP payload sizes. The example assumes IPv4. The space occupied by RTP payload headers is
+
+considered to be included in the RTP payload. The smallest RTP payload sizes (14, 32 and 61 bytes) are examples related to minimum payload sizes for AMR at 4.75 kbps, 12.20 kbps and for AMR-WB at 23.85 kbps (1 speech frame per packet). As Figure 2 shows, too small packet sizes ( $\leq 100$ bytes) yield an RTP/UDP/IPv4 header overhead from 29 to 74%. When using large packets ( $\geq 750$ bytes) the header overhead is 3 to 5%.
+
+
+
+| RTP payload size (bytes) | RTP/UDP/IPv4 headers (%) | RTP payload (%) |
+|--------------------------|--------------------------|-----------------|
+| 14 | 74 | 26 |
+| 32 | 55 | 45 |
+| 61 | 40 | 60 |
+| 100 | 30 | 70 |
+| 200 | 17 | 83 |
+| 500 | 7 | 93 |
+| 750 | 5 | 95 |
+| 1000 | 4 | 96 |
+| 1250 | 3 | 97 |
+
+Figure 2: Stacked bar chart showing the repartition of bandwidth between RTP payload and RTP/UDP/IPv4 headers for different packet sizes. As the payload size increases from 14 to 1250 bytes, the header overhead percentage decreases significantly.
+
+**Figure 2. Repartition of bandwidth among RTP payload and RTP/UDP/IP header for different packet sizes**
+
+Implementers should also be aware of the implications of using large packets, and of the opportunity of setting limits for maximum packet sizes generated by PSS servers. In general it must be assumed that the larger the payload sizes the higher is the end-to-end latency for the reception of the packets at the PSS client. In case of usage of non-transparent layer 2 protocols, the retransmission procedure introduces an increasing delay jitter for increasing packet sizes for a given Layer-2 loss rate. This happens because the larger the IP packets, the larger is the number of layer-2 blocks subject to individual loss (if there are $N$ layer-2 blocks, $N > 1$ , there is the chance of need to retransmit 0 to $N$ layer-2 blocks, yielding a variable delay as $N$ gets larger).
+
+Fragmentation is one reason for limiting packet sizes. It is well known that fragmentation causes
+
+- increased bandwidth requirement, due to additional header(s) overhead;
+- increased delay, because of operations of segmentation and re-assembly.
+
+Implementers should consider avoiding/preventing fragmentation at any link of the transmission path from the streaming server to the streaming client, whenever possible and controllable by the PSS server.
+
+Example 1 (IPv4 in the CN):
+
+IPv4 packet size = 1501 bytes
+
+MTU size for IPv4 is the maximum IP packet size before fragmentation = 1500 bytes.
+
+If a PSS server generates packets as above, every packet is split into 2 packets: one 1500 bytes long, and the second 28 bytes long (20 bytes for IPv6 header, and 8 bytes is the minimum fragment size at IP level). So, the transmission of 1501 bytes would require a total of $1500 + 28 = 1528$ bytes, or about 2% more bandwidth requirement, double IP packet rate and a potential increase (up to double) in packet loss rate.
+
+Over the Iu-ps interface 1400 byte will avoid fragmentation. This is a conservative value to accommodate the protocol layer header overheads. The possible overheads over the Iu-ps interface (GTP/UDP/lower-IP) are the following:
+
+GTP main header = 12 bytes
+
+GTP extension header = 4 bytes
+
+UDP header = 8 bytes
+
+IPv4 header = 20 bytes (without optional IPv4 fields), or
+
+IPv6 header = 40 bytes (without optional IPv6 headers).
+
+The maximum headers size is then $12+4+8+40=64$ bytes. The MTU for IPv4 and IPv6 is 1500 bytes. So, the maximum SDU size would be $1500-64=1436$ bytes. 1400 bytes is a safer value.
+
+Over the GERAN Gb interface the default size for LLC data field (=SNDCP frame) is 500 bytes in unacknowledged mode LLC. The LLC data field size can be set to a value up to 1520 bytes through explicit request of the MS as is specified in [3]. SNDCP fragmentation of packets larger than 500 bytes is avoided if the mobile station sets the LLC data field size to an appropriate, larger value. The same service can be supported over the Iu and Gb interfaces if the LLC data field size is set to at least 1404 bytes.
+
+Example 2 (GERAN A/Gb unacknowledged SNDCP with default size of LLC data field):
+
+IP packet size = 497 bytes
+
+Maximum IP packet size before SNDCP fragmentation = 500 (default N201-U field in LLC header) - 4 (SNDCP header) = 496.
+
+If a PSS server generates IP packets as above, every IP packet is split into 2 SNDCP packets: one 500 bytes long, and the second 5 bytes long (4 bytes for SNDCP header and 1 bytes data). So, the transmission of 497 bytes would require $500+5=505$ bytes, or about 1% more bandwidth requirement and double IP packet loss rate. If a 1500 bytes packet needs to be transmitted with the same limitations, it would generate 4 SNDCP packets, and a total of 1516 bytes (1% extra header overhead), and the IP packet loss rate would be increased by a factor of 4.
+
+When ROHC (Robust Header Compression) [12] is not used in the PDCP layer [11], the application header lengths are:
+
+RTP header = 12 bytes
+
+UDP header = 8 bytes
+
+IPv4 header = 20 bytes (without optional IPv4 fields), or
+
+IPv6 header = 40 bytes (without optional IPv6 headers).
+
+The maximum RTP payload size is then $1400-12-8-40=1340$ bytes (including payload headers) for IPv6, and $1400-12-8-20=1360$ bytes (including payload headers) for IPv4. This figure is valid for both the Iu and the Gb interface (see note about Gb above).
+
+### 6.2.4 Adaptation capability
+
+PSS servers can have different levels of adaptability to varying network conditions. A simple classification could be made:
+
+- **Simple transmission of a single pre-encoded bitstream:** The server can only send a pre-encoded bitstream at its designated target bit rate. The server does not react upon and rely on any feedback from the streaming client.
+- **Adaptive transmission of pre-encoded bitstreams (advanced adaptation capability):** The server can adjust the transmission rate according to feedback from the streaming client. The server can also change other application traffic characteristics, such as changing the packet size or perform stream switching, according to the characteristics of the network.
+
+### 6.2.5 Clarification of using PSS Video Buffering Verifier in a rate adaptive service environment
+
+This section is meant to establish a better understanding of how the PSS Rel-5 [3] Video Buffering Verifier (Annex G) can be used in practice as a vehicle to provide functional interoperability between clients and servers in a rate adaptive service environment.
+
+#### 6.2.5.1 Clarification of terms and concepts
+
+In the following discussions bitrate control will be described with reference to the bitrate evolution plots (i.e. sampling curve, transmission curve, reception curve, playout curve), and the term “curve control” will be used in place of rate control.
+
+Figure 3A indicates the points where the different curves can be observed in a simplified streaming model.
+
+
+
+The diagram illustrates a simplified streaming model with the following components and curves:
+
+- Application Server**: Receives data from a **File** via an **Encoder**. It generates the **Transmitter curve** as data is sent to the **Mobile network**.
+- Mobile network**: Contains a **Buffer in the network (e.g. at SGSN or RNC)**. It receives data from the Application Server and sends it to the **Client**. The **Receiver curve** is observed here.
+- Client**: Contains a **Client buffer**. It receives data from the Mobile network and sends it to the **Application**. The **Playout curve** is observed here.
+- Sampling curve**: Indicated between the **File** and the **Encoder**. A note states: "The sampling curve is decided by the application server at streaming-time and not completely pre-determined by the encoder. Example is bitstream switching or any other content dropping from the bitstream before transmission (i.e. thinning)".
+
+Figure 3A: Illustration of the curves in a simplified streaming model. The diagram shows a flow from an Application Server to a Mobile network (containing a Buffer) to a Client (containing a Client buffer) to an Application. Curves are indicated at various points: Sampling curve (between File and Encoder), Transmitter curve (between Application Server and Mobile network), Receiver curve (between Mobile network and Client), and Playout curve (between Client and Application). A note explains that the sampling curve is decided by the application server at streaming-time.
+
+**Figure 3A: Illustration of the curves in a simplified streaming model**
+
+Figure 3B shows an example bitrate evolution plot. The horizontal axis in the graphs denotes time in seconds; the vertical axis denotes cumulative amount of data in bits. The playout curve shows the cumulative amount of data that the decoder has processed by a given time from the receiver buffer. The sampling curve indicates the progress of data generation if the media encoder was run real-time (it is the counterpart of the playout curve, and is actually a time shifted version of it). The transmission curve shows the cumulative amount of data sent out by the server at a given time. The reception curve shows the cumulative amount of data received and placed into the client buffer at a given time.
+
+The distance between two curves at a given time shows the amount of data between two observation points in the streaming system. For example the distance between the transmission and reception curves corresponds to the amount of data in the network buffer and the distance between the reception and playout curves corresponds to the amount of data in the client buffer. See these examples marked in Figure 3B.
+
+The curve control will be constrained by some limits on the distance between two curves (e.g. max amount of data, or max delay).
+
+
+
+Figure 3B: Example bitrate evolution plot. The graph shows Cumulative data (bits) on the Y-axis (0 to 2,000,000) versus Time (sec) on the X-axis (0 to 40). Four curves are plotted: Sampling curve (magenta), Transmitter curve (dark blue), Receiver curve (yellow), and Playout curve (cyan). The Transmitter and Receiver curves are nearly identical, starting at 0 bits at 0 seconds and rising to approximately 1,900,000 bits at 40 seconds. The Sampling curve follows the Transmitter curve but is shifted left, starting at approximately 0 bits at 5 seconds and rising to approximately 1,600,000 bits at 40 seconds. The Playout curve starts at 0 bits at 0 seconds and rises to approximately 1,500,000 bits at 40 seconds. Two callouts with arrows point to the graph: 'Amount of data in network buffer' points to the vertical gap between the Transmitter and Receiver curves at approximately 18 seconds, and 'Amount of data in client buffer' points to the vertical gap between the Sampling and Playout curves at approximately 25 seconds.
+
+**Figure 3B: Example bitrate evolution plot**
+
+Term definitions:
+
+1. Pre-decoder buffer = reception curve-playout curve
+
+“Pre-decoder buffer” refers to the actual pre-decoder buffer at streaming time. “Hypothetical pre-decoder buffer” refers to the pre-decoder buffer as assumed in the hypothetical buffering model. “Pre-decoder buffer size” and “initial pre-decoder buffering period” are parameters of the hypothetical pre-decoder buffer.
+
+In the hypothetical buffering model, zero delay network and a playout curve exactly following the buffering model (i.e. synchronised) is assumed.
+
+Zero delay network means that the reception curve is assumed to equal the transmission curve.
+
+Playout curve exactly following the buffering model means that the sampling curve is assumed to be equal to the playout curve but shifted left by initial pre-decoder buffering period.
+
+The hypothetical pre-decoder buffer can be traced at streaming time as the difference between the sampling curve-transmission curve. Thus a server controlling the sampling curve-transmission curve effectively controls the hypothetical pre-decoder buffer.
+
+2. Jitter buffering
+
+The extra pre-decoder buffering required in an actual client, which is to tolerate for packet transfer delay variation (i.e. the maximum expected difference between transmission curve-reception curve).
+
+PSS client implementations may not include a separate jitter buffer, but jitter buffering is only a function performed by the pre-decoder buffer.
+
+#### 6.2.5.2 Clarification of Annex G buffering parameters
+
+If there is no bitstream switching or other rate adaptation action foreseen, the hypothetical pre-decoder buffer parameters are actually inherent to the bitstream and its transmission schedule (i.e. when each packet is to be sent). These parameters can simply be calculated from the bitstream or were actually used as constraints already at encoding time. It is easy to see how the Annex G video buffering model replaces the MPEG-4 VBV and H.263 HRD in this case.
+
+In case there is bitstream switching or other rate adaptation action foreseen, the server signalled pre-decoder buffer parameters are to be interpreted as the limits to what the server will constrain its difference between the sampling curve and transmission curve during the session. In practice the same pre-decoder buffering model can be followed in a rate adaptation service model, but with a different interpretation of how the server can comply to it.
+
+##### 6.2.5.2.1 What is mandatory?
+
+Whenever the server signals initial pre-decoder buffering period and pre-decoder buffer size parameters the difference between the sampling and transmission curve has to fit into the buffer defined with these parameters (i.e. there is no violation).
+
+This is true regardless whether a predetermined transmission schedule or adapted transmission schedule is used. The rate adaptation must be transparent to this requirement.
+
+##### 6.2.5.2.2 Adaptive transmission curve-reception curve control
+
+In addition to the mandatory sampling curve-transmission curve control, the server attempts transmission curve-reception curve control in order to limit the packet transfer delays (i.e. limit the jitter buffering required at the client).
+
+The variable bitrate over time on the transmission path, and thus variable packet transfer delays, creates the need for transmission curve adaptation.
+
+Unknown future packet transfer delays make it hard for the server to control the transmission curve-reception curve difference.
+
+##### 6.2.5.2.3 Why is it important to have a strict conformance point at the sampling curve-transmission curve control?
+
+The same arguments apply as for the normative definition of MPEG-4 VBV and H.263 HRD -> bitstream/server conformance validation.
+
+The pre-decoder buffer can be implemented at the client as a “static” decoder buffering algorithm that is designed to be conformant to MPEG-4 VBV and is built into the codec (e.g. a DSP SW codec or hardware codec). Such application independent codec conformance implementation is a way to maintain modularity and ensure interoperability between different application modules.
+
+The sampling curve-transmission curve control algorithm can work independently of the transmission curve-reception curve control algorithm, thus it can be implemented on top of any “standard” congestion control algorithm (i.e. transmission curve-reception curve control) such as the IETF defined TCP Friendly Rate Control (TFRC).
+
+#### 6.2.5.3 The resulting constraints and responsibilities
+
+By placing only sampling curve-transmission curve control requirements on the server, any parameter that is not controllable directly by the server is excluded. There is no uncertain or estimated parameter used in this curve control.
+
+There is no indication of preference about the transmission curve-reception curve control in either the server to client or client to server direction. It is completely up to the server to manage it and up to the client to adapt its jitter buffering to the resulting reception curve.
+
+Thus, in practice to ensure stability and minimal functional interoperability, the server will probably take a conservative approach, and try to minimise the transmission curve-reception curve difference at all times (i.e. reception curve = transmission curve).
+
+#### 6.2.5.4 Example scenario relying on 3GPP QoS guarantees
+
+A streaming session setup scenario comprising the following steps is an example of how the different buffering and rate control related parameters can be interpreted and applied in a rate adaptive service environment.
+
+1. Offline encoding of a set of bitstreams at different bitrates. The bitrate range should be around the highest bitrate allowed by the codec level in use in PSS, but should also include lower and higher bitrate streams. Each of which bitstreams together with its transmission schedule is conformant to the hypothetical pre-decoder buffering model with the default parameters (or close to it).
+2. Client sends to the server in the capability exchange process a pre-decoder buffer size parameter which is close to its maximum pre-decoder buffer size.
+3. Using the given bitstream set (i.e. I-frame placement and stream bitrate) and assuming a given worst case transmission rate adaptation sequence (assuming a pre-defined transmission curve-reception curve control strategy and worst case reception rate variation), server estimates whether it can guarantee without significant quality loss a maximum sampling curve-transmission curve difference smaller than or equal to the client
+
+signalled parameters. It can also decide to not commit to the client signalled parameters, but require higher values than that. This algorithm also outputs a safe recommended initial pre-decoder buffering period to be applied for the bitstream set.
+
+4. Server sends an SDP using the average bitrate stream bitrate and the pre-decoder buffer parameters (i.e. max difference between the sampling and the transmission curve) that it attempts to guarantee.
+5. Client requests a streaming RAB with QoS parameters similar to those in Annex J of TS26.234 [3].
+6. Client analyses the granted QoS parameters by the network and decides how much jitter buffering there needs to be. In case of strict QoS scheduling on the network, the maximum expected time difference between transmission curve and reception curve is in fact the granted “transfer delay” QoS parameter.
+7. Client decides whether it can accept the server signalled parameters (i.e. whether the sum of the server signalled pre-decoder buffer size and buffer size required for jitter buffering exceeds some hard limit of the client pre-decoder buffer size). It can decide not to continue with the session setup if it can not provide the required pre-decoder buffer, and can release the streaming bearer.
+8. Client sets up a total pre-decoder buffer size as the sum of server signalled pre-decoder buffer size (i.e. maximum sampling curve-transmission curve difference) and estimated maximum transmission curve-reception curve difference.
+9. Client sends a SETUP request and waits for the OK from the server.
+10. The client sends a PLAY request, the server responds OK and starts streaming.
+11. Client pre-rolls into the pre-decoder buffer for a time which is the sum of initial pre-decoder buffering period and the maximum transfer delay.
+12. The server will operate the sampling curve-transmission curve control with the parameters that it signalled.
+13. The server will be responsible to explore the max transfer delay limit of the network, and operate its transmission curve-reception curve control to avoid packet drops by the network due to enforcing of the max transfer delay.
+
+## 6.2a Signalling for rate adaptation in Release 6
+
+### 6.2a.1 Implementation of the signalling for rate adaptation
+
+This section gives implementation guidelines of the signalling for rate adaptation. The goals for a rate adaptation implementation should be:
+
+- Optimising the throughput through the network, i.e. avoid buffer underflow or overflow of the network buffers.
+- Pauseless playback at the PSS client, i.e. avoid buffer underflow or overflow of the client buffers.
+- Optimising the “quality”, i.e. transmit with the best content rate possible.
+- Limiting the delays at the receiver and in particular avoid as much as possible the need for rebuffering.
+
+In order to describe the implementation, we make the distinction between transmission rate and content rate. At any point of time, the transmission rate is “how much” is sent on the network. On the other hand, the content rate is “what” is sent on the network. Transmission rate control and content rate control are what regulate the behaviour of the server. When RTCP reports are received, the sender may adapt its current transmission and content rates based on the feedback.
+
+The transmission rate control is based on the statistics available in the RTCP Receiver Report (RR). Through the statistics, the sender is able to estimate the network throughput and react accordingly.
+
+There are many tools one may use to perform content rate adaptation. They generally fall into two categories: bitstream switching and bitstream thinning (the two of them can be combined.) There can be many variants such as the number of bitstreams used, the types of frames used for switching, whether packets can be skipped, etc...
+
+For validation purposes, the implementation described here uses a simple bitstream-switching scheme. The sender may take the decision to switch between bitstreams at I frames.
+
+The server keeps track of the receiver buffer status through the OBSN reports. The sender uses this information to avoid underflow and overflow of the receiver buffer. The OBSN reports allows the sender to know how much playout time the receiver currently has (underflow condition) and how many bytes are in the buffer (overflow condition).
+
+The server keeps in memory the following information about the packets it sends: sequence number, timestamp and size. The sender can delete this information after a packet has been played by the receiver (i.e. when it is not in the receiver buffer anymore).
+
+In order to avoid buffer overflow, the server can estimate through the OBSN how many bytes are currently waiting for playout at the receiver. By comparing this value to the total buffer size signalled in the RTSP at the start of the session, it can derive if the receiver is close to overflow and should thus decrease its transmission rate. As explained above, the sender chooses its transmission rate in order to maximise the network throughput and to guarantee a pauseless playback to the PSS client. However, if the sender gets closer to the receiver overflow point, it will send at a lower rate than the optimum rate supported by the network in order to avoid the overflow.
+
+In order to avoid underflow, the sender monitors the current receiver buffer delay. This can be estimated through the OBSN APP packet since the APP packet contains information about the next packet to be played out (OBSN field) and the delay until this packet will be played out.
+
+The basic idea for receiver underflow prevention is simple. If the buffer level in time decreases, the sender switches down to a lower content rate. Decreasing the content rate allows the sender to send packets earlier and increase the receiver buffer level again. Throughput variations because of varying network conditions (in particular handover) and network load can be significant. To this end, the sender aims at maintaining at least the target buffer level (in time).
+
+### 6.2a.2 Test results over EGPRS
+
+#### 6.2a.2.1 Parameters used for the simulation
+
+Client: initial buffering of 8 seconds
+
+Content: NASA video clip, duration 3 minutes (180 seconds). Pre-encoded at 3 different bitrates 20kbps, 35kbps and 50 kbps. The packet size is 300 bytes (excluding RTP/UDP/IP headers).
+
+Server switching mechanism: upswitch or downswitch only on I-frames.
+
+Rate adaptation parameters:
+
+- Buffer size: 115000 bytes
+- Target buffer level: 12 seconds
+- RTCP interval: 1 second
+
+Network: EGPRS (emulator)
+
+- Two timeslots (MCS-7 coding scheme) are used with RLC ACK mode.. The network load is divided into real-time traffic and non real-time traffic. In addition to the RTP application (real-time), there are two other mobiles with ON/OFF TCP traffic (non real-time) emulating the load that would occur because of Web Browsing.
+- The theoretical maximum channel bitrate at the radio layer when using two MCS-7 timeslots is 89.6 kbps, but because of protocol header overhead and RLC layer retransmission, the real available throughput is less.
+
+Therefore, the RTP traffic will experience variations in bitrate because of both:
+
+- Network conditions (and handovers)
+- Varying network load
+
+#### 6.2a.2.2 Results
+
+The following plot shows the bitrate received by the receiver over time (averaged over 5-second intervals) and the adapted transmission bitrate. It can be seen that the transmission rate (blue curve) is adapted to the reception rate (red curve) through estimation of the network throughput.
+
+There were three handovers during the run:
+
+- At time 19.8 s that lasted for 2.2s
+- At time 101.6s that lasted for 4.0 s
+- At time 116.8 that lasted for 1.8s
+
+Start of the handover periods are marked with vertical lines on the plot.
+
+As a result of these handovers, the average bitrates were very low at these times.
+
+The plot also shows the content bitrate, i.e. the bitstream (20kbps, 35kbps or 50kbps) selected by the server at a given time instant.
+
+
+
+The figure is a line plot titled "Bandwidth (5s average)". The y-axis is labeled "rate (kbps)" and ranges from 0 to 70. The x-axis is labeled "time (s)" and ranges from 0 to 180. The plot contains three data series: "RX bw" (red line), "TX bw" (blue line), and "Bitstream" (green line). The "Bitstream" series is a step function that changes between 20, 35, and 50 kbps. The "RX bw" and "TX bw" series are highly variable, with peaks around 60-65 kbps and troughs around 10-20 kbps. Three vertical dashed lines are marked with "HO" (handover) at approximately 19.8s, 101.6s, and 116.8s. During these handover periods, both RX and TX bandwidths drop significantly, with TX bw reaching near 0 kbps at 101.6s.
+
+Bandwidth (5s average) plot showing RX bw, TX bw, and Bitstream over time (s).
+
+The average content rate during the session is 40 kbps.
+
+The buffer duration is shown in the figure below.
+
+
+
+The figure is a line graph titled "Buffer Duration". The y-axis is labeled "buffer duration (s)" and ranges from 0 to 20 in increments of 2. The x-axis is labeled "time (s)" and ranges from 0 to 180 in increments of 20. A blue line represents the "buffer level". The buffer duration starts at 0s, rises to a peak of approximately 11s at 20s, then fluctuates between 8s and 11s until 100s. At 100s, there is a sharp drop to about 8s, followed by a rise to a peak of approximately 17s at 110s. Another sharp drop occurs at 120s, reaching about 7s, followed by a rise to a peak of approximately 17s at 140s. The buffer duration then fluctuates between 14s and 17s until 180s. Three vertical dashed lines at approximately 20s, 100s, and 120s are labeled "HO" (Handover). A legend in the top right corner identifies the blue line as "buffer level".
+
+Line graph titled 'Buffer Duration' showing buffer duration (s) over time (s). The y-axis ranges from 0 to 20 seconds, and the x-axis ranges from 0 to 180 seconds. A blue line represents the 'buffer level'. The buffer duration starts at 0s, rises to a peak of approximately 11s at 20s, then fluctuates between 8s and 11s until 100s. At 100s, there is a sharp drop to about 8s, followed by a rise to a peak of approximately 17s at 110s. Another sharp drop occurs at 120s, reaching about 7s, followed by a rise to a peak of approximately 17s at 140s. The buffer duration then fluctuates between 14s and 17s until 180s. Three vertical dashed lines at approximately 20s, 100s, and 120s are labeled 'HO' (Handover). A legend in the top right corner identifies the blue line as 'buffer level'.
+
+The target buffer level is 12s and is the minimum protection against throughput variation that the sender aims at providing. When the network conditions are good and the sender maximises the throughput available from the network, the buffer duration will be higher than the target level.
+
+The buffer level in bytes is shown in the figure below.
+
+
+
+The figure is a line graph titled "Buffer level (bytes)". The y-axis is labeled "Number of bytes" and ranges from 0 to 120,000 in increments of 20,000. The x-axis is labeled "time (s)" and ranges from 0 to 180 in increments of 20. A blue line represents the "buffer level". The line starts at 0 bytes at 0 seconds, rises to a peak of approximately 55,000 bytes at 20 seconds, then drops to about 35,000 bytes at 30 seconds. It rises again to a peak of about 65,000 bytes at 45 seconds, then drops to about 45,000 bytes at 60 seconds. It rises to a peak of about 80,000 bytes at 90 seconds, then drops to about 60,000 bytes at 100 seconds. It rises to a peak of about 105,000 bytes at 115 seconds, then drops to about 30,000 bytes at 130 seconds. It rises to a peak of about 100,000 bytes at 150 seconds, then drops to about 50,000 bytes at 180 seconds. Three vertical dashed lines are marked with "HO" at approximately 20, 100, and 115 seconds.
+
+| time (s) | buffer level (bytes) |
+|----------|----------------------|
+| 0 | 0 |
+| 20 | 55000 |
+| 30 | 35000 |
+| 45 | 65000 |
+| 60 | 45000 |
+| 90 | 80000 |
+| 100 | 60000 |
+| 115 | 105000 |
+| 130 | 30000 |
+| 150 | 100000 |
+| 180 | 50000 |
+
+Line graph titled 'Buffer level (bytes)' showing buffer level over time (s) with HO markers.
+
+Despite high bandwidth variations, the sender is capable through the signalling for rate adaptation to control the receiver buffer level and thus provides a better end-user experience.
+
+As a reference for comparison, it is given below some plots for a server that would not implement the rate adaptation and that would send at a constant bitrate (50kbps).
+
+Since the simulation environment is dynamic, the simulated throughput is different. However, it has similar characteristics as in the previous simulation.
+
+The bandwidth plot is shown below:
+
+
+
+The figure is a line graph titled "bandwidth (5s average)". The Y-axis is labeled "rate (kbps)" and ranges from 0 to 70 in increments of 10. The X-axis is labeled "time (s)" and ranges from 0 to 180 in increments of 20. There are two data series: "RX bandwidth" represented by a red line and "TX bandwidth" represented by a green horizontal line at 50 kbps. The RX bandwidth fluctuates around 50 kbps, with three significant dips labeled "HO" (handover) at approximately 88.3s, 135s, and 152s. The first dip reaches about 15 kbps, the second about 25 kbps, and the third about 20 kbps.
+
+| Time (s) | RX Bandwidth (kbps) | TX Bandwidth (kbps) |
+|----------|---------------------|---------------------|
+| 0 | ~50 | 50 |
+| 20 | ~50 | 50 |
+| 40 | ~50 | 50 |
+| 60 | ~50 | 50 |
+| 80 | ~50 | 50 |
+| 88.3 | ~15 | 50 |
+| 100 | ~50 | 50 |
+| 120 | ~50 | 50 |
+| 135 | ~25 | 50 |
+| 152 | ~20 | 50 |
+| 160 | ~50 | 50 |
+| 180 | ~50 | 50 |
+
+Line graph titled 'bandwidth (5s average)' showing RX and TX bandwidth over time. The Y-axis is 'rate (kbps)' from 0 to 70. The X-axis is 'time (s)' from 0 to 180. A red line represents RX bandwidth, fluctuating around 50 kbps with three sharp dips labeled 'HO' at approximately 88s, 135s, and 152s. A horizontal green line represents TX bandwidth at a constant 50 kbps.
+
+There were 3 handovers
+
+- The first one at time 88.3s that lasted for 3.6s
+- The second one at time 135s that lasted for 2.2s
+- The third one at time 152 that lasted for 2.6 seconds
+
+The buffer level plot is shown below. Because of the network load and handovers, the initial receiver buffer level decreases during the connection. When it underflows, the client needs to rebuffer which leads to interruption of playback.
+
+
+
+A line graph titled 'buffer duration' showing 'buffer level' in seconds over time in seconds. The y-axis ranges from 0 to 10 seconds, and the x-axis ranges from 0 to 180 seconds. The graph shows a highly volatile line representing the buffer level. It starts at 0, rises to about 8.5s by 10s, and fluctuates between 6s and 9s until 85s. At 85s, a vertical dashed line labeled 'HO' (Handover) occurs, and the buffer level drops sharply to near 0s. It then rises to about 8.5s by 110s. Another 'HO' line at 140s causes a drop to about 4s. A third 'HO' line at 155s causes another drop to near 0s. After 160s, the buffer level rises back to around 8s and continues to fluctuate until 180s. A legend in the bottom right corner shows a blue line segment next to the text 'buffer level'.
+
+## 6.3 UMTS QoS profile parameters
+
+The UMTS QoS profile [4] is used as the interface for negotiating the application and network QoS parameters. In the following some PSS application specific interpretation of the QoS profile parameters is given. The shown PSS performance in the use cases should be achievable when the only knowledge available about the streaming bearer before starting the streaming session is the knowledge extracted through the following interpretation of the QoS parameters.
+
+### 6.3.1 Guaranteed and maximum bitrate
+
+The guaranteed bitrate can be understood as the throughput that the network tries to guarantee.
+
+The maximum bitrate is used for policing in the core network (i.e. at the GGSN). Policing function enforces the traffic of the PDP contexts to be compliant with the negotiated resources. If downlink traffic for a single PDP context exceeds the agreed maximum bit rate, user IP packets are discarded to maintain traffic within allowed limits. IP packets could additionally be discarded at any bit rate between the guaranteed and the maximum, when enough resources are not available for the PDP context.
+
+In case of a streaming application, it is possible to shape the excessive traffic and queue those packets exceeding the guaranteed bitrate since the application buffer relaxes the delay requirements. This queuing consists of scheduling packets from a connection up to the maximum throughput and the rest of the packets remain in the corresponding queue.
+
+### 6.3.2 SDU error ratio
+
+This is the target average SDU error ratio that the network attempts to keep all the time. In some instants this error ratio could be higher than the average target, but an upper bound cannot be defined. The SDU error ratio is computed above the RLC layer.
+
+### 6.3.3 Residual bit error rate
+
+This is the target average residual bit error rate that the network attempts to keep all the time. In some instants this error ratio could be higher than the average target, but an upper bound cannot be defined.
+
+### 6.3.4 Maximum SDU size
+
+To guarantee a given SDU error ratio, the larger the SDU size, the smaller RLC BLER the radio interface has to provide, which means that the reliability requirements for the radio link are more stringent. Maximum SDU size should be commonly considered with the required SDU error ratio. From the network viewpoint, smaller SDUs allow easier compliance to reliability requirements by relaxing the radio link adaptation. The application should always be conservative when specifying a maximum SDU size, and set the maximum SDU size parameter to be larger than the maximum expected RTP packet size (plus UDP/IP overhead) (see section 6.2.3). 1400 bytes for the maximum SDU size is a safe value.
+
+## 6.4 Bearer and Layer 2 network protocols options
+
+### 6.4.1 UTRAN streaming bearer implementation options
+
+The most critical quality of service limitations in the UMTS network are at the RAN. The details and dynamics of the physical layer is not discussed, only layer-2 and higher implementation options. The listed options for streaming bearer implementation are not meant to be exhaustive, but only meant to show that alternatives for the implementation exist. The network model is constructed based on these mentioned alternatives. In an implementation other not mentioned options and algorithms might be used. The streaming service should actually work independently from the bearer implementation details, as stated in the PSS service requirements [6]. In the following, RLC SDU means a packet in input to the RLC transmitting entity and in output from the RLC receiving entity. RLC PDU means a packet in output from the RLC transmitting entity and in input to the RLC receiving entity. These definitions are given according to [7].
+
+#### 6.4.1.1 UTRAN RLC modes
+
+There are three different traffic handling modes in UTRAN radio link layer (i.e. RLC) for transporting user-plane data: Transparent Mode, Unacknowledged Mode and Acknowledged Mode.
+
+The transparent mode passes RLC SDUs without additional header information through. No SDU concatenation or padding is possible. The transparent mode is primarily targeted to be used with circuit switched bearers. In a packet switched bearer, transparent mode is useful if the RLC SDU size is adapted to the RLC PDU size. In a general video (and some audio) stream, size of packets will vary and it can not always be an integer multiple of the size of an RLC-PDU. Therefore the transparent mode is not recommended to be used with the streaming traffic class.
+
+The unacknowledged mode introduces a more flexible RLC SDU mapping to RLC PDUs, and thereby makes it suitable for general packet based traffic.
+
+Transparent and unacknowledged mode L2 bearers normally carry delay sensitive traffic, as there is no delay introduced for error detection and correction.
+
+The acknowledged mode provides error correction by applying re-transmission for erroneously received RLC blocks. As the acknowledged mode provides in-order delivery of SDUs, enabling the retransmission scheme results in added delay for SDUs whose RLC blocks are being re-transmitted. This appears as SDU delay jitter at the receiver.
+
+The retransmission is not guaranteed to provide full reliability. Any yet unacknowledged RLC block may be discarded from a sender retransmission buffer (i.e. the retransmission attempts for that block stopped) if one of the following occurs: timer expiration, maximum number of retransmission attempts reached or sender retransmission buffer overflow.
+
+This means, that RLC acknowledged mode can be flexibly configured to trade off the required reliability and maximum delay allowed in the RLC layer.
+
+#### 6.4.1.2 Implications of RLC mode decision
+
+A PSS application can tolerate startup delays of multiple seconds (e.g. 2-4 seconds), thus can implement long delay jitter buffers. This implies that PSS applications are not overly sensitive to network delay jitter. In addition to that, streaming applications, particularly video, are much more sensitive to packet loss than delay jitter. It gives a worse viewing experience to see some video picture data missing, than having some video picture displayed late.
+
+Therefore, despite the high delay jitter introduced by using RLC acknowledged mode (AM), it is possible to use RLC retransmission for correcting damaged RLC blocks instead of reflecting directly the RLC loss up to the application.
+
+Typically the radio link is adapted in UTRAN by transmission power (in GERAN by selection of coding schemes). Instead of relying on high transmission power (or protective coding scheme) in order to achieve a given SDU error ratio as requested by a given QoS profile, RLC re-transmissions can be used. It makes the implementation of the streaming bearer in the network cheaper at the expense of possibly introducing higher delay jitter.
+
+#### 6.4.1.3 Examples of bearers for PSS
+
+Bearers for PSS should take into account two types of traffic:
+
+- RTSP traffic for session control
+- HTTP/TCP traffic for SMIL presentations and still images, bitmap graphics, vector graphics, text, timed text, and synthetic audio
+- RTP and RTCP media and control traffic.
+
+RTSP and HTTP traffic would need for example an interactive bearer at 8/16/32 kbps for downlink and uplink. RTP and RTCP traffic would be, for example, carried over bearers of 16/32/64/128 kbps in downlink and 8/16 kbps in uplink.
+
+Further information about the possible bearers for PSS is available in [9] [10].
+
+### 6.4.2 GERAN streaming bearer implementation options
+
+#### 6.4.2.1 Iu and A/Gb modes
+
+In GERAN the GSM/GPRS/EDGE radio technology is utilised. The GERAN is, from Release 97 and onwards, connected via the Gb interface to the 2G PS CN. From Release 5 and onwards GERAN also supports the Iu interface to the 3G PS and CS CN. Mobile stations using the Gb interface are said to operate in A/Gb mode and mobile stations using the Iu interface operate in Iu mode.
+
+In A/Gb mode the SNDCP/LLC protocols are used in the 2G-SGSN. SNDCP and LLC protocols provide unacknowledged and acknowledged services.
+
+In Iu mode the PDCP protocol located in the RAN is used. The PDCP protocol in GERAN Iu mode is exactly the same as PDCP in UTRAN.
+
+Both Iu mode and A/Gb mode use an RLC/MAC protocol located in the RAN. The RLC/MAC protocol of GERAN Iu is built using the RLC/MAC protocol of A/Gb mode and includes enhancements to support all UMTS traffic classes.
+
+#### 6.4.2.2 GERAN RLC modes
+
+The GERAN RLC unacknowledged and acknowledged modes are in their operations similar to their UTRAN counterparts. In GERAN L2 retransmission can use Incremental Redundancy (IR). IR refers to a hybrid ARQ scheme, where different channel coding can be used for repeated copies of the same data block, thus enabling combining of the channel decoded original and retransmitted block, which enhances the spectral efficiency of retransmissions.
+
+There is also a difference in how delay bounds are enforced in the scheduler queue. In GERAN, once an RLC block has been transmitted (but not yet acknowledged in RLC acknowledged mode), it can not be discarded from the queue any more. This means that there is no way to limit the number of retransmission attempts and the RLC-acknowledged mode will always be full-persistent. The “RLC Discard” mechanism is used instead for scheduler queue length management, and to enforce application requested delay bounds for packets. The mechanism discards packets that have exceeded some max time limit for staying in the scheduler queue. The RLC Discard timer has to be tuned to work well with the receiver buffering delays and the scheduler queue thresholds assumed by the rate adaptation scheme in the streaming system.
+
+## 6.5 Network transport channel mapping
+
+### 6.5.1 Dedicated or shared channel
+
+In UTRAN several schemes may be considered for channel allocation for streaming traffic class connection (downlink): dedicated channel (only streaming packets are sent through a reserved pipe), shared channel with other non-real time application packets (from the same user or not) or shared channel with other real time packet flows.
+
+One of the latter two cases (i.e. when radio resources are shared among different flows) could be chosen by the RRM for the sake of better network resource utilisation, fairness, statistical multiplexing gain or some other reasons.
+
+When mapping a streaming traffic class RAB to a radio bearer in UTRAN, the following applicable bearer services (transport channels) can be identified:
+
+- DCH (Dedicated Channel) is an up- and downlink channel and is the main transport channel for packet data. DCH is dedicated to one flow and can be used for fairly constant bitrate packet traffic.
+- DSCH (Downlink Shared Channel) is a common channel that can be shared among multiple users and multiple flows. DSCH downlink channel is particularly efficient for bursty Non Real Time packet traffic. It is good for asymmetric services, where downlink is the main transmission direction.
+
+It should be noted that the support of DSCH is optional to terminals, therefore there must always be an alternative way to use only DCH, even though the DSCH would be the preferred option.
+
+### 6.5.2 Implications of channel mapping decision
+
+If a streaming source generates less traffic than its allocated bearer was set-up for, or generates a variable rate traffic, other services could use the unused resources. In this case a shared channel (DSCH) could be used. It is, however, difficult to guarantee QoS to each individual flow competing for the same shared resource. On the other hand, the network wants to make sure, that if a dedicated fixed-rate channel is allocated (DCH) the resource is utilised efficiently by the streaming application. These are the factors driving the choice of transport channel to be used for streaming.
+
+It can be assumed that the effective radio throughput on average will be the same throughout the session independently of the transport channel chosen. Thus the application can assume, that it can transmit at this average radio throughput rate, and the variation of the available radio rate will be hidden behind a large enough scheduler buffer. Similarly, this buffering can also smooth out any temporal variation of the transmission rate around the average rate. Application rate adaptation is necessary when, for any reason this assumption proves not to be valid (e.g. due to different time window sizes used at the network and the application over what the rate is averaged).
+
+The flow mapping decision puts different requirements on the rate adaptation algorithm required. Depending on the expected channel rate variation, a streaming application should be prepared to apply different rate measurement and rate adaptation schemes. Depending on the rate variation model, for example, rate measurements might be interpreted differently. A model of available rate variation in the network, can be built based on the understanding how a streaming bearer with different maximum and guaranteed bitrate QoS parameters is implemented in the network (e.g. mapped to what transport channel).
+
+When a dedicated channel (DCH) with a given bitrate is allocated for the downlink flow, no available rate variation on the air interface is expected. However, if RLC re-transmission is used the rate variation due to retransmission can not always be neglected. The radio channel allocation is usually such, that the expected L2 throughput after re-transmission should reach the guaranteed bit rate.
+
+When streaming is implemented over a shared channel (DSCH), the available bitrate for a single flow varies over time according to some pattern, which depends on many factors e.g. the scheduler algorithm used in the RAN, the load in the cell or some other rate allocation policies. The RRM however aims to maintain on average the guaranteed bitrate.
+
+### 6.5.3 HSDPA
+
+High Speed Downlink Packet Access (or HSDPA) is part of UTRAN Release 5. With HSDPA, packet scheduling is expected to be very flexible using 2 ms frame size. HSDPA introduces some new features, such as Adaptive Modulation and Coding (AMC) and Hybrid-Automatic Repeat Request (H-ARQ), and scheduling at the Node B. H-ARQ allows retransmissions at layer 1 (between the UE and Node B). This means that PSS could be run over RLC Unacknowledged mode. Without this feature, retransmissions are enabled at layer-2 RLC between RNC and UE. The new HSDPA features allow also to decrease retransmission delays and maximize throughput and peak rates. The very fast retransmission procedures enabled by HSDPA makes this feature suitable for services with variable bit rate and packet sizes, such as variable rate streaming.
+
+### 6.5.4 EGPRS / GERAN
+
+The EGPRS / GERAN radio physical layer settings will determine the data rate available at the link layer. The data rate depends on the number of allocated time slots within a radio frame to a given mobile (e.g. 3 DL + 1 UL timeslot) and the Modulation and Coding Scheme (MCS) used in the timeslot. MCSs provide that employ a lower code rate can
+
+correct more bit-errors, thus are more robust, but provide lower data rates, while less robust MCSs provide higher data rates. The data rate per timeslot can vary from 8.8 kbps (MCS-1) to 59.2 kbps (MCS-9). The instantaneous data rate is computed as combination of the allocated time slots and current MCS used. MCSs can vary during a connection depending on the radio link quality. To guarantee a certain bit rate and/or RLC frame error rate, the network may use a compensation function between allocated time slots and MCSs.
+
+In EGPRS / GERAN radio the concept of dedicated channel (i.e. radio resources dedicated to one given flow only) does not exist. The GPRS capacity (i.e. number of timeslots allocated to packet data) available is to be shared between all mobiles in the system. The resource is to be managed by the packet control unit (PCU) scheduler implemented at the RLC/MAC layer in the RNC. The GPRS capacity is shared by allocating timeslots (i.e. PDTCH channels) according to some 26signalling26 but fair algorithm to the different application packet flows directed to the different mobiles.
+
+## 6.6 Core network
+
+In this TR it is assumed that no critical problems occur in this segment of the end-to-end PSS chain. In addition, the number of configurations and options for the core network are very large and this analysis is out of the scope of this document.
+
+## 6.7 Streaming client
+
+PSS clients can have different features and options implemented, such as
+
+- Error concealment tools
+- Features of simple PSS client (as defined in Release 4 PSS specifications)
+- Features of Extended PSS client (as defined in Release 5 PSS specifications), including pre-decoder buffering
+
+Sending RTCP reports to the PSS server (following Release 4 or Release 5 guidelines).
+
+# --- 7 PSS characterisation
+
+## 7.1 Comparison of different rate control strategies for video streaming
+
+In this section it is assumed that the streaming server has no adaptation capability, and simple transmission of a single pre-encoded bitstream takes place. Video rate control strategies are compared in terms of the achieved subjective picture quality and picture rate when conforming to pre-defined rate variation limits.
+
+Especially for streaming applications, the rate control mechanism described in [8] was proposed. It takes as input a (bottleneck) rate $R$ , an initial buffering delay $d$ and a buffer size $s$ . It then encodes a pre-stored video sequences at variable rate such that when the stream is transmitted at a constant rate $R$ , it can be played back continuously by a client with pre-decoder buffer size $s$ , after a initial pre-decoder buffering delay $d$ .
+
+In the following, we present some simulation results, which compare the above rate control mechanism for variable rate coding under a certain buffer size limitation with constant rate coding and unconstrained variable rate coding (e.g. unlimited buffer size). Table 1 summarizes the results. A 2 minutes long clip taken from a TV news show was encoded with H.263 at QCIF resolution and 10 frames-per-second. The mean bitrate averaged over the whole stream was in all three cases adjusted to about 50 kbps.
+
+As an objective quality measure, average PSNR values were computed. Higher PSNR usually means better quality, although PSNR values are not always consistent with subjective quality perception. The comparison shows, that unconstrained variable rate coding results in a good quality but also requires the largest buffer size. Constant rate coding requires almost no buffering but the quality of the resulting video is significantly worse compared to variable rate coding. Although the PSNR is 1.5 dB higher, one has to take into account that the constant rate coding control drops complete frames in order to fulfil the strict rate constraint. In the given example a total of 8% of the frames was dropped.
+
+The last row shows the results for the streaming rate control proposed in [8] for an initial buffering delay of two seconds and a maximum buffer size of 20000 bytes. One can clearly see the trade-offs: initial buffering delay and buffer size are
+
+according to the pre-specified values, the PSNR is close to the one of variable rate coding. However, no frames were dropped.
+
+**Table 1: Comparison between different rate control strategies for a test video sequence**
+
+| Rate control | Initial buffering [sec] | Buffer size [bytes] | PSNR [dB] |
+|------------------------------------------------------|-------------------------|---------------------|---------------------------------------|
+| Constant quality / variable rate | 0.4 | 163501 | 30.8 |
+| Constant rate / variable quality (TMN8 rate control) | 0.5 | 6827 | 32.3, 100 frames (= 8%) skipped |
+| Streaming rate control | 1.8 | 17951 | 32.0 |
+
+Figure 3C, 4 and 5 give some more detailed insights how the different rate control mechanisms works. Each graph shows three curves, named “Playout”, “MaxBuff” and “Transmission plan”. The horizontal axis denotes time, the vertical axis denotes data counted in bytes. The transmission plan describes how data is sent out by the server. It gives for each time $t$ the amount of data that was sent out by the server. The transmission plan is in all three cases a straight line, which indicates that data is sent at a constant rate (the motivation for constant rate transmission of variable rate encoded video streams is given in the next section). Each Playout curve describes the video data playout behaviour at the client for the different rate control strategies. Since for each point in time the client needs to play out exactly the same amount of data that was generated by the encoder, the playout curve also reflects the rate behaviour of the encoder. The Playout curve denotes the minimum amount of data that a client needs to have received to guarantee smooth playout of the stream. The MaxBuff curve is simply the Playout curve shifted by a certain amount of bytes in vertical direction. The amount of bytes by which this curve is shifted corresponds to the client buffer size. The MaxBuff curve therefore indicates the maximum amount of data that a client may have received without exceeding its buffer.
+
+![Figure 3C: Unconstrained variable rate coding. A line graph showing Data [bytes] on the y-axis (0 to 900,000) versus time [sec] on the x-axis (0 to 140). Three curves are plotted: 'Max buff' (solid line), 'Transmission plan' (dashed line), and 'Playout' (dotted line). The 'Transmission plan' is a straight line starting at (0,0) and ending at approximately (120, 700,000). The 'Playout' curve starts at (0,0) and follows a jagged upward path, ending at approximately (120, 700,000). The 'Max buff' curve is the 'Playout' curve shifted vertically upwards by a constant amount, ending at approximately (120, 850,000).](27b3968bf5ede712f8defd1a7ed30a7a_img.jpg)
+
+Figure 3C: Unconstrained variable rate coding. A line graph showing Data [bytes] on the y-axis (0 to 900,000) versus time [sec] on the x-axis (0 to 140). Three curves are plotted: 'Max buff' (solid line), 'Transmission plan' (dashed line), and 'Playout' (dotted line). The 'Transmission plan' is a straight line starting at (0,0) and ending at approximately (120, 700,000). The 'Playout' curve starts at (0,0) and follows a jagged upward path, ending at approximately (120, 700,000). The 'Max buff' curve is the 'Playout' curve shifted vertically upwards by a constant amount, ending at approximately (120, 850,000).
+
+**Figure 3C: Unconstrained variable rate coding**
+
+![Figure 4: Constant rate coding. A line graph showing Data [bytes] on the y-axis (0 to 900,000) versus time [sec] on the x-axis (0 to 140). Three lines are plotted: Max buff (solid), Transmission plan (dashed), and Playout (dotted). All three lines are nearly perfectly overlaid, showing a linear increase from 0 bytes at 0 seconds to approximately 750,000 bytes at 120 seconds.](85b10db535b22e64c7d37f362705ddbf_img.jpg)
+
+Figure 4 is a line graph titled "Constant rate coding". The y-axis is labeled "Data [bytes]" and ranges from 0 to 900,000 in increments of 100,000. The x-axis is labeled "time [sec]" and ranges from 0 to 140 in increments of 20. There are three lines plotted: "Max buff" (solid line), "Transmission plan" (dashed line), and "Playout" (dotted line). All three lines are nearly perfectly overlaid, showing a linear increase from 0 bytes at 0 seconds to approximately 750,000 bytes at 120 seconds.
+
+Figure 4: Constant rate coding. A line graph showing Data [bytes] on the y-axis (0 to 900,000) versus time [sec] on the x-axis (0 to 140). Three lines are plotted: Max buff (solid), Transmission plan (dashed), and Playout (dotted). All three lines are nearly perfectly overlaid, showing a linear increase from 0 bytes at 0 seconds to approximately 750,000 bytes at 120 seconds.
+
+**Figure 4: Constant rate coding**
+
+![Figure 5: Streaming rate control. A line graph showing Data [bytes] on the y-axis (0 to 900,000) versus time [sec] on the x-axis (0 to 140). Three lines are plotted: Max buff (solid), Transmission plan (dashed), and Playout (dotted). The lines show a generally increasing trend but with significant fluctuations and a wavy appearance, ending at approximately 750,000 bytes at 120 seconds.](484cfbdc05aee471306eeb11c0ee2543_img.jpg)
+
+Figure 5 is a line graph titled "Streaming rate control". The y-axis is labeled "Data [bytes]" and ranges from 0 to 900,000 in increments of 100,000. The x-axis is labeled "time [sec]" and ranges from 0 to 140 in increments of 20. There are three lines plotted: "Max buff" (solid line), "Transmission plan" (dashed line), and "Playout" (dotted line). The lines show a generally increasing trend but with significant fluctuations and a wavy appearance, ending at approximately 750,000 bytes at 120 seconds.
+
+Figure 5: Streaming rate control. A line graph showing Data [bytes] on the y-axis (0 to 900,000) versus time [sec] on the x-axis (0 to 140). Three lines are plotted: Max buff (solid), Transmission plan (dashed), and Playout (dotted). The lines show a generally increasing trend but with significant fluctuations and a wavy appearance, ending at approximately 750,000 bytes at 120 seconds.
+
+**Figure 5: Streaming rate control**
+
+Figure 3 shows the result for unconstrained variable rate coding which was achieved by using a fixed quantization parameter for the whole sequence. As one can see, the playout curve differs significantly from the constant rate transmission plan. The maximum distance between the transmission plan and the Playout curve indicates the required buffer size. As can be seen a large buffer size is required in this case. The exact buffer size according to Table 1 is 163501 bytes.
+
+Figure 4 shows the result for constant rate coding. Due to constant rate coding, the rate of the encoded stream is constant and therefore the playout curve is a straight line, which is almost identical to the transmission plan. The required client buffer size in this case is much smaller compared to the previous case.
+
+Finally, Figure 5 shows the different curves for constrained variable rate coding. There is more variation in the playout curve compared to the constant bitrate case but much less compared to the unconstrained variable rate coding case. The required client buffer size in this case is 20000 bytes.
+
+As a conclusion, it can be said, that in general variable rate encoded video streams have a better quality than constant rate encoded streams. The price one has to pay is a certain initial buffering delay and a certain buffer required at the decoder when variable rate encoded video is sent over constant or near constant rate channels. There are special rate control mechanisms, which allow specification of certain buffer limitations, which will then not be exceeded.
+
+## 7.2 Streaming application traffic characteristics
+
+The purpose of this section is to show how different the traffic characteristics of the packet streams generated by a PSS compliant [3] streaming server can be when different application parameters are used.
+
+A video on demand streaming application use case is assumed without adaptation capability at the streaming server, where a stored pre-encoded video bitstream is transmitted by the streaming server. The traffic characteristics was captured from two streaming servers:
+
+1. A PSS compliant [3] streaming server transmitting an H.263+ Profile 0, Level 10 encoded video bitstream. Server behaviour adaptation based on RTCP feedback was not enabled.
+2. Publicly available RealNetworks system (RealProducer Basic streaming encoder, RealServer 8.0 streaming server, RealPlayer 8.0 streaming client). Single stream encoding used, but the RealSystem still uses some server behavior adaptation strategy. This server is 29ignallin for streaming over the Internet.
+
+Two different setups were used for the streaming server in 1.:
+
+- Variable bitrate packet transmission (VBRP)
+- Constant bitrate packet transmission (CBRP)
+
+In case of server 1. different packetization algorithms were tested:
+
+- 1.I. One frame per RTP packet without maximum packet size limitation
+- 1.II. One GOB (row of Macroblocks) per RTP packet
+- 1.III. A target RTP packet payload size (=600 bits) is maintained by using H.263 Annex K slices
+
+In case of server 1. different video rate control algorithms were used in the H.263+ video encoder:
+
+- 1.A. Fixed-QP encoding
+
+A fixed constant quantization parameter (QP=10) is used for encoding the whole video sequence, thus the inherent rate variation of the encoded video sequence is actually not modified.
+
+- 1.B. Rate control designed for video streaming given some pre-decoder buffering constraints [8] (referred also to as StreamRC)
+
+It maintains fixed frame rate and consistent quality by utilising the available pre-decoder buffer at the PSS receiver (as described in Annex G of [3]) and requiring an initial buffering time before starting decoding.
+
+- 1.C. TMN5 rate control
+
+Not video streaming optimised, but designed for real-time encoded, low-delay communicational applications (such as video conferencing), thus resulting in video frame rate variation.
+
+To show how different network conditions can affect the traffic characteristics when server behavior adaptation based on receiver feedback is used (such as in case of the server 2.), two different networks between the server and client were simulated.
+
+- Perfect LAN with low, near-constant packet transmission delay and no packet loss
+- Simulated Layer 2 and 3 of UTRAN with 76.8 Kbps dedicated channel, RLC frame size 640 bits, RLC unacknowledged mode. Layer 1 is not simulated, thus no RLC frame errors are applied. 60 ms RAN delay is assumed both in the uplink and downlink.
+
+In the simulations a video sequence was captured at 15 fps at QCIF (176x144) resolution. The video content of the sequence is a combination of different type of scenes with multiple scene cuts. It includes both fast and slow motion content with sometimes large camera movement and also some almost steady shots in between. It can be considered a typical video on demand streaming sequence.
+
+For a representative video sequence the following statistics is presented:
+
+- average, minimum and maximum packet size and standard deviation of the packet size distribution (the packet size includes RTP/UDP/IP header overhead)
+- histogram of used packet sizes
+- average, minimum and maximum bitrate (bitrate samples are calculated over non-overlapping 1 second windows as the total number of bytes in packets sent in the window) and standard deviation of the bitrate distribution
+- plot of bitrate variation over time
+
+### 7.2.1 Packet size statistics
+
+| 1.A (Fixed QP=10) / LAN | Average | Standard Deviation | Maximum | Minimum |
+|-------------------------|---------|--------------------|---------|---------|
+| IP Packet size (bytes) | | | | |
+| III (Slice) | 106 | 56 | 181 | 45 |
+
+| 1.B (LWRC) / LAN | Average | Standard Deviation | Maximum | Minimum |
+|------------------------|---------|--------------------|---------|---------|
+| IP Packet size (bytes) | | | | |
+| I (Frame) | 573 | 398 | 4303 | 67 |
+| II (GOB) | 99 | 88 | 663 | 43 |
+| III (Slice) | 108 | 56 | 210 | 45 |
+
+| 1.C (TMN 5) / LAN | Average | Standard Deviation | Maximum | Minimum |
+|------------------------|---------|--------------------|---------|---------|
+| IP Packet size (bytes) | | | | |
+| I (Frame) | 595 | 229 | 3375 | 62 |
+| II (GOB) | 102 | 79 | 759 | 43 |
+| III (Slice) | 109 | 56 | 241 | 45 |
+
+| / LAN | Average | Standard Deviation | Maximum | Minimum |
+|------------------------|---------|--------------------|---------|---------|
+| IP Packet size (bytes) | | | | |
+| N/A | 521 | 154 | 668 | 64 |
+
+
+
+This histogram, titled "Histogram of used packet sizes (1.B.)", displays the frequency of occurrence for three packetization algorithms. The x-axis represents "Packet size (bytes)" from 0 to 900, and the y-axis represents "Frequency of occurrence" from 0 to 2500. The legend indicates: I (Frame) in blue, II (GOB) in magenta, and III (Slice) in yellow. Algorithm III (Slice) shows a very sharp peak at approximately 120 bytes with a frequency of about 2400. Algorithm II (GOB) has a broader peak around 100 bytes with a frequency of about 1700. Algorithm I (Frame) shows a much broader distribution, with a low peak around 450 bytes and a frequency of about 250.
+
+Histogram of used packet sizes (1.B.) showing frequency of occurrence for different packetization algorithms: I (Frame), II (GOB), and III (Slice).
+
+Figure 6 – Packet sizes for different packetization algorithms (LWRC)
+
+
+
+This histogram, titled "Histogram of used packet sizes (1.I.)", displays the frequency of occurrence for three rate control algorithms. The x-axis represents "Packet size (bytes)" from 0 to 2500, and the y-axis represents "Frequency of occurrence" from 0 to 300. The legend indicates: C (TMN5) in blue, B (StreamRC) in yellow, and A (QP10) in magenta. Algorithm C (TMN5) has a peak around 600 bytes with a frequency of about 280. Algorithm B (StreamRC) has a peak around 500 bytes with a frequency of about 220. Algorithm A (QP10) has a peak around 300 bytes with a frequency of about 230.
+
+Histogram of used packet sizes (1.I.) showing frequency of occurrence for different rate control algorithms: C (TMN5), B (StreamRC), and A (QP10).
+
+Figure 7 – Packet sizes for different rate control algorithms (1 frame per RTP packet)
+
+
+
+| Packet size (bytes) | Frequency of occurrence |
+|---------------------|-------------------------|
+| 100 | 150 |
+| 150 | 300 |
+| 200 | 250 |
+| 250 | 250 |
+| 300 | 300 |
+| 350 | 400 |
+| 400 | 600 |
+| 450 | 800 |
+| 500 | 1000 |
+| 550 | 1200 |
+| 600 | 1400 |
+| 650 | 3000 |
+| 700 | 2500 |
+
+Histogram of used packet sizes (2.) showing frequency of occurrence versus packet size in bytes. The x-axis ranges from 100 to 700 bytes, and the y-axis ranges from 0 to 3500. The distribution shows a general upward trend, peaking at 650 bytes with a frequency of approximately 3000, followed by 700 bytes with a frequency of approximately 2500.
+
+Figure 8 – Packet sizes for Real Networks streaming
+
+### 7.2.2 Packet Bitrate statistics
+
+| 1.1.III (VBRP)/LAN Bitrate (bits/s) | Average | Standard Deviation | Maximum | Minimum |
+|----------------------------------------|---------|--------------------|---------|---------|
+| A (QP10) | 64020 | 58118 | 356328 | 5368 |
+| B (StreamRC) | 64519 | 27195 | 184448 | 17672 |
+| C (TMN5) | 63192 | 1835 | 71440 | 54696 |
+
+| 1.2.III (CBRP)/ LAN Bitrate (bits/s) | Average | Standard Deviation | Maximum | Minimum |
+|-----------------------------------------|---------|--------------------|---------|---------|
+| A (QP10) | 62913 | 808 | 65989 | 60797 |
+| B (StreamRC) | 63495 | 785 | 66183 | 61268 |
+| C (TMN5) | 63522 | 972 | 67890 | 59851 |
+
+| Bitrate (bits/s) | Average | Standard Deviation | Maximum | Minimum |
+|------------------|---------|--------------------|---------|---------|
+| LAN | 49282 | 5010 | 66061 | 40898 |
+| UTRAN 0% FER | 49499 | 5580 | 70322 | 39154 |
+
+
+
+**Bitrate variation over time (1.1.III.)**
+
+bitrate (bits/s)
+
+time (s)
+
+C (TMN5)
+B (StreamRC)
+A (QP10)
+
+Figure 9: Bitrate variation over time (1.1.III.) for different rate control algorithms (VBRP). The graph shows three lines: C (TMN5) in blue, B (StreamRC) in yellow, and A (QP10) in magenta. The y-axis is 'bitrate (bits/s)' from 0 to 400,000. The x-axis is 'time (s)' from 1 to 300. Algorithm A shows significant fluctuations, peaking near 350,000 bits/s, while B and C remain relatively stable around 60,000 bits/s.
+
+Figure 9 – Bitrate variation for different rate control algorithms (VBRP)
+
+
+
+**Bitrate variation over time (1.2.III.)**
+
+bitrate (bits/s)
+
+time (s)
+
+C (TMN5)
+B (StreamRC)
+A (QP10)
+
+Figure 10: Bitrate variation over time (1.2.III.) for different rate control algorithms (CBRP). The graph shows three lines: C (TMN5) in blue, B (StreamRC) in yellow, and A (QP10) in magenta. The y-axis is 'bitrate (bits/s)' from 0 to 80,000. The x-axis is 'time (s)' from 1 to 300. All three algorithms maintain a very stable bitrate, fluctuating slightly around 60,000 bits/s.
+
+Figure 10 – Bitrate variation for different rate control algorithms (CBRP)
+
+
+
+**Bitrate variation over time (2.)**
+
+bitrate (bits/s)
+
+time (s)
+
+UTRAN
+LAN
+
+Figure 11: Bitrate variation over time (2.) for Real Networks streaming over different network scenarios. The graph shows two lines: UTRAN in blue and LAN in yellow. The y-axis is 'bitrate (bits/s)' from 0 to 80,000. The x-axis is 'time (s)' from 0 to 600. Both scenarios show a stable bitrate around 45,000 bits/s after an initial transient period.
+
+Figure 11 – Bitrate variation for Real Networks streaming over different network scenarios
+
+## 7.3 UTRAN DCH with RLC Acknowledged Mode
+
+For UTRAN, a Radio Bearer using a dedicated channel and RLC running in acknowledged mode could signal the requirements of recovering from lost RTP packets and having a fairly stable network throughput behaviour. First of all, a dedicated channel can maintain a fixed transport channel rate on the physical layer. Secondly, when used in acknowledged mode, the probability of lost IP packets is close to zero due to an efficient retransmission protocol on the RLC layer, which retransmits only the erroneous PDUs of an IP packet (note that a PDU corresponds to a small fragment of an IP packet). The increase in IP packet delay jitter caused by this RLC retransmission mechanism is acceptable for streaming services. The WCDMA channel in these tests was emulated by a fairly detailed layer 2 and lower layer protocol implementation. An uncongested cell was also assumed.
+
+Radio Bearer parameters:
+
+- Rate = 64000bps
+- TTI = 20ms
+- 2 RLC PDUs per TTI
+- RLC PDU size: 80 bytes
+- 10% block error rate (BLER).
+
+The video sequence was encoded using a constant quantizer (Q=18) and no rate control were used. Only the first frame was encoded in INTRA-mode. No specific INTRA refresh method was employed (the stream contains however a lot of INTRA-coded information due to frequent scene changes). RTP packetization was done at the frame level. SDU size was limited to 1500 bytes. The streaming client buffer size was set to 20000 bytes. The bitrate generated by the streaming server was limited to 58 kbps, about 10% less than the network bit rate to allow retransmission of lost RLC blocks. The maximum number of RLC retransmissions in the RLC Ack-mode was set to be theoretically infinite (persistent retransmission). The average packet size in this example was 628 bytes (including headers).
+
+Figure 12 shows the simulations results. Only the first 15 seconds of the transmission are shown.
+
+![Figure 12: Impact of the delay jitter introduced by a DCH with RLC AM on streaming playout performance. The graph plots Data [bytes] on the Y-axis (0 to 120,000) against time [msec] on the X-axis (0 to 15,000). It shows several curves: 'Server schedule, max. transmission rate = 58 kbps' (a dashed line), 'Playout curve' (a solid line), 'Pre-decoder buffer size' (a shaded area), 'Data received by client' (a solid line), and 'Max. buffer' (payout + max buffer size) (a shaded area at the top). A box on the right lists Radio Bearer parameters: Rate = 64000bps, TTI = 20ms, 2 PDUs per TTI, PDU size: 80 bytes, 10% block error rate (BLER). Arrows point to various parts of the graph, including one pointing to a gap in the 'Data received by client' curve with the text 'See text'.](3788d43ff8c1f359e46e9373a533432f_img.jpg)
+
+Figure 12: Impact of the delay jitter introduced by a DCH with RLC AM on streaming playout performance. The graph plots Data [bytes] on the Y-axis (0 to 120,000) against time [msec] on the X-axis (0 to 15,000). It shows several curves: 'Server schedule, max. transmission rate = 58 kbps' (a dashed line), 'Playout curve' (a solid line), 'Pre-decoder buffer size' (a shaded area), 'Data received by client' (a solid line), and 'Max. buffer' (payout + max buffer size) (a shaded area at the top). A box on the right lists Radio Bearer parameters: Rate = 64000bps, TTI = 20ms, 2 PDUs per TTI, PDU size: 80 bytes, 10% block error rate (BLER). Arrows point to various parts of the graph, including one pointing to a gap in the 'Data received by client' curve with the text 'See text'.
+
+**Figure 12: Impact of the delay jitter introduced by a DCH with RLC AM on streaming playout performance**
+
+The horizontal axis denotes time in milliseconds; the vertical axis denotes an overall amount of data in bytes. The playout curve shows the minimum amount of data that needs to be available at the decoder for smooth playout. As one can see, playout starts after an initial buffering delay of 1 second, which is needed in this example to play out the stream smoothly.
+
+The “Max buffer” curve represents the maximum amount of bytes that can be stored at the decoder before a buffer overflow occurs. This curve is simply a vertically shifted version of the playout curve. The value by which the curve is shifted represents the client buffer size.
+
+Between the playout and the “max buffer” curve there are two additional curves. The first one represents the amount of data as sent out by the server. The second curve represents the amount of data that is received by the client after transmission over a simulated bearer using RLC AM. Note that the curve representing the amount of data sent out by the server must not cross either the playout or the max buffer curve. Crossing the playout curve would result in a buffer underflow, which leads to a playout interruption. Crossing the “max buffer” curve would result in a buffer overflow, which leads to data losses.
+
+The output stream of the constant quality encoder was smoothed by a traffic smoother. The traffic smoother makes sure that the maximum transmission rate of the video stream is not higher than the maximum channel capacity. Secondly it computes a schedule that minimizes the receiver buffer size by transmitting packets as late as possible (in the literature this is referred to as ‘late scheduling’ in contrast to ‘early scheduling’ where packets are sent as early as possible).
+
+By looking at the amount of data received by the client after transmission over a simulated bearer in acknowledged mode, one can see that the delay jitter introduced by the bearer would lead to buffer underflows. In the example this happens around second 6 and 10. We want to point out that the observed maximum number of RLC retransmissions was less than or equal to 4.
+
+To accommodate for the delay jitter, the playout curve needs to be shifted to the right (= increase in initial buffering delay) by the maximum delay introduced by the bearer. In the given example, this maximum delay was around 1 second. At the same time the buffer needs to be increased by the number of bytes that are transmitted at the maximum transmission rate during 1 second. For a 64 kbps bearer this means 8000 bytes. However, from looking at the curve, one can see that by applying a more intelligent schedule both the additional buffering time and also the additional buffer size could be further reduced. The figure presented here does not consider any further optimisations and therefore reflect a worst-case scenario.
+
+Figure 13 shows the cumulative distribution function (C.D.F.) for the packet delays. As can be seen, in 95% of the cases the delay of a packet is less than one second.
+
+![Figure 13: Simulated packet delay C.D.F. for DCH using RLC AM. The graph shows the cumulative distribution function (C.D.F.) of packet delay in milliseconds. The x-axis is labeled 'Packet delay [ms]' and ranges from 0 to 1250. The y-axis is labeled 'C.D.F.' and ranges from 0 to 1. The curve starts at 0 at 0 ms, rises steeply between 100 ms and 500 ms, and reaches a plateau near 1.0 around 1000 ms.](c53adc66eab40abd5f8b9107d950ad04_img.jpg)
+
+| Packet delay [ms] | C.D.F. |
+|-------------------|--------|
+| 0 | 0.00 |
+| 100 | 0.05 |
+| 250 | 0.25 |
+| 500 | 0.75 |
+| 750 | 0.92 |
+| 1000 | 0.98 |
+| 1250 | 1.00 |
+
+Figure 13: Simulated packet delay C.D.F. for DCH using RLC AM. The graph shows the cumulative distribution function (C.D.F.) of packet delay in milliseconds. The x-axis is labeled 'Packet delay [ms]' and ranges from 0 to 1250. The y-axis is labeled 'C.D.F.' and ranges from 0 to 1. The curve starts at 0 at 0 ms, rises steeply between 100 ms and 500 ms, and reaches a plateau near 1.0 around 1000 ms.
+
+Figure 13: Simulated packet delay C.D.F. for DCH using RLC AM
+
+## 7.4 Use cases for QoS profile settings
+
+This section contains examples of QoS profile setting for different PSS use cases. In section 6.4.1.3 example bearers for PSS over UTRAN are presented. Here four use cases will be considered, all over a 64 kbps bearer in downlink and a 8 kbps bearer in uplink configured in RLC Acknowledged mode. In the use cases presented, we assume that ROHC is not used. In addition, a use case over GPRS is also considered. Only RTP and RTCP traffic is considered. The use cases 37ignalli are:
+
+- 1) Voice only streaming (AMR at 12.2 kbps)
+- 2) High-quality voice/low quality music only streaming (AMR-WB at 23.85 kbps)
+- 3) Music only streaming (AAC at 52 kbps)
+- 4) Voice and video streaming (AMR at 7.95 kbps + video at 44 kbps)
+- 5) Voice and video streaming (AMR at 4.75 kbps + video at 30 kbps) over GPRS
+
+In the parameters for guaranteed and maximum bit rates a granularity of 1 kbps is assumed for bearers up to 64 kbps, as defined in the TS 24.008. Therefore the “Ceiling” function is used for up-rounding fractional values, wherever needed.
+
+During streaming, the packets are encapsulated using RTP/UDP/IP protocols. Here we only consider the IPv4 protocol which leads to the following packet sizes:
+
+IP header: 20 bytes for IPv4 (IPv6 would add a 20 bytes overhead)
+
+UDP header: 8 bytes
+
+RTP header: 12 bytes.
+
+In the following examples, it is assumed that the RS and RR SDP parameters for RTCP bandwidth are assigned values (in bps) corresponding both to 2.5% of the session bandwidth.
+
+The UMTS QoS profile tables of the first four use cases are to be considered instances of the more general QoS profile template described in Annex J of [3].
+
+### 7.4.1 Voice only AMR streaming QoS profile
+
+Here we are interested in streaming AMR data at 12.2 kbps. We will consider the cases of transmission of 1 and 10 frames per RTP packet. An AMR frame has a length in time of 20 ms, which is between 32 and 35 bytes, depending on the options used (octet-alignment, CRC and interleaving) and including AMR RTP payload header.
+
+Examples:
+
+1 frame per packet: 20 (IPv4) + 8 (UDP) + 12 (RTP) + 35 (max AMR RTP payload) = 75 bytes
+
+10 frames per packet: 20 (IPv4) + 8 (UDP) + 12 (RTP) + 332 (max RTP payload for 10 AMR frames) = 372 bytes.
+
+**Table 2: QoS profile for AMR voice streaming at 12.2 kbps**
+
+| QoS parameter | Parameter value | Comment |
+|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
+| Delivery of erroneous SDUs | No | |
+| Delivery order | No | |
+| Traffic class | Streaming | |
+| Maximum SDU size | 1400 bytes | |
+| Guaranteed bitrate for downlink | Ceil(30.8)=31 kbps (1 frame/packet) Ceil(15.3)=16 kbps (10 frames/packet) | Including 2.5% for RTCP |
+| Maximum bit rate for downlink | Equal or higher than guaranteed bit rate | |
+| Guaranteed bitrate for uplink | [Ceil(0.12)=1] <= x <= [Ceil(0.8)=1] kbps (1 frame/packet) [Ceil(0.12)=1] <= x <= [Ceil(0.4)=1] kbps (10 frames/packet) | Used for RTCP feedback. The full rate is used for 2.5% feedback. The smaller rate is used for feedback every (at least) 5 seconds. |
+| Maximum bit rate for uplink | Equal or higher than guaranteed bit rate | used for RTCP feedback. |
+| Residual BER | $10^{-5}$ | 16 bit CRC |
+| SDU error ratio | $10^{-4}$ | |
+| Traffic handling priority | Subscribed traffic handling priority | not relevant |
+| Transfer delay | 2 s | |
+
+### 7.4.2 High quality voice/low quality music AMR-WB streaming QoS profile
+
+Here we are interested in streaming AMR-WB data at 23.85 kbps. We will consider the cases of transmission of 1 and 10 frames per RTP packet. An AMR-WB frame has a length in time of 20 ms, which is between 61 and 64 bytes, depending on the options used (octet-alignment, CRC and interleaving) and including AMR RTP payload header.
+
+Examples:
+
+1 frame per packet: 20 (IPv4) + 8 (UDP) + 12 (RTP) + 64 (max AMR RTP payload) = 104 bytes
+
+10 frames per packet: 20 (IPv4) + 8 (UDP) + 12 (RTP) + 622 (max RTP payload for 10 AMR frames) = 662 bytes.
+
+**Table 3: QoS profile for AMR-WB high quality voice/low quality music streaming at 23.85 kbps**
+
+| QoS parameter | Parameter value | Comment |
+|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
+| Delivery of erroneous SDUs | No | |
+| Delivery order | No | |
+| Traffic class | Streaming | |
+| Maximum SDU size | 1400 bytes | |
+| Guaranteed bitrate for downlink | Ceil(42.7)=43 kbps (1 frame/packet) Ceil(27.2)=28 kbps (10 frames/packet) | Including 2.5% for RTCP |
+| Maximum bit rate for downlink | Equal or higher than guaranteed bit rate | |
+| Guaranteed bitrate for uplink | [Ceil(0.12)=1] $\leq x \leq$ [Ceil(1.1)=2] kbps (1 frame/packet) [Ceil(0.12)=1] $\leq x \leq$ [Ceil(0.7)=1] kbps (10 frames/packet) | Used for RTCP feedback. The full rate is used for 2.5% feedback. The smaller rate is used for feedback every (at least) 5 seconds. |
+| Maximum bit rate for uplink | Equal or higher than guaranteed bit rate | used for RTCP feedback. |
+| Residual BER | $10^{-5}$ | 16 bit CRC |
+| SDU error ratio | $10^{-4}$ | |
+| Traffic handling priority | Subscribed traffic handling priority | not relevant |
+| Transfer delay | 2 s | |
+
+### 7.4.3 Music only AAC streaming QoS profile
+
+Here we focus on streaming of AAC audio at the bitrate of 52 kbps and a sampling frequency of 24 kHz, which could be suitable for mid-quality stereo music for mobile applications. A frame is composed of 1024 samples and RTP packets contain one single frame. The RTP packetization follows RFC 3016 and each packet is 279 bytes long on average (including payload header and not including RTP/UDP/IPv4 headers). The packet rate is 23.44 packets per second. The total bandwidth for media transmission is 59.9 kbps. About 4.1% bandwidth (2.6 kbps) is left for RLC acknowledged mode retransmissions.
+
+**Table 4. QoS profile for AAC music streaming at 52 kbps**
+
+| QoS parameter | Parameter value | comment |
+|---------------------------------|------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
+| Delivery of erroneous SDUs | No | |
+| Delivery order | No | |
+| Traffic class | Streaming | |
+| Maximum SDU size | 1400 bytes | |
+| Guaranteed bitrate for downlink | Ceil(61.4)=62 kbps | Including 2.5% for RTCP |
+| Maximum bit rate for downlink | Equal or higher than guaranteed bit rate | |
+| Guaranteed bitrate for uplink | [Ceil(0.12)=1] $\leq x \leq$ [Ceil(1.5)=2] kbps (1 frame/packet) | Used for RTCP feedback. The full rate is used for 2.5% feedback. The smaller rate is used for feedback every (at least) 5 seconds. |
+| Maximum bit rate for uplink | Equal or higher than guaranteed bit rate | used for RTCP feedback. |
+| Residual BER | $10^{-5}$ | 16 bit CRC |
+| SDU error ratio | $10^{-4}$ | |
+| Traffic handling priority | Subscribed traffic handling priority | not relevant |
+| Transfer delay | 2 s | |
+
+### 7.4.4 Voice and video streaming QoS profile
+
+The video codec in this case has a bitrate of 44 kbps, with RTP payload packets of 500 bytes (including payload header). The total video bit rate is 47.7 kbps (including RTP/UDP/IPv4 headers). In the same bearer there is an AMR stream at 7.95 kbps with 10 frames encapsulated per RTP packet. The total voice bit rate is 10.1 kbps (including RTP/UDP/IP headers). The total user bit rate is 57.8 kbps. A ~7.3% bearer capacity (4.7 kbps) has been left for RLC Acknowledged mode retransmissions. The total user bit rate has been computed from the video encoding bit rate,
+
+supposed this is an average bit rate calculated over the sequence length. In case the video encoding bit rate is extracted from the Max\_Bitrate in the BitrateBox field of the file format, there might be bearer capacity unused if the difference between such maximum bit rate and the average bit rate of the video stream is large.
+
+Table 5: QoS profile for voice and video streaming at an aggregate bit rate of 57.8 kbps
+
+| QoS parameter | Parameter value | comment |
+|---------------------------------|-------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
+| Delivery of erroneous SDUs | No | |
+| Delivery order | No | |
+| Traffic class | Streaming | |
+| Maximum SDU size | 1400 bytes | |
+| Guaranteed bitrate for downlink | Ceil(59.3)=60 kbps | Including 2.5% for RTCP |
+| Maximum bit rate for downlink | Equal or higher than guaranteed bit rate | |
+| Guaranteed bitrate for uplink | [Ceil(0.12)=1] $\leq x \leq$ [Ceil(1.5)=2] kbps | Used for RTCP feedback. The full rate is used for 2.5% feedback. The smaller rate is used for feedback every (at least) 5 seconds. |
+| Maximum bit rate for uplink | Equal or higher than guaranteed bit rate | used for RTCP feedback. |
+| Residual BER | $10^{-5}$ | 16 bit CRC |
+| SDU error ratio | $10^{-4}$ | |
+| Traffic handling priority | Subscribed traffic handling priority | not relevant |
+| Transfer delay | 2 s | |
+
+### 7.4.5 Voice and video streaming QoS profile for GPRS Rel. '97
+
+In this use case it is supposed a 3+1 time slot configuration using coding schemes CS1 and CS2 in GPRS Rel. '97. The peak bit rates are 40.2 kbps for downlink and 13.2 kbps for uplink. The video codec in this case has a bitrate of 30 kbps, with RTP payload packets of 500 bytes (including payload header). The total video bit rate is 32.5 kbps (including RTP/UDP/IP headers). In the same bearer there is an AMR stream at 4.75 kbps with 10 frames encapsulated per RTP packet. The total voice bit rate is 7.3 kbps (including RTP/UDP/IP headers). The total user bit rate is 39.8 kbps. We assume GPRS is configured to use V.42 bis data compression in the SNDCP layer, to allow reduction of the RTP/UDP/IP header size.
+
+Table 6: QoS profile for voice and video streaming at an aggregate bit rate of 39.8 kbps over GPRS Rel. '97
+
+| QoS parameter | Parameter value | comment |
+|-----------------------------|-----------------|---------------------------|
+| Service precedence/priority | 1 | |
+| Delay class | 1 | |
+| Mean throughput class | 17 | It means 44 kbps |
+| Peak throughput class | 4 | It means 64 kbps |
+| Reliability class | 3 | Unack LLC + Ack RLC modes |
+
+## 7.5 Robust handover management
+
+Handovers are a typical feature of mobile networks, in order to provide mobility to users. Handovers can be perceived as lossless or lossy at the application layer. If they are lossless, the application will experience an increase in the delay/jitter of the packet arrival. Lossy handovers produce breaks in service continuity, which translate in packet losses at the application layer (the amount of losses is equal to the duration of the handover). In particular, inter-system handovers (e.g., between UTRAN and GERAN networks, or between GERAN Rel. '99 and GPRS Rel. '97 networks) can be of long duration (in the order of several seconds).
+
+In order to avoid situations of discontinuous playback, there is the need to smooth out the handover effect from the playback of a streaming session. It must be pointed out that a handover is no different from the link outage effect that a user could experience for example under a tunnel. In this regard, a lossy handover and a period of link outage have the same effect in terms of disruption of playback. A Rel. 5 (or earlier) PSS client with no rate adaptation mechanisms, or
+
+no advanced features for handover management may make use of the available standard methods, in order to handle robustly lossy handovers. In this section an RTSP-based method is described.
+
+A PSS client can detect a lossy handover event by monitoring the buffer level. For example, if the buffer does not receive data for a certain amount X of time (X is an implementation-dependent threshold for the client to understand that the handover event has occurred, and it is required that the client buffer has a size (in time) longer than the handover period), and later it starts to receive data after a certain variable amount Y of time ( $Y > X$ , Y is the real duration of the handover period), then the client can trigger an RTSP procedure for robust handover management (the client should verify that the link outage did, in fact, caused loss).
+
+After the handover is over, the PSS client sends a message (resending request) to the PSS server containing the time of the last received media unit before the handover. This information can be delivered using a simple RTSP PAUSE/PLAY messages. An example of such PAUSE and PLAY messages is shown below (last correctly received media unit was at second 28.00):
+
+```
+C->S PAUSE rtsp://example.com/foo RTSP/1.0
+Cseq: 6
+Session: 354832
+
+C->S PLAY rtsp://example.com/foo RTSP/1.0
+Cseq: 7
+Session: 354832
+Range: npt=28.00-
+```
+
+With these messages, the server can re-PLAYs the part of the stream that was lost during handover plus the remainder of the stream. Although a PAUSE message is sent, it is not needed to pause the actual playback in the PSS client, unless the buffer gets empty.
+
+# --- Annex A: Characterisation metrics and testing guidelines
+
+The following set of metrics and testing guidelines are recommended to be used when running PSS characterization future tests.
+
+Guidelines to use case definition:
+
+- Use always PSS Release 5 server.
+- For each case first benchmark how a “simple” (implements only mandatory parts of the spec), PSS application would perform.
+- The network type and release is specified per each use case
+- Specify whether header compression (ROHC) is used/not used
+
+Agreed common settings that should be used to declare a test valid:
+
+- Type of clip to be used (sports, news/weather, movie trailer) – number of scene changes, changing dynamics
+- Clip length ~ 2 minutes
+- Error concealment is to be used
+
+Issues/Assumptions
+
+- Assess the complexity of the server/client application algorithms that are used in the use cases.
+- Assess how much knowledge needs to be there in the application about the bearer implementation options and conditions so that the application can decide to turn the respective critical case handling algorithms/options on, and how feasible it is to get that information.
+
+User perceived streaming quality metrics:
+
+- Number of interruptions in the playout (e.g. rebuffering, long skip of content)
+- Playback delay (initial signalling+buffering time)
+- Video frame rate
+- Absolute PSNR for video
+- PSNR difference between the encoded and the received video (count PSNR for also frames dropped by using the previously received frame)
+- Frame error rate for audio
+
+Resource utilisation metrics :
+
+- Amount of data discarded at the receiver
+- Under-utilisation?
+
+Information to be included when reporting the test results:
+
+- Diagram for playback, transmission, reception curve (see e.g. Section 7.2)
+- Network latency
+- Pre-decoder buffer size
+- Network buffering assumptions
+
+- Packet loss rate (differentiate losses in the network and packets dropped at the receiver)
+- Server characterisation
+- Transmission bitrate scheduling model
+- VBR or CBR encoding/transmission
+- Packetization strategy, packet sizes.
+
+# Annex B: Change history
+
+| Change history | | | | | | | |
+|----------------|-------|-----------|-----|-----|--------------------------------------------|--------|--------|
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2003-09 | SA#21 | SP-030443 | | | Presented for approval at SA#21 | 2.0.0 | 5.0.0 |
+| 2004-03 | SA#23 | SP-040080 | 001 | 2 | Rate adaptation simulation results for PSS | 5.0.0 | 6.0.0 |
+| 2007-06 | SA#36 | | | | Version for Release 7 | 6.0.0 | 7.0.0 |
+| 2008-12 | SA#42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | SA#46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | SA#51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | SA#57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
+| | | | | | | | |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26946/10781f43062bf3e9601a1e086710556c_img.jpg b/marked/Rel-11/26_series/26946/10781f43062bf3e9601a1e086710556c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..09cb4c3a6c21952b9bcc5d49dd5ca012b2c12847
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/10781f43062bf3e9601a1e086710556c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7ef106745f65555a1663e03527c2d66ec929480bf04107c795cd20bbe3fe37ec
+size 10170
diff --git a/marked/Rel-11/26_series/26946/16152cf1d84aea10848758f51a91ff6a_img.jpg b/marked/Rel-11/26_series/26946/16152cf1d84aea10848758f51a91ff6a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..456bf77fe15075c20c6624c874c3b349e45209e9
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/16152cf1d84aea10848758f51a91ff6a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b01ab56298132e1bb3e273a753c919b61895235a63ed1a2a76edc937e6232412
+size 33514
diff --git a/marked/Rel-11/26_series/26946/356eb99ab9489bbd647223390a913903_img.jpg b/marked/Rel-11/26_series/26946/356eb99ab9489bbd647223390a913903_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e21dde493c3534f58683e89c688b16dbda53ba83
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/356eb99ab9489bbd647223390a913903_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:20ee8d2343e81d4d21e033fb79a65b4ba614e5d11cce57bebd480d9443a7bddf
+size 59459
diff --git a/marked/Rel-11/26_series/26946/367926125450c2bc3f4bdca9d59a62ba_img.jpg b/marked/Rel-11/26_series/26946/367926125450c2bc3f4bdca9d59a62ba_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1d205d0825cae383c41322e040ab7f7f69ade933
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/367926125450c2bc3f4bdca9d59a62ba_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4d01e7aabdb3a1db41155921f7189e4648a19c75514c287a1ffb33c934929570
+size 109606
diff --git a/marked/Rel-11/26_series/26946/4af57aad638888edf2062306f8a54a6c_img.jpg b/marked/Rel-11/26_series/26946/4af57aad638888edf2062306f8a54a6c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8aeb5781b3ac93014801f225d4f686edd60ddde0
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/4af57aad638888edf2062306f8a54a6c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:498492bb3d0efae5ea1a0a8e1372ef815db6a7d69d3b2a42dabd071ebef93663
+size 53808
diff --git a/marked/Rel-11/26_series/26946/4b87467ad9642943235f48f7d4b59449_img.jpg b/marked/Rel-11/26_series/26946/4b87467ad9642943235f48f7d4b59449_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..31cb16217ea239579fe5d3f5920e94f55be80e03
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/4b87467ad9642943235f48f7d4b59449_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:36c930a5d07c8c8a230ec04b86909b3487ef0ae44ffb1ae562f51a58c08dd4d5
+size 18412
diff --git a/marked/Rel-11/26_series/26946/78ffccd66df9bafd96e3e081110d09dd_img.jpg b/marked/Rel-11/26_series/26946/78ffccd66df9bafd96e3e081110d09dd_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d6ea37e27e8849a96ec3a10f98ae80ecd06659bf
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/78ffccd66df9bafd96e3e081110d09dd_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9caab364abc1619b35595f88d6becce1952d8796b6d81d4f0c4b138e86225c15
+size 43467
diff --git a/marked/Rel-11/26_series/26946/7efae06af3af43ffe5d4b956a679cf54_img.jpg b/marked/Rel-11/26_series/26946/7efae06af3af43ffe5d4b956a679cf54_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..fdc4d3737030829aaacced97cb15136d6464a8b0
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/7efae06af3af43ffe5d4b956a679cf54_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b1ea9a1546e678c265ded8e0075e5f39eecbaada6f2f1c6c3522903d9771c2b9
+size 82353
diff --git a/marked/Rel-11/26_series/26946/9167fa5ebcb66516d1bbb421ec9bba7b_img.jpg b/marked/Rel-11/26_series/26946/9167fa5ebcb66516d1bbb421ec9bba7b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6152aaa0f2042e6d85e96264b4a7f57bb4d467c3
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/9167fa5ebcb66516d1bbb421ec9bba7b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7c69cba1b52d3575354847b83dd44a3f869db7ec40ca7e62fafda91ad6e11089
+size 89787
diff --git a/marked/Rel-11/26_series/26946/a33da0f14e456f92539ce3e9b7d81f9a_img.jpg b/marked/Rel-11/26_series/26946/a33da0f14e456f92539ce3e9b7d81f9a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..203593bcd8e5d496cc9463130b42a951157f9e85
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/a33da0f14e456f92539ce3e9b7d81f9a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bfb7c66a6ab2fd262f869889eb84d5830562fd0b9fec2544eb168b8c31172c47
+size 152860
diff --git a/marked/Rel-11/26_series/26946/b0d4609bc46c2d88a8318706bb5321f7_img.jpg b/marked/Rel-11/26_series/26946/b0d4609bc46c2d88a8318706bb5321f7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8f0a92507f661c5891743e983094d4a75ff19ce5
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/b0d4609bc46c2d88a8318706bb5321f7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1cd3aedee46ae033e9b6483bb32c64156f934082a5a0757a03d8d4f4e3f63fc1
+size 11825
diff --git a/marked/Rel-11/26_series/26946/daa4a6fa7e2ba1954258f86b4928eb32_img.jpg b/marked/Rel-11/26_series/26946/daa4a6fa7e2ba1954258f86b4928eb32_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ecb3ffd42542106aa07ddfd3fd93ac63cb669cb9
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/daa4a6fa7e2ba1954258f86b4928eb32_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2de5548a0d4545e5b6cfdb0a0fec8e3bad151c0f2d292e4f2eaae1db4513fe54
+size 152369
diff --git a/marked/Rel-11/26_series/26946/eb5677b570ab2a3e9d8f5d35ca5b8a4d_img.jpg b/marked/Rel-11/26_series/26946/eb5677b570ab2a3e9d8f5d35ca5b8a4d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ae96021c94f4cd2e44a2a1ef2ae91956149bcc09
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/eb5677b570ab2a3e9d8f5d35ca5b8a4d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d7352fc9a7852bcc4ccae31087badb473905a7e4f300e854f62cc0097f4e4753
+size 60038
diff --git a/marked/Rel-11/26_series/26946/f0a97d0d3818a253c1d2a009966081b1_img.jpg b/marked/Rel-11/26_series/26946/f0a97d0d3818a253c1d2a009966081b1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0a142ddda76e192e6a5b76ef10edc8fcc6dc85aa
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/f0a97d0d3818a253c1d2a009966081b1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c55bc04886a200194d99402ed04b6f58826caee1a55e08bd3195fde67eb89992
+size 57110
diff --git a/marked/Rel-11/26_series/26946/raw.md b/marked/Rel-11/26_series/26946/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..709f439f1a158d8fa60e5997e585db9b7cad0122
--- /dev/null
+++ b/marked/Rel-11/26_series/26946/raw.md
@@ -0,0 +1,1357 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|------------------------------------------------------------------------------------------------------|-----------|
+| Foreword ..... | 5 |
+| Introduction ..... | 5 |
+| 1 Scope..... | 6 |
+| 2 References..... | 6 |
+| 3 Definitions and abbreviations ..... | 7 |
+| 3.1 Definitions..... | 7 |
+| 3.2 Abbreviations ..... | 8 |
+| 4 Overview..... | 9 |
+| 4.1 Phasing model ..... | 9 |
+| 4.2 System overview ..... | 10 |
+| 5 Description of User Service procedures ..... | 11 |
+| 5.1 User Service Discovery / Announcement ..... | 11 |
+| 5.2 User Service Initiation / termination procedure ..... | 11 |
+| 5.3 Session Start / Stop..... | 12 |
+| 5.4 Data transmission..... | 12 |
+| 5.5 Associated-Delivery procedures ..... | 12 |
+| 5.5.1 File Repair service..... | 12 |
+| 5.5.2 Content reception reporting..... | 12 |
+| 6 Delivery methods..... | 12 |
+| 6.1 Download delivery method..... | 12 |
+| 6.1.1 SDL diagram of the download delivery method for the MBMS UE ..... | 14 |
+| 6.1.2 Transport of MBMS download data..... | 16 |
+| 6.1.3 Repair Symbol Request..... | 18 |
+| 6.1.3.1 Option 1: Determination of a minimum set of source symbols for repair..... | 18 |
+| 6.1.3.2 Option 2: Determination of a sufficient set of consecutive encoding symbols for repair ..... | 19 |
+| 6.1.3.3 Maximum Gaussian elimination..... | 20 |
+| 6.1.4 On choosing the SDU size..... | 20 |
+| 6.1.4.1 Analysis ..... | 21 |
+| 6.2 Streaming delivery method ..... | 21 |
+| 7 Usage scenarios..... | 22 |
+| 7.1 Service Discovery/Announcement..... | 22 |
+| 7.2 MBMS download delivery method..... | 23 |
+| 7.2.1 Example: Video clip download service use-case ..... | 23 |
+| 7.2.1.1 Use-case description ..... | 23 |
+| 7.2.1.2 Announced Metadata Fragments ..... | 24 |
+| 7.2.1.3 Reception of a video clip ..... | 24 |
+| 7.2.1.4 File Repair procedure ..... | 26 |
+| 7.2.2 The usage of the MBMS session Identity in file download delivery ..... | 28 |
+| 7.2.2.1 Introduction..... | 28 |
+| 7.2.2.2 Example 1: Usage of the Session ID to detect repetition ..... | 28 |
+| 7.2.2.3 Example 2: Declaration of files of a different MBMS bearer session in the FDT ..... | 29 |
+| 7.2.2.4 Example 3: Declaration of files of an MBMS bearer session in several FDT Instances..... | 30 |
+| 7.2.3 Partial File Delivery from MBMS Receiver to DASH Client..... | 31 |
+| 7.2.3.1 Introduction..... | 31 |
+| 7.2.3.2 Overall Mechanism..... | 31 |
+| 7.2.3.3 Client Request..... | 31 |
+| 7.2.3.4 Server Resonse..... | 32 |
+| 7.3 MBMS streaming delivery method..... | 32 |
+| 8 Codecs and formats..... | 33 |
+| Annex A: MBMS Forward Error Correction performance..... | 34 |
+| A.1 Theoretical performance ..... | 34 |
+
+A.2 Simulation results.....34
+A.2.1 Simulation conditions and assumptions (UTRAN)..... 35
+A.2.2 Simulation conditions and assumptions (GERAN)..... 36
+A.2.3 Simulation results: UTRAN download..... 37
+A.2.4 Simulation results UTRAN streaming ..... 38
+A.2.5 Simulation results GERAN download ..... 38
+A.2.6 Simulation results GERAN streaming ..... 39
+Annex B: Change history.....40
+
+# --- Foreword
+
+This Technical Report has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- Introduction
+
+MBMS user services can be built on top of the MBMS bearer service. The present document describes the usage of the two delivery methods, which are defined in [6]. The two delivery methods are streaming and download. Examples of applications using the download delivery method are news and software upgrades. Delivery of live music is an example of an application using the streaming delivery method.
+
+The objective of the present document is to provide an overview of the MBMS System, and describes how the MBMS User Services use the MBMS Bearer Services.
+
+# --- 1 Scope
+
+The present document is only informative. In case there are any contradiction between the present document and 26.346, then the 3GPP TS 26.346 takes precedence.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [2] 3GPP TS 22.146: "Multimedia Broadcast/Multicast Service (MBMS); Stage 1".
+- [3] 3GPP TS 22.246: "Multimedia Broadcast/Multicast Service (MBMS) user services; Stage 1".
+- [4] 3GPP TS 23.246: "Multimedia Broadcast/Multicast Service (MBMS); Architecture and functional description".
+- [5] 3GPP TS 25.346: "Introduction of the Multimedia Broadcast/Multicast Service (MBMS) in the Radio Access Network (RAN); Stage 2".
+- [6] 3GPP TS 26.346: "Multimedia Broadcast/Multicast Service (MBMS); Protocols and codecs".
+- [7] 3GPP TS 33.220: "Generic Authentication Architecture (GAA); Generic bootstrapping architecture".
+- [8] 3GPP TS 33.246: "3G Security; Security of Multimedia Broadcast/Multicast Service (MBMS)".
+- [9] IETF RFC 3926 (October 2004): "FLUTE - File Delivery over Unidirectional Transport", T. Paila, M. Luby, R. Lehtonen, V. Roca and R. Walsh.
+- [10] IETF RFC 3450 (December 2002): "Asynchronous Layered Coding (ALC) Protocol Instantiation", M. Luby, J. Gemmell, L. Vicisano, L. Rizzo and J. Crowcroft.
+- [11] IETF RFC 3451 (December 2002): "Layered Coding Transport (LCT) Building Block", M. Luby, J. Gemmell, L. Vicisano, L. Rizzo, M. Handley and J. Crowcroft.
+- [12] IETF RFC 3452 (December 2002): "Forward Error Correction (FEC) Building Block", M. Luby, L. Vicisano, J. Gemmell, L. Rizzo, M. Handley and J. Crowcroft.
+- [13] IETF RFC 3695 (February 2004): "Compact Forward Error Correction (FEC) Schemes", M. Luby and L. Vicisano.
+- [14] IETF RFC 2327 (April 1998): "SDP: Session Description Protocol", M. Handley and V. Jacobson.
+- [15] IETF RFC 2357 (June 1998): "IETF Criteria for Evaluating Reliable Multicast Transport and Application Protocols", A. Mankin, A. Romanow, S. Bradner and V. Paxson.
+- [16] IETF RFC 3550 (July 2003): "RTP: A Transport Protocol for Real-Time Applications", H. Schulzrinne, S. Casner, P. Frederick and V. Jacobson.
+- [17] ITU-T Recommendation H.264 (2003): "Advanced video coding for generic audiovisual services" | ISO/IEC 14496-10:2003: "Information technology - Coding of audio-visual objects - Part 10: Advanced Video Coding".
+
+- [18] IETF RFC 3984 (February 2005): "RTP payload Format for H.264 Video", S. Wenger, M.M. Hannuksela, T. Stockhammer, M. Westerlund and D. Singer.
+- [19] IETF RFC 2616 (June 1999): "Hypertext Transfer Protocol -- HTTP/1.1".
+- [20] 3GPP TS 26.244: "Transparent end-to-end streaming service; 3GPP file format (3GP)".
+- [21] 3GPP TS 26.247: "Transparent end-to-end Packet-switched Streaming Service (PSS); Progressive Download and Dynamic Adaptive Streaming over HTTP (3GP-DASH)".
+
+# --- 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in 3GPP TR 21.905 [1] and the following apply.
+
+**broadcast service:** See 3GPP TS 22.146 [2].
+
+**broadcast session:** See 3GPP TS 22.146 [2].
+
+**Local MBMS Area:** area of a MBMS service, where the service content is the same. One MBMS service may have different content in different local broadcast areas
+
+**Multimedia Broadcast/Multicast Service (MBMS):** See 3GPP TS 22.146 [2].
+
+**MBMS user services:** See 3GPP TS 22.246 [3].
+
+**MBMS user service discovery/announcement:** user service discovery refers to methods for the UE to obtain the list of available MBMS user services along with information on the user service
+The user service announcement refers to methods for the MBMS service provider to make the list of available MBMS user services along with information on the user service available to the UE.
+
+**MBMS user service initiation:** MBMS user service initiation refers to the UE mechanism to set up the reception the MBMS user service data
+
+**MBMS delivery method:** mechanism used by a MBMS user service to deliver content
+There are two MBMS delivery method instances: download and streaming.
+
+**MBMS download delivery method:** delivery of discrete objects (e.g. files) by means of a MBMS download session
+
+**MBMS streaming delivery method:** delivery of continuous media (e.g. real-time video) by means of a MBMS streaming session
+
+**MBMS download session:** time, protocols and protocol state (i.e. parameters) which define sender and receiver configuration for the download of content files
+
+**MBMS streaming session:** time, protocols and protocol state (i.e. parameters) which define sender and receiver configuration for the streaming of content
+
+**multicast joining:** See 3GPP TS 22.146 [2].
+
+**multicast service:** See 3GPP TS 22.146 [2].
+
+**multicast session:** See 3GPP TS 22.146 [2].
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the following abbreviations apply:
+
+| | |
+|-------|---------------------------------------------|
+| ALC | Asynchronous Layered Coding |
+| APN | Access Point Name |
+| AVC | Advanced Video Coding |
+| BM-SC | Broadcast-Multicast - Service Centre |
+| CC | Congestion Control |
+| ERT | Expected Residual Time |
+| ESI | Encoding Symbol ID |
+| FDT | File Delivery Table |
+| FEC | Forward Error Correction |
+| FLUTE | File deLivery over Unidirectional Transport |
+| GGSN | Gateway GPRS Serving Node |
+| GPRS | General Packet Radio Service |
+| IP | Internet Protocol |
+| LCT | Layered Coding Transport |
+| MBMS | Multimedia Broadcast/Multicast Service |
+| MIME | Multipurpose Internet Mail Extensions |
+| MS | Mobile Station |
+| MSK | MBMS Service Key |
+| MTK | MBMS Traffic Key |
+| MUK | MBMS User Key |
+| PSS | Packet Switch Streaming |
+| PTM | Point To Multipoint |
+| PTP | Point To Point |
+| RTP | Real-Time Transport Protocol |
+| SBN | Source Block Number |
+| SCT | Sender Current Time |
+| SDP | Session Description Protocol |
+| TMGI | Temporary Mobile Group Identity |
+| TOI | Transport Object Identifier |
+| TSI | Transport Session Identifier |
+| UDP | User Datagram Protocol |
+| UE | User Equipment |
+| URI | Uniform Resource Identifier |
+| URL | Uniform Resource Locator |
+| XML | eXtensible Markup Language |
+
+# 4 Overview
+
+## 4.1 Phasing model
+
+
+
+Figure 1: Mapping between MBMS Bearer and User Service phases. The diagram shows three vertical columns of phases. The left column is 'MBMS UE Phase' with four boxes: 'User Service Discovery / Announcement', 'User Service initiation (Service Activation)', 'Data Reception', and 'User Service termination'. The right column is 'BM-SC Phase' with four boxes: 'User Service Discovery / Announcement', 'Session Start', 'Data Transmission', and 'Session Stop'. The middle column is 'MBMS Multicast Bearer Service Phases' with six boxes: 'Subscription', 'Service announcement', 'Joining', 'Session start', 'MBMS notification', 'Data transfer', 'Session Stop', and 'Leaving'. Arrows show the mapping: UE Discovery to Subscription and Service announcement; UE Initiation to Joining; UE Data Reception to Data transfer; UE Termination to Session Stop and Leaving. BM-SC Discovery to Service announcement; BM-SC Session Start to Session start; BM-SC Data Transmission to Data transfer; BM-SC Session Stop to Session Stop. Large blue arrows point down each column.
+
+**Figure 1: Mapping between MBMS Bearer and User Service phases**
+
+This mapping is applicable for the MBMS Broadcast and Multicast Modes.
+
+It is assumed that the MBMS bearer service phases "Session start" and "MBMS notification" are handled autonomously and without interaction from the receiver application perspective.
+
+It is assumed, that the Session Start phase "triggers" MBMS Notification phase.
+
+## 4.2 System overview
+
+Figure 2 gives an overview of functions for MBMS user services based on the MBMS download and the MBMS streaming delivery methods. The figure includes the MBMS User service provision phases (arrow on the right side of the figure). The Phase "MBMS User Service activation / deactivation" is an individual phase and is generally triggered by a user action. The break in the sequence indicates that the service activation phases are independent from the session
+
+start/stop and the data transfer phases. The service provider initiates the establishment of the MBMS User Plane (Session Start/Stop and the Data Transfer Phases) when there is content to be transmitted.
+
+
+
+Figure 2: MBMS system overview. This diagram illustrates the interactions between a Client, Network Provider, and Service Provider across four phases: User Service Discovery / Announcement, User Service Initiation / Termination, Session Start / Stop, and Data Transmission. The Client side includes an Application (e.g., existing media player) and Service Enabler (e.g., OMA). The Network Provider side includes the MBMS User Service Receiver, MBMS Bearer Service Receiver, IGMP Join / leave, Defaults Bearer, MBMS UE & BS Context, MBMS BS Context, Ctrl Plane, User Plane, MC-Relay & Source Authentication, and MBMS Bearer Service Control. The Service Provider side includes the List of services to select, Interactive Bearer, SMS(CBS)/MMS, MBMS Bearer, MBMS User Service Discovery, Optional User Authentication, Transmission Control, MBMS User Service Transmitter, and Post-Delivery Processing Server. Arrows indicate the flow of information and data between these components, with specific protocols like http-digest, IGMP, and RTP/UDP/IP mentioned.
+
+Figure 2: MBMS system overview
+
+The MBMS Bearer Services are embedded in MBMS User Service procedures. The major part of the data is transferred via the MBMS Bearer Service. MBMS User Services include Associated-Delivery procedures (e.g. file repair) to augment the original MBMS Bearer sessions. Security functions are incorporated into the overview figure. One dedicated user authentication procedure is depicted in conjunction with the MBMS Bearer Service Activation procedure within the Session Establishment phase.
+
+The figure contains client and network functions. Interactions, which are only applicable for the MBMS Multicast Mode, are marked accordingly.
+
+# 5 Description of User Service procedures
+
+## 5.1 User Service Discovery / Announcement
+
+The "User Service Discovery / Announcement" phase provides all necessary information about available services and needed parameters to become member of a service. User Service Discovery / Announcement mechanism can provide information on available MBMS User services in pull mode, via the Web or WAP Portals, or in push mode, via SMS or MBMS Download based User Service.
+
+The User Service Discovery / Announcement phase provides all necessary information for the "Service Activation" triggered by the UE. The necessary session parameters to configure the service activation are provided according to Session Description Protocol (SDP) specification (RFC 2327 [14]), which are complemented by additional information containing additional service parameters. Additionally, Service Discovery includes DRM/security descriptions.
+
+In the case of a size-limited delivery method (e.g. SMS, MMS) being used during the Service Announcement / Discovery phase, it should be recognized that Service Announcement messages are not of fixed length. Methods of limiting the size of the message may be adopted. It is suggested that should a size-limited delivery method be selected,
+
+parameters such as URI lengths and the number of Connection data and Media announcement fields should be chosen appropriately.
+
+## 5.2 User Service Initiation / termination procedure
+
+For MBMS User service activation, the UE needs to perform a security function and the MBMS Bearer Service activation procedures. In the case of MBMS Multicast Mode, an IGMP or MLD message is sent via a "default" PDP context and triggers the creation of the MBMS UE context in various nodes. A MBMS Bearer Service (BS) context is only created once when the very first MBMS UE context is created in a node. In the case of MBMS Broadcast Mode, network-side elements establish the MBMS BS context without requiring user initiated messaging. The basic idea behind these procedures is that several UEs share one single bearer. The IP Multicast address and information for the MBMS User Service receiving application is given via the MBMS Service Discovery mechanism.
+
+In case the service requires user authentication, security procedures are performed before the MBMS bearer Service Activation procedure. The "user authentication" procedure is a service optional security procedure. A password is derived from the shared secret (result of a GBA run) and used in the http-digest security procedure to authenticate the user (see 3GPP TS 33.220 [7] and 3GPP TS 33.346 [8] for further details).
+
+The "User Authentication & Service Membership" phase provides procedures to register and authenticate users. The procedures shall follow the security specifications. In the case of MBMS Multicast Mode, this phase may authorize the service activation request from the UE. This function is present when security procedures like authentication and traffic encryption are required.
+
+## 5.3 Session Start / Stop
+
+According to the 3GPP TS 23.246 [4], the BM-SC controls the activation and the release of the MBMS User plane (switching of the MBMS BS context between "Active" and "Idle"). The Service Provider might trigger this process on the availability of new content. The release of the user plane resources depends on the transmission duration of the content. The transmission duration depends in case of the MBMS Download User Service on the content size, on the (optional) Forward-Error-Correction (FEC) overhead for error protection and the bitrate of the MBMS bearer.
+
+## 5.4 Data transmission
+
+The "MBMS User Service Transmitter" contains the MBMS User Service specific transmission protocols. Optionally, the content is protected by a Forward Error Correction (FEC) code. The traffic is sent using either IP unicast addressing or IP Multicast addressing via the BM-SC onto the MBMS Bearer Service. Note, the BM-SC is able to take IP Unicast and IP Multicast traffic as input according to 3GPP TS 23.246 [4].
+
+In case of IP Unicast, the BM-SC is directly addressed by the MBMS User Service Transmitter and relays the traffic to IP Multicast. In case of IP Multicast, the traffic is forwarded by the BM-SC and the MBMS User Service Transmitter forwards the data to an IP Multicast group. Additionally the MC-Relay in the BM-SC may perform additional source authentication procedures to avoid unauthorized traffic entering the Core Network.
+
+The "MBMS User Service Receiver" combines the reception via the MBMS Bearer Service and interactive bearer services in a controlled way. Optional "Associated-Delivery Processing Servers" are invoked after the actual MBMS data reception from the clients. A typical associated-delivery procedure is a point-to-point file repair mechanism for delivering missing data to clients of an MBMS Download session, which perceived packet losses that are unrecoverable during the broadcast/multicast transmission. The load of the point-to-point repair mechanism may be spread randomly in time and also across network elements. The MBMS Bearer Service may be configured to provide a constant or variable bit rate as requested by the MBMS User Service. The MBMS Bearer Service is expected to be service independent and can be configured by a Network Provider for MBMS Download and MBMS Streaming User Services.
+
+## 5.5 Associated-Delivery procedures
+
+Associated-delivery procedures may also include the usage of MBMS bearers.
+
+### 5.5.1 File Repair service
+
+It should be possible for UEs to repair erroneous files, delivery by the download delivery method, by means of repair request and response operations.
+
+### 5.5.2 Content reception reporting
+
+It should be however possible for the operator to collect statistical data such as lost frames, assigned resources, bit-rates achieved, etc. (3GPP TS 22.246 [3]).
+
+# 6 Delivery methods
+
+## 6.1 Download delivery method
+
+The MBMS Download Delivery Method allows the error-free transmission of files via the unidirectional MBMS Bearer Services. The files are "downloaded" and stored in the local files-system of the user equipment. The network triggers the transmission since the users are registered to the download service. There is no further user request necessary after the service registration. Files may contain multimedia components or any other binary data. The MBMS Download Delivery Method allows the transmission of an arbitrary number of files within a single data transfer phase.
+
+
+
+The diagram illustrates the temporal sequence of MBMS Download Sessions. A horizontal axis at the bottom represents time (t). Above this axis is a continuous green bar labeled "MBMS Bearer Service #x". Above this bar, two distinct groups of boxes represent download sessions. The first group, labeled "MBMS Download Session #n", contains three boxes: "FDT inst. #y", "File 1", and "File 2". The second group, labeled "MBMS Download Session #n+1", contains four boxes: "FDT inst. #(y+1)", "File 1", "File 2", and "File 3". Brackets above each group of boxes identify them as separate sessions. The entire sequence is labeled "MBMS Download User Service" at the bottom.
+
+Diagram illustrating the definition of MBMS Download Sessions. It shows two sessions, MBMS Download Session #n and MBMS Download Session #n+1, occurring sequentially over time (t). Each session is transmitted via an MBMS Bearer Service (labeled #x). Session #n contains an FDT instance #y, File 1, and File 2. Session #n+1 contains an FDT instance #(y+1), File 1, File 2, and File 3. The sessions are part of an MBMS Download User Service.
+
+**Figure 3: Definition of MBMS Download Sessions**
+
+Figure 4 is an example of an MBMS User Service based on the Download Delivery Method. The file transmission events are organized in MBMS Download Sessions. Each session is started with a File Delivery Table (FDT) instance, which describes in this example each file within the MBMS Download Session in terms of file name and file type (MIME Content Type). The service operator and the actual service would determine the timing of MBMS Download Sessions.
+
+Users of the download-based MBMS User Service are not required to recognize the MBMS Downloading process itself, the reception may be happening completely in background. The user may be only informed about the completion of a MBMS download and that there is new content available on the terminal. Depending on the service, the MBMS Download session may require time-critical delivery of content.
+
+### 6.1.1 SDL diagram of the download delivery method for the MBMS UE
+
+Figure 4 and figure 5 describes the operation of an MBMS download receiver. The MBMS UE performs the steps described in the SDL diagram for each received Transport Object. An MBMS FDT may include a number of transmission objects, each identified by a unique Transmission Object Identifier (TOI).
+
+The SDL identifies four states of the MBMS UE. A brief description of these states follows:
+
+- The "**standby**" state reflects the state of the MBMS UE, in which MBMS download receiver is initialized and bound to one specific download channel (IP Multicast Address/Port plus Source Address). Note, the MBMS bearer is not in active state.
+- The "**Object Reception**" state reflects the state of the MBMS UE, in which the MBMS UE is receiving data for transport objects. The Transport Object Identifier (TOI) identifies one transport object. The UE may receive FDT Instance updates related to the object being downloaded, in which case it should update the corresponding information for that object.
+- The "**defer file repair**" state reflects the state of the MBMS UE, in which the MBMS UE deferring the file repair request message. Deferring the file repair request message is described in clause 9.3.4 of 3GPP TS26.346 [6].
+- The "**defer reception reporting**" state reflects the state of the MBMS UE, in which the MBMS UE deferring the file repair request message. Deferring the file repair request message is described in clause 9.4.4 of 3GPP TS 26.346 [6].
+
+
+
+```
+
+graph TD
+ Start([ ]) --> Standby((Standby))
+ Standby --> FDT_Rec[/FDT Instance for
+object received/]
+ Standby --> Data_Rec[/Data packet
+received/]
+ FDT_Rec --> Obj_Rec((Object
+Reception))
+ Data_Rec --> Obj_Rec
+
+ Obj_Rec --> DP_Rec[/Data Packet
+Received/]
+ Obj_Rec --> AB_Flag[/Packet with A-flag
+or B-flag
+Received./]
+ Obj_Rec --> FDT_Exp[/FDT Instance
+timer expired/]
+
+ DP_Rec --> Cons1[Consume Data]
+ AB_Flag --> Cons2[Consume Data]
+
+ Cons1 --> Enough1{Enough data to
+recover Object?}
+ Cons2 --> Enough2{Enough data to
+recover Object?}
+
+ Enough1 -- No --> Act_MBMS[Activate MBMS
+bearer
+(if necessary)]
+ Act_MBMS --> Obj_Rec
+ Enough1 -- Yes --> Redir_Check
+
+ Enough2 -- Yes --> Redir_Check
+ Enough2 -- No --> PTM_Mech{P-t-M Repair
+Mechanisms defined?}
+
+ FDT_Exp --> PTP_Mech{P-t-P Repair
+Mechanisms defined?}
+
+ PTP_Mech -- No --> PTM_Mech
+ PTP_Mech -- Yes --> Sel_Rep[Select Repair Server
+and Start Backoff Timer]
+
+ Sel_Rep --> Defer((defer file
+repair))
+ Defer --> Back_Exp[/Backoff Timer
+Expired/]
+ Back_Exp --> PTP_Req[/P-t-P Repair
+request/]
+ PTP_Req --> Redir_Check
+
+ PTM_Mech -- Yes --> Redir_Check
+ PTM_Mech -- No --> Ind_PTM[/Indication of
+P-t-M Repair
+Session/]
+ Ind_PTM --> Redir_Check
+
+ Redir_Check{Redirection to P-t-M
+repair Session received?}
+ Redir_Check -- Yes --> Rec_Rep_Data((Receive
+repair data))
+ Redir_Check -- No --> Serv_Avail{Server not available,
+redirection to other
+server, error case?}
+
+ Serv_Avail -- Yes --> Redir_Check
+ Serv_Avail -- No --> HTTP_Time[/HTTP
+Timeout/]
+
+ Rec_Rep_Data --> DP_Rec_Rep[/Data packet
+received/]
+ DP_Rec_Rep --> Cons3[Consume Data]
+ Cons3 --> Enough3{Enough data to
+recover Object?}
+
+ Enough3 -- Yes --> Rep_Report((Reception
+Reporting))
+ Enough3 -- No --> Redir_Check
+
+ Rep_Report --> Standby
+ HTTP_Time --> Standby
+
+```
+
+The SDL diagram details the MBMS UE file download process. It starts at 'Standby', moving to 'Object Reception' upon receiving an FDT instance or data packet. Within 'Object Reception', data is consumed and checked for completeness. If incomplete, it may activate an MBMS bearer or check for repair mechanisms. P-t-P repair involves a backoff timer and server selection, while P-t-M repair involves checking for session redirections. The process concludes with 'Reception Reporting' upon successful object recovery or an 'HTTP Timeout' in case of server errors, both returning the UE to 'Standby'.
+
+SDL diagram for the file download process of the MBMS UE
+
+Figure 4: SDL diagram for the file download process of the MBMS UE
+
+
+
+```
+
+flowchart TD
+ Start((Reception Reporting)) --> Defined{Reception Reporting
+defined?}
+ Defined --> |Yes| Statistical{Statistical Reporting?}
+ Defined --> |No| End((End of Reception))
+
+ Statistical --> |Yes| Random[Determine Randomly
+whether to send a
+report.]
+ Statistical --> |No| Complete{Complete File
+Reception?}
+
+ Random --> SendStat{Send a statistical
+Report?}
+
+ Complete --> |Yes| SendStat
+ Complete --> |No| End
+
+ SendStat --> |No| End
+ SendStat --> |Yes| Select[Select Reception
+Reporting and Start
+Backoff Timer]
+
+ Select --> Defer((defer
+reception
+reporting))
+ Defer --> Expired[/Backoff Timer
+Expired/]
+ Expired --> Send[Send
+Reception
+Report]
+ Send --> End
+
+```
+
+SDL diagram for the reception reporting of the file download process of the MBMS UE. The diagram shows a state transition process starting from 'Reception Reporting' (initial state). It includes decision diamonds for 'Reception Reporting defined?', 'Statistical Reporting?', and 'Complete File Reception?'. It also includes actions like 'Send a statistical Report?', 'Select Reception Reporting and Start Backoff Timer', 'defer reception reporting', 'Backoff Timer Expired', 'Send Reception Report', and 'Determine Randomly whether to send a report.' The process ends at 'End of Reception' (final state).
+
+NOTE: Statistical Reports for download are only sent, if either a "Close session flag" (see clause 7.2.6) is received or the "time to" value of the session description (from "t=" in SDP) is reached or a UE decides to exit the session.
+
+**Figure 5: SDL diagram for the reception reporting of the file download process of the MBMS UE**
+
+### 6.1.2 Transport of MBMS download data
+
+This clause explains briefly how files are constructed for and transported during a FLUTE session.
+
+The BM-SC takes a file, e.g. a video clip or a still image, which is used as the transport object for FLUTE (see figure 6). The BM-SC constructs source block by breaking the file into contiguous portions of approximately equal size. Each source block is broken into source symbols. One or more encoding symbols are carried as the payload of a FLUTE packet, thus the encoding symbol size must divide the FLUTE packet size. The target FLUTE packet size is configured by the BM-SC and, together with the file size, is used to determine the encoding symbol length. Note that when FEC is used with smaller files it is often necessary to include several symbols in each FLUTE packet. This means that the FLUTE packets cannot be fixed at a specific arbitrary size by the operator, because they must be a multiple of the number of symbols required per packet in size. Based on the transport object length, the encoding symbol length and the maximum source block length, FLUTE calculates the source block structure (i.e., the number of source blocks and their length).
+
+#### Constructing FLUTE Packets
+
+
+
+Diagram illustrating the construction of FLUTE packets from a file. A file icon is shown on the left, followed by an equals sign. The file is divided into a 'transport object' (represented by a binary string: 1011010100, 1010101101, 1010101010, 0100100101, 0000000000, 1111111111, 0110010110, 1100101011). This is then divided into 'source block(s)' (represented by two binary strings: 1011010100, 1010101101 and 1010101010, 0100100101). These source blocks are then divided into 'encoding symbol(s)' (represented by four binary strings: 000000, 000000, 111111, 111111). Finally, the encoding symbols are combined into a 'FLUTE packet' (represented by a 'Header' and a '111111' symbol), which is then shown as a 'FLUTE/UDP/IP packet'.
+
+**Figure 6: Constructing FLUTE packets**
+
+The BM-SC communicates the transport object length, the encoding symbol length and the file size to the receivers within the FLUTE session transmission. Thus the receiver can also calculate the source block structure in advance of receiving a file.
+
+The FLUTE packet is constructed from FLUTE header and payload containing one or more encoding symbols.
+
+The distinction between file and transport object is that the file is the object provided to the BM-SC and played-out or stored at the MBMS UE. Within the scope of FLUTE sessions, content encoding may be used, for instance to compress the file with gzip for delivery. In the presence of FLUTE session content encoding, the file and the transport object will be different binary objects, and in the absence of content encoding the transport object will be identical to the file. Any symbol calculations (including FEC) are performed on transport objects.
+
+EXAMPLE 1: File size: 1 MB (1 048 576 bytes)
+ Target packet size (payload): 500 bytes
+ Maximum source symbols: 8 192 (defined by FEC code)
+ Minimum source block target: 1 024 (recommended by FEC code)
+ Symbol alignment parameter: 4 bytes
+
+Based on the recommendations of 3GPP TS 26.346 [6], clause B.3.4.1, then the above parameters would lead to 1 symbol of 500 bytes per packet and the file would be treated as a single source block with 2 098 symbols.
+
+EXAMPLE 2: File size: 16 MB (16 777 216 bytes)
+ Target packet size (payload): 250 bytes
+ Maximum source symbols: 8 192 (defined by FEC code)
+ Minimum source block target: 1 024 (recommended by FEC code)
+ Symbol alignment parameter: 4 bytes
+
+This would result in 1 symbol of 248 bytes per packet and the file being broken into 9 source blocks, 2 source blocks will have size 7616 symbols and the remaining 7 will have size 7 517 symbols.
+
+EXAMPLE 3: File size: 256 KB (262 144 bytes)
+ Target packet size (payload): 500 bytes
+ Maximum source symbols: 8 192 (defined by FEC code)
+ Minimum source block target: 1 024 (recommended by FEC code)
+ Symbol alignment parameter: 4 bytes
+
+This would result in 2 symbols of 248 bytes each per packet and the file being treated as a single source block of 1 058 symbols.
+
+### 6.1.3 Repair Symbol Request
+
+In 3GPP TS 26.346 [6], clause 9.3.3, on "Identification of Missing Data from an MBMS Download", it is stated that an MBMS UE is able to identify the ESI values of required source and/or repair symbols that would complete the reconstruction of a source block (of a file) and that the corresponding symbols can be requested from the server. Especially for the case when MBMS FEC scheme is used, the MBMS client should either:
+
+1. identify a minimal set of source symbols that, combined with the already received symbols, allow the MBMS FEC decoder to recover the file; or
+2. identify a number, $r$ , of symbols such that reception of $r$ previously non-received symbols will allow the MBMS FEC decoder to recover the file.
+
+Option 1 (clause 6.1.3.1) is more appropriate if only very few symbols are lost as the signalling of only very few symbols is more efficient. In contrast, option 2 (clause 6.1.3.3) is appropriate in the case where a significant amount of symbols are not available. To minimize the uplink traffic, sending only the initial symbol ESI and the amount of requested consecutive symbols is more appropriate. The decision which option to use is up to the MBMS client.
+
+For both options, example algorithms to determine a suitable set of repair symbols are presented in the following. For option 1 the derivation of a minimum set of source symbols and for option 2 the derivation of a sufficient set of consecutive repair symbols is described based on the initial matrix **A** as constructed in 3GPP TS 26.346 [6], clause C.2.1. In both cases, a maximum Gaussian elimination as described below is performed on **A**. Then, the matrix is virtually extended by those rows which, for option 1, represent the missing source symbols and, for option 2, a set of consecutive repair symbols. Maximum Gaussian elimination is again performed on this new matrix. With appropriate tracking of row and column labels this process allows finding an appropriate set of ESIs for repair of the source block as requested in 3GPP TS 26.346 [6], clause 9.3.3. Note that almost all parts of described algorithms can be included in the regular FEC decoding process as specified in annex C such that the decoding complexity is minimized. Nevertheless, the description of the following algorithms is based on the unmodified matrix **A**.
+
+#### 6.1.3.1 Option 1: Determination of a minimum set of source symbols for repair
+
+The following algorithm operating on matrix **A**, is used to determine a minimum set of source symbols for successful recovery:
+
+1. Assume **c** to be the column index vector of length $L$ with labels such that column exchanges can be tracked, e.g. for all $i=0, \dots, L-1$ $c[i]=i$ .
+2. Apply the maximum Gaussian elimination process, as described below, to **A**, with tracking of column labels **c**. The process returns matrices **U** and **W** as well as the modified column label vector **c'** of dimension $L$ .
+3. Generate an $m$ by $L$ matrix **G'**, whereby $m$ is equal to the number of non-received source symbols as follows. Consider **GLT ** to be the $K$ by $L$ generator matrix that corresponds to the outer LT encoder of the Raptor code generating the first $K$ encoding symbols according to figure 3GPP TS 26.346 [6], clause B.5.2.5.2-1. The matrix **G'** is constructed from matrix **GLT ** by deleting the rows corresponding to already received encoding symbols and by exchanging the columns according to **c'**. In addition, the rows in **G'** get assigned the corresponding ESIs and these labels are tracked in **v'**.
+4. A new decoding matrix **A'** is constructed in the following way:
+
+
+
+| | |
+|-----------|----------|
+| U | W |
+| G' | |
+
+Diagram of the new decoding matrix A' showing a rectangular matrix divided into three parts: U in the top left, W in the top right, and G' spanning the bottom half.
+
+Figure 7: New decoding matrix **A'**
+
+5. In addition, a row label vector $\mathbf{v}$ is generated by the vertical stacking of $\mathbf{n}$ and $\mathbf{v}'$ , i.e. $\mathbf{v}=[\mathbf{n}^T \mathbf{v}'^T]^T$ whereby $\mathbf{n}$ represents a vector containing any $\text{rank}(\mathbf{U})=\text{dim}(\mathbf{U})$ entries such that any label of $\mathbf{n}$ can be distinguished from any label in $\mathbf{v}'$ . In the remainder we assume $\mathbf{n}$ being an all -1 vector of dimension $\text{rank}(\mathbf{U})$ .
+6. Apply the maximum Gaussian elimination process to $\mathbf{A}'$ , as described in clause 6.1.3.3, with tracking of row labels $\mathbf{v}$ . The process returns the exchanged row labels $\mathbf{v}^*$ .
+7. The ESIs of the encoding symbols forming a minimum set of repair symbols are obtained by the labels in $\mathbf{v}^*$ which are not -1.
+
+#### 6.1.3.2 Option 2: Determination of a sufficient set of consecutive encoding symbols for repair
+
+The following algorithm operating on matrix $\mathbf{A}$ is used to determine a sufficient set of consecutive encoding symbols for successful repair:
+
+1. Assume $\mathbf{c}$ to be the column index vector of length $L$ with labels such that column exchanges can be tracked, e.g. for all $i=0, \dots, L-1$ $\mathbf{c}[i]=i$ .
+2. Apply the maximum Gaussian elimination process, as described below, to $\mathbf{A}$ , with tracking of column labels $\mathbf{c}$ . The process returns matrices $\mathbf{U}$ and $\mathbf{W}$ as well as the modified column label vector $\mathbf{c}'$ of dimension $L$ .
+3. Assume that $R_{\text{low}}$ is one higher than the largest ESI received and that $R_{\text{high}}=R_{\text{low}}+m-1$ . Generate an $m$ by $L$ matrix $\mathbf{G}'$ , whereby $m$ is equal to or only slightly greater than the minimum number of missing repair symbols $L-\text{rank}(\mathbf{U})$ by vertically stacking rows that correspond to the outer LT encoder of the Raptor code for all ESI from $R_{\text{low}}, \dots, R_{\text{high}}$ .
+4. A new decoding matrix $\mathbf{A}'$ is constructed according to figure 7.
+5. Apply the maximum Gaussian elimination process to $\mathbf{A}'$ which returns some different $\mathbf{U}$ and $\mathbf{W}$ as described in clause 6.1.3.3.
+6. If $\mathbf{W}$ is not the empty matrix, then:
+ - Set $R_{\text{high}}=R_{\text{high}}+1$
+ - Generate an 1 by $L$ matrix $\mathbf{G}'$ constructed according to the outer LT encoder of the Raptor code for $\text{ESI}=R_{\text{high}}$ .
+ - Go to 4
+7. the ESIs of the encoding symbols forming a minimum set of repair symbols are obtained by requesting all symbols with ESI from $R_{\text{low}}, \dots, R_{\text{high}}$ .
+
+#### 6.1.3.3 Maximum Gaussian elimination
+
+Assume that we have given any matrix $\mathbf{X}$ as well as possibly a vector of row labels $\mathbf{v}$ or possibly a column label vector $\mathbf{c}$ or possibly both. A maximum Gaussian elimination is an algorithm similar to standard Gaussian elimination, in which the main diagonal is extended to its maximum limit, i.e., the number of 1s in the main diagonal after this algorithm has been applied, correspond to the rank of the input matrix $\mathbf{X}$ , i.e., $\text{rank}(\mathbf{X})$ ..
+
+To be more specific assume that matrix **X** is conceptually divided into 4 parts as shown in figure 8.
+
+
+
+| | |
+|----------|----------|
+| U | W |
+| Z | B |
+
+Figure 8: Conceptual division of X into 4 blocks. The diagram shows a 2x2 grid of blocks labeled U, W, Z, and B. U is in the top-left, W is in the top-right, Z is in the bottom-left, and B is in the bottom-right.
+
+**Figure 8: Conceptual division of X into 4 blocks**
+
+where **U** is a square-upper-matrix with 1s in the main diagonal and zeros below the main diagonal, **Z** is a zero matrix and **W** and **B** are any arbitrary matrices with appropriate dimensions. Initially, **U**, **W**, and **Z** have dimensions such that **B=X**.
+
+In the maximum Gaussian elimination process, the matrix **X** and if present, the row label vector **v** and column label vector **c**, are now processed and modified in the following way:
+
+1. Partition the matrix **X** in **U**, **Z**, **W**, and **B** as shown in figure 8 such that **U** is a square-upper-matrix with 1s in the main diagonal and zeros below the main diagonal, **Z** is a zero matrix and **W** and **B** are any arbitrary matrices with appropriate dimensions.
+2. If **B** is the zero matrix, the algorithm stops and returns matrices **U** and **W**, if **v** is present, the first $\text{rank}(\mathbf{U})$ components of **v** in some vector **v'**, and if **c** is present, the entire vector **c**.
+3. Otherwise, **B** is transformed using row/column exchange(s) into a matrix with a 1 the in upper-left corner. The following operations on **B** are allowed:
+ - a) row exchange, accompanied by the exchange of row labels in **v**, if present.
+ - b) column exchange, accompanied by the exchange of column labels in **c**, if present.
+4. by means of row additions, the rows of **B** (except the first row) are eliminated, i.e. 0s are produced in all rows of the first column of **B** except for the first row.
+5. the process restarts with the updated matrix **X** in 1.
+
+### 6.1.4 On choosing the SDU size
+
+This clause provides a simple analysis that suggests how to choose the SDU size. The crux of the analysis is to notice that there is a fundamental tradeoff between two competing factors that suggest how to choose the SDU size. The two factors are the relative length of the SDU header compared to the SDU size, and the SDU loss rate induced by PDU loss. Generally the SDU header size is fixed by other considerations, and the PDU loss rate is determined by characteristics of the underlying network. Given a fixed SDU header size and PDU loss rate, making the SDU larger means the header wastes less space per SDU, whereas making the SDU smaller means the SDU loss induced by PDU loss is smaller. The MBMS FEC code has the property that data (which is a source file in the case of the file download service or a source block in the case of the streaming service) can be recovered with high probability from the reception of any set of encoding packets only slightly greater in length to the data, independent of packet loss amounts or patterns. The loss of SDUs has the same negative impact on wasted bandwidth in terms of delivering the data as the wasted (but necessary) SDU header space. Thus, the goal is to choose an SDU length so that the bandwidth wasted due to headers and SDU loss induced by PDU loss is minimized. (It is important to note that this is not trying to minimize total SDU loss, only the contribution to SDU loss due to PDU loss. Other sources of SDU loss, e.g. cell change loss, cell congestion loss, backbone loss, UE unavailable loss, all independently contribute to bandwidth wastage but do not affect the analysis of how to choose the SDU size based on balancing the header wastage against the PDU loss induced wastage.)
+
+#### 6.1.4.1 Analysis
+
+Let $H$ be the SDU header size (which for example consists of the IP/UDP/FLUTE headers), let $B$ be the PDU size and let $p$ be the PDU loss probability, and all of these parameters are fixed. Let $P$ be the overall SDU size (including headers) that is to be set based on the fixed parameters. Let $h = H/P$ be the fractional header wastage. For example, if $H = 44$ bytes, $P = 440$ bytes then $h = 0.1$ . Let $q$ be the SDU loss probability induced by PDU loss. To optimize the value of $P$ , one would want to choose the value of $P$ to make $h + q$ minimal. The contribution [1] derives the value of $q$ as a function of $P$ and $B$ and $p$ . From 3GPP TR 21.905 [1], and using $N \cdot p$ as an upper bound on the probability that $N$ PDUs are lost, an upper bound on the value of $q$ is $(1+P/B) \cdot p$ . The actual value of $q$ is at least $(1 - \varepsilon/2)$ times this upper bound when $N \cdot p < \varepsilon$ for $N = \text{ceil}(P/B) + 1$ , and hereafter the upper bound for $q$ will be used for the actual value of $q$ . To minimize $h + q$ means setting $P$ so as to minimize $H/P + (1+P/B) \cdot p$ , and this is minimized by setting $P = \sqrt{H \cdot B/p}$ . Let $A = \sqrt{H \cdot p/B}$ . The overall wastage for this value of $P$ is then $h + q = p + 2 \cdot A$ .
+
+The values of $H$ and $B$ are determined by the network and link layer protocols used for transport. For example, $H = 44$ bytes (IP/UDP/FLUTE headers) and $B = 640$ bytes for UTRAN or $B = 30$ bytes for GERAN. Note that if Robust Header Compression is applied in the RAN then the value of $H$ in these calculations must be reduced accordingly.
+
+The value of $p$ may or may not be known, but it may be possible to heuristically roughly estimate the average value of $p$ and use this to decide on the value of $P$ .
+
+Suppose for example $H = 44$ bytes, $B = 640$ bytes and $p = 0.1$ . The computed value of $P$ is 531 bytes, $h = 0.083$ , $q = 0.183$ and thus the overall wastage $h + q = 0.266$ . As another example, suppose $H = 44$ bytes, $B = 30$ bytes and $p = 0.01$ . The computed value of $P$ is 364 bytes, $h = 0.121$ , $q = 0.131$ and thus the overall wastage $h + q = 0.252$ .
+
+The penalty for using a value for $p$ to determine $P$ that is larger or smaller than the actual average PDU loss is that there will be wasted bandwidth, either from a header too large if the value of $p$ is estimated higher than the actual PDU loss rate or from too much SDU loss induced by PDU loss if the value of $p$ is estimated lower than the actual PDU loss rate. If for example the actual PDU loss is $p$ and the value used to compute $P$ is $\beta \cdot p$ then the overall wastage will be $p + (\sqrt{\beta} + \sqrt{1/\beta}) \cdot A$ instead of $p + 2 \cdot A$ . Since the first term $p$ is the same in both expressions, the ratio of the second terms is an upper bound on the relative wastage of choosing an incorrect $p$ value as a function of $\beta$ , and this ratio is $(\sqrt{\beta} + \sqrt{1/\beta})/2$ . For example if $\beta$ is anywhere in the range from $1/4$ to $4$ then the relative wastage is at most a factor of $1.25$ higher than it would be if $p$ were estimated precisely, and typically the actual factor (when the first terms are accounted for) is less than $1.25$ . For example if $H = 44$ bytes, $B = 640$ bytes and $p = 0.1$ and $\beta = 1/4$ (meaning that the estimate of the PDU loss used to set the value of $P$ is $\beta \cdot p = 0.025$ whereas the actual PDU loss is $p = 0.1$ ) then the chosen value of $P$ is 1,062 bytes and the wastage is $0.1 + 2.5 \cdot A$ where $A = 0.083$ , and thus the wastage is $0.307$ . If the correct value of PDU loss were used instead to choose the value of $P$ then $P$ would be set to 531 bytes and the wastage would be $0.1 + 2 \cdot A = 0.266$ . Thus, the ratio of the actual to the ideal wastage is $1.15$ .
+
+## 6.2 Streaming delivery method
+
+The MBMS Streaming Delivery Method aims at continuous transmission of data and the immediate play-out via the display and/or the loudspeaker. Mobile terminals retrieve transmission details like Multicast IP Address, TMGI and the used ports before the MBMS UEs can activate the reception. Upon interaction of the user and when all parameters are known, the UE "tunes in" the transmission and stays until the user decides to leave the transmission. This can happen before the transmission ends.
+
+For Release 6 no dynamic bandwidth adaptation is foreseen. The transmission bandwidth is determined by the BM-SC once and not changed during the life-time of the MBMS streaming session.
+
+# --- 7 Usage scenarios
+
+## 7.1 Service Discovery/Announcement
+
+Below an example for an aggregated service announcement document using multipart MIME type "multipart/related" (RFC2557) is described.
+
+```
+MIME-Version: 1.0
+Content-Type: multipart/related; boundary=D8119DDD2D264D4480E57277; type=" application/mbms-user-
+service-description+xml"
+Content-Length:
+
+--D8119DDD2D264D4480E57277
+```
+
+Content-Type: application/mbms-user-service-description+xml
+
+```
+
+
+
+ something in english
+ EN
+
+
+
+
+```
+
+--D8119DDD2D264D4480E57277
+
+Content-Type: application/sdp
+
+Content-Location: fragmentdir/session1.sdp
+
+```
+v=0
+o=ghost 2890844526 2890842807 IN IP4 192.168.10.10
+s=3GPP MBMS Streaming SDP Example
+i=Example of MBMS streaming SDP file
+u=http://www.infoserver.example.com/ae600
+e=ghost@mailserver.example.com
+c=IN IP4 224.1.2.3
+t=3034423619 3042462419
+b=AS:77
+a=source-filter: incl IN IP6 * 2001:210:1:2:240:96FF:FE25:8EC9
+a=FEC-declaration:0 encoding-id=1
+m=video 4002 RTP/AVP 97 96 100
+b=TIAS:62000
+b=RR:0
+b=RS:600
+a=rtpmap:96 H263-2000/90000
+a=fmtp:96 profile=3;level=10
+a=framesize:96 176-144
+a=rtpmap: 97 rtp-mbms-fec-tag/90000
+a=fmtp:97 opt=96; FEID=129; FIID=12435; FOTI="1SCxWEMNe397m24SwgyRhg=="
+a=rtpmap: 100 rtp-mbms-fec-symbols/10000
+a=fmtp:100 FEID=129; FIID=12435; FOTI="1SCxWEMNe397m24SwgyRhg=="; min-buffer-time=2600
+m=audio 4004 RTP/AVP 99 98 101
+b=AS:15
+b=RR:0
+b=RS:600
+a=rtpmap:98 AMR/8000
+a=fmtp:98 octet-align=1
+a=rtpmap: 99 rtp-mbms-fec-tag/8000
+a=fmtp: 99 opt=98; FEID=129; FIID=12435; FOTI="1SCxWEMNe397m24SwgyRhg=="
+a=rtpmap: 101 rtp-mbms-fec-symbols/10000
+a=fmtp:101 FEID=129; FIID=12435; FOTI="1SCxWEMNe397m24SwgyRhg=="; min-buffer-time=2600
+```
+
+NOTE: this SDP example needs updating according to the latest SDP definition.
+
+--D8119DDD2D264D4480E57277
+
+Content-Type: application/sdp
+
+Content-Location: fragmentdir/session2.sdp
+
+```
+v=0
+o=user123 2890844526 2890842807 IN IP6 2201:056D::112E:144A:1E24
+s=File delivery session example
+i=More information
+t=2873397496 2873404696
+a=mbms-mode:broadcast 1234
+a=FEC-declaration:0 encoding-id=128; instance-id=0
+a=source-filter: incl IN IP6 * 2001:210:1:2:240:96FF:FE25:8EC9
+a=flute-tsi:3
+
+m=application 12345 FLUTE/UDP 0
+c=IN IP6 FF1E:03AD::7F2E:172A:1E24/1
+a=lang:EN
+a=FEC:0
+```
+
+NOTE: this SDP example needs updating according to the latest SDP definition.
+
+```
+
+--D8119DDD2D264D4480E57277--
+Content-Type: application/mbms-associated-procedure-description+xml
+Content-Location: fragmentdir/procedureX.xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+--D8119DDD2D264D4480E57277--
+
+```
+
+## 7.2 MBMS download delivery method
+
+The MBMS Download Services use the functionality of the MBMS Download Delivery Method, although other user services may also build on this delivery method. Users are informed, via the UI, that new information is locally available. However, this is not a constraint or a requirement of an MBMS download user service. User notification and user-interaction with the download process may or may not be part of a download application UI.
+
+After the data transmission phase the MBMS User Service Receiver may request missing data from a "Associated-Delivery Processing Server". Output of the MBMS Receiver is in case of the MBMS Download delivery method a "file". The further processing of the received data and the proper presentation is not in scope of the present document. It is assumed existing user play-out.
+
+### 7.2.1 Example: Video clip download service use-case
+
+#### 7.2.1.1 Use-case description
+
+The UE has activated a video-clip distribution service. The service starts 5th of August 2005 and ends on 18th of December (half football season). The UE receives every Saturday afternoon (during a time of 4 hours) approximately every 30 minutes a video clip. The BM-SC has the IPv4 address: 192.168.1.1 and uses the multicast IP address 224.20.20.4 for service distribution.
+
+#### 7.2.1.2 Announced Metadata Fragments
+
+The MBMS User Service is active from the 5th of August until the 18th of December. The MBMS bearers are activated, if there is any video clip to distribute. Video clips are mostly distributed during weekends, seldom during the week.
+
+To activate the video clip service, the client has received the following metadata fragments through a service announcement procedure:
+
+##### User Service Description Fragment:
+
+```
+
+
+
+
+```
+
+##### Session Description Fragment:
+
+```
+v=0
+o=user123 3332188800 3343766400 IN IP4 192.168.1.1
+s=VideoClip Distribution Service example
+i=More information
+t=3332188800 3343766400
+a=mbms-mode:broadcast 1234
+a=FEC-declaration:0 encoding-id=1
+a=source-filter: incl IN IP4 * 192.168.1.1
+a=flute-tsi:116
+m=application 12345 FLUTE/UDP 0
+c=IN IP4 224.20.20.4
+b=64
+a=lang:DE
+a=FEC:0
+```
+
+The *t=* lines includes the session start and session stop information. Session start is 3332188800 (== 5th of August 2005) and session stop is 3343766400 (== 18th of December 2005).
+
+The User service description and the session description fragments are used to activate the MBMS bearer service with multicast IP address 224.20.20.4 and TMGI 1234. The user service uses in this use-case an MBMS broadcast bearer service. The bearer service remains active until the 18th of December.
+
+##### File Repair Procedure Fragment:
+
+The post delivery file repair procedure is configured with a back-off window of 40 seconds. It was assumed, that a group of 5 000 UEs need 10 kByte each of repair data, assuming that the file repair server can provide repair data with a capacity of 10 Mbps.
+
+```
+
+
+
+ "http://mbmsrepair.operator.umts/path/repair-service"
+ "http://mbmsrepair2.operator.umts/path/repair-service"
+
+
+```
+
+#### 7.2.1.3 Reception of a video clip
+
+The download transmission session starts on the 7th of August 2005, 19:18h in this use-case. The download transmission session contains only one FLUTE file delivery table (FDT), one file and an update of the Associated Delivery Procedure Description (ADPD) instance. The size of the file is 300 kbyte. The file transmission is FEC protected using the MBMS FEC code. A redundancy overhead of 16 % is added to the file transmission. The FDT instance and ADPD instance are not FEC protected because they are too small in size to benefit from FEC protection. To ensure their reliable delivery, FDT instance and ADPD instance may be transmitted repeatedly.
+
+Note that ADPD has critical information relevant to point-to-point file repair and delivery verification reports. If the ADPD is sent in-band alone and is lost during in-band FLUTE transmission, then point-to-point file repair is not possible. Hence it is recommended to provide a default ADPD instance in User Service Description. The most recently delivered configuration file takes priority. ADPD received in-band with the download session, overwrites earlier received parameters. In this example, the update of the Associated Procedure Description instance contains the URI of an additional repair server.
+
+```
+
+
+
+ http://mbmsrepair.operator.umts/path/repair-service
+ http://mbmsrepair2.operator.umts/path/repair-service
+ http://mbmsrepair3.operator.umts/path/repair-service
+
+
+
+```
+
+
+
+Timeline diagram showing the delivery of a video clip. A horizontal arrow points to the right, labeled 'time'. Above the arrow, three boxes are shown: 'FDT Instance #10 (file #0)', 'VideoClip-10.3gp (file #1)', and 'ADPD Inst (file #2)'. A vertical line marks the start of the delivery at '7th of August 2005 19:18h'.
+
+Figure 9: Delivery of video clip
+
+The FLUTE File delivery table is transmitted using the Transport Object ID number 0. The BM-SC starts sending the FLUTE FDT packets at 19:18h.
+
+The TSI and the TOI fields are set to 16bit respectively. The TSI value for the session is 116. TOI value for FLUTE FDT packets is 0. The length of the FDT Instance object is 681 byte. The Compact No Code FEC is used for FDT transmission. The symbol length is set to 512 byte. Maximum source block length is set to 1000.
+
+The FLUTE packet headers, which are used to forward the FDT are depicted below. All values in decimal:
+
+
+
+Diagram of the FLUTE FDT packet header structure. It shows a grid of bits and bytes across four columns (0, 1, 2, 3). Column 0 contains the first byte (0001) and the HET field (64). Column 1 contains the TOI field (0). Column 2 contains the TSI field (116), the length of the FDT Instance (681), the symbol length (512), and the maximum source block length (1000). Column 3 contains the second byte (0) and the second HET field (192). The diagram also shows the Source Block Number, Encoding Symbol ID, and Encoding Symbol(s) for FDT Instance fields.
+
+Figure 10: FLUTE FDT packet header
+
+The FLUTE File Delivery Table instance for this use-case is depicted below. The FDT instance expires on the 7th of August 2005, 19:58:46h (3332430520 in NTP format).
+
+```
+
+
+
+
+
+
+
+
+```
+
+The FEC Encoding ID field identifies the MBMS FEC scheme (*i.e.* Raptor Code). The value "1" is assigned by IETF to the Raptor Code.
+
+The value of the FEC scheme specific info is base64 Binary encoded. The base 64 value "MDAwMTAyMDQ=" decodes to 0x10204hex (*Z* = 1; *N* = 2; *A* = 4).
+
+The FDT expiration time (*i.e.* "expire" attribute) is an unsigned integer representing the time in seconds relative to 0 hours 1 January 1900 (*i.e.* the 32 most significant bits of a 64 bit Network Time Protocol (NTP) time value). If a UE is not time synchronized with the mobile network, then the UE must calculate an expiration time, which is relative to the reception of the FLUTE FDT packet.
+
+#### 7.2.1.4 File Repair procedure
+
+The file correction use case is based on the file reception use-case described in clause 7.2.1.3.
+
+The post delivery file repair procedure (*i.e.* one possible associated delivery procedure) is configured with a back-off window of 40 seconds. It was assumed, that a group of 5 000 UEs would need 10 kByte each of repair data, assuming that the file repair server can provide repair data with a capacity of 10 Mbps.
+
+```
+
+
+
+
+ http://mbmsrepair.operator.umts/path/repair-service
+ http://mbmsrepair2.operator.umts/path/repair-service
+ http://mbmsrepair3.operator.umts/path/repair-service
+
+
+
+```
+
+The following table is created assuming the recommended MBMS FEC parameter configurations.
+
+| | |
+|-----------------------------|-----------|
+| File-Size | 300 kbyte |
+| FEC Overhead | 16% |
+| Z (Number of Source Blocks) | 1 |
+| N (Number of sub-blocks) | 2 |
+| A (Alignment factor) | 4 |
+| P (Payload size) | 512 byte |
+| G (Symbols per packet) | 2 |
+| T (Symbol Size) | 256 byte |
+| | |
+| Generated Source Packets | 600 |
+| Generated Repair Packets | 96 |
+
+##### UE\_A:
+
+It is assumed that *UE\_A* switched from a very good coverage to almost no coverage 20 seconds before the transmission ended. It is assumed for *UE\_A*, that a user enters a subterranean garage or a sub-way station while receiving an MBMS download transmission session.
+
+The *UE\_A* misses the last half of the MBMS transmission, thus packet 348 until packet 696 are lost. The file transmission was organized such that the repair packets are transmitted after the source packets. Thus, a part of the source and all repair packets are lost. Since there are two symbols per packet, the corresponding start ESI of the lost packets is 696.
+
+After the FDT instance has expired (thus 46 seconds after receiving the FLUTE FDT packet), the UE\_A starts the file repair procedure with calculating the procedure back-off time.
+
+$$\text{Backoff-time} = \text{rnd()} \times 40 \text{ s} + 5 \text{ s}$$
+
+The UE\_A selects randomly one server URI from the Associated delivery procedure. In this use-case the UE chooses the second server URI: .
+
+For this use-case the `rnd()` function has returned "0.275" as result. Thus, the UE defers the opening of the TCP connection to the host [mbmsrepair2.operator.umts](http://mbmsrepair2.operator.umts) by 16 seconds. As soon as the TCP connection is established, the UE sends the following HTTP GET request to the file repair server.
+
+The File Repair request line:
+
+```
+GET http://mbmsrepair2.operator.umts/path/repair-
+service?fileURI=www.example.com/bundesliga/VideoClip-10.3gp&SBN=1;ESI=696-1198
+HTTP/1.1
+```
+
+Since the MBMS UE has successfully received the first part of the source block, it needs to request only the remaining part of the source block to completely recover the file. The MBMS FEC decoder need not be invoked in this example.
+
+The UE\_A gets the remaining parts of the file as response.
+
+##### UE\_B:
+
+UE\_B switched from a very good coverage to almost no coverage 20 seconds before the transmission ended and re-entered good coverage 15 seconds later.
+
+The UE\_B thus misses packets 348 to packet 607 (inclusive). The file transmission was organized such that the repair packets are transmitted after the source packets. Thus, a part of the source is lost (i.e. 251 source packets), but most repair packets have been received (i.e. 88). The total number of received packets is 435 and since there are two symbols per packet, then 870 symbols have been received.
+
+After the FDT instance has expired (thus 46 seconds after receiving the FLUTE FDT packet), the UE\_A starts the file repair procedure with calculating the procedure back-off time.
+
+$$\text{Backoff-time} = \text{rnd()} \times 40 \text{ s} + 5 \text{ s}$$
+
+The UE\_B selects randomly one server URI from the Associated delivery procedure. In this use-case the UE chooses the second server URI:
+
+For this use-case the `rnd()` function has returned "0.275" as result. Thus, the UE defers the opening of the TCP connection to the host [mbmsrepair2.operator.umts](http://mbmsrepair2.operator.umts) by 16 seconds. As soon as the TCP connection is established, the UE sends the following HTTP GET request to the file repair server.
+
+A minimum of 330 additional symbols are required to ensure successful decoding of the file. The UE should use one of the algorithms defined in clause 6.1.3 to determine a range of ESIs that will result in successful reception. In this case, the UE determines that an additional 12 symbols (1 %) will be sufficient to ensure recovery. The UE thus requests an additional 342 symbols with ESIs of 1 392 (one greater than the highest ESI received) or above.
+
+The File Repair request line:
+
+```
+GET http:// mbmsrepair2.operator.umts/path/repair-
+service?fileURI=www.example.com/bundesliga/VideoClip-10.3gp&SBN=1;ESI=1392+342
+HTTP/1.1
+```
+
+UE\_B receives the repair symbols in response and can thus decode the file. Note that the UE is not permitted to request all missing source symbols, since this would result in an unnecessary load on the repair server (in this case 504 symbols).
+
+### 7.2.2 The usage of the MBMS session Identity in file download delivery
+
+#### 7.2.2.1 Introduction
+
+The MBMS Identity field can be used by the BM-SC and terminal to establish an n-to-m mapping between the files of a file download sessions and their corresponding MBMS bearer sessions over which the files are transported.
+
+According to 3GPP TS 23.246 [4], the UEs are notified about the starting (or ongoing) data transmission through MBMS notification procedure (see the example of GERAN in figure 11). Both the TMGI and an optional Session ID are paged to the terminals, independent of their current state (idle or connected), to inform them about the starting data transmission. The UEs use the TMGI and the Session ID to decide whether they are interested in the MBMS session or not. In case of session repetitions, the BM-SC assigns the same TMGI and Session ID to the MBMS session. This allows the UEs to recognize that the session is repeated and decide not to receive the data in case they already received it correctly.
+
+The usage of the Session ID field is optional. Both UE and BM-SC may decide to ignore the Session ID field. The UE will then assume that the MBMS session is a new session and make its decision independently. The BM-SC may decide not to use the Session ID field, in which case it will not signal it to the UEs within the FDT nor during the notification.
+
+
+
+```
+
+sequenceDiagram
+ participant MS
+ participant BSC
+ Note left of BSC: (PACKET) PAGING REQUEST (Optional pre-notification)
+ BSC-->>MS: (PACKET) PAGING REQUEST (Optional pre-notification)
+ Note left of BSC: (PACKET) PAGING REQUEST
+ BSC-->>MS: (PACKET) PAGING REQUEST
+ Note left of MS: (PACKET) CHANNEL REQUEST
+ MS-->>BSC: (PACKET) CHANNEL REQUEST
+ Note left of BSC: PACKET UPLINK ASSIGNMENT/ IMMEDIATE ASSIGNMENT
+ BSC-->>MS: PACKET UPLINK ASSIGNMENT/ IMMEDIATE ASSIGNMENT
+ Note left of MS: MBMS SERVICE REQUEST
+ MS-->>BSC: MBMS SERVICE REQUEST
+ Note left of BSC: MBMS ASSIGNMENT
+ BSC-->>MS: MBMS ASSIGNMENT
+
+```
+
+The diagram illustrates the notification process in the GERAN between a Mobile Station (MS) and a Base Station Controller (BSC). The sequence of messages is as follows:
+
+
+- The BSC sends a **(PACKET) PAGING REQUEST (Optional pre-notification)** to the MS. This message contains the **TMGI** and **Session ID**.
+- The BSC sends a **(PACKET) PAGING REQUEST** to the MS. This message contains the **TMGI**, **Session ID**, **Perform counting**, and **No MBMS PTM channel assigned**.
+- The MS responds with a **(PACKET) CHANNEL REQUEST**.
+- The BSC replies with a **PACKET UPLINK ASSIGNMENT/ IMMEDIATE ASSIGNMENT**. This message includes **Packet Control Parameters**, **Frequency Parameters**, **TBF Starting Time**, **Timing Advance**, and **Packet Request Reference**.
+- The MS sends an **MBMS SERVICE REQUEST** to the BSC.
+- The BSC responds with an **MBMS ASSIGNMENT**.
+
+Sequence diagram of the notification process in the GERAN between MS and BSC.
+
+**Figure 11: Notification process in the GERAN**
+
+The BM-SC uses the FDT of a file download session to indicate for a file or a file group the Session ID value of the MBMS session to carry the file(s). The UE establishes a table to save the mappings between the Session IDs and the files. Each record has a validity time, which is signalled by the "MBMS-Session-Identity-Expiry" in the FDT-Instance. This expiry time applies to all MBMS Session Identity values declared in the same FDT Instance.
+
+In the following we give some examples of the usage of the MBMS Session Identity.
+
+#### 7.2.2.2 Example 1: Usage of the Session ID to detect repetition
+
+Figure 12 depicts the scenario where the terminal receives a notification about a pending MBMS bearer session with session ID value 5. The UE is not aware of the content of the new bearer session, so that it assumes that it is interested in that session. Hence, the UE replies to the notification message to declare to the network that it will receive the data over that MBMS bearer session (which is identified by the TMGI and the Session ID).
+
+Later on, during the download delivery session, the BM-SC decides to retransmit the same files and then uses the same Session ID. In the FDT of the repeated transmission, the same files are declared to belong to the same bearer session. The UE is notified about the new session using the paging information. The UE detects that it has already seen and
+
+received the files of that MBMS bearer session correctly. Hence, it decides not to reply to the paging messages and will not receive the corresponding data.
+
+
+
+The diagram illustrates a 'Download Delivery Session' timeline. It shows two identical transmission blocks. Each block contains an FDT (File Delivery Table) with 'files: 1, 2', followed by 'File #1, SID=5' and 'File #2, SID=5'. These are mapped to 'MBMS bearer session #5'. Below the timeline, a mobile phone icon is shown twice. At the first transmission, the phone has arrows for '←Reply & Join—' and '—Notification→'. At the second transmission, only the '—Notification→' arrow is present, indicating the UE does not join because it already has the files.
+
+Figure 12: Example of the usage of the Session ID
+
+**Figure 12: Example of the usage of the Session ID**
+
+#### 7.2.2.3 Example 2: Declaration of files of a different MBMS bearer session in the FDT
+
+Figure 13 depicts the scenario where the BM-SC sends an FDT Instance that declares files, which are sent over a different MBMS bearer session. Although file #2 itself is not sent over MBMS bearer session #3, it is declared in the FDT Instance. The UE will detect this and will know the content (or a subset of it) of a forthcoming MBMS bearer session with the Session ID 5.
+
+
+
+The diagram shows a 'Download Delivery Session' timeline with two distinct MBMS bearer sessions.
+ 1. The first session is 'MBMS bearer session #3'. It contains 'FDT 1' which declares 'files: 1 (SID=3), 2 (SID=5)' and includes 'File #1, SID=3'. Below this, the mobile phone shows '←Reply & Join—' and '—Notification→'.
+ 2. The second session is 'MBMS bearer session #5'. It contains 'FDT 2' which declares 'files: 2 (SID=5)' and includes 'File #2, SID=5'. Below this, the mobile phone again shows '←Reply & Join—' and '—Notification→', indicating it joins this session to get File #2 as previously declared in FDT 1.
+
+Figure 13: Example of an FDT that declares files of a different FDT
+
+**Figure 13: Example of an FDT that declares files of a different FDT**
+
+#### 7.2.2.4 Example 3: Declaration of files of an MBMS bearer session in several FDT Instances
+
+Figure 14, the example of splitting the declaration of files carried over a given MBMS bearer service is split over several FDT Instances. It also shows that if one of the FDT Instances and the corresponding files are lost, the UE will not be aware about the full content of the MBMS bearer session. This may lead to a wrong behaviour of the UE, in that it may decided not to receive session repetitions, assuming that it correctly received all files.
+
+It is hence recommended that a single FDT Instance is used to declare all files to be carried over the MBMS bearer session.
+
+
+
+The diagram illustrates a 'Download Delivery Session' over a timeline. Two MBMS bearer sessions are shown: 'MBMS bearer session #3' and 'MBMS bearer session #5'. Above session #3, there are two FDT instances: 'FDT 1 files: 1 File #1' and 'FDT 2 files: 2 File #2'. The second instance is crossed out with a red 'X'. Above session #5, there are two FDT instances: 'FDT 1 files: 1 File #1' and 'FDT 2 files: 2 File #2'. A UE device is shown at the bottom, sending a 'Reply & Join' notification for session #3 and receiving a 'Notification' for session #5. A horizontal arrow at the bottom indicates the 'Time' axis.
+
+Figure 14: Example of several FDT Instances declaring files for a given MBMS bearer session. The diagram shows a 'Download Delivery Session' over time, with two MBMS bearer sessions, #3 and #5. Session #3 contains FDT 1 (File #1) and FDT 2 (File #2), but FDT 2 and File #2 are crossed out with a red 'X'. Session #5 contains FDT 1 (File #1) and FDT 2 (File #2). A UE device is shown at the bottom, sending a 'Reply & Join' notification for session #3 and receiving a 'Notification' for session #5.
+
+Figure 14: Example of several FDT Instances declaring files for a given MBMS bearer session
+
+### 7.2.3 Partial File Delivery from MBMS Receiver to DASH Client
+
+#### 7.2.3.1 Introduction
+
+This clause describes a means for using the HTTP 1.1 protocol (RFC 2616 [19]) to support delivery of an incomplete or partially recovered file by the MBMS download delivery service receiver, to a client application capable of consuming such partial content. It involves MBMS download delivery of DASH-formatted content [20], whereby the MBMS receiver then provides that content to a requesting 3GP-DASH client [21]. There can be different methods to integrate MBMS reception with a DASH client. The implementation model of concern is that of the DASH client issuing standard HTTP 1.1 requests that are intercepted by the MBMS receiver, which in turn responds to those requests. In the scope of the following discussion, the MBMS receiver in the UE is referred to as a 'server'1 . It is also possible to use APIs, or other protocol interfaces, as alternative integration methods.
+
+#### 7.2.3.2 Overall Mechanism
+
+Taking into account the assumptions in the previous sub-clause, delivery of a whole or partially recovered file from the MBMS download delivery service receiver (or simply 'server') to the client application (or simply 'client') may be performed using HTTP/1.1 request and response messages [19]. In this case, the client uses the normal GET or partial GET message to request delivery of the target file, in whole or in part(s), from the server. Consequently, the server delivers in the response message body the content data in fulfillment of the client's request, if possible. The client may express its intent for content acquisition from the server as one of two types:
+
+1 The specific server role is that of a proxy-server, as opposed to origin-server.
+
+- a) the client may indicate to the server that it wishes to either obtain a subset of the file in the form of a single byte range or multiple byte ranges, or the entire file, but does not wish to be delivered a subset of the requested content in the response, or
+- b) the client may indicate to the server that it is willing to accept, in the response, a subset of the requested content, represented as one or more pairs of byte ranges, each pair being identical in value, and that value differs from and does not overlap the range of any other pair.
+
+Signaling of the different client intentions should make appropriate use of the “Range” header field [19] in the request message. For type (a), the client request should be either a normal GET, or a partial GET containing a single or multiple byte range, in which case, the server should either deliver exactly the same content as requested, or nothing, in the response message. For type (b), the client request should be a partial GET which includes at least one pair of identically-valued byte ranges, and may include additional pairs of ranges whose values are duplicates within the pair, but are unique and non-overlapping with any other pair. In the case of the type (b) request, the server may return the entirety of the requested content, a portion thereof in the form of one or more byte ranges, or nothing. In the case the server returns a subset of a particular requested range, that subset may comprise one or more ranges, as indicated by the Range header associated with the ‘206 Partial Content’ status code. These are described in more detail in sub-clauses 7.2.3.3 and 7.2.3.4.
+
+#### 7.2.3.3 Client Request
+
+Depending on the type of MBMS service and nature of the content, the client is assumed to have knowledge of the corresponding file URI (e.g. from the Schedule Description metadata fragment of the USD, the MPD, a Web page associated with the MBMS service, etc.). Identification of byte range(s) to be retrieved will employ the Range header field, by appropriate coding of the “byte-range-spec”, defined in [18] as ‘first-byte-pos “=” [last-byte-pos]’.
+
+- For a type (a) request, the client will identify the target file resource by its HTTP-URL in the normal GET or partial GET request. In the case of partial GET, the client will include either a single byte-range or multiple ranges to identify the desired sequence(s) of bytes within the resource.
+- For a type (b) request, if the client’s request is for the entire file, it should set byte-range-spec to either the value ‘bytes=0-0-’, or ‘bytes=0-Z,0-Z’, if it knows Z to be the length of the file. If the client is requesting a byte range A-B of the file, it will set byte-range-spec to the value ‘bytes=A-B,A-B’. If the client is requesting the byte ranges A-B, E-F and X-Z of the file, it will set byte-range-spec to the value ‘bytes=A-B,A-B,E-F,E-F,X-Z,X-Z’.
+
+As an example, assume that the target file correspond to a DASH Segment identified by the following HTTP-URL: , and is 1.5 MB in size. If the client wishes to obtain bytes 101000 through 800000 of this file, and is willing to accept a subset of that block delivered as one or more ranges, it would include the following lines in the HTTP GET request:
+
+```
+GET /Period-2012-11-05T08-45-00/rep-xyz12345/seg-777.mp4 HTTP/1.1
+Host: www.example.com
+Range: bytes=101000-800000,101000-800000
+```
+
+#### 7.2.3.4 Server Resonse
+
+The server response will depend on the type of client request:
+
+Type (a):
+
+- If the server receives via normal GET a request for an entire file, then depending on the availability at the server, it should return to the client either the entire file, or nothing with an appropriate HTTP status code, typically 404.
+- If the server receives via partial GET a request for a single byte range (which could be for either a portion of or the entire file), then depending on the availability at the server, it should return to the client either the entire byte range or nothing with an appropriate HTTP status code, typically 404.
+
+- If the server receives via partial GET a request for multiple byte ranges (the union of which could represent either a portion of or the entire file), then depending on the availability at the server, it should return to the client either the entire byte ranges, or nothing with an appropriate HTTP status code, typically 404.
+
+Type (b):
+
+- If the server receives via partial GET a request listing exactly two byte ranges with the same value, then depending on the availability at the server, it should return either the entirety of the requested content, a portion thereof in the form of one or more byte ranges, or nothing with an appropriate HTTP status code, typically 404.
+- If the server receives via partial GET a request listing multiple pairs of byte ranges, each pair being identical in value, but for which the values are unique and non-overlapping across pairs, then depending on the availability at the server, it should return either the entirety of the requested content, a portion thereof for each range in the form of one or more byte ranges, or nothing with an appropriate HTTP status code, typically 404.
+
+Assuming the same client request example in sub-clause 7.2.3.3, in which the client requests bytes 101000-800000, and includes this range twice in the request. Further assume the server has available only bytes 101000-200000, 300000-400000 and 600000-800000 when receiving the request. In its response message associated with the status code '206 Partial Content', the corresponding subsets of the requested content would be placed in the entity body of the response, with the Range header encoded as follows:
+
+**Range:** bytes=101000-200000,300000-400000,600000-800000
+
+## 7.3 MBMS streaming delivery method
+
+The MBMS Streaming receiver application may be started upon user interaction. In the case of immediate play-out upon reception, the user would be fully aware of the MBMS Streaming reception. The MBMS Streaming User Service is likely a fully integrated application (such as PSS).
+
+The "MBMS User Service Transmitters" sends in case of the MBMS Streaming User service a number of continuous RTP-streams via the MBMS Bearer Service to the "MBMS User Service Receivers". The number of streams per MBMS User Service depends on the multimedia components of the Service.
+
+Output of the MBMS User Service Receiver is in case of the MBMS Streaming User Service a number of continuous media streams (e.g. audio and video stream). The required codecs for reception of MBMS Streaming User Service are provided during the MBMS Service Discovery phase.
+
+The "MBMS User Service Transmitter" starts and stops sending the RTP-streams according to the "Transmission Controller". Users do not have a direct influence on the transmission duration or on the quality of the transmitted media.
+
+# --- 8 Codecs and formats
+
+The H.264 (AVC) decoder in an MBMS client should infer missing macroblocks in a coded picture. When `gaps_in_frame_num_value_allowed_flag` is equal to 0 in the active sequence parameter set and the value of `frame_num` syntax element in the current picture is invalid according to clause 7.4.3 of ITU-T Recommendation H.264 [17], the H.264 (AVC) decoder in an MBMS client should infer an unintentional reference picture loss. When `gaps_in_frame_num_value_allowed_flag` is equal to 1 in the active sequence parameter set and any value of `frame_num` pertaining to "non-existing" pictures is referred to in the inter prediction process, is referred to in the reordering commands for reference picture lists for short-term pictures (clause 8.2.4.3.1 of ITU-T Recommendation H.264 [17]), or is referred to in the assignment process of a `LongTermFrameIdx` to a short-term picture (clause 8.2.5.4.3 of ITU-T Recommendation H.264 [17]), the H.264 (AVC) decoder in an MBMS client should infer an unintentional reference picture loss. The H.264 (AVC) decoder in an MBMS client should infer a syntax violation, when decoding causes any syntax or semantics violation other than specified above.
+
+When the H.264 (AVC) decoder in an MBMS client infers missing macroblocks in a non-reference picture, it should continue decoding no later than from the next access unit in decoding order. When the H.264 (AVC) decoder in an MBMS client infers an unintentional reference picture loss or missing macroblocks in a reference picture, it may or may not continue decoding "immediately", i.e. from the NAL unit in which the loss is inferred. If the H.264 (AVC) decoder in an MBMS client continues decoding "immediately", it should be aware that such a stream may contain references to
+
+macroblocks or pictures that are not available in the decoded picture buffer. The H.264 (AVC) decoder in an MBMS client should continue decoding after an unintentional reference picture loss, missing macroblocks in a reference picture or a syntax violation no later than it receives the next IDR access unit or the next recovery point SEI message, whichever is earlier in decoding order.
+
+NOTE: When the H.264 (AVC) decoder in an MBMS client continues decoding "immediately" after an inferred reference picture loss or missing macroblocks in a reference picture, it does not have to parse recovery point SEI messages to comply with the paragraph above.
+
+# Encoding and Packetization Recommendations
+
+The following recommendations are given to MBMS encoders and packetizers to optimize the tradeoff between loss rates and throughput for MBMS video services:
+
+- The encoder/packetizer **should** choose a suitable IP packet size for the loss regime and other network characteristics.
+- When H.264/AVC is in use and FEC is in use, the encoder **may** produce NAL units larger than the suitable IP/RTP packet size.
+- When H.264/AVC is in use and in any case when larger NAL units are produced by the encoder, the packetizer **should** use NAL Unit fragmentation as specified in RFC 3984 [18], section 5.8, to adapt the RTP packet size to the network, and not produce large RTP packets (which would imply either IP fragmentation or IP packets which use several transmission units, both of which are undesirable).
+
+NOTE: When H.263 is in use, follow-on packets **should** be used for similar purposes as fragmentation units.
+
+# --- Annex A: MBMS Forward Error Correction performance
+
+This annex provides details of the performance of the MBMS Forward Error Correction code which can be used in dimensioning MBMS services.
+
+## --- A.1 Theoretical performance
+
+The theoretical performance of the MBMS FEC code depends on the amount of data received by the terminal. If less data has been received than the size of the file or block to which FEC protection has been applied then recovery of the original data is obviously impossible. If an amount of data has been received which is not less than the size of the file or block then recovery may be possible.
+
+As a general rule, if at least one source packet has been lost and if an amount of data has been received which is 1 % greater than the source size, then the probability of recovery is around 99.9 % or greater. If an amount of data has been received which is 2 % greater than the source size then the probability of recovery is 99.9999 % or greater.
+
+In practice, the recovery probabilities are often higher than these figures, in particular when the number of FEC encoding symbols in the block is large.
+
+## --- A.2 Simulation results
+
+This clause provides results of simulations which were carried out during the development of 3GPP TS 26.346 [5]. These results may be used as guidelines for the provisioning of MBMS services. In general, provisioning should be based on first determining the available resources for the MBMS service and the coverage required. The service should then be dimensioned to provide acceptable quality of service at the edge of the coverage area.
+
+It should be noted that as discussed in clause 6.1.4, the IP packet loss rate may be quite sensitive to the chosen SDU size. Therefore care should be taken when using the figures presented here with SDU sizes, or other configuration parameters, which differ significantly from those used for the simulations.
+
+### A.2.1 Simulation conditions and assumptions (UTRAN)
+
+| | | |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
+| UTRAN Download | | |
+| | Bearer rates | 64 kbit/s, 128 kbit/s, 256 kbit/s |
+| | RLC PDU size | 640 bytes, 1 280 bytes, 1 280 bytes respectively |
+| | RLC BLER | 1%, 5%, 10%, 15%, 20%, 30% |
+| | RLC block loss pattern | Independent random loss |
+| | Number of trials | At least 10,000 for files $\leq$ 512 KB, 3,000 for 3 072 KB |
+| | File sizes | 50 KB, 512 KB, 3 072 KB |
+| | FLUTE payload size | 456 bytes |
+| | ROHC | No |
+| | IPv4/UDP header | 28 bytes |
+| | FLUTE header | 16 bytes |
+| | FEC overhead | Varied in steps of X packets, where $X = \text{ceil}(0.005N)$ and N is the number of packets containing source data |
+| UTRAN Streaming | | |
+| | Bearer rates | 64 kbit/s, 128 kbit/s and 256 kbit/s |
+| | RLC PDU size | 640 bytes (for 64 kbit/s bearer) 1280 bytes (for 128 kbit/s bearer) 1280 bytes (for 256 kbit/s bearer) |
+| | RLC BLER | 1 %, 5 %, 10 %, 15 %, 20 %, 30 % |
+| | RLC block loss pattern | Independent random loss |
+| | Simulation duration | 24 hours |
+| | Media rates | Varied by steps of 1 % of bearer rate, assuming only a single media stream (see note 1) |
+| | FEC overhead | Varied to sum FEC and Media to equal bearer rate |
+| | Source packet RTP payload size | 64 kbit/s: 456 bytes 128 kbit/s: 456 bytes 256 kbit/s: 768 bytes |
+| | Repair packet RTP payload size | Minimum value supported by the FEC code which is not less than 470 (for 64 kbit/s and 128 kbit/s) and 782 (for 256 kbit/s) - (see note 2) |
+| | Protection period | 5 s, 20 s |
+| | ROHC | No |
+| | IPv4/UDP/RTP header | 40 |
+| NOTE 1: In practice, multiple media streams may be carried within a single MBMS bearer. However, only a single media stream is considered for FEC simulation purposes for simplicity. | | |
+| NOTE 2: The last repair packet of a block may be shorter if supported by the FEC code in order to fit within the protection period. | | |
+
+### A.2.2 Simulation conditions and assumptions (GERAN)
+
+| | | |
+|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| GERAN Download | | |
+| | Bearer rates | 28.8 kbit/s, 59.2 kbit/s, 118.4 kbit/s |
+| | RLC PDU size | 36 bytes, 74 bytes, 74 bytes respectively |
+| | RLC BLER | for 28.8 kbit/s 0.1 % for 59.2kbit/s : 0.5 % for 118 kbit/s: 1 %, 10 % |
+| | RLC block loss pattern | Independent random loss |
+| | Number of trials | At least 10,000 for files $\leq$ 512 KB, 3,000 for 3 072 KB |
+| | File sizes | 50 KB, 512 KB, 3 072 KB |
+| | FLUTE payload size | 456 bytes, (for 10 % BLER at 118.4 kbps also simulate a case with 146 bytes payload) |
+| | ROHC | No |
+| | SNDPCP/LLC/IPv4/UDP header | 38 bytes |
+| | FLUTE header | 16 bytes |
+| | FEC overhead | Varied in steps of X packets, where $X = \text{ceil}(0.005N)$ and N is the number of packets containing source data |
+| GERAN Streaming | | |
+| | Bearer rates | 28.8 kbit/s, 59.2 kbit/s and 118.2 kbit/s |
+| | RLC PDU size | 36 bytes, 74 bytes, 74 bytes, respectively |
+| | RLC BLER | for 28.8 kbit/s 0.1 % for 59.2kbit/s : 0.5 % for 118 kbit/s: 1 %, 10 % |
+| | RLC block loss pattern | Independent random loss |
+| | Simulation duration | 24 hours |
+| | Media rates | Varied by steps of 1 % of bearer rate, assuming only a single media stream (see note 1) |
+| | FEC overhead | Varied to sum FEC and Media to equal bearer rate |
+| | Source packet RTP payload size | 456 bytes (for 10 % BLER at 118.4 kbps also simulate a case with 146 bytes payload) |
+| | Repair packet RTP payload size | Minimum value supported by the FEC code which is not less than 470 bytes (for 10 % BLER at 118.4 kbps also simulate a case with 160 bytes payload) - (see note 2) |
+| | Protection period | 5 s, 20 s |
+| | ROHC | No |
+| | SNDPCP/LLC/IPv4/UDP/RTP header | 50 |
+| NOTE 1: | In practice, multiple media streams may be carried within a single MBMS bearer. However, only a single media stream is considered for FEC simulation purposes for simplicity. | |
+| NOTE 2: | The last repair packet of a block may be shorter if supported by the FEC code in order to fit within the protection period. | |
+
+### A.2.3 Simulation results: UTRAN download
+
+**Table A.1: FEC Overhead required for 99 % probability of recovery at specific BLER points 64 kbit/s**
+
+| Error rates | Power required (G=-3dB - note 1) | Power required (G=-6dB - note 2) | File size | Ideal (note 3) | MBMS FEC |
+|-------------------|----------------------------------|----------------------------------|------------------|----------------|----------|
+| Low (1 % BLER) | 2.0 % | 4.5 % | Small (50 KB) | 7.0 % | 8.0 % |
+| | | | Medium (512 KB) | 3.3 % | 3.6 % |
+| | | | Large (3 072 KB) | 2.4 % | 2.6 % |
+| Medium (5 % BLER) | 1.8 % | 3.9 % | Small (50 KB) | 21.8 % | 22 % |
+| | | | Medium (512 KB) | 13.0 % | 13.4 % |
+| | | | Large (3 072 KB) | 11.0 % | 11.2 % |
+| High (10 % BLER) | 1.7 % | 3.7 % | Small (50 KB) | 39.0 % | 39.0 % |
+| | | | Medium (512 KB) | 25.8 % | 26.0 % |
+| | | | Large (3 072 KB) | 22.6 % | 22.8 % |
+| 15 % BLER | n/a | n/a | Small (50 KB) | 56.0 % | 56.0 % |
+| | | | Medium (512 KB) | 40.5 % | 41.0 % |
+| | | | Large (3 072 KB) | 36.0 % | 37.0 % |
+| 20 % BLER | n/a | n/a | Small (50 KB) | 76.0 % | 76.0 % |
+| | | | Medium (512 KB) | 57.0 % | 57.0 % |
+| | | | Large (3 072 KB) | 52.0 % | 52.0 % |
+| 30 % BLER | n/a | n/a | Small (50 KB) | 130.0 % | 130.0 % |
+| | | | Medium (512 KB) | 100.0 % | 100.0 % |
+| | | | Large (3 072 KB) | 92.0 % | 92.0 % |
+
+NOTE 1: This corresponds to ~90 % of users assuming uniform distribution of users.
+
+NOTE 2: This corresponds to ~99 % of users assuming uniform distribution of users.
+
+NOTE 3: This column provides the best possible performance which could be achieved with a theoretical "ideal" forward error correction code.
+
+**Table A.2: FEC Overhead required for 99 % probability of recovery at specific BLER points 128 kbit/s and 256 kbit/s**
+
+| Error rates | Power required (G=-3dB - note 1) 128 kbit/s 256 kbit/s | Power required (G=-6dB - note 2) 128 kbit/s 256 kbit/s | File size | Ideal (note 3) | MBMS FEC |
+|-------------------|--------------------------------------------------------------|--------------------------------------------------------------|------------------|----------------|----------|
+| Low (1 % BLER) | 4.0 % 7.9 % | 8.9 % 19.3 % | Small (50 KB) | 7.5 % | 8.0 % |
+| | | | Medium (512 KB) | 3.1 % | 3.4 % |
+| | | | Large (3 072 KB) | 2.1 % | 2.2 % |
+| Medium (5 % BLER) | 3.7 % 7.1 % | 7.8 % 16.0 % | Small (50 KB) | 20.0 % | 21.0 % |
+| | | | Medium (512 KB) | 11.2 % | 11.4 % |
+| | | | Large (3 072 KB) | 8.8 % | 9.0 % |
+| High (10 % BLER) | 3.4 % 6.8 % | 7.2 % 14.8 % | Small (50 KB) | 35.0 % | 35.0 % |
+| | | | Medium (512 KB) | 21.5 % | 21.5 % |
+| | | | Large (3 072 KB) | 17.8 % | 18.1 % |
+| 15 % BLER | n/a | n/a | Small (50 KB) | 50.0 % | 50.0 % |
+| | | | Medium (512 KB) | 32.0 % | 32.1 % |
+| | | | Large (3 072 KB) | 28.0 % | 28.1 % |
+| 20 % BLER | n/a | n/a | Small (50 KB) | 66.0 % | 66.0 % |
+| | | | Medium (512 KB) | 44.6 % | 45.0 % |
+| | | | Large (3 072 KB) | 38.0 % | 38.2 % |
+| 30 % BLER | n/a | n/a | Small (50 KB) | 106.0 % | 106.0 % |
+| | | | Medium (512 KB) | 72.0 % | 72.0 % |
+| | | | Large (3 072 KB) | 66.8 % | 67.0 % |
+
+NOTE 1: This corresponds to ~90 % of users assuming uniform distribution of users.
+
+NOTE 2: This corresponds to ~99 % of users assuming uniform distribution of users.
+
+NOTE 3: This column provides the best possible performance which could be achieved with a theoretical "ideal" forward error correction code.
+
+### A.2.4 Simulation results UTRAN streaming
+
+**Table A.3: Maximum supported Media Rate (kbit/s)
+for Mean Time Between FEC Block Loss of 1 hour**
+
+| Error rates | Bearer rate | Ideal (see note) | MBMS FEC |
+|-------------------|---------------------|---------------------------|---------------------------|
+| Low (1 % BLER) | Low (64 kbit/s) | 5 s: 56.8 20 s: 60.6 | 5 s: 55.8 20 s: 60.4 |
+| | Medium (128 kbit/s) | 5 s: 116.3 20 s: 122.6 | 5 s: 115.5 20 s: 122.4 |
+| | High (256 kbit/s) | 5 s: 237.4 20 s: 246.4 | 5 s: 236.2 20 s: 245.7 |
+| Medium (5 % BLER) | Low (64 kbit/s) | 5 s: 47.4 20 s: 54.2 | 5 s: 46.6 20 s: 53.6 |
+| | Medium (128 kbit/s) | 5 s: 102.2 20 s: 112.5 | 5 s: 100.8 20 s: 111.8 |
+| | High (256 kbit/s) | 5 s: 228.0 20 s: 224.5 | 5 s: 227.0 20 s: 224.0 |
+| High (10 % BLER) | Low (64 kbit/s) | 5 s: 39.5 20 s: 47.5 | 5 s: 38.5 20 s: 47.2 |
+| | Medium (128 kbit/s) | 5 s: 88.5 20 s: 101.8 | 5 s: 87.5 20 s: 101.2 |
+| | High (256 kbit/s) | 5 s: 182.0 20 s: 201.5 | 5 s: 179.5 20 s: 200.5 |
+
+NOTE: This column provides the best possible performance which could be achieved with a theoretical "ideal" forward error correction code.
+
+### A.2.5 Simulation results GERAN download
+
+**Table A.4: FEC Overhead required for 99 % probability
+of recovery at specific GERAN operation points**
+
+| Operation Points | File size | Ideal (see note) | MBMS FEC |
+|-----------------------------------------------------------------------------------------------|------------------|------------------|----------|
+| Low Bitrate (CS3) 0.1% BLER 28.8 kbit/s | Small (50 KB) | 4.7 % | 5.3 % |
+| | Medium (512 KB) | 2.4 % | 2.7 % |
+| | Large (3 072 KB) | 1.8 % | 2.1 % |
+| Medium Bitrate (MCS-6) 0.5% BLER 59.2 kbit/s | Small (50 KB) | 9.4 % | 9.7 % |
+| | Medium (512 KB) | 5.6 % | 5.9 % |
+| | Large (3 072 KB) | 4.6 % | 4.7 % |
+| High Bitrate (MCS-9) 1% BLER 118.4 kbit/s | Small (50 KB) | 16.0 % | 16.0 % |
+| | Medium (512 KB) | 10.6 % | 10.8 % |
+| | Large (3 072 KB) | 9.2 % | 9.3 % |
+| High Bitrate and High Error Rate (MCS-6) 10% BLER, 146 byte packet payload 118.4 kbit/s | Small (50 KB) | 60 % | 60 % |
+| | Medium (512 KB) | 51.5 % | 51.5 % |
+| | Large (3 072 KB) | 49.2 % | 52.0 % |
+
+NOTE: This column provides the best possible performance which could be achieved with a theoretical "ideal" forward error correction code.
+
+NOTE: 440 byte payloads, according to Raptor specification recommendations.
+
+### A.2.6 Simulation results GERAN streaming
+
+**Table A.5: Maximum supported Media Rate for Mean Time Between FEC Block Loss of 1 hour**
+
+| Operation Points | Ideal (see note) | MBMS FEC |
+|--------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|----------------------------------------|
+| Low Bitrate (CS3) (0.1 % BLER) 28.8 kbit/s | 5 s: 24.9 kbit/s 20 s: 26.6 kbit/s | 5 s: 24.4 kbit/s 20 s: 26.2 kbit/s |
+| Medium Bitrate (MCS-6) (0.5 % BLER) 59.2 kbit/s | 5 s: 51.1 kbit/s 20 s: 54.6 kbit/s | 5 s: 50.4 kbit/s 20 s: 54.2 kbit/s |
+| High Bitrate (MCS-9) (1 % BLER) 118.4 kbit/s | 5 s: 99.5 kbit/s 20 s: 104.5 kbit/s | 5 s: 98.2 kbit/s 20 s: 104.2 kbit/s |
+| High Bitrate and High Error Rate (MCS-6) 10 % BLER, 146 byte packet payloads 118.4 kbit/s | 5 s: 66.5 kbit/s 20 s: 72.5 kbit/s | 5 s: 66.4 kbit/s 20 s: 72.3 kbit/s |
+| NOTE: This column provides the best possible performance which could be achieved with a theoretical "ideal" forward error correction code. | | |
+
+# Annex B: Change history
+
+| Change history | | | | | | | |
+|----------------|-------|-----------|------|-----|-----------------------------------------------------------------------|--------|--------|
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2006-03 | 31 | | | | Presented at SA#31 Plenary for approval | 2.0.0 | 6.0.0 |
+| 2006-03 | | | | | Correct 3GPP logo, make capitalization consistent | 6.0.0 | 6.0.1 |
+| 2006-09 | 33 | SP-060593 | 0001 | 2 | Correcting the Associated Delivery Procedure Example | 6.0.1 | 6.1.0 |
+| 2007-06 | 36 | | | | Version for Release 7 | 6.1.0 | 7.0.0 |
+| 2008-12 | 42 | | | | Version for Release 8 | 7.0.0 | 8.0.0 |
+| 2009-12 | 46 | | | | Version for Release 9 | 8.0.0 | 9.0.0 |
+| 2011-03 | 51 | | | | Version for Release 10 | 9.0.0 | 10.0.0 |
+| 2012-09 | 57 | | | | Version for Release 11 | 10.0.0 | 11.0.0 |
+| 2012-12 | 58 | SP-120761 | 0002 | 1 | Addition to MBMS User Service Guidelines on Partial Content Delivery | 11.0.0 | 11.1.0 |
+| 2013-12 | 62 | SP-130566 | 0003 | | Correction to Partial File Delivery from MBMS Receiver to DASH Client | 11.1.0 | 11.2.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26947/011fecb4a85637472f0c697a6cbdb15d_img.jpg b/marked/Rel-11/26_series/26947/011fecb4a85637472f0c697a6cbdb15d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a79e156edd0af92ddd89cf92ff1dc2435b679473
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/011fecb4a85637472f0c697a6cbdb15d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:663935d25ca6a8099ae0d06b471032fb03864f917c3a296bcf1538b56a72b6dc
+size 46050
diff --git a/marked/Rel-11/26_series/26947/1439cb942d9e363bbb3161b5540dd8c6_img.jpg b/marked/Rel-11/26_series/26947/1439cb942d9e363bbb3161b5540dd8c6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..dc45b803b380958e3519841f242d1f9aa010e4b3
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/1439cb942d9e363bbb3161b5540dd8c6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a249815ad33441224f22c59c28c13450b58da8f8e90c7b4bf5205f567b7a3ff5
+size 119428
diff --git a/marked/Rel-11/26_series/26947/1841f348dfa81a3438d4e1f8465d9ac7_img.jpg b/marked/Rel-11/26_series/26947/1841f348dfa81a3438d4e1f8465d9ac7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..23c2aeca5773ea9e2e6d64e9990b575fa260dc16
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/1841f348dfa81a3438d4e1f8465d9ac7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5ca13f58bc92339f2facc66820be1816506d06d07e93891b53eeb1e6ec8c181a
+size 32496
diff --git a/marked/Rel-11/26_series/26947/21327313f7b18a481da0c87a6472a80d_img.jpg b/marked/Rel-11/26_series/26947/21327313f7b18a481da0c87a6472a80d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..851ae8f796737c1a959fd729566d3c1b5477ccc3
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/21327313f7b18a481da0c87a6472a80d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7fe310e9dd9545fd81f4104a3ee9584177e51df7fb4339d23d7ee85170837e17
+size 58755
diff --git a/marked/Rel-11/26_series/26947/5a95b187de0044da69b7322e04761b86_img.jpg b/marked/Rel-11/26_series/26947/5a95b187de0044da69b7322e04761b86_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7e5a5d91e3af4b546eb050be759125dc1b2f9683
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/5a95b187de0044da69b7322e04761b86_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7645326e3585800eeaa3a4ab30c77ca7139c7c7f46032a9cdf7438c57cc1a764
+size 41368
diff --git a/marked/Rel-11/26_series/26947/7722d62e33dcc894cc8555e9474c5606_img.jpg b/marked/Rel-11/26_series/26947/7722d62e33dcc894cc8555e9474c5606_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..de957e0e503c403e81c775a10d2a0d8e96a30e90
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/7722d62e33dcc894cc8555e9474c5606_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a2e2a35a0983074f535b8efffb467b3814ffc9670108fbdca6819ef51046229
+size 39639
diff --git a/marked/Rel-11/26_series/26947/79e1709a7317ead45379cbb8ff3ba802_img.jpg b/marked/Rel-11/26_series/26947/79e1709a7317ead45379cbb8ff3ba802_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7429f88122c54a0af876425a70d71e5b4558fd36
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/79e1709a7317ead45379cbb8ff3ba802_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:18e74580cdacf35f33b57b5bbc31738f8754b448024ba1e6fc8b199572e26614
+size 12128
diff --git a/marked/Rel-11/26_series/26947/7efae06af3af43ffe5d4b956a679cf54_img.jpg b/marked/Rel-11/26_series/26947/7efae06af3af43ffe5d4b956a679cf54_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..db51a1f40b215f883442d00380d872677f554c60
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/7efae06af3af43ffe5d4b956a679cf54_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:10f5fa76f14d543090ef0ae7a485630c60bd0ea630d59a316d2804eab4b34ac3
+size 17788
diff --git a/marked/Rel-11/26_series/26947/9e8ebf03cae78f4f81b697548c2d7250_img.jpg b/marked/Rel-11/26_series/26947/9e8ebf03cae78f4f81b697548c2d7250_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..de892555cbaf7a036973dc782811c0609df807e5
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/9e8ebf03cae78f4f81b697548c2d7250_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9b0efae067c1e77b4f3055cdd8336bf23e3d44806685e42f8abc3f9bd535f21a
+size 92411
diff --git a/marked/Rel-11/26_series/26947/a24e89a6fe9bb70c83f8bf5202baba95_img.jpg b/marked/Rel-11/26_series/26947/a24e89a6fe9bb70c83f8bf5202baba95_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6e69be3a37803bd0af0c255a4d21eca398bf021e
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/a24e89a6fe9bb70c83f8bf5202baba95_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b770954e3e431a679e6cc8259a431eb5a39ccb4badd07709e84892a3cc25e01d
+size 22995
diff --git a/marked/Rel-11/26_series/26947/a7c51c18111139f9aca2805114108565_img.jpg b/marked/Rel-11/26_series/26947/a7c51c18111139f9aca2805114108565_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..87deabe7e629ec82f27b936bbdfe73d2c42fae0c
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/a7c51c18111139f9aca2805114108565_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:96f7341f92801de989e4a2f7762e542904c82ee8a838c48117afbc5784d2719b
+size 14416
diff --git a/marked/Rel-11/26_series/26947/a9fa8656fd01e4e407bc91dba6ac0ad5_img.jpg b/marked/Rel-11/26_series/26947/a9fa8656fd01e4e407bc91dba6ac0ad5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3c614be384153c4c82cf1ffbc302d8d304f05b8e
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/a9fa8656fd01e4e407bc91dba6ac0ad5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:55fbf625b86a07b3ff082a0f7106abb779dd8f7e1ee4ba9a3c531115f5f6bf2a
+size 42058
diff --git a/marked/Rel-11/26_series/26947/ddc7460821484f1ae2835c67955c554c_img.jpg b/marked/Rel-11/26_series/26947/ddc7460821484f1ae2835c67955c554c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f1b84badc5628a01f734575d4a2328a10db1b5da
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/ddc7460821484f1ae2835c67955c554c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0f6a87e941de22fe9816136e2763acf0fdf291fb04de91e708edacf30122a3a0
+size 38150
diff --git a/marked/Rel-11/26_series/26947/e6df2733626a85205c1db682e6259c46_img.jpg b/marked/Rel-11/26_series/26947/e6df2733626a85205c1db682e6259c46_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2013e12c6d630115f108133506979c266943334b
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/e6df2733626a85205c1db682e6259c46_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1c9700b12da1e87051767a29038697521d1e2a46a3cde46e2d1d0284e1e76ea0
+size 181701
diff --git a/marked/Rel-11/26_series/26947/raw.md b/marked/Rel-11/26_series/26947/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..76961b7e114ec911a1c53415ae279eb3628be68e
--- /dev/null
+++ b/marked/Rel-11/26_series/26947/raw.md
@@ -0,0 +1,2568 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|------------------------------------------------------------------|----|
+| Foreword ..... | 6 |
+| Introduction ..... | 6 |
+| 1 Scope..... | 8 |
+| 2 References..... | 8 |
+| 3 Definitions, symbols and abbreviations..... | 8 |
+| 3.1 Definitions..... | 8 |
+| 3.2 Abbreviations ..... | 9 |
+| 4 Use of FEC in MBMS..... | 9 |
+| 4.1 Introduction ..... | 9 |
+| 4.2 Architecture..... | 9 |
+| 4.3 MBMS Bearer in UTRAN ..... | 10 |
+| 4.4 MBMS Bearer in E-UTRAN..... | 11 |
+| 4.5 Streaming Delivery User Service..... | 11 |
+| 4.5.1 Introduction ..... | 11 |
+| 4.5.2 Transport in streaming delivery service ..... | 11 |
+| 4.5.3 Examples ..... | 12 |
+| 4.6 Download Delivery User Service..... | 12 |
+| 4.6.1 Introduction ..... | 12 |
+| 4.6.2 Transport in download delivery service ..... | 13 |
+| 4.6.3 Download Examples..... | 13 |
+| 4.7 Streaming using DASH and Download Delivery User Service..... | 14 |
+| 5 MBMS Bearer Service Channel Modelling ..... | 14 |
+| 5.1 Introduction ..... | 14 |
+| 5.2 Modelling of UTRAN MBMS Bearer ..... | 14 |
+| 5.3 Modelling of E-UTRAN MBMS Bearer..... | 14 |
+| 6 FEC Evaluation Procedure..... | 18 |
+| 6.1 Introduction ..... | 18 |
+| 6.2 Simulation Conditions..... | 18 |
+| 6.2.1 Simulation conditions and assumptions (UTRAN)..... | 18 |
+| 6.2.2 Simulation conditions and assumptions (LTE eMBMS)..... | 19 |
+| 6.2 Code Performance ..... | 20 |
+| 6.2.1 Introduction ..... | 20 |
+| 6.2.2 Method 1..... | 20 |
+| 6.2.2.1 Evaluation Procedure ..... | 20 |
+| 6.2.2.2 Test Cases ..... | 22 |
+| 6.2.2.3 Performance Metrics..... | 22 |
+| 6.2.3 Method 2..... | 23 |
+| 6.2.3.1 Evaluation Procedure ..... | 23 |
+| 6.2.3.2 Test Cases ..... | 23 |
+| 6.2.3.3 Performance Metrics..... | 23 |
+| 6.3 Download Performance..... | 24 |
+| 6.3.1 Performance Metrics ..... | 24 |
+| 6.3.2 Download Performance over UTRAN ..... | 25 |
+| 6.3.3 Download Performance over LTE..... | 25 |
+| 6.4 UTRAN Streaming Performance ..... | 28 |
+| 6.5 Streaming Performance over LTE..... | 28 |
+| 6.6 Implementation-specific Performance Metrics ..... | 31 |
+| 6.7 Device-based Complexity Evaluation..... | 31 |
+| 6.7.1 Introduction ..... | 31 |
+| 6.7.2 Test Cases..... | 31 |
+| 6.7.3 Test Conditions & Test Procedure ..... | 32 |
+| 6.7.3.1 Overview Test Platform and Operation Conditions ..... | 32 |
+| 6.7.3.2 Download Delivery..... | 33 |
+| 6.7.3.2.1 Summary Test Cases ..... | 33 |
+
+| | | |
+|-----------------|---------------------------------------------------|-----------|
+| 6.7.3.2.2 | Generate FLUTE Packet Test Streams..... | 34 |
+| 6.7.3.2.3 | Generate Erroneous Packet Streams ..... | 35 |
+| 6.7.3.2.4 | Generate Device Performance Measures ..... | 36 |
+| 6.7.3.2.5 | Evaluation..... | 38 |
+| 6.7.3.3 | Streaming Delivery ..... | 41 |
+| 6.7.3.3.1 | Summary Test Cases ..... | 41 |
+| 6.7.3.3.1 | Generate FLUTE Packet Test Streams..... | 41 |
+| 6.7.3.3.2 | Generate Erroneous Packet Streams ..... | 42 |
+| 6.7.3.3.3 | Generate Device Performance Measures ..... | 44 |
+| 6.7.3.3.3.3 | Process..... | 45 |
+| 6.7.3.3.4 | Evaluation..... | 46 |
+| 6.7.3.3.4.3 | Performance Evaluation ..... | 46 |
+| 6.7.4 | Tools ..... | 48 |
+| 6.7.5 | Verification Process..... | 48 |
+| 7 | FEC Candidates..... | 48 |
+| 7.1 | Introduction ..... | 48 |
+| 7.2 | Benchmark Codes ..... | 49 |
+| 7.2.1 | Ideal Code..... | 49 |
+| 7.2.2 | MBMS FEC RFC 5053 ..... | 49 |
+| 7.3 | RS+LDPC ..... | 49 |
+| 7.4 | Supercharged Codes..... | 49 |
+| 7.5 | 6330 Code ..... | 49 |
+| 8 | Performance of FEC Codes..... | 49 |
+| 8.1 | Benchmark Codes: Ideal Code and RFC 5053..... | 49 |
+| 8.2 | Candidate Results..... | 51 |
+| 8.3 | Verification..... | 51 |
+| 8.3.1 | Introduction ..... | 51 |
+| 8.3.1 | Verification of RS+LDPC Code..... | 51 |
+| 8.3.2 | Verification of 6330 Code ..... | 52 |
+| 8.3.3 | Verification of Supercharged Code ..... | 52 |
+| 9 | Other FEC Enhancements..... | 52 |
+| 9.1 | Introduction ..... | 52 |
+| 9.2 | Graceful Degradation (GD) - FEC ..... | 52 |
+| 9.2.1 | Introduction ..... | 52 |
+| 9.2.2 | GD-FEC Operations and Requirements ..... | 52 |
+| 9.2.3 | GD-FEC Encoding/Decoding Examples ..... | 53 |
+| 9.2.4 | Conclusion on GD-FEC ..... | 55 |
+| 10 | Conclusions..... | 55 |
+| Annex A: | Simulation Conditions..... | 56 |
+| A.1 | Simulation Procedure for download delivery ..... | 56 |
+| A.2 | Simulation Procedure for streaming delivery ..... | 56 |
+| Annex B: | Tools for device-based evaluation ..... | 58 |
+| B.1 | Split file into segments and generate MD5..... | 58 |
+| B.2 | Generate Markov Traces..... | 58 |
+| B.3 | Root access for Galaxy S2 ..... | 59 |
+| B.4 | Time Command on Android Device ..... | 60 |
+| B.5 | USB tethering of Android Devices ..... | 60 |
+| B.5.1 | Requirements..... | 60 |
+| B.5.2 | Enable USB tethering on Android ..... | 60 |
+| B.5.3 | Network structure ..... | 60 |
+| B.6 | Play a PCAP..... | 61 |
+| B.6.1 | Windows..... | 61 |
+
+B.6.2 Unix & Win32/Cygwin ..... 61
+
+B.7 Android SSH server ..... 61
+
+B.8 Verify Segment Decoding..... 61
+
+Annex C: Change history ..... 62
+
+# --- Foreword
+
+This Technical Report has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- Introduction
+
+The on-going commercialization of LTE networks has precipitated increasing interest in the deployment of eMBMS. As the industry is considering the first deployments of eMBMS it is important to enhance the performance and usability of its core features.
+
+After development of the initial MBMS specifications, SA4 has focused its subsequent work on adding new features to the service. While application layer FEC usage in support of download and streaming delivery methods have been specified since Rel-6, those mechanisms have not been updated to reflect performance improvement developments in more recent years. Examples of ongoing FEC enhancement efforts are the latest activities in IETF's RMT and FECFRAME working groups. Such FEC improvements can also provide more efficient support of MBMS use cases.
+
+The objective of this TR is to document the progress of the work item to investigate and evaluate proposed FEC technologies and, if appropriate, adopt one which provides the most significant enhancement to the performance of the MBMS system over the Rel-6 application layer FEC in MBMS. Aspects of system performance, which would provide benefit to the system, include, but are not limited to
+
+- Improving the bandwidth efficiency of streaming and download services delivery over MBMS
+- Improving the reliability of streaming and download services delivery over MBMS, e.g. by increasing the amount of tolerable lost packets for a given FEC overhead
+- Reducing the required computational and memory resources for decoding in UEs
+- Addressing backward compatibility issues by considering deployments of pre-Rel-11 MBMS FEC
+
+The evaluation and selection process for the proposed improvements is documented in this TR.
+
+This Technical report contains the following attachments:
+
+- `Attachment-1-Tools.zip`: This attachment contains relevant tools for the purpose of setting up the evaluation framework.
+- `Attachment-2-Benchmark-Codes.xls`: This attachment contains all relevant results for the benchmark codes
+- `Attachment-3-Submission.zip`: This attachment contains all submitted code overhead and device-evaluation results of the candidates
+
+- `Attachment-4-Verification.zip`: This attachment contains all verification results for device-based evaluation.
+- `Attachment-5-6330.zip`: This attachment contains the proposed application of 6330 as MBMS application layer FEC as provided by the proponent.
+- `Attachment-6-RS+LDPC.zip`: This attachment contains the proposed application of RS+LDPC as MBMS application layer FEC as provided by the proponent.
+
+# --- 1 Scope
+
+The present document documents the progress of the work item to investigate and evaluate proposed FEC technologies and adopt one which provides the most significant enhancement to the performance of the MBMS system over the Release 6 application layer FEC in MBMS.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+ - For a specific reference, subsequent revisions do not apply.
+ - For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+- [1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [2] 3GPP TS 22.146: "Multimedia Broadcast/Multicast Service (MBMS); Stage 1".
+- [3] 3GPP TS 26.346: "Multimedia Broadcast/Multicast Service (MBMS); Protocols and codecs".
+- [4] IETF RFC 3926 (October 2004): "FLUTE - File Delivery over Unidirectional Transport", T. Paila, M. Luby, R. Lehtonen, V. Roca and R. Walsh.
+- [5] IETF RFC 5053 (February 2004): "Raptor Forward Error Correction Scheme for Object Delivery", M. Luby, M.Watson, A. Shokrollahi, and T. Stockhammer.
+- [6] IETF RFC 6363, "Forward Error Correction (FEC) Framework," M.Watson, A. Begen and V. Roca, October 2011.
+- [7] 3GPP TR 36.942, "Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Frequency (RF) system scenarios."
+
+# --- 3 Definitions, symbols and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in TR 21.905 [1] and the following apply. A term defined in the present document takes precedence over the definition of the same term, if any, in TR 21.905 [1].
+
+**Multimedia Broadcast/Multicast Service (MBMS):** See 3GPP TS 22.146 [2].
+
+**MBMS user services:** See 3GPP TS 22.146 [2].
+
+**MBMS delivery method:** mechanism used by a MBMS user service to deliver content
+There are two MBMS delivery method instances: download and streaming.
+
+**MBMS download delivery method:** delivery of discrete objects (e.g. files) by means of a MBMS download session
+
+**MBMS streaming delivery method:** delivery of continuous media (e.g. real-time video) by means of a MBMS streaming session
+
+**MBMS download session:** time, protocols and protocol state (i.e. parameters) which define sender and receiver configuration for the download of content files
+
+**MBMS streaming session:** time, protocols and protocol state (i.e. parameters) which define sender and receiver configuration for the streaming of content
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the abbreviations given in TR 21.905 [1] and the following apply. An abbreviation defined in the present document takes precedence over the definition of the same abbreviation, if any, in TR 21.905 [1].
+
+| | |
+|-------|---------------------------------------------|
+| ALC | Asynchronous Layered Coding |
+| BM-SC | Broadcast-Multicast - Service Centre |
+| ESI | Encoding Symbol ID |
+| FDT | File Delivery Table |
+| FEC | Forward Error Correction |
+| FLUTE | File deLivery over Unidirectional Transport |
+| IP | Internet Protocol |
+| LCT | Layered Coding Transport |
+| MBMS | Multimedia Broadcast/Multicast Service |
+| PSS | Packet Switch Streaming |
+| RTP | Real-Time Transport Protocol |
+| SBN | Source Block Number |
+| TOI | Transport Object Identifier |
+| UDP | User Datagram Protocol |
+
+# --- 4 Use of FEC in MBMS
+
+## 4.1 Introduction
+
+Application Layer FEC is used in MBMS to compensate remaining losses on or below the IP layer in unidirectional delivery environments.
+
+## 4.2 Architecture
+
+Figure 1 depicts the MBMS network architecture showing MBMS related entities involved in providing MBMS user services as specified in TS 26.346 [3] with special focus to the FEC component. The FEC is included in the MBMS User Services which are part of the BM-SC on the network side and MBMS receiver on the UE side. FEC is specifically included in the File Delivery over Unidirectional Transport (FLUTE) [4] protocol and the Forward Error Correction (FEC) Framework (FECFRAME) [6] protocol.
+
+
+
+The diagram illustrates the FEC operation in MBMS across two scenarios. In the top scenario, data is sent from the BM-SC (containing FLUTE and FECFRAME with FEC) to the Core Network (containing GGSN/SGSN and MBMS-GW), which then forwards it to the Radio Network (containing GERAN, UTRAN, and E-UTRAN). An MBMS Receiver on the left is shown receiving data from the Radio Network, with its own FLUTE, FECFRAME, and IP/UDP layers. In the bottom scenario, the data flow is from the BM-SC to the Core Network, then to the Radio Network, and finally to the MBMS Receiver. The MBMS Receiver's stack includes FLUTE, FECFRAME, IP/UDP, and a bottom layer labeled GERAN/UTRAN/E-UTRAN.
+
+Two diagrams illustrating FEC operation in MBMS. The top diagram shows data flow from BM-SC to Core Network and then to Radio Network, with an MBMS Receiver on the left. The bottom diagram shows data flow from BM-SC to Core Network, then to Radio Network, and finally to MBMS Receiver. Both diagrams show protocol stacks with FLUTE, FECFRAME, and IP/UDP layers.
+
+Figure 1: Overview on FEC operation in MBMS
+
+## 4.3 MBMS Bearer in UTRAN
+
+The MBMS UTRAN Bearer service reuses most of the legacy UMTS protocol stack in the packet-switched domain. Only minor modifications are introduced to support MBMS. The IP packets are processed in the Packet Data Convergence Protocol (PDCP) layer where for example header compression might be applied. In the Radio Link Control (RLC) the resulting PDCP-Protocol Data Units (PDUs), generally of arbitrary length, are mapped to fixed length RLC-PDUs. The RLC layer operates in unacknowledged mode as feedback links on the radio access network are
+
+not available for point-to-multipoint bearers. Functions provided at the RLC layer are for example segmentation and reassembly, concatenation, padding, sequence numbering, reordering and out-of-sequence and duplication detection. The Medium Access Control (MAC) layer maps and multiplexes the RLC-PDUs to the transport channel and selects the transport format depending on the instantaneous source rate. The MAC layer and physical layer appropriately adapt the RLC-PDU to the expected transmission conditions by applying, among others, channel coding, power and resource assignment, and modulation.
+
+## 4.4 MBMS Bearer in E-UTRAN
+
+The MBMS E-UTRAN Bearer service reuses most of the legacy LTE protocol stack in the packet-switched domain. Only minor modifications are introduced to support MBMS. The IP packets are processed in the Packet Data Convergence Protocol (PDCP) layer where for example header compression might be applied. In the Radio Link Control (RLC) the resulting PDCP-Protocol Data Units (PDUs), generally of arbitrary length, are mapped to fixed length RLC-PDUs. The RLC layer operates in unacknowledged mode as feedback links on the radio access network are not available for point-to-multipoint bearers. Functions provided at the RLC layer are for example segmentation and reassembly, concatenation, padding, sequence numbering, reordering and out-of-sequence and duplication detection. The Medium Access Control (MAC) layer maps and multiplexes the RLC-PDUs to the transport channel and selects the transport format depending on the instantaneous source rate. The MAC layer and physical layer appropriately adapt the RLC-PDU to the expected transmission conditions by applying, among others, channel coding, power and resource assignment, and modulation.
+
+## 4.5 Streaming Delivery User Service
+
+### 4.5.1 Introduction
+
+The purpose of the MBMS streaming delivery method is to deliver continuous multimedia data (i.e. speech, audio, video and DIMS) over an MBMS bearer. The streaming delivery method is particularly useful for multicast and broadcast of scheduled streaming content. RTP is the transport protocol for MBMS streaming delivery. RTP provides means for sending real-time or streaming data over UDP.
+
+TS 26.346 defines a generic mechanism for applying Forward Error Correction to streaming media. The mechanism consists of three components:
+
+- (i) construction of an FEC source block from the source media packets belonging to one or several UDP packet flows related to a particular segment of the stream(s) (in time). The UDP flows include RTP, RTCP, SRTP and MIKEY packets.
+- (ii) modification of source packets to indicate the position of the source data from the source packet within the source block
+- (iii) definition of repair packets, sent over UDP, which can be used by the FEC decoder to reconstruct missing portions of the source block.
+
+The details on transport for the streaming delivery service are provided below.
+
+An alternative way to deliver streaming services over MBMS is the use of DASH and FLUTE. This is use case is discussed in section 4.7.
+
+### 4.5.2 Transport in streaming delivery service
+
+The MBMS streaming framework operates on RTP packets or more precisely UDP payloads, incoming at same or different UDP ports. According to TS 26.346, clause 8.2.2, the FEC layer for streaming delivery is based on top of the UDP layer. The legacy RTP packets and the UDP port information are used in order to generate FEC repair symbols. Original UDP payloads become FEC source packets by appending a 3 byte FEC source payload ID field at the end of each UDP payload. These packets are then UDP encapsulated and transported on the IP multicast bearer.
+
+According to Figure 2 a copy of these packets is forwarded to the FEC encoder and is arranged in a source block with row width $T$ bytes at the first empty row. The encoding symbol starts at the beginning of a new row, but it is preceded by a 3 byte field containing the UDP flow ID (1 byte) and the length field (2 bytes). In case the length of the packet is not an integer of the symbol the remaining bytes in the last row are filled up with zero bytes. The source block is filled up to $k$ rows whereby $k$ is flexible and can be changed dynamically for each source block. The selection of $k$ depends on the desired delay, the available terminal memory and also might depend on aspects such as desired zapping time in
+
+mobile TV applications. Typically for a streaming service a *protection period* is defined and the value of the protection period dynamically determines the source block size.
+
+
+
+The diagram illustrates the MBMS Streaming Framework. On the left, three packet structures are shown with their respective lengths:
+
+- UDP Flow 0:** Length 26. Consists of an RTP Header and Media Payload.
+- UDP Flow 0:** Length 52. Consists of an RTP Header and Media Payload.
+- UDP Flow 1:** Length 103. Consists of an RTP Header and Media Payload.
+
+On the right, a grid represents the source block layout. The vertical axis is labeled **S B L** (Source Block Length) and the horizontal axis is labeled **Source Symbol Length T**. The grid rows are labeled **ESI 0**, **ESI 1**, **ESI 2**, and **ESI (k-1)**. Each row contains a header (yellow) and multiple source symbols (green and pink).
+
+- **ESI 0:** Header value 0, then 26, followed by symbols $B_{0,0}$ to $B_{0,12}$ .
+
+- **ESI 1:** Symbols $B_{0,13}$ to $B_{0,25}$ , then two '0' padding cells.
+
+- **ESI 2:** Header value 0, then 52, followed by symbols $B_{1,0}$ to $B_{1,12}$ . Subsequent rows continue with $B_{1,13}$ to $B_{1,25}$ , $B_{1,26}$ to $B_{1,38}$ , $B_{1,39}$ to $B_{1,51}$ , and padding '0's.
+
+- **ESI (k-1):** Header value 1, then 103, followed by symbols $B_{2,0}$ to $B_{2,12}$ . Subsequent rows continue with $B_{2,13}$ to $B_{2,25}$ , $B_{2,26}$ to $B_{2,38}$ , $B_{2,39}$ to $B_{2,51}$ , $B_{2,52}$ to $B_{2,64}$ , $B_{2,65}$ to $B_{2,77}$ , $B_{2,78}$ to $B_{2,90}$ , $B_{2,91}$ to $B_{2,102}$ , and padding '0's.
+
+Figure 2: MBMS Streaming Framework diagram showing packet structure and source block layout.
+
+Figure 2: MBMS Streaming Framework
+
+After processing all packets to be protected within one source block, the FEC encoder generates $n-k$ FEC repair symbols of size $T$ by applying FEC. The generated FEC repair symbols can be transmitted individually or as blocks of symbols as payload of a single UDP packet. Each FEC source and repair packet contains sufficient information such that the receiver can correctly insert them in the receiver source and repair block.
+
+### 4.5.3 Examples
+
+Examples are audio streaming applications or video streaming applications with bitrates ranging from 32 kbit/s to one or several MBit/s. The protection period is typically in the range of several seconds.
+
+## 4.6 Download Delivery User Service
+
+### 4.6.1 Introduction
+
+According to TR 26.946, the MBMS Download Delivery Method allows the error-free transmission of files via the unidirectional MBMS Bearer Services. The files are "downloaded" and stored in the local files-system of the user equipment. Files may contain multimedia content or any other binary data. The MBMS Download Delivery Method allows the transmission of an arbitrary number of files within a single data transfer phase.
+
+
+
+The diagram shows the definition of MBMS Download Sessions over time (**t**). It is divided into two sessions:
+
+- MBMS Download Session #n:** Contains FDT inst. #y, File 1, and File 2.
+- MBMS Download Session #n+1:** Contains FDT inst. #(y+1), File 1, File 2, and File 3.
+
+Both sessions are transmitted via the **MBMS Bearer Service #x**. The timeline at the bottom is labeled **MBMS Download User Service** and **t**.
+
+Figure 3: Definition of MBMS Download Sessions diagram showing sessions and files over time.
+
+Figure 3: Definition of MBMS Download Sessions
+
+Figure 3 is an example of an MBMS User Service based on the Download Delivery Method. The file transmission events are organized in MBMS Download Sessions. Each session is started with a File Delivery Table (FDT) instance, which describes in this example each file within the MBMS Download Session in terms of file name and file type (MIME Content Type). The service operator and the actual service determine the timing of MBMS Download Sessions. Depending on the service type, the MBMS Download session may require strict or more relaxed time-constraint delivery of content.
+
+### 4.6.2 Transport in download delivery service
+
+This clause explains briefly how files are constructed for and transported during a FLUTE session. The BM-SC takes a file, e.g. a video clip or a still image, which is used as the transport object for FLUTE (see figure 4). The BM-SC constructs source blocks by breaking the file into contiguous portions of approximately equal size. Each source block is broken into source symbols. One or more encoding symbols are carried as the payload of a FLUTE packet, thus the FLUTE packet size is divisible by the encoding symbol size. The target FLUTE packet size is configured by the BM-SC and, together with the file size, is used to determine the encoding symbol length. When FEC is used it may be beneficial to include several symbols in each FLUTE packet. Based on the transport object size, the encoding symbol size and the maximum source block length, FLUTE calculates the source block structure (i.e., the number of source blocks and their length).
+
+
+
+**Constructing FLUTE Packets**
+
+The diagram illustrates the process of constructing FLUTE packets. It starts with a **file** (represented by an icon), which is converted into a **transport object** (a grid of binary digits). This transport object is then divided into **source block(s)** (another grid of binary digits). Each source block is further divided into **encoding symbol(s)** (a grid of binary digits). These encoding symbols are then packaged into a **FLUTE packet**, which consists of a **Header** and a payload (e.g., **11111**). The final output is a **FLUTE/UDP/IP packet**.
+
+Diagram illustrating the construction of FLUTE packets from a file. A file icon is shown on the left, with an equals sign leading to a 'transport object' represented by a grid of binary digits. This is followed by 'source block(s)' represented by a grid of binary digits. Then 'encoding symbol(s)' are shown as a grid of binary digits. Finally, a 'FLUTE packet' is shown as a 'Header' followed by '11111'. The entire process is labeled 'FLUTE/UDP/IP packet' at the end.
+
+**Figure 4: Constructing FLUTE packets**
+
+The BM-SC communicates the transport object size, the encoding symbol size and the file size to the receivers within the FLUTE session transmission such that the receiver can also calculate the source block structure in advance of receiving a file.
+
+The FLUTE packet is constructed from FLUTE header and payload containing one or more encoding symbols.
+
+The distinction between file and transport object is that the file is the object provided to the BM-SC and played-out or stored at the MBMS UE. Within the scope of FLUTE sessions, content encoding may be used, for instance to compress the file with gzip for delivery. In the presence of FLUTE session content encoding, the file and the transport object will be different binary objects, and in the absence of content encoding the transport object will be identical to the file. Any symbol calculations (including FEC) are performed on transport objects.
+
+### 4.6.3 Download Examples
+
+In a typical use case, multimedia files typically in 3GP or MP4 format are distributed through download delivery method. In this case the delivery rate and the media rate may be completely different as no real-time consumption is considered.
+
+Table 1 shows some typical examples of file sizes for different types of multimedia content.
+
+**Table 1: Examples for Download delivery use cases**
+
+| Number | File Size | Example |
+|--------|---------------------------------|-------------------------------------|
+| 1 | 50 kByte (51 200 bytes) | JPEG coded logo |
+| 2 | 1 MByte (1 048 576 bytes) | AAC encoded audio clip |
+| 3 | 3 MByte (3 145 728 bytes) | MP3 audio clip |
+| 4 | 128 MByte (134 217 728 bytes) | 30 min SD movie coded at 500 kbit/s |
+| 5 | 1.8 GByte (1 887 436 800 bytes) | 2 hours HD movie coded at 2 MBit/s |
+
+## 4.7 Streaming using DASH and Download Delivery User Service
+
+In another use case as indicated in TS 26.346, section 5.6, the download delivery method may be used to distribute DASH formatted content over MBMS. MBMS is designed to serve large receive groups with same content. The MBMS Download Delivery Method is designed to deliver an arbitrary number of (binary) files via MBMS to a large receiver population. MBMS Download defines several methods to increase reliability such as file repair. The download delivery method supports the delivery of media segments and even media presentation descriptions. Media segment URIs are described using the FDT in FLUTE.
+
+In this case the media bit-rate and the delivery bitrate are typically the same to maintain real-time delivery capabilities and therefore the delivery delay of a segment is typically lower bounded by the segment duration.
+
+Table 2 shows some typical examples of DASH media segment files for live services. In these examples, only one representation with constant media rate is being delivered over download delivery service.
+
+**Table 2: Examples for DASH segments**
+
+| Number | Segment duration and media rate | FLUTE object (one segment) Size |
+|--------|----------------------------------------|---------------------------------|
+| 1 | 1 sec DASH segment 250 kbit/s stream | 32 kByte (32 768 bytes) |
+| 2 | 1 sec DASH segment for 1 Mbit/s stream | 128 kByte (131 072 bytes) |
+| 3 | 2 sec DASH segment 250 kbit/s stream | 64 kByte (65 536 bytes) |
+| 4 | 2 sec DASH segment for 1 Mbit/s stream | 256 kByte (262 144 bytes) |
+| 5 | 4 sec DASH segment 250 kbit/s stream | 128 kByte (131 072 bytes) |
+| 6 | 4 sec DASH segment for 1 Mbit/s stream | 512 kByte (524 288 bytes) |
+
+# 5 MBMS Bearer Service Channel Modelling
+
+## 5.1 Introduction
+
+In order to investigate the performance of application layer FEC in the context of UTRAN and E-UTRAN, appropriate modelling of radio bearers is necessary.
+
+## 5.2 Modelling of UTRAN MBMS Bearer
+
+During the initial MBMS specification phase for Release-6, appropriate settings for UTRAN bearers for the simulation of FEC parameters had been defined and are summarized in Table 3.
+
+**Table 3: Typical UTRAN bearer parameters**
+
+| UTRAN Bearer parameters | |
+|-------------------------|--------------------------------------------------|
+| Bearer rates | 64 kbit/s, 128 kbit/s, 256 kbit/s |
+| RLC PDU size | 640 bytes, 1 280 bytes, 1 280 bytes respectively |
+| RLC BLER | 1%, 5%, 10%, 15%, 20%, 30% |
+| RLC block loss pattern | Independent random loss |
+
+## 5.3 Modelling of E-UTRAN MBMS Bearer
+
+To obtain some representative numbers for the performance of an FEC code in an LTE MBMS environment, some simple models are necessary for AL-FEC evaluation.
+
+Figure 5 shows the mapping of RLC-SDUs to RLC-PDUs. RLC-SDUs in the context of MBMS are IP packets. The RLC header is 1 byte if the RLC SDU consists of 1 IP packet. The header is longer, if multiple IP packets are multiplexed in an RLC-SDU. A reasonable assumption is to use 3 byte header of the RLC-PDU assuming a 5 bit sequence number. The loss of one RLC-PDU results in the loss of all IP packets included in the RLC-PDU.
+
+The MAC PDU consists of a number of MAC SDUs, where a MAC-SDU is an RLC-PDU. The MAC multiplexer notifies the RLC layer of the available bits. The RLC layer would then create an RLC PDU that fits exactly into the available space in the MAC PDU. There is no need for fragmentation of MAC SDUs across subframes. Based on this, it can be assumed that the loss of one MAC-PDU results in the loss of one RLC-PDU.
+
+
+
+The diagram illustrates the mapping of RLC SDUs to RLC PDUs. At the top, four RLC SDUs are shown, labeled 'n', 'n+1', 'n+2', and 'n+3'. Below them, two RLC PDUs are shown. Each RLC PDU consists of an 'RLC header' and a data portion. Dotted lines connect the RLC SDUs to the RLC PDUs: SDU 'n' and 'n+1' are mapped to the first RLC PDU, while SDUs 'n+2' and 'n+3' are mapped to the second RLC PDU. This shows that multiple SDUs can be aggregated into a single PDU.
+
+Mapping of IP packets (RLC-SDUs) to RLC-PDUs diagram
+
+**Figure 5: Mapping of IP packets (RLC-SDUs) to RLC-PDUs (see TS 36.300, section 6.2.2)**
+
+LTE MBMS defines modulations and coding schemes with a MAC-PDU size ranging from 680 bit to 18336 bit for a 5 MHz bandwidth.
+
+Each MAC-PDU is mapped to a subframe. At allocation level 1, LTE MBMS can use up to 6 out of the 10 subframes of a 10ms frame. Each subframe is 1ms.
+
+The interleaving for MBMS in LTE is the same as for regular unicast LTE delivery of 1 ms.
+
+In communication with RAN1 and RAN2, it was agreed to use a two-state Markov model for the simulation of LTE RLC-PDU losses as shown in Figure 6:.
+
+
+
+The diagram shows a two-state Markov model for RLC-PDU losses. It consists of two main states: 'Good Pg ' and 'Bad Pb '. Transitions between these states are labeled with probabilities: 'p' for Good to Bad and 'q' for Bad to Good. Each state has a self-loop representing the probability of staying in that state: '1-p' for Good and '1-q' for Bad.
+
+Markov model for LTE RLC-PDU losses diagram
+
+**Figure 6: Markov model for LTE RLC-PDU losses**
+
+The model was parametrized based on the D1 simulation settings of 3GPP TR 36.942 [7] as reported in Table 4.
+
+**Table 4: Parameter Settings for MBMS LTE simulations**
+
+| Parameter | Setting |
+|-------------------------------|----------------|
+| Center Frequency (MHz) | 2000 |
+| Cell radius (m) | 288 |
+| Bandwidth (MHz) | 5 |
+| Penetration Loss (dB) | 20 |
+| Speed (km/h) | 3 |
+| Antenna Down tilt (degree) | 15 |
+| Antenna Height (m) | 30 |
+| Antenna Clutter Height (m) | 15 |
+| Dhb (m) | 15 |
+| Slope | 37.6 |
+| I | 128.1 |
+| Average EIRP (dBW, 5MHz) | 33 |
+| eNB Tx Power (dBW) | 13 |
+| UE Antenna Loss (dB) | 6 |
+| Implementation Loss (dB) | 3 |
+| Noise Figure (dB) | 6 |
+| Penetration Loss (dB) | 20 |
+| Receiver Height (m) | 1.5 |
+| Vertical Beamwidth (degree) | 10 |
+| Horizontal Beamwidth (degree) | 70 |
+
+The simulation is carried out with a 19 sites configuration as shown in Figure 7:. Each site has 3 cells. All sites have 100% SFN operation. 30 UEs are uniformly dropped into the center site (dark green one) in each simulation run of 50 sec. In total 900 UEs are dropped and the SNR is sampled accordingly. The overall SNR distribution is also shown in Figure 7:.
+
+
+
+Figure 7: Simulation Grid and SNR distribution. The left part shows a hexagonal grid of 19 sites, with the central site highlighted in dark green. The right part is a line graph showing the SNR distribution. The x-axis is labeled 'SNR(dB)' and ranges from 0 to 30. The y-axis is labeled 'CDF' and ranges from 0 to 1. The curve starts at 0 for SNR=10 dB and rises steeply, reaching a CDF of 1 at approximately 25.5 dB.
+
+**Figure 7: Simulation Grid and SNR distribution**
+
+Based on those SNR traces, two representative traces were selected that in combination with MCS24 result in a 1%, 5%, 10% and 20% target BLER.
+
+The parametrization of the Markov model is as follows:
+
+- each state persists for 10ms, and
+- a state is good if it has:
+ - less than 10% packet loss probability for the 1% and 5% BLER simulations,
+
+- less than 40% packet loss probability for the 10% and 20% BLER simulations.
+- MCS=24 was used for all cases and then users at different 'MBMS geometry' were picked to get the different average error rate.
+
+The parameters for Markov channel modelling are provided in Table 5.
+
+**Table 5: Markov channel parameters**
+
+| Parameter | Meaning |
+|---------------|-----------------------------------------------------|
+| $p$ | transition probability from Good state to Bad state |
+| $q$ | transition probability from Bad state to Good state |
+| $p_g$ | BLER in Good state |
+| $p_b$ | BLER in Bad state |
+| $\frac{1}{p}$ | Average Length of Bad state segment |
+| $\frac{1}{q}$ | Average length of Good state segment |
+
+The time in a good state $T_g$ or time in a bad state $T_b$ may be computed by multiplying the average length of a good (bad) segment by the sampling period. The probability of the good state and probability of a bad state may be computed as $q/(p+q)$ and $p/(p+q)$ , respectively.
+
+Specifically, the following parameters for the LTE MBMS channel simulations:
+
+- MCS=9 and MCS=21 with 498 byte RLC-SDU size and 1332 byte RLC-SDU size.
+- RLC-SDU distance of 10ms and 40ms for MCS=21
+- RLC-SDU distance of 10ms for MCS=9
+- Channel model with Markov model loss rate of 1%, 5%, 10% and 20% target BLER as introduced in TDoc R1-120831, Annex B, Table 1 section 3.2 with speed 3 kph. The table is duplicated below as Table 6 with a resolution of an inconsistency in the average BLER.
+- Channel model with Markov model loss rate of 1%, 5%, 10% and 20% target BLER as introduced in TDoc R1-120831, Annex B, Table 2 section 3.2 with speed 120kph. The table is duplicated below as Table 7.
+
+**Table 6: Markov parameters for 3 km/h**
+
+| Table 1 3 km/h | BLER = 1% | BLER = 5% | BLER = 10% | BLER = 20% |
+|-------------------|-----------|-----------|------------|------------|
+| $p$ | 0.58% | 1.80% | 2.79% | 4.61% |
+| $q$ | 36.13% | 24.01% | 20.90% | 16.80% |
+| $sg$ | 98.42% | 93.02% | 88.23% | 78.48% |
+| $sb$ | 1.58% | 6.98% | 11.77% | 21.52% |
+| $pg$ | 0.03% | 0.06% | 0.56% | 1.16% |
+| $pb$ | 59.47% | 70.54% | 82.30% | 89.20% |
+| BLER | 0.97% | 4.98% | 10.19% | 20.12% |
+| $T_g$ (ms) | 1724 | 555 | 359 | 217 |
+| $T_b$ (ms) | 28 | 42 | 48 | 60 |
+
+**Table 7: Markov parameters for 120 km/h**
+
+| Table 2 120 km/h | BLER = 1% | BLER = 5% | BLER = 10% | BLER = 20% |
+|-----------------------------|------------------|------------------|-------------------|-------------------|
+| p | 6.06% | 27.07% | 46.48% | 35.60% |
+| q | 94.30% | 70.95% | 50.95% | 63.29% |
+| sg | 93.97% | 72.39% | 52.29% | 64.00% |
+| sb | 6.03% | 27.61% | 47.71% | 36.00% |
+| pg | 0.00% | 0.00% | 0.00% | 9.72% |
+| pb | 17.31% | 19.54% | 22.33% | 40.40% |
+| BLER | 1.05% | 5.40% | 10.66% | 20.77% |
+| Tg (ms) | 165 | 37 | 22 | 28 |
+| Tb (ms) | 11 | 14 | 20 | 16 |
+
+Regarding the MCS selection, the optimum operating MCS strongly depends on the deployment scenario, including site-to-site distance, operating frequency, interference conditions at MBSFN area boundaries, etc. Therefore, one specific value is not suitable. Using two different MCS cases can give some diversity in the assumptions, hence a good approach to use the following two values:
+
+- higher value MCS=21 resulting in RLC-SDU size of 1332 byte.
+- lower value corresponding to 1 bit/s/Hz, with MCS=9 resulting in RLC-SDU size of 498 byte.
+
+It is additionally from the following list of available simulation conditions the following were selected as a good candidate representative:
+
+- RLC-SDU distance of 10 ms and 40ms for MCS=21
+- RLC-SDU distance of 10 ms for MCS=9
+
+This results in total in 24 different channel configurations as summarized in Table 8.
+
+**Table 8: Typical LTE MBMS bearer parameters**
+
+| LTE eMBMS Bearer | | | |
+|-------------------------|--------------------------|------------------|----------------------|
+| | Bearer bitrates | 398.4 kbit/s, | 266.4, 1.0656 Mbit/s |
+| | RLC-SDU size | 498 byte | 1332 byte |
+| | RLC-SDU frequency | 10ms | 40ms, 10ms |
+| | MAC PDU loss pattern | Markov | Markov |
+| | Speed | 3 and 120 km/h | 3 and 120 km/h |
+| | MAC-PDU loss probability | 1%, 5%, 10%, 20% | 1%, 5%, 10%, 20% |
+
+# 6 FEC Evaluation Procedure
+
+## 6.1 Introduction
+
+An Evaluation Procedure is defined for FEC evaluation and selection. This includes procedures to measure theoretical FEC code performance, FEC performance in 3GPP services as well as high-level and detailed decoder performance.
+
+## 6.2 Simulation Conditions
+
+### 6.2.1 Simulation conditions and assumptions (UTRAN)
+
+The simulation conditions for UTRAN-based MBMS are provided in Table 9.
+
+Additional details on the simulation methodology are provided in Annex A and should be viewed as simulation guidelines in case there are any ambiguities.
+
+**Table 9: Simulation Conditions for UTRAN-based MBMS**
+
+| | | |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
+| UTRAN Download | | |
+| | Bearer rates | 64 kbit/s, 128 kbit/s, 256 kbit/s |
+| | RLC-PDU size | 640 bytes, 1 280 bytes, 1 280 bytes respectively |
+| | RLC-PDU BLER | 1%, 5%, 10%, 15%, 20%, 30% |
+| | RLC-PDU block loss pattern | Independent random loss |
+| | Number of trials/users | At least 10,000 for files $\leq$ 512 KB, 3,000 for 3 072 KB |
+| | File sizes | 50 KB, 512 KB, 3 072 KB |
+| | FLUTE payload size | 456 bytes |
+| | ROHC | No |
+| | IPv4/UDP header | 28 bytes |
+| | FLUTE header | 16 bytes |
+| | FEC overhead | Varied in steps of X packets, where $X = \text{ceil}(0.005N)$ and N is the number of packets containing source data |
+| UTRAN Streaming | | |
+| | Bearer rates | 64 kbit/s, 128 kbit/s and 256 kbit/s |
+| | RLC PDU size | 640 bytes (for 64 kbit/s bearer) 1280 bytes (for 128 kbit/s bearer) 1280 bytes (for 256 kbit/s bearer) |
+| | RLC BLER | 1 %, 5 %, 10 %, 15 %, 20 %, 30 % |
+| | RLC block loss pattern | Independent random loss |
+| | Content length | 24 hours of media content |
+| | Media rates | Varied by steps of 1 % of bearer rate, assuming only a single media stream with constant bitrate (see note 1) |
+| | FEC overhead | Varied to sum FEC and Media to equal bearer rate |
+| | Source packet RTP payload size | 64 kbit/s: 456 bytes 128 kbit/s: 456 bytes 256 kbit/s: 768 bytes |
+| | Repair packet RTP payload size | Minimum value supported by the FEC code which is not less than 470 (for 64 kbit/s and 128 kbit/s) and 782 (for 256 kbit/s) - (see note 2) |
+| | Protection period | 5 s, 20 s |
+| | ROHC | No |
+| | IPv4/UDP/RTP header | 40 |
+| NOTE 1: In practice, multiple media streams may be carried within a single MBMS bearer. However, only a single media stream is considered for FEC simulation purposes for simplicity. | | |
+| NOTE 2: The last repair packet of a block may be shorter if supported by the FEC code in order to fit within the protection period. | | |
+
+### 6.2.2 Simulation conditions and assumptions (LTE eMBMS)
+
+The simulation conditions for LTE-based MBMS are provided in Table 10.
+
+Additional details on the simulation methodology are provided in Annex A and should be used as guidelines for simulations.
+
+**Table 10: Simulation Conditions for LTE-based MBMS**
+
+| | | |
+|--------------------------------------------|----------------------------------------|-------------------------------------------------------------------------------------------------------------------|
+| LTE eMBMS Download | | |
+| | RLC-SDU | 266.4 kbit/s, 398.4 kbit/s, 1.0656Mbit/s |
+| | RLC-SDU size | 498, 1332 byte |
+| | Loss Model | Markov |
+| | MCS | 9, 21 |
+| | RLC-SDU period | 40 ms, 10 ms |
+| | Speed | 3 km/h, 120 km/h |
+| | MAC-PDU loss probability | 1%, 5%, 10%, 20% |
+| | Number of trials/users | At least 10,000 for files $\leq 1$ MB, at least 3,000 otherwise |
+| | File sizes | 50kB, 1MB, 3MB, 128MB, 1.8GB |
+| | FLUTE payload size | (RLC-PDU size - 44) bytes |
+| | ROHC | No |
+| | IPv4/UDP header | 28 bytes |
+| | FLUTE header | 16 bytes |
+| | FEC overhead | Varied in steps of X packets, where $X=\text{ceil}(0.005N)$ and N is the number of packets containing source data |
+| LTE eMBMS Streaming (based on DASH) | | |
+| | Bearer rates | 266.4 kbit/s, 398.4 kbit/s, 1.0656Mbit/s |
+| | RLC-SDU size | 498, 1332 byte |
+| | Loss Model | Markov |
+| | MCS | 9, 21 |
+| | RLC-SDU period | 40 ms, 10 ms |
+| | Speed | 3 km/h, 120 km/h |
+| | MAC-PDU loss probability | 1%, 5%, 10%, 20% |
+| | Content length | 24 hours of media content |
+| | Media rates | Varied by steps of FLUTE payload sizes, but constant |
+| | FEC overhead | Varied to sum FEC and Media to equal bearer rate |
+| | FLUTE payload size | (RLC-PDU size - 44) bytes |
+| | Media Segment duration | 1 s, 4 s |
+| | Segment to FLUTE object mapping | Each Segment is mapped to one FLUTE object |
+| | Maximum delivery delay of FLUTE object | media segment duration |
+| | ROHC | No |
+| | IPv4/UDP/FLUTE header | 44 |
+
+## 6.2 Code Performance
+
+### 6.2.1 Introduction
+
+For the evaluation of the code performance, two different methods are defined.
+
+### 6.2.2 Method 1
+
+#### 6.2.2.1 Evaluation Procedure
+
+Data to be transmitted is partitioned into $K$ symbols. These $K$ symbols are used to generate $N$ total symbols to be transmitted, where $N \geq K$ . The $N$ symbols are transmitted through an erasure channel with erasure probability $P_e$ (on the FEC symbol level). The erasure channel is IID and it operates on the data symbol by symbol. The IID erasure channel is illustrated in Figure 8 and Figure 9. Successful decoding requires at least $K$ symbols to be received, but in some cases additional received symbols may be necessary. Denote the number of symbols *received* in excess of $K$ to be $O$ . The decoding failure probability distribution is a function of $O$ and is given as $P(O)=\Pr\{\text{decoding with } O \text{ overhead symbols or less fails}\}$ .
+
+
+
+Figure 8: Illustration of the IID erasure channel. A block diagram showing 'Input Data' entering an 'Erasure Channel' box. Inside the box, an arrow labeled '1-Pe' points to 'Output Data', and an arrow labeled 'Pe' points to 'Erasure'.
+
+**Figure 8: Illustration of the IID erasure channel. Data is passed through the channel with probability $1-P_e$ , and erased with probability $P_e$ .**
+
+
+
+Figure 9: Data transmission through an erasure channel. A block diagram showing a 'Parity' and 'Data' block (total length N) entering an 'Erasure Channel IID Pe' box. The output shows the 'Parity' and 'Data' blocks with some symbols marked as 'Erasures' (indicated by arrows pointing to crossed-out symbols). The output then goes to a 'Decoder' block.
+
+**Figure 9: Data is passed through the IID erasure channel, with erasure probability of $P_e$ . Data is delivered to the decoder in the order in which it was transmitted.**
+
+To obtain the distribution $P(O)$ a statistical evaluation procedure is proposed as follows:
+
+1. Fix $K$ , the number of encoded symbols
+2. Fix $N$ , the maximum number of symbols (systematic or repair) to be transmitted
+3. Use an Erasure Channel with probability of error $P_e$ for each symbol.
+4. Loop over 5 to 10 for $N\_iterations=10,000$
+5. Set $O= -1$ and $TX= -1$
+6. Set $RX=0$
+7. While ( $RX < K$ )
+ - a. If ( $TX+1>N$ )
+ - i. Note the case as “undecodable”
+ - ii. Goto 5
+ - b. $TX=TX+1$
+ - c. Transmit a symbol through the Erasure Channel. If the symbol is delivered by the Erasure Channel
+ - i. $RX = RX + 1$
+8. Attempt to Decode with the received symbols
+9. If decoding is not successful
+ - a. If( $TX+1>N$ )
+ - i. Note $O$ and that the case was “undecodable”
+ - ii. Goto 5
+ - b. $TX = TX+1$
+ - c. Transmit a symbol through the Erasure Channel. If the symbol is delivered by the Erasure Channel
+ - i. $O=O+1$
+ - d. Goto 8
+10. If decoding is successful
+ - a. Note $O$
+ - b. Goto 5
+
+#### 6.2.2.2 Test Cases
+
+The following test cases are determined for the purpose of evaluating the code performance.
+
+**Table 11: Test Cases for Code Performance**
+
+| Number | K | N | Channel |
+|--------|----------|----------|----------------|
+| CP1 | 32 | 39 | IID $P_e=5\%$ |
+| CP2 | 128 | 154 | IID $P_e=5\%$ |
+| CP3 | 256 | 282 | IID $P_e=5\%$ |
+| CP4 | 1024 | 1127 | IID $P_e=5\%$ |
+| CP5 | 8192 | 9012 | IID $P_e=5\%$ |
+| CP6 | 32 | 45 | IID $P_e=10\%$ |
+| CP7 | 128 | 180 | IID $P_e=10\%$ |
+| CP8 | 256 | 308 | IID $P_e=10\%$ |
+| CP9 | 1024 | 1229 | IID $P_e=10\%$ |
+| CP10 | 8192 | 9831 | IID $P_e=10\%$ |
+
+#### 6.2.2.3 Performance Metrics
+
+For each of the above test cases the following performance metrics are reported for N\_iterations=10,000:
+
+- The probability that decoding is not successful with O = i symbols, P(O=i), where i=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
+- The probability that decoding is not successful P(undecodable).
+- The probability that decoding is not successful with less than O=0 symbols $P_f(O=0)$ ,
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 0.5$ , $O(P_f=0.5)$
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 0.1$ , $O(P_f=1e-1)$
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 0.01$ , $O(P_f=1e-2)$
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 0.001$ , $O(P_f=1e-3)$
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 1e-4$ , $O(P_f=1e-4)$
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 1e-5$ , $O(P_f=1e-5)$
+- The average symbol overhead $E\{O\}$ for the test case.
+
+**Table 12: Reporting format for Code Performance Method 1**
+
+| Case | $P_f(O=0)$ | $O(P_f=0.5)$ | $O(P_f=1e-1)$ | $O(P_f=1e-2)$ | $O(P_f=1e-3)$ | $O(P_f=1e-4)$ | $O(P_f=1e-5)$ | $E\{O\}$ |
+|------|------------|--------------|---------------|---------------|---------------|---------------|---------------|----------|
+| CP1 | | | | | | | | |
+| CP2 | | | | | | | | |
+| CP3 | | | | | | | | |
+| CP4 | | | | | | | | |
+| CP5 | | | | | | | | |
+| CP6 | | | | | | | | |
+| CP7 | | | | | | | | |
+| CP8 | | | | | | | | |
+| CP9 | | | | | | | | |
+| CP10 | | | | | | | | |
+
+| Case | P(O=0) | P(O=1) | P(O=2) | P(O=3) | P(O=4) | P(O=5) | P(O=6) | P(O=7) | P(O=8) | P(O=9) |
+|------|--------|--------|--------|--------|--------|--------|--------|--------|--------|--------|
+| CP1 | | | | | | | | | | |
+| CP2 | | | | | | | | | | |
+| CP3 | | | | | | | | | | |
+| CP4 | | | | | | | | | | |
+| CP5 | | | | | | | | | | |
+| CP6 | | | | | | | | | | |
+| CP7 | | | | | | | | | | |
+| CP8 | | | | | | | | | | |
+| CP9 | | | | | | | | | | |
+| CP10 | | | | | | | | | | |
+
+### 6.2.3 Method 2
+
+#### 6.2.3.1 Evaluation Procedure
+
+The distribution of the code overhead $O$ for different permutations of received symbols is a relevant measure for the code performance. Specifically, the failure probability distribution defined as $P_f(O) = \Pr\{\text{decoding with exactly } O \text{ overhead symbols fails}\}$ is relevant and may be used to determine the code performance.
+
+To obtain the distribution $P_f(O)$ a statistical evaluation procedure is proposed based on the following four parameters:
+
+- the source block size $K$ providing the total number of source symbols
+- the maximum encoding symbol ID (ESI) $N$ for any repair symbol
+
+Given these numbers the following procedure is proposed to obtain the $O$ for one experiment:
+
+1. Generate a source block with $K$ symbols
+2. Generate $N-K$ repair symbols with ESI= $K+1, \dots, N$
+3. Randomly pick $K$ among the $N$ symbols
+4. Set $O$ to 0
+5. Attempt decoding using the available $K+O$ encoding symbols. The symbols are ordered in sequence for decoding.
+6. If decoding is not successful then
+ - a. pick one additional not yet included encoding symbol randomly chosen from the $N$ symbols.
+ - b. Set $O$ to $O+1$ ,
+ - c. If $K+O == N+1$ then goto 7, else goto 5
+7. Report $O$ as the overhead result for this experiment
+
+To obtain the distribution for the necessary overhead $O$ at least 10,000 of the above experiments are carried out.
+
+#### 6.2.3.2 Test Cases
+
+The following test cases are determined for the purpose of evaluating the code performance.
+
+**Table 13: Test Cases for Code Performance**
+
+| Number | $K$ | $N$ |
+|--------|------|-------|
+| CP11 | 32 | 34 |
+| CP12 | 32 | 38 |
+| CP13 | 32 | 128 |
+| CP14 | 256 | 269 |
+| CP15 | 256 | 307 |
+| CP16 | 256 | 1024 |
+| CP17 | 1024 | 1075 |
+| CP18 | 1024 | 1229 |
+| CP19 | 1024 | 3072 |
+| CP20 | 8192 | 8601 |
+| CP21 | 8192 | 9830 |
+| CP22 | 8192 | 30000 |
+
+Notes that a code does not necessarily have to provide $N$ different encoding symbols, but the code may have less symbols $N'$ . To use such codes in an environment where $N$ symbols are required, the code with $N' < N$ independent encoding symbols may repeat encoding symbols to generate $N$ symbols in total.
+
+#### 6.2.3.3 Performance Metrics
+
+For the above test cases CP11-CP22 the following performance metrics are reported for at least $N\_iterations=10,000$ :
+
+- The probability that decoding is not successful with $O = i$ symbols, $P(O=i)$ , where $i=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]$
+- The probability that decoding is not successful with less than $O=0$ symbols $P_f(O=0)$ ,
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 0.5$ , $O$ ( $P_f=0.5$ )
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 0.1$ , $O$ ( $P_f=1e-1$ )
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 0.01$ , $O$ ( $P_f=1e-2$ )
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 0.001$ , $O$ ( $P_f=1e-3$ )
+
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 1e-4$ , $O$ ( $P_f=1e-4$ )
+- The necessary overhead $O^*$ to achieve $P_f(O=O^*) \leq 1e-5$ , $O$ ( $P_f=1e-5$ )
+- The average symbol overhead $E\{O\}$ for the test case.
+
+**Table 14: Reporting format for Code Performance Method 2**
+
+| Case | $P_f(O=0)$ | $O$ ( $P_f=0.5$ ) | $O$ ( $P_f=1e-1$ ) | $O$ ( $P_f=1e-2$ ) | $O$ ( $P_f=1e-3$ ) | $O$ ( $P_f=1e-4$ ) | $O$ ( $P_f=1e-5$ ) | $E\{O\}$ |
+|------|------------|-------------------|--------------------|--------------------|--------------------|--------------------|--------------------|----------|
+| CP11 | | | | | | | | |
+| CP12 | | | | | | | | |
+| CP13 | | | | | | | | |
+| CP14 | | | | | | | | |
+| CP15 | | | | | | | | |
+| CP16 | | | | | | | | |
+| CP17 | | | | | | | | |
+| CP18 | | | | | | | | |
+| CP19 | | | | | | | | |
+| CP20 | | | | | | | | |
+| CP21 | | | | | | | | |
+| CP22 | | | | | | | | |
+
+| Case | $P(O=0)$ | $P(O=1)$ | $P(O=2)$ | $P(O=3)$ | $P(O=4)$ | $P(O=5)$ | $P(O=6)$ | $P(O=7)$ | $P(O=8)$ | $P(O=9)$ |
+|------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|
+| CP11 | | | | | | | | | | |
+| CP12 | | | | | | | | | | |
+| CP13 | | | | | | | | | | |
+| CP14 | | | | | | | | | | |
+| CP15 | | | | | | | | | | |
+| CP16 | | | | | | | | | | |
+| CP17 | | | | | | | | | | |
+| CP18 | | | | | | | | | | |
+| CP19 | | | | | | | | | | |
+| CP20 | | | | | | | | | | |
+| CP21 | | | | | | | | | | |
+| CP22 | | | | | | | | | | |
+
+## 6.3 Download Performance
+
+### 6.3.1 Performance Metrics
+
+For download delivery, the FEC Overhead required to achieve 99% probability of recovery of the file provides a very good indication for the system level performance.
+
+The FEC Overhead required for 99 % probability of recovery is computed the Transmission overhead as described in Annex A.1 of this document.
+
+In addition, the following parameters are be reported:
+
+- The symbol size, $T$ , in bytes
+- The total number of symbols required to represent the source data of the object, $K_t$
+- The number of source blocks, $Z$
+- The number of sub-blocks in each source block, $N_s$
+- The maximum number of symbols to be transported in a single packet, $G$
+
+For details refer to RFC 3926 [4] and RFC 5053 [5].
+
+### 6.3.2 Download Performance over UTRAN
+
+Table 15 provides a reporting format for UTRAN test cases.
+
+**Table 15: FEC Overhead required for 99 % probability for UTRAN download test cases**
+
+| Test Case | Error conditions | File size | Bitrate kbit/s | Fec Overhead | [T; Kt; Z; Ns; G] |
+|-----------|------------------|----------------|----------------|--------------|-------------------|
+| UD1 | Low (1% BLER) | Small (50KB) | 64 | | |
+| UD2 | | Medium (512KB) | 64 | | |
+| UD3 | | Large (3072KB) | 64 | | |
+| UD4 | Medium (5% BLER) | Small (50KB) | 64 | | |
+| UD5 | | Medium (512KB) | 64 | | |
+| UD6 | | Large (3072KB) | 64 | | |
+| UD7 | High (10% BLER) | Small (50KB) | 64 | | |
+| UD8 | | Medium (512KB) | 64 | | |
+| UD9 | | Large (3072KB) | 64 | | |
+| UD10 | 15% BLER | Small (50KB) | 64 | | |
+| UD11 | | Medium (512KB) | 64 | | |
+| UD12 | | Large (3072KB) | 64 | | |
+| UD13 | 20% BLER | Small (50KB) | 64 | | |
+| UD14 | | Medium (512KB) | 64 | | |
+| UD15 | | Large (3072KB) | 64 | | |
+| UD16 | 30% BLER | Small (50KB) | 64 | | |
+| UD17 | | Medium (512KB) | 64 | | |
+| UD18 | | Large (3072KB) | 64 | | |
+| UD19 | Low (1% BLER) | Small (50KB) | 128/256 | | |
+| UD20 | | Medium (512KB) | 128/256 | | |
+| UD21 | | Large (3072KB) | 128/256 | | |
+| UD22 | Medium (5% BLER) | Small (50KB) | 128/256 | | |
+| UD23 | | Medium (512KB) | 128/256 | | |
+| UD24 | | Large (3072KB) | 128/256 | | |
+| UD25 | High (10% BLER) | Small (50KB) | 128/256 | | |
+| UD26 | | Medium (512KB) | 128/256 | | |
+| UD27 | | Large (3072KB) | 128/256 | | |
+| UD28 | 15% BLER | Small (50KB) | 128/256 | | |
+| UD29 | | Medium (512KB) | 128/256 | | |
+| UD30 | | Large (3072KB) | 128/256 | | |
+| UD31 | 20% BLER | Small (50KB) | 128/256 | | |
+| UD32 | | Medium (512KB) | 128/256 | | |
+| UD33 | | Large (3072KB) | 128/256 | | |
+| UD34 | 30% BLER | Small (50KB) | 128/256 | | |
+| UD35 | | Medium (512KB) | 128/256 | | |
+| UD36 | | Large (3072KB) | 128/256 | | |
+
+### 6.3.3 Download Performance over LTE
+
+Table 16 provides a reporting format for LTE test cases.
+
+**Table 16: FEC Overhead required for 99 % probability for LTE download delivery test cases**
+
+| Test Case | Error conditions | Bitrate kbit/s | File size | FEC Overhead | [T; Kt; Z; Ns; G] |
+|-----------|----------------------|----------------|--------------|--------------|-------------------|
+| LD1 | Markov, 3 km/h, 1% | 266.4 | 50 kB | | |
+| LD2 | | 266.4 | Audio (1 MB) | | |
+| LD3 | | 266.4 | Clip(3 MB) | | |
+| LD4 | | 266.4 | SD (128 MB) | | |
+| LD5 | | 266.4 | HD(1.8 GB) | | |
+| LD6 | Markov, 3 km/h, 5% | 266.4 | 50 kB | | |
+| LD7 | | 266.4 | Audio (1 MB) | | |
+| LD8 | | 266.4 | Clip(3 MB) | | |
+| LD9 | | 266.4 | SD (128 MB) | | |
+| LD10 | | 266.4 | HD(1.8 GB) | | |
+| LD11 | Markov, 3 km/h, 10% | 266.4 | 50 kB | | |
+| LD12 | | 266.4 | Audio (1 MB) | | |
+| LD13 | | 266.4 | Clip(3 MB) | | |
+| LD14 | | 266.4 | SD (128 MB) | | |
+| LD15 | | 266.4 | HD(1.8 GB) | | |
+| LD16 | Markov, 3 km/h, 20% | 266.4 | 50 kB | | |
+| LD17 | | 266.4 | Audio (1 MB) | | |
+| LD18 | | 266.4 | Clip(3 MB) | | |
+| LD19 | | 266.4 | SD (128 MB) | | |
+| LD20 | | 266.4 | HD(1.8 GB) | | |
+| LD21 | Markov, 3 km/h, 1% | 398.4 | 50 kB | | |
+| LD22 | | 398.4 | Audio (1 MB) | | |
+| LD23 | | 398.4 | Clip(3 MB) | | |
+| LD24 | | 398.4 | SD (128 MB) | | |
+| LD25 | | 398.4 | HD(1.8 GB) | | |
+| LD26 | Markov, 3 km/h, 5% | 398.4 | 50 kB | | |
+| LD27 | | 398.4 | Audio (1 MB) | | |
+| LD28 | | 398.4 | Clip(3 MB) | | |
+| LD29 | | 398.4 | SD (128 MB) | | |
+| LD30 | | 398.4 | HD(1.8 GB) | | |
+| LD31 | Markov, 3 km/h, 10% | 398.4 | 50 kB | | |
+| LD32 | | 398.4 | Audio (1 MB) | | |
+| LD33 | | 398.4 | Clip(3 MB) | | |
+| LD34 | | 398.4 | SD (128 MB) | | |
+| LD35 | | 398.4 | HD(1.8 GB) | | |
+| LD36 | Markov, 3 km/h, 20% | 398.4 | 50 kB | | |
+| LD37 | | 398.4 | Audio (1 MB) | | |
+| LD38 | | 398.4 | Clip(3 MB) | | |
+| LD39 | | 398.4 | SD (128 MB) | | |
+| LD40 | | 398.4 | HD(1.8 GB) | | |
+| LD41 | Markov, 3 km/h, 1% | 1065.6 | 50 kB | | |
+| LD42 | | 1065.6 | Audio (1 MB) | | |
+| LD43 | | 1065.6 | Clip(3 MB) | | |
+| LD44 | | 1065.6 | SD (128 MB) | | |
+| LD45 | | 1065.6 | HD(1.8 GB) | | |
+| LD46 | Markov, 3 km/h, 5% | 1065.6 | 50 kB | | |
+| LD47 | | 1065.6 | Audio (1 MB) | | |
+| LD48 | | 1065.6 | Clip(3 MB) | | |
+| LD49 | | 1065.6 | SD (128 MB) | | |
+| LD50 | | 1065.6 | HD(1.8 GB) | | |
+| LD51 | Markov, 3 km/h, 10% | 1065.6 | 50 kB | | |
+| LD52 | | 1065.6 | Audio (1 MB) | | |
+| LD53 | | 1065.6 | Clip(3 MB) | | |
+| LD54 | | 1065.6 | SD (128 MB) | | |
+| LD55 | | 1065.6 | HD(1.8 GB) | | |
+| LD56 | Markov, 3 km/h, 20% | 1065.6 | 50 kB | | |
+| LD57 | | 1065.6 | Audio (1 MB) | | |
+| LD58 | | 1065.6 | Clip(3 MB) | | |
+| LD59 | | 1065.6 | SD (128 MB) | | |
+| LD60 | | 1065.6 | HD(1.8 GB) | | |
+| LD61 | Markov, 120 km/h, 1% | 266.4 | 50 kB | | |
+| LD62 | | 266.4 | Audio (1 MB) | | |
+| LD63 | | 266.4 | Clip(3 MB) | | |
+
+| | | | | | |
+|-------|-----------------------|--------|--------------|--|--|
+| LD64 | | 266.4 | SD (128 MB) | | |
+| LD65 | | 266.4 | HD(1.8 GB) | | |
+| LD66 | Markov, 120 km/h, 5% | 266.4 | 50 kB | | |
+| LD67 | | 266.4 | Audio (1 MB) | | |
+| LD68 | | 266.4 | Clip(3 MB) | | |
+| LD69 | | 266.4 | SD (128 MB) | | |
+| LD70 | | 266.4 | HD(1.8 GB) | | |
+| LD71 | Markov, 120 km/h, 10% | 266.4 | 50 kB | | |
+| LD72 | | 266.4 | Audio (1 MB) | | |
+| LD73 | | 266.4 | Clip(3 MB) | | |
+| LD74 | | 266.4 | SD (128 MB) | | |
+| LD75 | | 266.4 | HD(1.8 GB) | | |
+| LD76 | Markov, 120 km/h, 20% | 266.4 | 50 kB | | |
+| LD77 | | 266.4 | Audio (1 MB) | | |
+| LD78 | | 266.4 | Clip(3 MB) | | |
+| LD79 | | 266.4 | SD (128 MB) | | |
+| LD80 | | 266.4 | HD(1.8 GB) | | |
+| LD81 | Markov, 120 km/h, 1% | 398.4 | 50 kB | | |
+| LD82 | | 398.4 | Audio (1 MB) | | |
+| LD83 | | 398.4 | Clip(3 MB) | | |
+| LD84 | | 398.4 | SD (128 MB) | | |
+| LD85 | | 398.4 | HD(1.8 GB) | | |
+| LD86 | Markov, 120 km/h, 5% | 398.4 | 50 kB | | |
+| LD87 | | 398.4 | Audio (1 MB) | | |
+| LD88 | | 398.4 | Clip(3 MB) | | |
+| LD89 | | 398.4 | SD (128 MB) | | |
+| LD90 | | 398.4 | HD(1.8 GB) | | |
+| LD91 | Markov, 120 km/h, 10% | 398.4 | 50 kB | | |
+| LD92 | | 398.4 | Audio (1 MB) | | |
+| LD93 | | 398.4 | Clip(3 MB) | | |
+| LD94 | | 398.4 | SD (128 MB) | | |
+| LD95 | | 398.4 | HD(1.8 GB) | | |
+| LD96 | Markov, 120 km/h, 20% | 398.4 | 50 kB | | |
+| LD97 | | 398.4 | Audio (1 MB) | | |
+| LD98 | | 398.4 | Clip(3 MB) | | |
+| LD99 | | 398.4 | SD (128 MB) | | |
+| LD100 | | 398.4 | HD(1.8 GB) | | |
+| LD101 | Markov, 120 km/h, 1% | 1065.6 | 50 kB | | |
+| LD102 | | 1065.6 | Audio (1 MB) | | |
+| LD103 | | 1065.6 | Clip(3 MB) | | |
+| LD104 | | 1065.6 | SD (128 MB) | | |
+| LD105 | | 1065.6 | HD(1.8 GB) | | |
+| LD106 | Markov, 120 km/h, 5% | 1065.6 | 50 kB | | |
+| LD107 | | 1065.6 | Audio (1 MB) | | |
+| LD108 | | 1065.6 | Clip(3 MB) | | |
+| LD109 | | 1065.6 | SD (128 MB) | | |
+| LD110 | | 1065.6 | HD(1.8 GB) | | |
+| LD111 | Markov, 120 km/h, 10% | 1065.6 | 50 kB | | |
+| LD112 | | 1065.6 | Audio (1 MB) | | |
+| LD113 | | 1065.6 | Clip(3 MB) | | |
+| LD114 | | 1065.6 | SD (128 MB) | | |
+| LD115 | | 1065.6 | HD(1.8 GB) | | |
+| LD116 | Markov, 120 km/h, 20% | 1065.6 | 50 kB | | |
+| LD117 | | 1065.6 | Audio (1 MB) | | |
+| LD118 | | 1065.6 | Clip(3 MB) | | |
+| LD119 | | 1065.6 | SD (128 MB) | | |
+| LD120 | | 1065.6 | HD(1.8 GB) | | |
+
+## 6.4 UTRAN Streaming Performance
+
+For RTP-based streaming delivery, as a suitable measure it was considered to evaluate the maximum supported Media Rate (kbit/s) for Mean Time Between FEC Block Loss of 1 hour.
+
+For streaming services simulation we assume the following:
+
+- All source RTP packets and UDP repair packets have the same total SDU size (500 bytes for 64/128 kbit/s, 800 bytes for 256 kbit/s) and number of symbols $G$ : this is not exactly true, but it is considered sufficient FEC code evaluation.
+- Receiver working memory is large enough to decode the highest bitrate with the longest protection period.
+- Total bitrate of source data plus repair is always matched to the bearer rate. Consequently the SDU loss transcript is always the same for a given stream duration and fixed SDU size, only amount of repair and the associated maximum possible streaming rate are changing.
+
+Results following the mode as provided in Annex A of TR 26.946 are expected.
+
+The simulation conditions as provided in Annex A.2 of the present document are applied.
+
+In addition, the following parameters are reported:
+
+- The symbol size, $T$ , in bytes
+- The total number of symbols within a protection period, $N'$
+- The number of symbols per packet, $G$
+- The source block size $K$
+
+The stream total duration is 24 hours and target Mean Time Between Failure (MTBF) is set to 1 block error per hours. In addition, the MTBF over the source block rate may be reported as well. This translates into a maximum of 24 errors over a 24 hour period.
+
+Table 17 provides a reporting format for UTRAN streaming test cases.
+
+**Table 17: Maximum supported Media Rate (kbit/s)
+for Mean Time Between FEC Block Loss of 1 hour for UTRAN streaming test cases**
+
+| Test Case | Error rates | Bearer rate | Protection Period | Performance | [T; N'; G; K] |
+|-----------|------------------|---------------------|-------------------|-------------|---------------|
+| US1 | Low (1% BLER) | Low (64 kbit/s) | 5 sec | | |
+| US2 | | | 20 sec | | |
+| US3 | | Medium (128 kbit/s) | 5 sec | | |
+| US4 | | | 20 sec | | |
+| US5 | | High (256 kbit/s) | 5 sec | | |
+| US6 | | | 20 sec | | |
+| US7 | Medium (5% BLER) | Low (64 kbit/s) | 5 sec | | |
+| US8 | | | 20 sec | | |
+| US9 | | Medium (128 kbit/s) | 5 sec | | |
+| US10 | | | 20 sec | | |
+| US11 | | High (256 kbit/s) | 5 sec | | |
+| US12 | | | 20 sec | | |
+| US13 | High (10% BLER) | Low (64 kbit/s) | 5 sec | | |
+| US14 | | | 20 sec | | |
+| US15 | | Medium (128 kbit/s) | 5 sec | | |
+| US16 | | | 20 sec | | |
+| US17 | | High (256 kbit/s) | 5 sec | | |
+| US18 | | | 20 sec | | |
+
+## 6.5 Streaming Performance over LTE
+
+For DASH-based streaming delivery, as a similarly suitable measure it is considered to evaluate the media rate to support a Mean Time Between FEC Block Loss of 1 hour.
+
+Test cases are considered for 1, 2 and 4 seconds segment duration as well as bearer bitrates of 260 kbit/s and 1 MBit/s.
+
+The simulation conditions as provided in Annex A.2 of this document are applied.
+
+In addition, the following parameters are reported:
+
+- The symbol size, $T$ , in bytes
+- The total number of symbols within a protection period, $N'$
+- The number of symbols per packet, $G$
+
+- The source block size K
+
+The stream total duration is 24 hours and target Mean Time Between Failure (MTBF) is set to 1 block error per hours. In addition, the MBTF over the source block rate may be reported as well. This translates into a maximum of 24 errors over a 24 hour period.
+
+Table 18 provides a reporting format for LTE streaming test cases.
+
+**Table 18: Media Bitrate in kbit/s
+for Mean Time Between FEC Block Loss of 1 hour for LTE use cases**
+
+| Test Case | Error conditions | Segment Duration in seconds | Bearer Bitrate kbit/s | Supported Media Bitrate | [T; K; N'; G] |
+|-----------|-----------------------|-----------------------------|-----------------------|-------------------------|---------------|
+| LS1 | Markov, 3 km/h, 1% | 1 | 266.4 | | |
+| LS2 | | 1 | 398.4 | | |
+| LS3 | | 1 | 1065.6 | | |
+| LS4 | | 4 | 266.4 | | |
+| LS5 | | 4 | 398.4 | | |
+| LS6 | | 4 | 1065.6 | | |
+| LS7 | Markov, 3 km/h, 5% | 1 | 266.4 | | |
+| LS8 | | 1 | 398.4 | | |
+| LS9 | | 1 | 1065.6 | | |
+| LS10 | | 4 | 266.4 | | |
+| LS11 | | 4 | 398.4 | | |
+| LS12 | | 4 | 1065.6 | | |
+| LS13 | Markov, 3 km/h, 10% | 1 | 266.4 | | |
+| LS14 | | 1 | 398.4 | | |
+| LS15 | | 1 | 1065.6 | | |
+| LS16 | | 4 | 266.4 | | |
+| LS17 | | 4 | 398.4 | | |
+| LS18 | | 4 | 1065.6 | | |
+| LS19 | Markov, 3 km/h, 20% | 1 | 266.4 | | |
+| LS20 | | 1 | 398.4 | | |
+| LS21 | | 1 | 1065.6 | | |
+| LS22 | | 4 | 266.4 | | |
+| LS23 | | 4 | 398.4 | | |
+| LS24 | | 4 | 1065.6 | | |
+| LS25 | Markov, 120 km/h, 1% | 1 | 266.4 | | |
+| LS26 | | 1 | 398.4 | | |
+| LS27 | | 1 | 1065.6 | | |
+| LS28 | | 4 | 266.4 | | |
+| LS29 | | 4 | 398.4 | | |
+| LS30 | | 4 | 1065.6 | | |
+| LS31 | Markov, 120 km/h, 5% | 1 | 266.4 | | |
+| LS32 | | 1 | 398.4 | | |
+| LS33 | | 1 | 1065.6 | | |
+| LS34 | | 4 | 266.4 | | |
+| LS35 | | 4 | 398.4 | | |
+| LS36 | | 4 | 1065.6 | | |
+| LS37 | Markov, 120 km/h, 10% | 1 | 266.4 | | |
+| LS38 | | 1 | 398.4 | | |
+| LS39 | | 1 | 1065.6 | | |
+| LS40 | | 4 | 266.4 | | |
+| LS41 | | 4 | 398.4 | | |
+| LS42 | | 4 | 1065.6 | | |
+| LS43 | Markov, 120 km/h, 20% | 1 | 266.4 | | |
+| LS44 | | 1 | 398.4 | | |
+| LS45 | | 1 | 1065.6 | | |
+| LS46 | | 4 | 266.4 | | |
+| LS47 | | 4 | 398.4 | | |
+| LS48 | | 4 | 1065.6 | | |
+| LS52 | Markov, 3 km/h, 1% | 2 | 266.4 | | |
+| LS53 | | 2 | 398.4 | | |
+| LS54 | | 2 | 1065.6 | | |
+| LS55 | Markov, 3 km/h, 5% | 2 | 266.4 | | |
+| LS56 | | 2 | 398.4 | | |
+| LS57 | | 2 | 1065.6 | | |
+| LS58 | Markov, 3 km/h, 10% | 2 | 266.4 | | |
+| LS59 | | 2 | 398.4 | | |
+| LS60 | | 2 | 1065.6 | | |
+| LS61 | Markov, 3 km/h, 20% | 2 | 266.4 | | |
+| LS62 | | 2 | 398.4 | | |
+| LS49 | | 2 | 1065.6 | | |
+| LS63 | Markov, 120 km/h, 1% | 2 | 266.4 | | |
+| LS64 | | 2 | 398.4 | | |
+
+| Test Case | Error conditions | Segment Duration in seconds | Bearer Bitrate kbit/s | Supported Media Bitrate | [T; K; N'; G] |
+|-----------|-----------------------|-----------------------------|-----------------------|-------------------------|---------------|
+| LS65 | | 2 | 1065.6 | | |
+| LS66 | Markov, 120 km/h, 5% | 2 | 266.4 | | |
+| LS67 | | 2 | 398.4 | | |
+| LS50 | | 2 | 1065.6 | | |
+| LS68 | Markov, 120 km/h, 10% | 2 | 266.4 | | |
+| LS69 | | 2 | 398.4 | | |
+| LS70 | | 2 | 1065.6 | | |
+| LS71 | Markov, 120 km/h, 20% | 2 | 266.4 | | |
+| LS72 | | 2 | 398.4 | | |
+| LS51 | | 2 | 1065.6 | | |
+
+## 6.6 Implementation-specific Performance Metrics
+
+Codes not only differ in terms of the code efficiency but also in other performance criteria. Two important aspects are the required memory for decoding in the MBMS client as well as the complexity of the considered decoding algorithm.
+
+Therefore, to judge the *complexity* of a decoding algorithm, the decoding speed in terms of bit/s on top of a recognized mobile processor platform running a recognized mobile operating system can provide good insight into the feasibility of executing the code for mobile applications.
+
+Another important aspect is the global latency of the global system (i.e. From the video making to the video rendering on the device). Thus, encoding complexity is also considered. Therefore, to judge the *complexity* of an encoding algorithm, the encoding speed in terms of bit/s on top of a recognized PC platform running a recognized PC operating system can provide good insight into the impact of the encoding on the global latency.
+
+In terms of *memory requirements*, a reasonable measure is the required random access memory in the MBMS client to decode large files, such as considered in the video delivery use cases from above.
+
+Another performance metric for successful integration into mobile platforms is the *library footprint* of the code and the footprint of hardware functions if any.
+
+The complexity and memory requirements is in particular provided for the following use cases:
+
+- 1.8 GByte at 20% Markov model error rate;
+- 4sec @ 1MBit/s streaming at the 20% Markov model error rate;
+- 20sec protection period for RTP based streaming at 384 kbit/s and the 20% error rate.
+
+## 6.7 Device-based Complexity Evaluation
+
+### 6.7.1 Introduction
+
+This clause provides a test plan for testing device-based evaluation. For all definitions and acronyms here that are not explicitly made in this document, please see TS 26.346 [3] (e.g. for OTI, FDT, FLUTE).
+
+### 6.7.2 Test Cases
+
+The following use cases are considered for performing (for details refer to clause 6.2).
+
+#### LTE Download Delivery
+
+Note that the file size are as follows:
+
+- Clip: $3 * 1024 * 1024$ Byte = 3145728 Bytes,
+- SD: $128 * 1024 * 1024$ Byte = 134217728 Bytes,
+- HD: $1800 * 1024 * 1024$ Byte = 1887436800 Bytes.
+
+| Test Case | Error conditions | Bitrate kbit/s | File | File size (in bytes) | Repetition |
+|-----------|-----------------------|----------------|------|----------------------|------------|
+| LD60 | Markov, 3 km/h, 20% | 1065.6 | HD | 1887436800 | 1 |
+| LD108 | Markov, 120 km/h, 5% | 1065.6 | Clip | 3145728 | 20 |
+| LD109 | | 1065.6 | SD | 134217728 | 5 |
+| LD110 | | 1065.6 | HD | 1887436800 | 1 |
+| LD118 | Markov, 120 km/h, 20% | 1065.6 | Clip | 3145728 | 20 |
+| LD119 | | 1065.6 | SD | 134217728 | 5 |
+
+#### DASH-based Streaming Delivery over LTE
+
+| Test Case | Error conditions | Segment Duration in seconds | Bearer Bitrate kbit/s | Duration in seconds |
+|-----------|-----------------------|-----------------------------|-----------------------|---------------------|
+| LS21 | Markov, 3 km/h, 20% | 1 | 1065.6 | 1800 |
+| LS49 | | 2 | 1065.6 | 1800 |
+| LS24 | | 4 | 1065.6 | 1800 |
+| LS33 | Markov, 120 km/h, 5% | 1 | 1065.6 | 1800 |
+| LS50 | | 2 | 1065.6 | 1800 |
+| LS36 | | 4 | 1065.6 | 1800 |
+| LS45 | Markov, 120 km/h, 20% | 1 | 1065.6 | 1800 |
+| LS51 | | 2 | 1065.6 | 1800 |
+| LS48 | | 4 | 1065.6 | 1800 |
+
+### 6.7.3 Test Conditions & Test Procedure
+
+#### 6.7.3.1 Overview Test Platform and Operation Conditions
+
+Figure 10 shows the considered test platform that is to be used.
+
+
+
+```
+
+graph LR
+ PCAP[Laptop PCAP] -- "Test Streams" --> EG[Error Generator]
+ EG -- "Configurations" --> Android[Android Device FLUTE + FEC Decoder]
+ Android -- "Decoding Success, Metrics Logs" --> Output[Output]
+ subgraph TestStreams [Test Streams]
+ direction TB
+ T1[- PCAP file]
+ T2[- Encoding Parameters]
+ end
+ subgraph Configs [Configurations]
+ direction TB
+ C1[- Configurations]
+ end
+ subgraph Output [Output]
+ direction TB
+ O1[- Decoding Success]
+ O2[- Metrics Logs]
+ end
+
+```
+
+Figure 10: Test Platform diagram showing a laptop (PCAP) connected to an Error Generator, which is connected to an Android device (FLUTE + FEC Decoder). The laptop provides Test Streams (PCAP file, Encoding Parameters). The Error Generator provides Configurations. The Android device outputs Decoding Success and Metrics Logs.
+
+Figure 10: Test Platform
+
+Figure 10 may suggest that data would be transmitted from laptop to device and experience errors over the connection. Despite this may be considered conceptually, in practice a local procedure on the PC is applied to go from the original PCAP file to an errored PCAP file. Prior knowledge of the error traces was not used by the FEC encoder or decoder.
+
+#### 6.7.3.2 Download Delivery
+
+##### 6.7.3.2.1 Summary Test Cases
+
+The following parameters for each test case parameters are specified:
+
+- FS is the file size in bytes
+- T' is the FEC payload size.
+- T is the symbol size. Typically $T = T'$ unless there are multiple symbols per packet
+- $K_t$ is the total number of source symbols, i.e., $K_t = \text{ceil}(FS/T)$
+- Z is the total number of source blocks
+- O is the transmission overhead in percent according to the table provided by the proponents
+- $N_t$ is the resulting number of total symbols defined as $K_t * (1 + O/100)$
+- The code specific FEC-OTI (see TS 26.346, clause 7.2.9), e.g. the partitioning and sub-blocking parameters
+- SeSt is the sending strategy with IL = Interleaved, n/a not applicable and SQ sequential:
+ - Sequential = send all packets for the first source block, followed by all packets for the second source block, followed by all symbols for the third source block, etc. In addition, send all packets in order of the ESI.
+ - Interleaved = send a first packet for each of the Z source blocks, followed by a second packet for each of the Z source blocks, followed by a third packet for each of the Z source blocks, etc.
+ - Unless otherwise noted the symbols within each source block are assumed sent in order of increasing ESI-value starting with the first source symbol. If any other sending order for symbols within each source block is utilized it should be explicitly noted under Notes.
+
+It is further expected that of the Z source blocks:
+
+- the first Z1 have source block size $K1 = \text{ceil}(K_t/Z)$
+- the remaining Z2 have source block size $K2 = \text{floor}(K_t/Z)$
+- and $Z1 = K_t - K2 * Z$ and $Z2 = Z - Z1$ .
+
+The test cases are summarized in Table 19. The test cases LD60\_110, LD118\_108 and LD119\_109 are done to apply the error streams of lower loss rates to higher overhead streams. The test cases LD60\_110, LD\_118\_108 and LD119\_109 are optional.
+
+**Table 19: Parameters for Download Test Case**
+
+| Common | | | | | Code-Specific | | | | | | |
+|-----------|----------------------|--------------|------|----------------|---------------|---|-----|---|----------------|------|-------|
+| Test Case | Error conditions | File size FS | T' | K t | Z | T | OTI | O | N t | SeSt | Notes |
+| LD60 | Markov, 3 km/h, 20% | HD | 1288 | 1465402 | | | | | | | |
+| LD108 | Markov, 120 km/h, 5% | Clip | 1288 | 2443 | | | | | | | |
+| LD109 | | SD | 1288 | 104207 | | | | | | | |
+| LD110 | | HD | 1288 | 1465402 | | | | | | | |
+| LD118 | Markov 120 km/h, 20% | Clip | 1288 | 2443 | | | | | | | |
+| LD119 | | SD | 1288 | 104207 | | | | | | | |
+| LD60_110 | Markov 120 km/h, 5% | HD | 1288 | 1465402 | | | | | | | |
+| LD118_108 | | Clip | 1288 | 2443 | | | | | | | |
+| LD119_109 | | SD | 1288 | 104207 | | | | | | | |
+
+##### 6.7.3.2.2 Generate FLUTE Packet Test Streams
+
+###### 6.7.3.2.2.1 Process
+
+To generate the FLUTE packet test streams, the following actions are applied on the host. Some UNIX operation system is assumed with basic UNIX commands available.
+
+- Download the following file
+
+- for each test case LDX according to Table 19
+ - generate segments and MD5
+ - generate temporary file of size FS:
+
+```
+head -c ed-pixlet.mov > data.tmp
+```
+ - create the MD5 for the file:
+
+```
+cat data.tmp | openssl md5 | awk '{ print $2 }' > ldX.md5
+```
+ - FEC encode to PCAP file as follows
+ - Put FDT for the file in first packet specifying at least the following parameters
+ - TOI
+ - FEC-OTI
+
+NOTE: Content-Location and Content-Length may not be added as they are not necessary. Transfer-Length in the FEC-OTI is sufficient.
+
+- encode file into ALC/LCT packets using the test case parameters according to Table 19 for the candidate. The end of session and end of object transmission signalling may be used by setting the A and B flag in the LCT header.
+- provide packets with UDP payload size according to Table 19. The ALC/LCT/UDP/IPv4 header is in total 44 bytes.
+
+###### 6.7.3.2.2.2 Output
+
+The output from this process is, for each test case:
+
+- TOI and MD5 for the file. Note that the TOI and MD5 are not code specific. Note that the TOI in this case is typically 1.
+- PCAP file that contains encoded file preceded with an FDT (for details refer to TS 26.346 [3], clause 7.2.9). The PCAP file name for an example code with code name X is provided in Table 20 along with the total number of packets.
+
+**Table 20: PCAP files and Segment List for a virtual code X**
+
+| Test Case | Error conditions | PCAP file | Number of Packets (Code-specific) | MD5 file |
+|-----------|-----------------------|-----------------|-----------------------------------|-----------|
+| LD60 | Markov, 3 km/h, 20% | ld060_codeX.cap | | ld060.md5 |
+| LD108 | Markov, 120 km/h, 5% | ld108_codeX.cap | | ld108.md5 |
+| LD109 | | ld109_codeX.cap | | ld109.md5 |
+| LD110 | | ld110_codeX.cap | | ld110.md5 |
+| LD118 | Markov, 120 km/h, 20% | ld118_codeX.cap | | ld118.md5 |
+| LD119 | | ld119_codeX.cap | | ld119.md5 |
+
+##### 6.7.3.2.3 Generate Erroneous Packet Streams
+
+###### 6.7.3.2.3.1 LTE Traces
+
+Several LTE Error Trace are provided for each test case in the attached package. The files are named `error_trace_ld_.txt`. The details are summarized in Table 21.
+
+The format of the error traces is as follows
+
+```
+[newline]
+L x {01}
+```
+
+where $L$ is the maximum number of packets in ASCII that the input PCAP file may have followed on the next line with a string of length $L$ made of ASCII characters '0' (packet received) and '1' (packet is lost). One example would be:
+
+001011100100
+
+i.e. the length of the of string of 0s and 1s is given by the integer on the first line.
+
+**Table 21: Error traces for download test cases with losses and loss statistics. These are accumulated.**
+
+| Test Case | Error conditions | File size | S | PCAP file | Length N | Loss Percentage |
+|-----------|-----------------------|-----------|----|-------------------------------|----------|-----------------|
+| LD60 | Markov, 3 km/h, 20% | HD | 1 | error_trace_ld60_.cap | 2000000 | 20.14 |
+| LD108 | Markov, 120 km/h, 20% | Clip | 20 | error_trace_ld108_.cap | 3400 | 5.47 |
+| LD109 | km/h, 5% | SD | 5 | error_trace_ld109_.cap | 150000 | 5.46 |
+| LD110 | | HD | 1 | error_trace_ld110_.cap | 2000000 | 5.48 |
+| LD118 | Markov, 120 km/h, 20% | Clip | 20 | error_trace_ld118_.cap | 3400 | 20.85 |
+| LD119 | km/h, 5% | SD | 5 | error_trace_ld119_.cap | 150000 | 20.81 |
+| LD60_110 | Markov, 120 km/h, 5% | HD | 1 | error_trace_ld110_.cap | 2000000 | 5.47 |
+| LD118_108 | | Clip | 20 | error_trace_ld1108_.cap | 3400 | 5.46 |
+| LD119_109 | | SD | 5 | error_trace_ld1109_.cap | 150000 | 5.48 |
+
+A process for generating the error traces independently is provided in Annex B.2.
+
+###### 6.7.3.2.3.2 Apply to LTE traces to PCAP streams
+
+In order to introduce loss into a controlled manner to the PCAP files using the Markov error traces, a tool called pcaploss, available in source code form, is available and attached in the package (including Makefile). This tool takes a pcap file as input and transforms it into another altered pcap. The usage message for pcaploss is:
+
+```
+pcaploss: Usage: ./pcaploss [<#pkts>]
+```
+
+where the format of the loss trace file is according to the format introduced in section 6.7.3.2.1. If the optional integer argument #pkts is present, only the number of packets indicated by #pkts will be read in from pcap\_in before pcaploss closes the output file and stops.
+
+The pcap for transmission may be prepped with the right MAC/IP addresses for both sender and receiver. On the sender side MAC and IP can be obtained with command 'ipconfig/ all' on Windows, e.g.:
+
+Ethernet adapter Local Area Connection 4:
+
+```
+
+Connection-specific DNS Suffix . :
+Description . . . . . : SAMSUNG Mobile USB Remote NDIS Network Device
+Physical Address. . . . . : 02-65-64-60-6E-0B
+DHCP Enabled. . . . . : Yes
+Autoconfiguration Enabled . . . . . : Yes
+Link-local IPv6 Address . . . . . : fe80::117:1bc9:34df:dd76%26(Preferred)
+IPv4 Address. . . . . : 192.168.42.149(Preferred)
+Subnet Mask . . . . . : 255.255.255.0
+Lease Obtained. . . . . : Monday, July 16, 2012 3:37:43 PM
+Lease Expires . . . . . : Monday, July 16, 2012 4:37:50 PM
+Default Gateway . . . . . : 192.168.42.129
+DHCP Server . . . . . : 192.168.42.129
+DHCPv6 IAID . . . . . : 855795044
+DHCPv6 Client DUID. . . . . : 00-01-00-01-14-97-F4-E0-F4-CE-46-AC-6F-32
+DNS Servers . . . . . : 192.168.42.129
+NetBIOS over Tcpip. . . . . : Enabled
+
+```
+
+where hardware and IP addresses are 02:65:64:60:6E:0B and 192.168.42.149 respectively. On the receiver side a multicast IP address and associated MAC could be 230.20.20.10 and 01:00:5e:66:14:14:0a.
+
+With the information above and for each test case LDY in Table 26 and each trace number trno, the following process is applied:
+
+```
+./tcprewrite --distipmap=0.0.0.0/0:230.20.20.10 --enet-dmac= 01:00:5e:66:14:14:0a --
+srcipmap=0.0.0.0/0: 192.168.42.149 --enet-smac=02:65:64:60:6E:0B --fixcsum -i
+ldY_codeX.cap -o temp.cap
+
+./pcaploss temp.cap ldY_codeX_ldZ_.cap errortrace_ldZ_.txt
+```
+
+Note that the integration of the Ethernet and IP addresses with `tcprewrite` is optional and may only be done absence of any other knowledge. `tcprewrite` is included in the `TCPReplay` suite, for details refer to section B.6.2.
+
+###### 6.7.3.2.3.3 Output
+
+The outputs of this process are *S* PCAP file for each test case. The PCAP files are summarized in Table 22. The length of the PCAP file depends on the loss statistics.
+
+**Table 22: PCAP files for a virtual code X after applying channel that maps to specific channel model**
+
+| Test Case | Error conditions | File size | S | PCAP file |
+|-----------|-----------------------|-----------|----|------------------------------|
+| LD60 | Markov, 3 km/h, 20% | HD | 1 | ld060_codeX_ld060_.cap |
+| LD108 | Markov, 120 km/h, 5% | Clip | 20 | ld108_codeX_ld108_.cap |
+| LD109 | | SD | 5 | ld109_codeX_ld109_.cap |
+| LD110 | | HD | 1 | ld110_codeX_ld110_.cap |
+| LD118 | Markov, 120 km/h, 20% | Clip | 20 | ld118_codeX_ld118_.cap |
+| LD119 | | SD | 5 | ld119_codeX_ld119_.cap |
+| LD60_110 | Markov, 120 km/h, 5% | HD | 1 | ld060_codeX_ld110_.cap |
+| LD118_108 | | Clip | 20 | ld118_codeX_ld108_.cap |
+| LD119_109 | | SD | 5 | ld119_codeX_ld109_.cap |
+
+##### 6.7.3.2.4 Generate Device Performance Measures
+
+###### 6.7.3.2.4.1 Setup
+
+The following device/operating conditions are used:
+
+NOTE: "[Trade name(s) of product(s)] are an example(s) of a suitable product(s) available commercially. This information is given for the convenience of users of the present document and does not constitute an endorsement by 3GPP of these product(s)."
+
+- Device:
+ - o Samsung Galaxy S2™ (GT-I9100) Smartphone, running Android 4.0.3. The processor is a Dual-core Exynos 4210 1.2GHz processor ARM Cortex-A9.
+ - o Samsung MB-MSBGA™ Flash memory card - 32 GB microSDHC - 1 x microSDHC SD Card (Class 10)
+ - o Root access is applied to the device, for details see Annex B.3.
+ - o `network2sd` executable for reading packets from network interface and writing it in a suitable manner to the SD card in order optimize reading while decoding. For details on functionalities, see section 6.7.3.2.4.1.1.
+ - o `ld_decoder` executable for FEC decoding based on data on the SD card of the device and for writing subblock data to SD card. For details on functionalities, see section 6.7.3.2.4.1.2.
+ - o push the Unix '`time`' command on the device, for details see Annex B.4.
+ - o an ssh server is installed and running on the device to get shell access while USB tethering is active. See Annex B.7 for details.
+- The host PC:
+ - o can be any OS, but typically Windows or Linux
+ - o The host PC is connected to the Device using USB tethering through an interface. It is assumed that the interface has assigned name `Samsung`.
+ - o the host does have a functionality installed that permits to push the stored PCAP files to the device. For details, see Annex B.6. In the following it is assumed that the `ColaSoft Packet Player` is available.
+
+- The details of connecting device and host PC are provided in Annex B.5.
+
+###### 6.7.3.2.4.1 Code-specific Tools
+
+###### 6.7.3.2.4.1.1 Read from network and write to SD
+
+The `network2sd` executable for reading packets from network interface and writing it in a suitable manner to the SD card in order optimize reading while decoding. The `network2sd` writes some information to `stdout`, which is used by `ld_decoder` as input to locate the relevant information. The executable synchronises all buffers with the SD card before exiting (e.g. via `sync()` system call).
+
+For the purpose of implementing receiving payload data reading and writing to flash/disk, standard Android procedures and functions are used.
+
+###### 6.7.3.2.4.1.2 Decoding from and to SD card
+
+The `ld_decoder` executable reads input data from SD card and writes it back to SD card sub-block by sub-block. The `ld_decoder` receives information from the `network2sd` process in order to locate the relevant data. The executable are synchronised all buffers with the SD card before exiting (e.g. via the `sync()` system call).
+
+###### 6.7.3.2.4.2 Process
+
+For each test case LDX from Table 19 and each , the following processes are carried out in the following sequence:
+
+- On the device start the following process in directory
+`/data/data/berserker.android.apps.sshdroid/home` with device Wifi IP of 192.168.2.102
+ an ssh server running on port 2222
+ 1. `ssh -p 2222 root@192.168.2.102`
+ 2. When asked for `passwd`, type: "admin"
+ 3. Use `rm` to clear all disk space on SD card
+ 4. `time -v ./network2sd info.txt 2> time1.txt`
+- On the host start the Colasoft Packet Player with the following
+ - o Adapter: Samsung
+ - o Packet File: Add -> File of type: libpcap (\*.cap)
+ - o Select file `ldY_codeX_ldZ_.cap`
+ - o Click button "Play"
+- After termination at the device, the following is carried on the device
+ 5. `echo 1 > /proc/sys/vm/drop_caches (# this is for clearing caches)`
+ 6. `time -v ./ld_decoder info.txt 2> time2.txt`
+ 7. (generate `md5` and `TOI` > `out.txt`)
+- After termination at the device, the following is carried out on the host
+
+
+```
+scp -P 2222
+root@192.168.2.102:/data/data/berserker.android.apps.sshdroid/home/out.txt
+ldY_codeX_ldZ_.out
+
+scp -P 2222
+root@192.168.2.102:/data/data/berserker.android.apps.sshdroid/home/time1.txt
+ldY_codeX_ldZ_.time1
+
+scp -P 2222
+root@192.168.2.102:/data/data/berserker.android.apps.sshdroid/home/time2.txt
+ldY_codeX_ldZ_.time2
+```
+
+###### 6.7.3.2.4.2 Error Free Process
+
+In order to understand the influence of supplementary processes to the FEC decoding, the same process as described in clause 6.7.3.2.4.1 may be carried out for the error-free pcap files. To do so, all files `ldY_codeX_ldZ_.*` can be replaced by `ldY_codeX.*`.
+
+###### 6.7.3.2.4.3 Output
+
+The output of this process is one performance file and one result file for each test case. The files are summarized in Table 23.
+
+**Table 23: Performance and result file for a virtual code X after decoding**
+
+| Test Case | Error-Free Performance (optional) | S | Result | Performance files |
+|-----------|-----------------------------------|----|------------------------------|-----------------------------------|
+| LD60 | ld060_codeX.tim e | 1 | ld060_codeX_ld060_.out | ld060_codeX_ld060_.tim e |
+| LD108 | ld108_codeX.tim e | 20 | ld108_codeX_ld108_.out | ld108_codeX_ld108_.tim e |
+| LD109 | ld109_codeX.tim e | 5 | ld109_codeX_ld109_.out | ld109_codeX_ld109_.tim e |
+| LD110 | ld110_codeX.tim e | 1 | ld110_codeX_ld110_.out | ld110_codeX_ld110_.tim e |
+| LD118 | ld118_codeX.tim e | 20 | ld118_codeX_ld118_.out | ld118_codeX_ld118_.tim e |
+| LD119 | ld119_codeX.tim e | 5 | ld119_codeX_ld119_.out | ld119_codeX_ld119_.tim e |
+| LD60_110 | ld060_codeX.tim e | 1 | ld060_codeX_ld110_.out | ld060_codeX_ld110_.tim e |
+| LD118_108 | ld108_codeX.tim e | 20 | ld118_codeX_ld108_.out | ld118_codeX_ld108_.tim e |
+| LD119_109 | ld109_codeX.tim e | 5 | ld119_codeX_ld109_.out | ld119_codeX_ld109_.tim e |
+
+##### 6.7.3.2.5 Evaluation
+
+###### 6.7.3.2.5.1 General
+
+After all test cases are completed the output files as presented in Table 23 are available. These files may be moved back to the host for evaluation.
+
+###### 6.7.3.2.5.2 Correct Decoding
+
+To verify that decoding was successful for each test case or to identify the number of unsuccessful attempts, the result files `ldY_codeX_ldZ_.out` are collected and for each one it is compared if the TOI and MD5 are identical with `ldY.md5`. If not identical, one error event is recorded.
+
+###### 6.7.3.2.5.3 Performance Evaluation
+
+The output will then be extracted from the two files which include the output from the time command similar as seen below:
+
+```
+
+Command being timed: "ld_decoder"
+User time (seconds): 1.49
+System time (seconds): 0.36
+Percent of CPU this job got: 73%
+Elapsed (wall clock) time (h:mm:ss or m:ss): 0m 2.52s
+Average shared text size (kbytes): 0
+Average unshared data size (kbytes): 0
+Average stack size (kbytes): 0
+Average total size (kbytes): 0
+Maximum resident set size (kbytes): 165456
+Average resident set size (kbytes): 0
+Major (requiring I/O) page faults: 1
+Minor (reclaiming a frame) page faults: 21740
+Voluntary context switches: 9659
+Involuntary context switches: 10442
+Swaps: 0
+File system inputs: 0
+File system outputs: 0
+
+```
+
+```
+
+Socket messages sent: 0
+Socket messages received: 0
+Signals delivered: 0
+Page size (bytes): 4096
+Exit status: 0
+
+```
+
+The relevant entries here are "system time", "user time" (the sum of which is to be reported as the processing cost), and "Maximum resident set size". The memory usage to be reported is 1/4 of that given as the "Maximum resident set size" in an unpatched busybox 1.19.0. The reason for this division by 4 is that busybox has a bug which causes it to overestimate memory usage by a factor of 4, just like the GNU time utility from which it is presumably inheriting this mistake. See the bug report [here](#) (see note).
+
+NOTE:
+
+The following performance data measurement is proposed:
+
+- Generate the numbers from above for the considered test case
+- Generate the numbers from above for a zero loss trace
+- Report the following numbers for each test case and the zero loss trace:
+ - *U*: User time (seconds)
+ - *S*: System time (seconds)
+ - *P*: Percent of CPU this job got
+ - *W*: Elapsed (wall clock) time (h:mm:ss or m:ss):
+ - *M*: Maximum resident set size (kbytes)
+- Generate the following numbers for performance evaluation based on the above results and the object size *F* (in bytes) for each test case and trace number:
+ - Speed: Average decoding speed (in MBit/s): $F*8/(1000000*(U+S))$
+ - Time1: Decoding time (in s): $U+S$
+ - Time2: weighted elapsed time (in s): $P*W/100$
+ - Memory: Peak memory usage (in MBytes): $M/4096$
+
+###### 6.7.3.2.5.4 Performance Documentation
+
+The following values are to be reported for each test case be using the results from each **trno** = 0, ..., *S*-1 and the error free decoding:
+
+- *Np* the total number of packets used for decoding
+- *E* the total number of file delivery attempts that failed (should be 0)
+- *AvSpeed* the average speed over all *S* decoding attempts
+- *AvTime1* the average decode time over all *S* decoding attempts
+- *AvTime2* the weighted elapsed time over all *S* decoding attempts
+- *MinSpeed* the minimum speed over all *S* decoding attempts
+- *MaxTime1* the maximum decoding over all *S* decoding attempts
+- *MaxTime2* the weighted elapsed time over all *S* decoding attempts
+- *MaxMem* the maximum memory over all *S* decoding attempts
+- *AvCPU* the average value of *P* over all *S* decoding attempts
+- *EfSpeed* the speed for error-free decoding attempt
+- *EfTime1* the Time for error-free decoding attempt
+- *EfTime2* the Time for error-free decoding attempt
+- *EfMem* the Memory for error-free decoding attempt
+
+Note that
+
+- the error-free results are not required, but recommended to be provided.
+- the data are obviously expected to be provided for the `network2sd` (in Table 25) and `ld_decoder` process (in Table 24).
+- The test cases LD60\_110, LD118\_108 and LD119\_109 are optional
+
+**Table 24: Performance Data for Download Delivery Test Cases for ld\_decoder**
+
+| Test Case | S | Np | E | AvSpeed (MBit/s) | AvTime1 (sec) | AvTime2 (sec) | MinSpeed (MBit/s) | MaxTime2 (sec) | MaxTime2 (sec) | MaxMem (MByte) | AvCPU | EfSpeed (MBit/s) | EfTime1 (sec) | EfTime2 (sec) | EfMem (MByte) |
+|-----------|----|----|---|------------------|---------------|---------------|-------------------|----------------|----------------|----------------|-------|------------------|---------------|---------------|---------------|
+| LD60 | 1 | | | | | | | | | | | | | | |
+| LD108 | 20 | | | | | | | | | | | | | | |
+| LD109 | 5 | | | | | | | | | | | | | | |
+| LD110 | 1 | | | | | | | | | | | | | | |
+| LD118 | 20 | | | | | | | | | | | | | | |
+| LD119 | 5 | | | | | | | | | | | | | | |
+| LD60_110 | 1 | | | | | | | | | | | | | | |
+| LD118_108 | 20 | | | | | | | | | | | | | | |
+| LD119_109 | 5 | | | | | | | | | | | | | | |
+
+**Table 25: Performance Data for Download Delivery Test Cases for network2sd**
+
+| Test Case | AvSpeed (MBit/s) | AvTime1 (sec) | AvTime2 (sec) | MinSpeed (MBit/s) | MaxTime2 (sec) | MaxTime2 (sec) | MaxMem (MByte) | AvCPU | EfSpeed (MBit/s) | EfTime1 (sec) | EfTime2 (sec) | EfMem (MByte) |
+|-----------|------------------|---------------|---------------|-------------------|----------------|----------------|----------------|-------|------------------|---------------|---------------|---------------|
+| LD60 | | | | | | | | | | | | |
+| LD108 | | | | | | | | | | | | |
+| LD109 | | | | | | | | | | | | |
+| LD110 | | | | | | | | | | | | |
+| LD118 | | | | | | | | | | | | |
+| LD119 | | | | | | | | | | | | |
+| LD60_110 | | | | | | | | | | | | |
+| LD118_108 | | | | | | | | | | | | |
+| LD119_109 | | | | | | | | | | | | |
+
+#### 6.7.3.3 Streaming Delivery
+
+##### 6.7.3.3.1 Summary Test Cases
+
+Table 26 summarizes the streaming test cases for device-based evaluation. The test cases LS45\_33, LS51\_50 and LS48\_36 are done to apply the error streams of lower loss rates to higher overhead streams. These test cases LS45\_33, LS51\_50 and LS48\_36 are optional.
+
+**Table 26: Parameters for Streaming Test Case**
+
+| Common Parameters | | | | | | | Code-specific Parameters (SHOWN ARE PARAMETERS FOR OFFICIAL TRACES WITH IDEAL CODE) | | | |
+|-------------------|-----------------------|------------------|------|-----|-----------------|-----------------------------------|-------------------------------------------------------------------------------------------|-----|----------------|------------|
+| Test Case | Error conditions | Segment Duration | T' | N' | Packet Interval | Number Segments Y (time=30min) | G | K | Segment Size S | Media Rate |
+| LS21 | Markov, 3 km/h, 20% | 1s | 1288 | 100 | 10ms | 1800 | 1 | 35 | 45080 | 360.6 |
+| LS49 | | 2s | 1288 | 200 | 10ms | 900 | 1 | 103 | 132664 | 530.7 |
+| LS24 | | 4s | 1288 | 400 | 10ms | 450 | 1 | 248 | 319424 | 638.8 |
+| LS33 | Markov, 120 km/h, 5% | 1s | 1288 | 100 | 10ms | 1800 | 1 | 85 | 109480 | 875.8 |
+| LS50 | | 2s | 1288 | 200 | 10ms | 900 | 1 | 177 | 227976 | 911.9 |
+| LS36 | | 4s | 1288 | 400 | 10ms | 450 | 1 | 363 | 467544 | 935.1 |
+| LS45 | Markov, 120 km/h, 20% | 1s | 1288 | 100 | 10ms | 1800 | 1 | 65 | 83720 | 669.8 |
+| LS51 | | 2s | 1288 | 200 | 10ms | 900 | 1 | 139 | 179032 | 716.1 |
+| LS48 | | 4s | 1288 | 400 | 10ms | 450 | 1 | 291 | 374808 | 749.6 |
+| LS45_33 | Markov, 120 km/h, 5% | 1s | 1288 | 100 | 10ms | 1800 | 1 | 65 | 83720 | 669.8 |
+| LS51_50 | | 2s | 1288 | 200 | 10ms | 900 | 1 | 139 | 179032 | 716.1 |
+| LS48_36 | | 4s | 1288 | 400 | 10ms | 450 | 1 | 291 | 374808 | 749.6 |
+
+##### 6.7.3.3.1 Generate FLUTE Packet Test Streams
+
+###### 6.7.3.3.1.1 Process
+
+In order to generate the FLUTE Packet Test streams, the following actions are to be applied on the host
+
+- Download the following file
+- for each test case LSX according to Table 26
+ - generate segments and MD5
+ - split the file in to Y segments, each of size S
+ - create the MD5 for each of the segments and create a file that lists the TOI and the MD5
+ - the shell script in section 0 can be used for this purpose. It creates as output the segment number as well as the MD5 for the segment
+ - FEC encode to PCAP file as follows:
+ - Provide FDT for each segment just before first packet of a segment specifying at least the following parameters
+ - TOI
+ - FEC-OTI
+
+Note:
+
+- Content-Location and Content-Length are not added as they are not necessary. Transfer Encoding is sufficient.
+ - encode each segment sequentially with increasing TOI numbers *1 ... Y* into ALC/LCT packets using the test case parameters according to Table 26 for the candidate
+ - number of source symbols K,
+ - number of transmitted symbols N,
+ - symbol size T,
+ - sub-blocking parameters if needed
+- Note: End of session and end of object transmission signalling may be used by setting the A and B flag in the LCT header.
+- for all ALC/LCT packets with TOI not equal to 0,
+ - provide packets with UDP payload size according to Table 26. The ALC/LCT/UDP/IPv4 header is in total 44 bytes.
+ - If in doubt or unclear what to use, include the timing for the real-time bitrate, i.e. 1 packet every according to the packet interval in Table 26. Note that the tool pcaploss rewrites correctly the packet timestamps with the right transmission time interval.
+ - for all ALC/LCT packets with TOI equal to 0, i.e. FDT packets
+ - provide packets with UDP payload size according to Table 26. The ALC/LCT/UDP/IPv4 header is in total 44 bytes.
+ - If in doubt or unclear what to use, include a timing that is 50% of the packet interval in Table 26 earlier than the one in the first packet of the object with the TOI included in this FDT. Note that the tool pcaploss rewrites correctly the packet timestamps with the right transmission time interval.
+
+###### 6.7.3.3.1.2 Output
+
+The output from this process is for each test case:
+
+- File that contains TOI and MD5 for each of the segments
+- PCAP file that contains a sequence of segments prefixed with a single multi-packet FDT that summarizes the entire sequence. The PCAP file name for a code with code name X is provided in Table 27 along with the total number of packets
+
+**Table 27: PCAP files and Segment List for a virtual code X**
+
+| Test Case | Error conditions | PCAP file | Number of Data Packets | Segment list |
+|-----------|-----------------------|----------------|------------------------|--------------|
+| LS21 | Markov, 3 km/h, 20% | ls21_codeX.cap | 180000 | ls21.md5 |
+| LS49 | | ls49_codeX.cap | 180000 | ls49.md5 |
+| LS24 | | ls24_codeX.cap | 180000 | ls24.md5 |
+| LS33 | Markov, 120 km/h, 5% | ls33_codeX.cap | 180000 | ls33.md5 |
+| LS50 | | ls50_codeX.cap | 180000 | ls50.md5 |
+| LS36 | | ls36_codeX.cap | 180000 | ls36.md5 |
+| LS45 | Markov, 120 km/h, 20% | ls45_codeX.cap | 180000 | ls45.md5 |
+| LS51 | | ls51_codeX.cap | 180000 | ls51.md5 |
+| LS48 | | ls48_codeX.cap | 180000 | ls48.md5 |
+| LS45 | Markov, 120 km/h, 5% | ls45_codeX.cap | 180000 | ls45.md5 |
+| LS51 | | ls51_codeX.cap | 180000 | ls51.md5 |
+| LS48 | | ls48_codeX.cap | 180000 | ls48.md5 |
+
+##### 6.7.3.3.2 Generate Erroneous Packet Streams
+
+###### 6.7.3.3.2.1 LTE Traces
+
+One LTE Error Trace is provided for each test case in the attached package. The files are named `error_trace_ls.txt`. The details are summarized in Table 28.
+
+The format of the error traces is as follows
+
+```
+[newline]
+```
+
+```
+L x {01}
+```
+
+where $L$ is the maximum number of packets that the input pcap file may have followed on the next line with a string made of characters '0' (packet received) and '1' (packet is lost) of length $L$ . One example would be:
+
+```
+12
+```
+
+```
+001011100100
+```
+
+i.e. the length of the string of 0s and 1s is given by the integer on the first line.
+
+**Table 28: Error traces for streaming test cases with losses and loss percentage**
+
+| Test Case | Error conditions | Error Trace | Length N | Loss Percentage |
+|-----------|-----------------------|---------------------|----------|-----------------|
+| LS21 | Markov, 3 km/h, 20% | errortrace_ls21.txt | 180000 | 19.94 |
+| LS49 | | errortrace_ls49.txt | 180000 | 19.94 |
+| LS24 | | errortrace_ls24.txt | 180000 | 19.94 |
+| LS33 | Markov, 120 km/h, 5% | errortrace_ls33.txt | 180000 | 5.41 |
+| LS50 | | errortrace_ls50.txt | 180000 | 5.41 |
+| LS36 | | errortrace_ls36.txt | 180000 | 5.41 |
+| LS45 | Markov, 120 km/h, 20% | errortrace_ls45.txt | 180000 | 20.80 |
+| LS51 | | errortrace_ls51.txt | 180000 | 20.80 |
+| LS48 | | errortrace_ls48.txt | 180000 | 20.80 |
+| LS45_33 | Markov, 120 km/h, 5% | errortrace_ls33.txt | 180000 | 5.41 |
+| LS51_50 | | errortrace_ls50.txt | 180000 | 5.41 |
+| LS48_36 | | errortrace_ls36.txt | 180000 | 5.41 |
+
+A process for generating the error traces independently is provided in Annex B.
+
+###### 6.7.3.3.2.2 Apply to LTE traces to PCAP streams
+
+In order to introduce loss into a controlled manner to the PCAP files using the Markov error traces, a tool called pcaploss, available in source code form, is available and attached in the package (including Makefile). This tool takes a pcap file as input and transforms it into another altered pcap. The usage message for pcaploss is:
+
+```
+pcaploss: Usage: ./pcaploss [<#pkts>]
+```
+
+where the format of the loss trace file is according to the format introduced in clause 6.7.3.3.2.1. If the optional integer argument #pkts is present, only the number of packets indicated by #pkts will be read in from pcap\_in before pcaploss closes the output file and stops.
+
+The pcap for transmission may be prepped with the right MAC/IP addresses for both sender and receiver. On the sender side MAC and IP can be obtained with command 'ipconfig/ all' on Windows, e.g.:
+
+Ethernet adapter Local Area Connection 4:
+
+```
+Connection-specific DNS Suffix . :
+Description . . . . . : SAMSUNG Mobile USB Remote NDIS Network Device
+Physical Address. . . . . : 02-65-64-60-6E-0B
+DHCP Enabled. . . . . : Yes
+Autoconfiguration Enabled . . . . : Yes
+Link-local IPv6 Address . . . . . : fe80::117:1bc9:34df:dd76%26(Preferred)
+IPv4 Address. . . . . : 192.168.42.149(Preferred)
+Subnet Mask . . . . . : 255.255.255.0
+Lease Obtained. . . . . : Monday, July 16, 2012 3:37:43 PM
+Lease Expires . . . . . : Monday, July 16, 2012 4:37:50 PM
+Default Gateway . . . . . : 192.168.42.129
+DHCP Server . . . . . : 192.168.42.129
+DHCPv6 IAID . . . . . : 855795044
+DHCPv6 Client DUID. . . . . : 00-01-00-01-14-97-F4-E0-F4-CE-46-AC-6F-32
+DNS Servers . . . . . : 192.168.42.129
+NetBIOS over Tcpip. . . . . : Enabled
+```
+
+where hardware and IP addresses are 02-65-64-60-6E-0B and 192.168.42.149 respectively. On the receiver side a multicast IP address and associated MAC could be 230.20.20.10 and 01:00:5e:66:14:14:0a.
+
+With the information above and for each test case LSY( Z) in Table 26, the following process is applied:
+
+```
+./tcprewrite --distip=0.0.0.0/0:230.20.20.10 --enet-dmac= 01:00:5e:66:14:14:0a --
+srcip=0.0.0.0/0:192.168.42.149 --enet-smac=02:65:64:60:6E:0B --fixcsum -i
+ldY_codeX.cap -o temp.cap
+
+./pcaploss temp.cap ldY_codeX_ldZ_.cap errortrace_ldZ_.txt
+```
+
+Note that the integration of the Ethernet and IP addresses with tcprewrite is optional and may only be done absence of any other knowledge. tcprewrite is included in the TCPreplay suite, for details refer to Annex B.6.2.
+
+###### 6.7.3.3.2.3 Output
+
+The output of this process is one PCAP file for each test case. The PCAP files are summarized in Table 29. The length of the PCAP file depends on the loss statistics.
+
+**Table 29: PCAP files for a virtual code X after applying channel that maps to specific channel model**
+
+| Test Case | Error conditions | Error Trace | Number of Packets (CODE DEPENDENT) |
+|-----------|-----------------------|---------------------|---------------------------------------|
+| LS21 | Markov, 3 km/h, 20% | ls21_codeX_1s21.cap | |
+| LS49 | | ls49_codeX_1s49.cap | |
+| LS24 | | ls24_codeX_1s24.cap | |
+| LS33 | Markov, 120 km/h, 5% | ls33_codeX_1s33.cap | |
+| LS50 | | ls50_codeX_1s50.cap | |
+| LS36 | | ls36_codeX_1s36.cap | |
+| LS45 | Markov, 120 km/h, 20% | ls45_codeX_1s45.cap | |
+| LS51 | | ls51_codeX_1s51.cap | |
+| LS48 | | ls48_codeX_1s48.cap | |
+| LS45_33 | Markov, 120 km/h, 5% | ls45_codeX_1s45.cap | |
+| LS51_50 | | ls51_codeX_1s51.cap | |
+| LS48_36 | | ls48_codeX_1s48.cap | |
+
+##### 6.7.3.3.3 Generate Device Performance Measures
+
+###### 6.7.3.3.3.1 Setup
+
+The following device/operating conditions are used:
+
+NOTE: "[Trade name(s) of product(s)] are an example(s) of a suitable product(s) available commercially. This information is given for the convenience of users of the present document and does not constitute an endorsement by 3GPP of these product(s)."
+
+- Device:
+ - o Samsung Galaxy S2™ (GT-I9100) Smartphone, running Android 4.0.3. The processor is a Dual-core Exynos 4210 1.2GHz processor ARM Cortex-A9.
+ - o Root access is applied to the device, for details see Annex B.3.
+ - o `ls_decoder` executable for FEC decoding available on the device, for details on functionalities, see clause 6.7.3.3.3.2.
+ - o `verifysegm` for generating the md5 or a received segment push the data to `stdout` with TOI and length. For details on functionalities, see Annex B.8.
+ - o push the Unix '`time`' command on the device, for details see Annex B.4.
+- The host PC:
+ - o can be any OS, but typically Windows or Linux
+ - o The host PC is connected to the Device using USB tethering through an interface. It is assumed that the interface has assigned name `Samsung`.
+ - o the host does have a functionality installed that permits to push the stored PCAP files to the device. For details, see Annex B.6. In the following it is assumed that ColaSoft Packet Player is available.
+- The details of connecting device and host PC are provided in Annex B.5.
+
+###### 6.7.3.3.3.2 Decoder
+
+The `ls_decoder` executable receives its input data via the network interface card (UDP/ALC/LCT packets) and writes on `stdout` decoded source block.
+
+If correction of the segment is successful, this application writes on `stdout`:
+
+```
+[ TOI (32-bit) | length (32-bit) | ]
+```
+
+where TOI is the segment Transport Object Identifier followed by the length of the decoded segment in bytes and the actual recovered segment data. TOI and length are in network-byte order.
+
+Note that the proponent need not use the provided `verifysegm`, but provide its own verification program. In this case the interface between the decoder and the verification program may for example use the segment name instead of the TOI.
+
+###### 6.7.3.3.3.3 Process
+
+For each test case LSX from Table 26, the following processes are carried out in the following sequence:
+
+- On the device start the following process in directory `/data/data/berserker.android.apps.sshdroid/home` with device Wifi IP of 192.168.2.102 and an ssh server running on port 2222:
+ 1. `ssh -p 2222 root@192.168.2.102`
+ 2. When asked for password, type 'admin'
+ 3. `time -v ls_decoder 2> time.txt | time -v verifysegm > out.txt`
+- On the host start the Colasoft Packet Player with the following:
+ - o Adapter: Samsung
+ - o Packet File: Add -> File of type: libpcap (\*.cap)
+ - o Select file `lsY_codeX_lsZ_.cap`
+ - o Click button Play
+- After termination at the device, the following is carried out on the host:
+
+
+```
+scp -P 2222
+root@192.168.2.102:/data/data/berserker.android.apps.sshdroid/home/out.txt
+lsY_codeX_lsZ.out
+
+scp -P 2222
+root@192.168.2.102:/data/data/berserker.android.apps.sshdroid/home/time.txt
+lsY_codeX_lsZ.time
+```
+
+###### 6.7.3.3.3.4 Error-Free Process
+
+The same process as described in section 6.7.3.3.3.3 is carried out for the error-free pcap files. To do so, all files `lsY_codeX_lsZ.*` are replaces by `lsY_codeX.*`.
+
+###### 6.7.3.3.3.4 Output
+
+The output of this process is one performance file and one result file for each test case. The files are summarized in Table B.1.
+
+**Table 30: Performance and result file for a virtual code X after decoding**
+
+| Test Case | Error conditions | Result | Performance | Error-Free Performance |
+|-----------|-----------------------|----------------------------------|-----------------------------------|------------------------------|
+| LS21 | Markov, 3 km/h, 20% | ls21_codeX_ls21.out | ls21_codeX_ls21.time | ls21_codeX.time |
+| LS49 | | ls49_codeX_ls49.out | ls49_codeX_ls49.time | ls49_codeX.time |
+| LS24 | | ls24_codeX_ls24.out | ls24_codeX_ls24.time | ls24_codeX.time |
+| LS33 | Markov, 120 km/h, 5% | ls33_codeX_ls33.out | ls33_codeX_ls33.time | ls33_codeX.time |
+| LS50 | | ls50_codeX_ls50.out | ls50_codeX_ls50.time | ls50_codeX.time |
+| LS36 | | ls36_codeX_ls36.out | ls36_codeX_ls36.time | ls36_codeX.time |
+| LS45 | Markov, 120 km/h, 20% | ls45_codeX_ls45.out | ls45_codeX_ls45.time | ls45_codeX.time |
+| LS51 | | ls51_codeX_ls51.out | ls51_codeX_ls51.time | ls51_codeX.time |
+| LS48 | | ls48_codeX_ls48.out | ls48_codeX_ls48.time | ls48_codeX.time |
+| LS45_33 | Markov, 120 km/h, 5% | ls45_codeX_ls33.out | ls45_codeX_ls33.time | ls45_codeX.time |
+| LS51_50 | | ls51_codeX_ls50.out | ls51_codeX_ls50.time | ls51_codeX.time |
+| LS48_36 | | ls48_codeX_ls36.out | ls48_codeX_ls36.time | ls48_codeX.time |
+
+##### 6.7.3.3.4 Evaluation
+
+###### 6.7.3.3.4.1 General
+
+After all test cases are completed the output files as presented in Table 30 are available. These files are moved back to the host for evaluation.
+
+###### 6.7.3.3.4.2 Correct Decoding
+
+The number of successfully decoded segments can be computed as follows (on a UNIX machine):
+
+```
+cat lsY_codeX.md5 lsY_codeX.out | sort | uniq -d | wc -l
+```
+
+###### 6.7.3.3.4.3 Performance Evaluation
+
+The output of `lsY_codeX(_lsY).time` will be something like this:
+
+```
+
+Command being timed: "ls_decoder"
+User time (seconds): 1.49
+System time (seconds): 0.36
+Percent of CPU this job got: 73%
+Elapsed (wall clock) time (h:mm:ss or m:ss): 0m 2.52s
+Average shared text size (kbytes): 0
+Average unshared data size (kbytes): 0
+Average stack size (kbytes): 0
+Average total size (kbytes): 0
+Maximum resident set size (kbytes): 165456
+Average resident set size (kbytes): 0
+Major (requiring I/O) page faults: 1
+Minor (reclaiming a frame) page faults: 21740
+Voluntary context switches: 9659
+Involuntary context switches: 10442
+Swaps: 0
+File system inputs: 0
+File system outputs: 0
+Socket messages sent: 0
+Socket messages received: 0
+Signals delivered: 0
+Page size (bytes): 4096
+Exit status: 0
+
+```
+
+The relevant entries here are `system time`, `user time` (the sum of which is to be reported as the processing cost), and `Maximum resident set size`. The memory usage to be reported is 1/4 of that given as the `Maximum resident set size` in an unpatched busybox 1.19.0. The reason for this division by 4 is that busybox has a bug which causes it to overestimate memory usage by a factor of 4, just like the GNU time utility from which it is presumably inheriting this mistake. See the bug report [here](http://lists.gnu.org/archive/html/bug-gnu-utils/2008-12/msg00047.htm) (see note).
+
+NOTE:
+
+The following performance data measurement is proposed:
+
+- Generate the numbers from above for the considered test case
+- Generate the numbers from above for a zero loss trace
+- Report the following numbers for each test case and the zero loss trace:
+ - *U*: User time (seconds)
+ - *S*: System time (seconds)
+ - *P*: Percent of CPU this job got
+ - *W*: Elapsed (wall clock) time (h:mm:ss or m:ss):
+ - *M*: Maximum resident set size (kbytes)
+- Generate the following numbers for performance evaluation based on the above results and the segment duration *D* (in seconds), the media bitrate *R* (in kBit/s), and the duration of the media data *t* (in seconds):
+ - Speed: Average decoding speed (in MBit/s): $R * t / (1000 * (U + S))$
+
+- Latency: Average decoding latency (in ms): $D * (1000 * (U + S)) / t$
+- Memory: Peak memory usage (in MBytes): $M / 4096$
+
+###### 6.7.3.3.4.4 Performance Documentation
+
+The performance should be documented according to Table 31. The right three columns document the performance for error-free transmission. Also the values for $U$ , $S$ , $P$ , $W$ and $M$ should be provided.
+
+**Table 31: Performance Data for Streaming Test Cases**
+
+| Test Case | Error conditions | G | K | E | Speed (MBit/s) | Latency (ms) | Memory (MByte) | EF-Speed (MBit/s) | EF-Latency (ms) | EF-Memory (MByte) |
+|-----------|-----------------------|---|---|---|----------------|--------------|----------------|-------------------|-----------------|-------------------|
+| LS21 | Markov, 3 km/h, 20% | | | | | | | | | |
+| LS49 | | | | | | | | | | |
+| LS24 | | | | | | | | | | |
+| LS33 | Markov, 120 km/h, 5% | | | | | | | | | |
+| LS50 | | | | | | | | | | |
+| LS36 | | | | | | | | | | |
+| LS45 | Markov, 120 km/h, 20% | | | | | | | | | |
+| LS51 | | | | | | | | | | |
+| LS48 | | | | | | | | | | |
+| LS45_3 | Markov, 120 km/h, 5% | | | | | | | | | |
+| LS51_5 | | | | | | | | | | |
+| LS48_3 | | | | | | | | | | |
+| 6 | | | | | | | | | | |
+
+### 6.7.4 Tools
+
+The attachment `Attachment-1-Tools.zip` contains the following files attached to this Technical Report specifically for the purpose of the test plan:
+
+- `LossGenerator.zip`: A packet to generate the relevant Markov error traces.
+- `pcaploss.zip`: Package that includes a `tcprewrite` functionality to generate PCAP traces with losses according to a Markov trace.
+- `Traces.zip`: all relevant error traces for conducting the tests
+- `verifysegm.zip`: verification tool to generate MD5 for generated segment.
+
+### 6.7.5 Verification Process
+
+A detailed verification process had been defined.
+
+- Each candidate provides the availability to access pcap files and executables `ld_decoder`, `network2sd` and `ls_decoder` for verification.
+- Any 3GPP member can repeat the tests according to the test plans in section 6 and indicate that the verification was not successful. Collaboration with the candidate proponent to resolve verification is encouraged.
+
+# --- 7 FEC Candidates
+
+## 7.1 Introduction
+
+Based on review of the self-evaluation data of all submitted candidates, the following complete EFEC candidates have been agreed to pass the Qualification Criteria to be considered as a Qualifying Candidate in the EMM-EFEC selection procedure.
+
+- RS+LDPC: The summary of the submitters is provided in clause 7.3
+
+- Supercharged Codes: The summary of the submitters is provided in clause 7.4
+- 6330 code: The summary of the submitters is provided in clause 7.5
+
+In the evaluation of the candidate codes, benchmark codes are used. These are documented in clause 7.2.
+
+## 7.2 Benchmark Codes
+
+### 7.2.1 Ideal Code
+
+A code is generally capable to handle one or a few or many of the following parameters
+
+- T: source symbol size
+- K: source block size and number of source symbols
+- N: word length and number of encoding symbols
+
+An ideal code with parameters (K, N, T) can reconstruct the K source symbols from any set of K of the N encoding symbols. Ideal codes exists, but are usually very complex in encoding and decoding, especially if K is not small or if N needs to be large.
+
+### 7.2.2 MBMS FEC RFC 5053
+
+The code is fully specified in IETF RFC 5053 and is also used in MBMS TS26.346.
+
+## 7.3 RS+LDPC
+
+The RS+LDPC code and its proposed application as MBMS application layer FEC is documented in the attachment `Attachment-6-RS+LDPC.zip` as provided by the proponent.
+
+## 7.4 Supercharged Codes
+
+The Supercharged Code provides application layer FEC protection.
+
+## 7.5 6330 Code
+
+The 6330 code and its proposed application as MBMS application layer FEC is documented in the attachment `Attachment-5-6330.zip` as provided by the proponent.
+
+# --- 8 Performance of FEC Codes
+
+## 8.1 Benchmark Codes: Ideal Code and RFC 5053
+
+Attached to this document is an excel sheet named `Attachment-2-Benchmark-Codes.xls`. It contains all results of the benchmark codes.
+
+Specifically it contains the following tabs:
+
+- LTE-Download - 5053&Ideal: this tab provides the results for all 120 LTE download cases for both codes with the following details:
+ - Kt: the total number of source symbols for the test cases for RFC 5053
+ - FEC Overhead 5053: The FEC symbol overhead necessary to fulfil the criteria in percent for RFC 5053
+ - Nt: the total number of overhead symbols for the RFC 5053 code
+ - T: The symbol size in bytes for the RFC 5053 code
+ - Z: the total number of source blocks for the RFC 5053 code
+
+- G: the number of symbols for each packet for the RFC 5053 code
+- Sending strategy:
+ - n/a not applicable as a single source block
+ - IL: source blocks are sent fully interleaved
+ - SQ: source blocks are sent sequential
+- FEC Overhead Ideal (single SB): The FEC symbol overhead necessary to fulfil the criteria in percent when using an ideal code with a single source block.
+- Nt ideal (single SB): the total number of overhead symbols for the ideal (single source block) code
+- Kt with G=1: the total number of source symbols for the test cases for the ideal (single source block) code
+- T: The symbol size in bytes for the ideal (single source block)
+- Difference. The difference in overhead between the RFC 5053 code and the ideal (single source block)
+- LTE-Streaming - 5053&Ideal: this tab provides the results for all 72 LTE streaming cases for both codes with the following details:
+ - Supported Media rate: the media bitrate supported by RFC 5053 that fulfils the criteria
+ - T: The symbol size in bytes for the RFC 5053 code
+ - N: The total number of symbols for the RFC 5053 code
+ - G: the number of symbols for each packet for the RFC 5053 code
+ - K: the number of source symbols for a DASH segment for RFC 5053
+ - Supported Media rate: the media bitrate supported the ideal (single source block) code that fulfils the criteria
+ - T: The symbol size in bytes for the ideal (single source block) code
+ - N: The total number of symbols for the ideal (single source block) code
+ - G: the number of symbols for each packet for the ideal (single source block) code
+ - K: the number of source symbols for a DASH segment the ideal (single source block) code
+ - Difference % media rate: the degradation in media rate of the RFC5053 compared to the ideal (single source block) code
+- UTRAN-Streaming -5053&Ideal: this tab provides the results for all 18 UMTS streaming cases for both codes with the following details:
+ - Performance: the media bitrate supported by RFC 5053 that fulfils the criteria
+ - T: The symbol size in bytes for the RFC 5053 code
+ - N: The total number of symbols for the RFC 5053 code
+ - G: the number of symbols for each packet for the RFC 5053 code
+ - K: the number of source symbols for a source block for RFC 5053
+ - Performance ideal: the media bitrate supported by ideal code that fulfils the criteria
+ - K: the number of source symbols for a source block for the ideal code
+
+- UTRAN-Download - 5053&Ideal: this tab provides the results for all 36 UMTS download cases for both codes with the following details:
+ - FEC Overhead: The FEC symbol overhead necessary to fulfil the criteria in percent for RFC 5053
+ - T: The symbol size in bytes for the RFC 5053 code
+ - Kt: the total number of source symbols for the test cases for RFC 5053
+ - Z: the total number of source blocks for the RFC 5053 code
+ - Ns: the number of subblocks for the RFC 5053 code
+ - G: the number of symbols for each packet for the RFC 5053 code
+ - FEC Overhead Ideal (single SB): The FEC symbol overhead necessary to fulfil the criteria in percent when using an ideal code with a single source block.
+ - T: The symbol size in bytes for the ideal (single source block)
+ - Kt with G=1: the total number of source symbols for the test cases for the ideal (single source block) code
+ - Z: the total number of source blocks for the ideal code (always 1)
+ - G: the number of symbols for each packet for the ideal code (always 1)
+- Code Performance 5053: this tab provides the results for the code performance for the RFC 5053 code
+- Device-Download - 5053: this tab provides the results for two configurations of the device download for all six test cases
+ - Configuration 1: Focus on traces with low memory usage by applying subblocking. The memory is kept below 8 MByte
+ - Configuration 2: Focus on traces without subblocking.
+- Device-Streaming - 5053: this tab provides the results for two configurations of the device streaming for all nine test cases
+
+## 8.2 Candidate Results
+
+The excel sheets for these documents are attached included in the attachment `Attachment-3-Submission.zip` package. The excel sheets for the codes from the self-evaluation numbers are attached to this document as `Submission-.xlsx`.
+
+## 8.3 Verification
+
+### 8.3.1 Introduction
+
+All verification data is included in the package `Attachment-4-Verification.zip` attached to this document.
+
+### 8.3.1 Verification of RS+LDPC Code
+
+The following companies performed verification for the RS+LDPC code:
+
+- Nomor: The consolidated excel sheet of the verification is attached to this document as `Verification-RS+LDPC-nomor.xlsx`. All results are verified.
+- Huawei: The consolidated excel sheet of the verification is attached to this document as `Verification-RS+LDPC-Huawei.xlsx`. All download and streaming cases are verified.
+
+### 8.3.2 Verification of 6330 Code
+
+The following companies performed verification for the 6330 code:
+
+- Nomor: The consolidated excel sheet of the verification is attached to this document as Verification-6330-nomor.xlsx. All download and streaming cases are verified.
+- Huawei: The consolidated excel sheet of the verification is attached to this document as Verification-6330-huawei.xlsx. No non-verified test cases are reported.
+- Expway: The consolidated excel sheet of the verification is attached to this document as Verification-6330-expway.xlsx.
+
+### 8.3.3 Verification of Supercharged Code
+
+The following companies performed verification for the Supercharged code:
+
+- Nomor: The consolidated excel sheet of the verification is attached to the present document as Verification-Supercharged-nomor.xlsx. The numbers in the submission could be verified.
+- Huawei: The consolidated excel sheet of the verification is attached to the present document as Verification-Supercharged-huawei.xlsx.
+
+# --- 9 Other FEC Enhancements
+
+## 9.1 Introduction
+
+During the work item on EMM-EFEC other technologies beyond pure codes were submitted. The technologies are documented in this clause.
+
+## 9.2 Graceful Degradation (GD) - FEC
+
+### 9.2.1 Introduction
+
+Graceful Degradation (GD)-FEC sub-layer is performed at the first process in Transport layer and directly applied for the received data from the Media layer. GD-FEC mechanism provides unequal error protection (UEP) technique that protects important parts of media bit stream(s) more strongly than others. FEC layer is located in the lower and at the RTP/RCTP or SRTP sections to fully protect the packets and headers generated in the upper sub-layers. GD-FEC sub-layer may also be located in above FLUTE protocol layer when it used for DASH-based streaming service over FLUTE.
+
+### 9.2.2 GD-FEC Operations and Requirements
+
+When a system needs to supply a certain level of service quality for radio impaired mobiles that are suffered frequent burst losses in broadcasting, it may adopt GD-FEC and in this case, the system should inform all mobiles about the following information using in-band and/or out-band signalling:
+
+- The kind of media data that is to be protected by GD-FEC (e.g. audio, text, ...)
+- The location of GD-FEC source and repair packets in the source flows
+- The GD-FEC format and encoded method
+
+The portion of the source data protected by GD-FEC (referred to as target source) should be relatively small (e.g. audio data can be chosen for the target source, because the size of audio data is typically below 10% of that of video data) so that the required amount of repair packets can be small. With an enough amount of repair data, GD-FEC may provide a media protection with a low burden in computational complexity.
+
+In GD-FEC, the encoding delay introduced by the GD-FEC encoder may increase, but may still be good enough for typical media coding systems. However, for receivers ignoring the GD-FEC system should not add additional decoding delay. Next section describes an example of GD-FEC implementation which fulfils these requirements.
+
+In fact, GD-FEC can be flexibly adopted as: Good receiving status mobiles can be configured to not use GD-FEC decoding, however, bad receiving status mobiles may use GD-FEC repair packets when GD-FEC is deployed in media systems at the expense of possibly increased delay.
+
+### 9.2.3 GD-FEC Encoding/Decoding Examples
+
+This section describes an example of GD-FEC implementation which fulfils the requirements described in previous section. In this example, the audio packets are selected as the target source data for GD-FEC protection.
+
+There are two important terminologies for GD-FEC: Encoded multimedia data group (EMDG) and GD-FEC encoding group (GDEG) as shown in figure 11. EMDG is a packet group that contains a group of media data providing a certain amount of information (e.g. all media data in one picture frame unit). GDEG is defined as a group of $L$ EMDGs where $L=1, 2, \dots$ (e.g. $L=4$ in figure 11).
+
+
+
+The diagram illustrates the structure of an Encoded Multimedia Data Group (EMDG) and a GD-FEC Encoding Group (GDEG). At the top, a horizontal bar represents an 'Encoded Multimedia Data Group' (EMDG). This group contains an 'Audio Packet' (a small blue segment) and 'Other Packets (e.g., Video, DIMS, Text)' (a larger yellow segment). Below this, a horizontal line represents the 'Source Packet Stream'. This stream is divided into four segments, each consisting of a blue segment followed by a yellow segment. These four segments are grouped together by a bracket labeled 'GD-FEC Encoding Group L (e.g., L=4)'. A diagonal line connects the EMDG bar to the first segment of the Source Packet Stream, indicating that the EMDG is a group of packets from the stream.
+
+Diagram illustrating the structure of an Encoded Multimedia Data Group (EMDG) and a GD-FEC Encoding Group (GDEG).
+
+**Figure 11: Encoded Multimedia Data Group (EMDG) and GD-FEC Encoding Group (GDEG)**
+
+It should be noted that, an important requirement for the GD-FEC described in previous section is the decoding delay of GD-FEC. Figure 12 shows none or minimum delay for the GD-FEC decoding whereas enough delay is yielded in the GD-FEC encoding (in the case of $L=4$ ).
+
+
+
+Figure 12: Timing diagram for GD-FEC encoding and decoding. The diagram shows four horizontal timelines representing different stages of a packet stream. 1. Source Packet Stream: Shows a sequence of blue 'Audio Packet' blocks. A red dashed line indicates the 'GD-FEC Encoding Group L (e.g., L=4)' spanning four packets. 2. Packet Stream Delivered to Network: Shows the packets after a 'Buffering Delay for GD-FEC'. Red squares represent 'GD-FEC Encoding & Distributing Repair Packets'. 3. Received Packet Stream With Erased Packets: Shows packets with red stars representing 'Erased Packets'. A dashed line indicates 'Buffering Received Repair Packets'. 4. Received Packet Stream With Recovered Audio Packet: Shows the final state where packets are recovered. A box labeled 'Packet Loss Prediction & GD-FEC Decoding' is shown. A note at the bottom right states: '\* Packet Loss Prediction Parts shall be in Receiver Implementation Recommendations'.
+
+**Figure 12: None or Minimum Delay GD-FEC Decoding Whereas Enough Delay Yielded by GD-FEC Encoding (e.g. L=4)**
+
+Another example of the low latency GD-FEC scheme is shown in Figure 13. In the figure, the duration of a GD-FEC encoding group is the same as that required to process a FLUTE segment file. With this alignment, an additional processing delay for the GD-FEC encoding is not required because it can be performed in the time slot of the FLUTE segment file process. Using the same reasoning, an additional processing delay for the GD-FEC decoding is also not required. The FLUTE segment packet units are smaller units than FLUTE file segments. Interleaving can be performed with these FLUTE segment packet units (e.g. predetermined random order sending). In the total streaming file for the FLUTE, the source data packets have headers and these headers are more important than others; furthermore, they can be GD-FEC target sources for stronger protection (e.g. UEP for the headers).
+
+
+
+Figure 13: Timing diagram showing GD-FEC encoding delay aligned with FLUTE segment file processing. The diagram shows a sequence of blue 'Source Packets (e.g., Audio)' and red 'Restore Packets'. A green dashed box labeled 'GD-FEC Encoding & Interleaving' is shown. A horizontal line at the top indicates 'FLUTE file segment duration = GD-FEC Encoding Group L (e.g., L=4)'. A horizontal line at the bottom indicates 'FLUTE file segment duration'. A dashed arrow points to the 'FLUTE File Packetized Stream Delivered to Network'. A legend on the right shows a blue square for 'Source Packets (e.g., Audio)' and a red square for 'Restore Packets'. A label on the left indicates 'GD-FEC Encoding (FLUTE file based)'.
+
+**Figure 13: GD-FEC encoding delay aligned with the FLUTE segment file processing delay (e.g. the duration of the FLUTE file segment equals that of the GD-FEC encoding group)**
+
+### 9.2.4 Conclusion on GD-FEC
+
+Although the study of GD-FEC during the EMM-EFEC work item produced results that showed positive benefits in some use cases and environments, it was considered that this technology could not be adopted within a normative specification at this time. Further consideration of GD-FEC may be made during later releases as a solution to various use cases including, but not limited to:
+
+- Small segment delivery over FLUTE
+- Low latency for good covered mobiles and increased latency for UEs in worse coverage
+- Fast start-up
+- OTA (over the air overheads)
+
+# --- 10 Conclusions
+
+There were significant investigations into the capabilities, performance and suitability of the qualifying EMM-EFEC candidates. The attached results and verification documents present a full view of the work performed in this area.
+
+6330 and RS+LDPC each received significant support as MBMS Application Layer FEC (AL-FEC).
+
+As a final conclusion of the work, no new AL-FEC code was adopted.
+
+The existing FEC provides sufficient features and performance to ensure successful operation of MBMS User Services.
+
+# Annex A: Simulation Conditions
+
+## A.1 Simulation Procedure for download delivery
+
+For file downloads simulations the following assumptions are made:
+
+- All source blocks have the same size, i.e. the size the largest source blocks (this would slightly overestimate FEC overhead but simplifies simulation code)
+- The working size memory is 256KB for UTRAN MBMS and 1MB for LTE MBMS
+
+The download procedure is:
+
+- Generate IP packet loss transcripts, one per user, with mapping algorithm according to the access technology and the IP packet size according to the table. The transcript length has to be long enough to cover transmission of the biggest file subject to maximum simulated loss and transmission overhead to meet target success rate.
+- Using the following as input: file size $F$ , payload size $P$ , receiver memory size $WS$ . Then compute the number of source blocks $Z$ and their size in symbols $KT$ , the number of symbols per packet $G$ (always 1 for Ideal) according to the following schemes per FEC:
+ - In the case of Ideal code, there is always a single source block with symbol size $T=P$ with a total of $K=\text{ceil}(F/P)$ symbols.
+ - In the case of Raptor, the parameters are computed using Section 9.1 Block Partitioning Algorithm of RFC 5052.
+ - In case of other codes, the algorithm for computing the different parameters should be provided
+- For each user $U$ do
+ - Encoding symbol index $I = 0$
+ - Until all $Z$ source block are received
+ - For each $Z$ source block
+ 1. Add a received symbol of ESI $I$ for the block if not lost according to lost transcript $A$ for user
+ 2. Move loss transcript pointer to next item
+ 3. If the block is not decoded and number of received symbols is equal or bigger than $K*T$ do:
+ - Try decoding with the set of received ESIs
+ - If successful, mark block as decoded, record number of symbols necessary for this block
+ - $I = I + 1$
+ - Find maximum of necessary symbols $\text{maxSymbol}$ across $Z$ blocks for user $U$ , report Transmission overhead as $(\text{maxSymbol} * T * Z / F)$ in percent
+ - Rank all users according to their Transmission overhead
+ - If $X$ is the target success rate, keep the last $(1 - X) * N$ last users where $N$ is the number of simulated users
+ - Report Transmission overhead (reported as FEC overhead in TR26.346) of the first user (i.e. with lowest FEC overhead) from remaining users of step 5.
+
+## A.2 Simulation Procedure for streaming delivery
+
+The streaming simulation procedure is:
+
+- Select a streaming service with source data rate and stream duration (24 hours)
+
+- Generate IP packet loss transcripts, one per user, with mapping algorithm according to the access technology and the IP packet size according to the table. The transcript length has to be long enough to cover transmission of the whole stream duration.
+- Compute number of symbols N per protection period for FEC under consideration (for RFC5053, this is the number of packets if $G > 1$ )
+- $R = 0$ , the number of repair symbols
+- Loop 1: Until number of segment in error E is less than target error maxE do:
+ - $K = N - R$ , where K = number of symbols for block
+ - For all segments in stream do:
+ - For ESI = 0 up to N-1 do:
+ - If SDU is received according to loss transcript A, record ESI as received
+ - Try decoding with set of received ESI
+ - If not successful, $E = E + 1$
+ - If $E > \text{maxE}$ , $R = R + 1$ , restart Loop 1
+- Record last value of K as maxK
+- Report maximum streaming rate as $(G * K * T * 8 / \text{protection period})$ where T is the symbol size.
+
+# Annex B: Tools for device-based evaluation
+
+## B.1 Split file into segments and generate MD5
+
+This Unix script creates smaller segments, each of size from file and names the segments with 08%d.
+
+```
+#!/bin/sh
+
+# Split large file segments and create md5
+
+if [ $# -eq 4 ]
+then
+ rm -f $3*
+ head -c 231840000 $2 > /tmp/temp.mov
+ split -d -a 4 -b $1 /tmp/temp.mov $3
+ rm -f /tmp/temp.mov
+ j=0
+ for i in `ls -l $3*`;
+ do
+ j=`expr $j + 1`;
+ if [ $j -le $4 ]
+ then
+ x=`echo $3 $j | awk '{ printf ("%s%08d", $1, $2) }'`
+ mv $i $x;
+ MD5=`cat $x | md5sum | awk '{ print $1 }'`
+ echo '$j $MD5'
+ else
+ rm $i
+ fi
+ done
+else
+ echo $# 'usage: split_with_numbers.sh '
+fi
+```
+
+## B.2 Generate Markov Traces
+
+The attached java code "LossGenerator.java" and "Random.java" may be used to generate the loss traces independently. The java trace file can be executed as follows:
+
+```
+java LossVectorGenerator p q gBLER bBLER subsamp n seed offset vectorfile
+```
+
+with:
+
+```
+p (transition probability from good to bad state)
+q (transition probability from bad to good state)
+gBLER (BLER for the good markov state)
+bBLER (BLER for the bad markov state)
+subsamp (subsampling for markov trace)
+n (length of the vector to be generated)
+seed (for the prng)
+offset (iterate n times before generating the vector)
+```
+
+`vectorFile` (file name where to output the vector)
+
+Table B.1 provides the instructions how to generate the error traces for the streaming test cases.
+
+**Table B.1 Markov Trace generation for streaming test cases**
+
+| Test Case | Error conditions | Test Script parameters |
+|-----------|--------------------------|--------------------------------------------------------------|
+| LS21 | Markov, 3 km/h, 20% | 0.0461 0.1680 0.0016 0.8920 1 180000 0 0 errortrace_ls21.txt |
+| LS49 | | 0.0461 0.1680 0.0016 0.8920 1 180000 0 0 errortrace_ls49.txt |
+| LS24 | | 0.0461 0.1680 0.0016 0.8920 1 180000 0 0 errortrace_ls24.txt |
+| LS33 | Markov, 120 km/h, 5% | 0.2707 0.7095 0.0000 0.1954 1 180000 0 0 errortrace_ls33.txt |
+| LS50 | | 0.2707 0.7095 0.0000 0.1954 1 180000 0 0 errortrace_ls50.txt |
+| LS36 | | 0.2707 0.7095 0.0000 0.1954 1 180000 0 0 errortrace_ls36.txt |
+| LS45 | Markov, 120 km/h, 20% | 0.3560 0.6329 0.0972 0.4040 1 180000 0 0 errortrace_ls45.txt |
+| LS51 | | 0.3560 0.6329 0.0972 0.4040 1 180000 0 0 errortrace_ls51.txt |
+| LS48 | | 0.3560 0.6329 0.0972 0.4040 1 180000 0 0 errortrace_ls48.txt |
+
+Table B.2 provides the instructions how to generate the error traces for the download test cases. The `` corresponds to the Length in the table and the `` is the trace number minus one multiplied by the length. The `trno` runs from 1 to S.
+
+**Table B.2 Markov Trace generation for download test cases**
+
+| Test Case | S | Length | PCAP file |
+|-----------|----|---------|---------------------------------------------------------------------------------|
+| LD60 | 1 | 2000000 | 0.0461 0.1680 0.0016 0.8920 1 0 error trace ld60 .pcap |
+| LD108 | 20 | 3400 | 0.2707 0.7095 0.0000 0.1954 1 0 error trace ld108 .pcap |
+| LD109 | 5 | 150000 | 0.2707 0.7095 0.0000 0.1954 1 0 error trace ld109 .pcap |
+| LD110 | 1 | 2000000 | 0.2707 0.7095 0.0000 0.1954 1 0 error trace ld110 .pcap |
+| LD118 | 20 | 3400 | 0.3560 0.6329 0.0972 0.4040 1 0 error trace ld118 .pcap |
+| LD119 | 5 | 150000 | 0.3560 0.6329 0.0972 0.4040 1 0 error trace ld119 .pcap |
+
+## B.3 Root access for Galaxy S2
+
+Here is procedure to root the Samsung S2:
+
+-
+
+Once the phone is rooted, to turn on performance mode and disable the second CPU core:
+
+- `cd /sys/devices/system/cpu/cpu0/cpufreq`
+- `cat scaling_governor`
+ - this will tell the current mode (on-demand or performance)
+- `echo performance > scaling_governor`
+ - turn on performance mode. `echo ondemand` to turn off
+ - NOT a sticky command i.e. value resets to ondemand after reset
+ - note: *performance* mode will keep it at 1.5GHz, even at idle
+ - In *ondemand* mode - at idle, without a data transfer or anything else running on the device, cpu0 should be running at much lower speed
+- `cat scaling_cur_freq`
+ - display current clock frequency in kHz
+- `cd /sys/devices/system/cpu/cpu1/cpufreq`
+
+- to check the settings for cpu1
+ - NOTE: if core 1 is not on, the cpufreq directory won't exist
+- cd /sys/devices/system/cpu/cpu1; cat online
+ - if it outputs 1, cpu1 is still up
+- echo 0 > /sys/devices/system/cpu/cpu1/online
+ - shuts a given cpu down
+- chmod 444 /sys/devices/system/cpu/cpu1/online
+ - ensures that the cpu is not restarted again (needs to be finally verified)
+
+## B.4 Time Command on Android Device
+
+To enable the time command on an android device, the Busybox needs to be installed.
+
+- ARM pre-compiled busybox can be downloaded from (the ARMv6l works well on Android).
+- Then push it on the phone by
+ - renaming it 'time': adb push busybox-armv6l /data/local/tmp/time
+ - make sure it's executable (adb shell chmod 0777 /data/local/tmp/time).
+
+## B.5 USB tethering of Android Devices
+
+### B.5.1 Requirements
+
+Android device running 2.2 Froyo or higher
+
+### B.5.2 Enable USB tethering on Android
+
+- Switch ON "Tethering" option in "Setting->Wireless and Networks.
+
+You can check the IP address of the newly created interface using the "adb" tool from the Android SDK. Once in the Android shell use the "netcfg" command. The IP address should be "192.168.42.129" (Hardcoded in Android source code).
+
+### B.5.3 Network structure
+
+
+
+| Android terminal | Linux/Win PC |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| <<connection status>> - USB Tethering mode <<interface>> - New NIC 192.168.42.129 <<action>> - Receive multicast packets (pcap) | <<connection status>> - Recognizes Android terminal as NIC <<interface>> - New NIC IP from Android device (DHCP) <<action>> - Send multicast packets (pcap) |
+
+USB Connection
+<=====
+
+## --- B.6 Play a PCAP
+
+### B.6.1 Windows
+
+In order to play a PCAP file on a Windows based host, one can use the following tools:
+
+- o [http://www.colasoft.com/packet\\_player/](http://www.colasoft.com/packet_player/)
+
+### B.6.2 Unix & Win32/Cygwin
+
+In order to play a pcap file on a Unix based host, one can use the following tools:
+
+- o TCP Replay as available here:
+- o or here as source
+
+## --- B.7 Android SSH server
+
+An SSH server for Android is SSHDroid available from Google Marketplace. Search for 'SSHDroid'. Once installed, make sure to configure port 2222 in its settings. For some reason when SSHDroid defaults to port 22 when running in root mode, it is not possible to ssh in. Port 2222 has no such restriction.
+
+## --- B.8 Verify Segment Decoding
+
+This tool is attached in source code in `verifysegm.zip` with compilation instructions for Android.
+
+The tool reads from stdin a repeated sequence
+
+```
+[ TOI (32-bit) | length (32-bit) | ]
+```
+
+where TOI is the segment Transport Object Identifier followed by the length of the decoded segment in bytes and the actual recovered segment data. TOI and length are in network-byte order.
+
+For each such triplet, the output is
+
+```
+
+```
+
+The output is human readable, unlike the input. Exactly one such line is printed to stdout per TOI (assuming the TOI is received a single time).
+
+Example input in hex:
+
+```
+00 00 00 01 00 00 00 03 a0 a1 a2 00 00 00 02 00 00 00 01 b0
+
+(end of file after that.)
+```
+
+This corresponds to two objects, first having TOI 1, and a length of 3 bytes, the file content being (in hex) a0 a1 a2, and the second one being TOI 1 the file containing a single byte b0.
+
+The output produced by that should be:
+
+```
+1 b33326d4c1d789e9651d526f420b6801
+
+2 ec655b6da8b9264a7c7c5e1a70642fa7
+```
+
+and no other line.
+
+# --- Annex C: Change history
+
+| Change history | | | | | | | |
+|----------------|-------|-----------|----|-----|------------------------------------------|-------|--------|
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | Old | New |
+| 2012-06 | 56 | SP-120225 | | | Presented at TSG SA#56 (for information) | | 1.0.0 |
+| 2013-03 | 59 | SP-130018 | | | Presented at TSG SA#59 (for approval) | 1.0.0 | 2.0.0 |
+| 2013-03 | | | | | Version for Release 11 | 2.0.0 | 11.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-11/26_series/26975/0a8d173734e4e46c344178e8d21bcbc3_img.jpg b/marked/Rel-11/26_series/26975/0a8d173734e4e46c344178e8d21bcbc3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..28b57a66c72a211692caad77486cab5f2d403b1a
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/0a8d173734e4e46c344178e8d21bcbc3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a5e24c85b553dff74881a1998b58aa383a224b00434c970fa08453781fc30c38
+size 68207
diff --git a/marked/Rel-11/26_series/26975/1c427123350e0e73e2a109b79069314b_img.jpg b/marked/Rel-11/26_series/26975/1c427123350e0e73e2a109b79069314b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..be75baca66f34a1f6e88a680555102b3d2e94d48
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/1c427123350e0e73e2a109b79069314b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:90b330bfcf126e1239c4ec3f8402cc5b4066becd3069bd01f26f3ac9c36aabfe
+size 42269
diff --git a/marked/Rel-11/26_series/26975/2120c62a6ad82bcbf85ab00f39f70964_img.jpg b/marked/Rel-11/26_series/26975/2120c62a6ad82bcbf85ab00f39f70964_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a0876bb88c91f7dae0908293eb5fa65bfd939ab2
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/2120c62a6ad82bcbf85ab00f39f70964_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c65c6115cc5478d731cfafaaf7fc794cb47d3d0f2ca13543bf4b88fee1a809a8
+size 49326
diff --git a/marked/Rel-11/26_series/26975/293fb0a508d182b518ea429927dfd343_img.jpg b/marked/Rel-11/26_series/26975/293fb0a508d182b518ea429927dfd343_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7aa4603c75cfa24bc8dfc3dd232d7a15ecfd6765
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/293fb0a508d182b518ea429927dfd343_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b814d4af4d4d4204522877d762e0079fd061e03cfd6bc89b349fdb43cc9fcaf7
+size 54696
diff --git a/marked/Rel-11/26_series/26975/2c5884241ad393e03dd8e4ea25ff74a2_img.jpg b/marked/Rel-11/26_series/26975/2c5884241ad393e03dd8e4ea25ff74a2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b7976456d73f386bd2d544af891e3f0eb572f172
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/2c5884241ad393e03dd8e4ea25ff74a2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0b35fab928a60ec044dfd4673bc52a7313ef537d8fbe39fe58f159e8c1f12e38
+size 54314
diff --git a/marked/Rel-11/26_series/26975/3881b390d52f27a35faedfc170916c86_img.jpg b/marked/Rel-11/26_series/26975/3881b390d52f27a35faedfc170916c86_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f58ca1457a977a3329d650c5e3132c47ba09a046
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/3881b390d52f27a35faedfc170916c86_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a27f9211c570436b85881c6a2e149863313d133e80b1e3cb099c55431922d336
+size 53545
diff --git a/marked/Rel-11/26_series/26975/5314dd284c2a98c866862ee0f0fee301_img.jpg b/marked/Rel-11/26_series/26975/5314dd284c2a98c866862ee0f0fee301_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5cecd4ec51c3b1243e511700f0adac1e5e320879
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/5314dd284c2a98c866862ee0f0fee301_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e4ef2e20c1592d9ee9058bc3a3ef6d4141db82c7ae16e01878cdcc8020b983eb
+size 42650
diff --git a/marked/Rel-11/26_series/26975/595e9fd7e96f6b95bbaa6e6a45c32682_img.jpg b/marked/Rel-11/26_series/26975/595e9fd7e96f6b95bbaa6e6a45c32682_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3aeda527d026ebe10fd40767e61c96d58fa22bf7
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/595e9fd7e96f6b95bbaa6e6a45c32682_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:206b43fd6ee5ced88afe57b889aec29c7bc3274d44ecce40b588cf5526460839
+size 44108
diff --git a/marked/Rel-11/26_series/26975/5a4e62bead259c258d069fd3663ea670_img.jpg b/marked/Rel-11/26_series/26975/5a4e62bead259c258d069fd3663ea670_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4791546a50ae2882635d9499bc218af7c26c5da0
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/5a4e62bead259c258d069fd3663ea670_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:031d57316c4dba4df7f72923ac2386ed3c0b3051cada01cef754c8360b924763
+size 74870
diff --git a/marked/Rel-11/26_series/26975/5b29df6b4f2a461b8c039fe47053fa65_img.jpg b/marked/Rel-11/26_series/26975/5b29df6b4f2a461b8c039fe47053fa65_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..562f72894f33a8a0f01eff883a323cc39f15c220
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/5b29df6b4f2a461b8c039fe47053fa65_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:abfe82a5ae757479ef706a4a1344864759c1ad92493c7f24c26eed26ef88cec2
+size 48839
diff --git a/marked/Rel-11/26_series/26975/68ea9310fb829dd6007635a6cd4ea2ad_img.jpg b/marked/Rel-11/26_series/26975/68ea9310fb829dd6007635a6cd4ea2ad_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ba5beef9d9d7ec26e2d131c39d718abe71ec9d60
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/68ea9310fb829dd6007635a6cd4ea2ad_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f05dd31fd5a00c3198702c15e3724b97c9931600494a276ca5a4a955da01f49e
+size 32074
diff --git a/marked/Rel-11/26_series/26975/6a842e59ecf31b0d6f6721ac4e76f160_img.jpg b/marked/Rel-11/26_series/26975/6a842e59ecf31b0d6f6721ac4e76f160_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..cd1c6e7a556d0d87474a28ffb0bd2d167b9b289f
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/6a842e59ecf31b0d6f6721ac4e76f160_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:71a4889950680ddc18340e6f30ea8550a7caa26d480cce64ed56df5a1580d504
+size 43514
diff --git a/marked/Rel-11/26_series/26975/6dda36bad0978e272ca0420b0902b73a_img.jpg b/marked/Rel-11/26_series/26975/6dda36bad0978e272ca0420b0902b73a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..87ddef83e9cdb6884ca646803556d7054909fedb
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/6dda36bad0978e272ca0420b0902b73a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ce481ed4fda2242ea1dc8d3b42d03110c1db0133d76203b2f0ad6b38b6d4cd93
+size 50140
diff --git a/marked/Rel-11/26_series/26975/730b6615db6d402580db1024a7f4e163_img.jpg b/marked/Rel-11/26_series/26975/730b6615db6d402580db1024a7f4e163_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4e036fbcbe5056750dce10cb89ad9dc071fc8d3d
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/730b6615db6d402580db1024a7f4e163_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d4399610230aa738b505edcb5f896372c89c6ab60550d92755b2c96cdb713138
+size 52181
diff --git a/marked/Rel-11/26_series/26975/75b9cb95f5815d6f3bbe57020a049504_img.jpg b/marked/Rel-11/26_series/26975/75b9cb95f5815d6f3bbe57020a049504_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2a7f34e931904c32c946cd025ebcf3c02ee7a0ff
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/75b9cb95f5815d6f3bbe57020a049504_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0d0a0699d8ddadd06b55fc1cbff5c0cc6c078aba614179211d381b84bfdcae01
+size 39877
diff --git a/marked/Rel-11/26_series/26975/856421a17b9d40f97b994ca38151fb9a_img.jpg b/marked/Rel-11/26_series/26975/856421a17b9d40f97b994ca38151fb9a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a4fd7a540e68006e1e94a22ff6507517956c0e7b
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/856421a17b9d40f97b994ca38151fb9a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c79a9124b2077d7bf0a285732c2e6223d9cede4b8c4314482ad96848c312ef64
+size 46297
diff --git a/marked/Rel-11/26_series/26975/865a630eb1b708bd28250dfeb33dd8f1_img.jpg b/marked/Rel-11/26_series/26975/865a630eb1b708bd28250dfeb33dd8f1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..785f267708ffaea861b909557ed20d503f9b0c61
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/865a630eb1b708bd28250dfeb33dd8f1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6005fba3ec21c8be3527a0becf536de11bf979029fedf2db7e373fc2d903a72a
+size 39458
diff --git a/marked/Rel-11/26_series/26975/8e8ee6d2f8a17f2da03923bc97e226d7_img.jpg b/marked/Rel-11/26_series/26975/8e8ee6d2f8a17f2da03923bc97e226d7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d7a3a3c7371f1e77a4a812d7bf04f87ed96a535e
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/8e8ee6d2f8a17f2da03923bc97e226d7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:779516a240a2441c8f386ebd2d37fb38d969b6083f4865b88cc401801e8c6d05
+size 41884
diff --git a/marked/Rel-11/26_series/26975/9260ae281f6b6470331f4a0f82dbc2b1_img.jpg b/marked/Rel-11/26_series/26975/9260ae281f6b6470331f4a0f82dbc2b1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..92482cda9d5b7507550a4302ab4673e162d75341
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/9260ae281f6b6470331f4a0f82dbc2b1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ed0ff0df4565bcc6a6d02ff8744c61d284bd55e7e38fe252c6fdda16d09d1e0b
+size 51928
diff --git a/marked/Rel-11/26_series/26975/98ea5e21d919b389f3ce8b17ef4e65f6_img.jpg b/marked/Rel-11/26_series/26975/98ea5e21d919b389f3ce8b17ef4e65f6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..85138fd83db4465d3312b34ff80e2a2df25611c5
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/98ea5e21d919b389f3ce8b17ef4e65f6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bdc39f4e841e73a0be0b55b5be7fc7d6b47af5a07b51e35cc976486f08e012fa
+size 53332
diff --git a/marked/Rel-11/26_series/26975/9b79cf921e66c449b06621743d69070d_img.jpg b/marked/Rel-11/26_series/26975/9b79cf921e66c449b06621743d69070d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3d29928d4d3d5d452220e952b47fecc3b00adbeb
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/9b79cf921e66c449b06621743d69070d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:57e644727daf6f9fd7563efb9e4735d3fa29e4f5e15d72c71b7475df49df1f08
+size 43271
diff --git a/marked/Rel-11/26_series/26975/9c888dd6588358989047de6ced8b2bdb_img.jpg b/marked/Rel-11/26_series/26975/9c888dd6588358989047de6ced8b2bdb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..29360793d040b250b953b59b176bca256c1893a9
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/9c888dd6588358989047de6ced8b2bdb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:12985c6dda2d90d1c085bc548f7269d3d21f3f3b92a07576108c01bd21df9732
+size 51908
diff --git a/marked/Rel-11/26_series/26975/9d1abc573e35610946ece87a18cbe862_img.jpg b/marked/Rel-11/26_series/26975/9d1abc573e35610946ece87a18cbe862_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0f15b91cbab082186ed3871757d2e7daa903eea5
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/9d1abc573e35610946ece87a18cbe862_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ad564d866eeefa5b6392cd8c4149cf9f189f953fc07ca3975b1845e6aeefa9c0
+size 52859
diff --git a/marked/Rel-11/26_series/26975/9f92854fe6ecaf47760515c891a4fccc_img.jpg b/marked/Rel-11/26_series/26975/9f92854fe6ecaf47760515c891a4fccc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c0147f3952b825c5eba4926899b1d34c2b8116a5
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/9f92854fe6ecaf47760515c891a4fccc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4a7f8e5035cc6d55397cd10bafbd7c89221556ff76473d6c26abe65e7330f411
+size 43345
diff --git a/marked/Rel-11/26_series/26975/b9d879f357d5f15fac9ea8585b87d0a2_img.jpg b/marked/Rel-11/26_series/26975/b9d879f357d5f15fac9ea8585b87d0a2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..14837729c88764b4fb29fa8f2996d4ec57a74517
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/b9d879f357d5f15fac9ea8585b87d0a2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5e6faeab3710a33cb11b608d59a233068d05c3f0e62b12c79e6d07093150673f
+size 76280
diff --git a/marked/Rel-11/26_series/26975/c531b0e7e06671c980f2ed0d753d2fbc_img.jpg b/marked/Rel-11/26_series/26975/c531b0e7e06671c980f2ed0d753d2fbc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b3de40f99e2b537c5fc1e16b64fa65ff85847708
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/c531b0e7e06671c980f2ed0d753d2fbc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:eaae26c66ef4bc8be49327fced80a5d1024720a1a2b6da5155c7575644191c00
+size 85520
diff --git a/marked/Rel-11/26_series/26975/d4852169b63bedb68b1f3c5b3b9b0cc0_img.jpg b/marked/Rel-11/26_series/26975/d4852169b63bedb68b1f3c5b3b9b0cc0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..517bf1519bcccf23418748dbdcb35dc7e315a4fb
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/d4852169b63bedb68b1f3c5b3b9b0cc0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:16df998535a0f4638747c8aacead18244a15364eb8b0eeadfe5e69225fb6bd08
+size 49777
diff --git a/marked/Rel-11/26_series/26975/d6ef69cf73d5a878b050b2d7599e1816_img.jpg b/marked/Rel-11/26_series/26975/d6ef69cf73d5a878b050b2d7599e1816_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..acd62fc92815f0110989674cf21c9350212fb603
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/d6ef69cf73d5a878b050b2d7599e1816_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a28ef33fae8dba931b0e64a9f6c90c060213e75526efc9c6aabb5f87bfe59332
+size 81046
diff --git a/marked/Rel-11/26_series/26975/e91633da5160c8af51a4ace6d3347f53_img.jpg b/marked/Rel-11/26_series/26975/e91633da5160c8af51a4ace6d3347f53_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..10678ad605cebacd7f80cfd5a573264af5298209
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/e91633da5160c8af51a4ace6d3347f53_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:22a7c3cae258d28c3bd820dceb7051dd784d1de09c7b7d2f6dd3cdff018c3221
+size 58563
diff --git a/marked/Rel-11/26_series/26975/fed39b841ae2dce01088b84bfc1e2789_img.jpg b/marked/Rel-11/26_series/26975/fed39b841ae2dce01088b84bfc1e2789_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2fe69cabde4c25427cebb70be5ee7148bb1382e9
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/fed39b841ae2dce01088b84bfc1e2789_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9846cab4d721b115c7e18da181701fa0e3bfa8cae3a063313fc04e269c83fb2f
+size 40377
diff --git a/marked/Rel-11/26_series/26975/ff532befc868d7000c363fbffd734a6a_img.jpg b/marked/Rel-11/26_series/26975/ff532befc868d7000c363fbffd734a6a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..aab5b754034f783270f8c6a4eea2e5d58f707c31
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/ff532befc868d7000c363fbffd734a6a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5a52fe6743fea2316c7ee4eb89c045c66e1b1a063dd1f9c28f775e8e00d0eaf2
+size 42567
diff --git a/marked/Rel-11/26_series/26975/raw.md b/marked/Rel-11/26_series/26975/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..25d3a306391d73a67aea1aea3403c6246d400183
--- /dev/null
+++ b/marked/Rel-11/26_series/26975/raw.md
@@ -0,0 +1,2217 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|--------------------------------------------------------------------------------|-----------|
+| Foreword ..... | 5 |
+| 1 Scope..... | 6 |
+| 2 References..... | 6 |
+| 3 Definitions and abbreviations ..... | 7 |
+| 3.1 Definitions..... | 7 |
+| 3.2 Abbreviations ..... | 7 |
+| 4 General..... | 9 |
+| 4.1 Project History..... | 9 |
+| 4.2 Overview of the AMR Concept ..... | 9 |
+| 4.3 Functional Description in a GSM System..... | 10 |
+| 4.4 Presentation of the following sections ..... | 12 |
+| 5 Quality in Clean Speech and Error Conditions..... | 13 |
+| 6 Quality under background noise and Errors Conditions..... | 16 |
+| 7 Performances in Tandeming and with variation of the input speech level ..... | 19 |
+| 8 Performances with the Codec Adaptation turned on ..... | 21 |
+| 9 VAD/DTX Performances..... | 23 |
+| 10 Performances with DTMF tones..... | 24 |
+| 11 Transparency to Signaling tones..... | 26 |
+| 12 Performances with special input signals ..... | 27 |
+| 13 Language Dependency..... | 28 |
+| 14 Transmission Delay..... | 28 |
+| 15 Frequency Response ..... | 33 |
+| 16 Complexity..... | 34 |
+|