@@ -32,8 +32,8 @@
typedef struct H2645NAL {
uint8_t *rbsp_buffer;
- int size;
const uint8_t *data;
+ int size;
/**
* Size, in bits, of just the data, excluding the stop bit and any trailing
@@ -41,16 +41,16 @@ typedef struct H2645NAL {
*/
int size_bits;
- int raw_size;
- const uint8_t *raw_data;
-
- GetBitContext gb;
-
/**
* NAL unit type
*/
int type;
+ int raw_size;
+ const uint8_t *raw_data;
+
+ GetBitContext gb;
+
/**
* HEVC only, nuh_temporal_id_plus_1 - 1
*/
@@ -61,13 +61,14 @@ typedef struct H2645NAL {
*/
int nuh_layer_id;
- int skipped_bytes;
- int skipped_bytes_pos_size;
- int *skipped_bytes_pos;
/**
* H.264 only, nal_ref_idc
*/
int ref_idc;
+
+ int skipped_bytes;
+ int skipped_bytes_pos_size;
+ int *skipped_bytes_pos;
} H2645NAL;
typedef struct H2645RBSP {