Searched refs:rbsp (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/media/platform/allegro-dvt/ |
| A D | nal-hevc.c | 40 u8 *p = rbsp->data + DIV_ROUND_UP(rbsp->pos, 8); in nal_hevc_write_start_code_prefix() 58 u8 *p = rbsp->data + DIV_ROUND_UP(rbsp->pos, 8); in nal_hevc_read_start_code_prefix() 90 if (DIV_ROUND_UP(rbsp->pos, 8) > rbsp->size) { in nal_hevc_read_filler_data() 522 struct rbsp rbsp; in nal_hevc_write_vps() local 566 struct rbsp rbsp; in nal_hevc_read_vps() local 617 struct rbsp rbsp; in nal_hevc_write_sps() local 661 struct rbsp rbsp; in nal_hevc_read_sps() local 712 struct rbsp rbsp; in nal_hevc_write_pps() local 756 struct rbsp rbsp; in nal_hevc_read_pps() local 805 struct rbsp rbsp; in nal_hevc_write_filler() local [all …]
|
| A D | nal-h264.c | 39 u8 *p = rbsp->data + DIV_ROUND_UP(rbsp->pos, 8); in nal_h264_write_start_code_prefix() 57 u8 *p = rbsp->data + DIV_ROUND_UP(rbsp->pos, 8); in nal_h264_read_start_code_prefix() 75 u8 *p = rbsp->data + DIV_ROUND_UP(rbsp->pos, 8); in nal_h264_write_filler_data() 79 i = rbsp->size - DIV_ROUND_UP(rbsp->pos, 8) - 1; in nal_h264_write_filler_data() 89 if (DIV_ROUND_UP(rbsp->pos, 8) > rbsp->size) { in nal_h264_read_filler_data() 356 struct rbsp rbsp; in nal_h264_write_sps() local 397 struct rbsp rbsp; in nal_h264_read_sps() local 447 struct rbsp rbsp; in nal_h264_write_pps() local 489 struct rbsp rbsp; in nal_h264_read_pps() local 531 struct rbsp rbsp; in nal_h264_write_filler() local [all …]
|
| A D | nal-rbsp.c | 22 if (!rbsp) in rbsp_init() 32 void rbsp_unsupported(struct rbsp *rbsp) in rbsp_unsupported() argument 68 static inline int rbsp_read_bit(struct rbsp *rbsp) in rbsp_read_bit() argument 274 void rbsp_bit(struct rbsp *rbsp, int *value) in rbsp_bit() argument 278 rbsp->error = rbsp->ops->rbsp_bit(rbsp, value); in rbsp_bit() 285 rbsp->error = rbsp->ops->rbsp_bits(rbsp, n, value); in rbsp_bits() 292 rbsp->error = rbsp->ops->rbsp_uev(rbsp, value); in rbsp_uev() 295 void rbsp_sev(struct rbsp *rbsp, int *value) in rbsp_sev() argument 299 rbsp->error = rbsp->ops->rbsp_sev(rbsp, value); in rbsp_sev() 302 void rbsp_trailing_bits(struct rbsp *rbsp) in rbsp_trailing_bits() argument [all …]
|
| A D | nal-rbsp.h | 12 struct rbsp; 15 int (*rbsp_bit)(struct rbsp *rbsp, int *val); 16 int (*rbsp_bits)(struct rbsp *rbsp, int n, unsigned int *val); 17 int (*rbsp_uev)(struct rbsp *rbsp, unsigned int *val); 18 int (*rbsp_sev)(struct rbsp *rbsp, int *val); 52 void rbsp_unsupported(struct rbsp *rbsp); 54 void rbsp_bit(struct rbsp *rbsp, int *value); 55 void rbsp_bits(struct rbsp *rbsp, int n, int *value); 56 void rbsp_uev(struct rbsp *rbsp, unsigned int *value); 57 void rbsp_sev(struct rbsp *rbsp, int *value); [all …]
|
| A D | Makefile | 4 allegro-objs += nal-rbsp.o nal-h264.o nal-hevc.o
|
| /linux/drivers/media/platform/coda/ |
| A D | coda-h264.c | 115 struct rbsp { struct 121 static inline int rbsp_read_bit(struct rbsp *rbsp) in rbsp_read_bit() argument 126 if (ofs >= rbsp->size) in rbsp_read_bit() 132 static inline int rbsp_write_bit(struct rbsp *rbsp, int bit) in rbsp_write_bit() argument 137 if (ofs >= rbsp->size) in rbsp_write_bit() 146 static inline int rbsp_read_bits(struct rbsp *rbsp, int num, int *val) in rbsp_read_bits() argument 167 static int rbsp_write_bits(struct rbsp *rbsp, int num, int value) in rbsp_write_bits() argument 180 static int rbsp_read_uev(struct rbsp *rbsp, unsigned int *val) in rbsp_read_uev() argument 203 static int rbsp_write_uev(struct rbsp *rbsp, unsigned int value) in rbsp_write_uev() argument 219 static int rbsp_read_sev(struct rbsp *rbsp, int *val) in rbsp_read_sev() argument [all …]
|
Completed in 14 milliseconds