Searched refs:hrd (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/ |
| H A D | h264d_sps.c | 46 static MPP_RET read_hrd_parameters(BitReadCtx_t *p_bitctx, H264_HRD_t *hrd) in read_hrd_parameters() argument 50 READ_UE(p_bitctx, &hrd->cpb_cnt_minus1); in read_hrd_parameters() 51 VAL_CHECK(ret, hrd->cpb_cnt_minus1 < MAXIMUMVALUEOFcpb_cnt); in read_hrd_parameters() 52 hrd->cpb_cnt_minus1 += 1; in read_hrd_parameters() 53 READ_BITS(p_bitctx, 4, &hrd->bit_rate_scale); in read_hrd_parameters() 54 READ_BITS(p_bitctx, 4, &hrd->cpb_size_scale); in read_hrd_parameters() 55 for (SchedSelIdx = 0; SchedSelIdx < hrd->cpb_cnt_minus1; SchedSelIdx++) { in read_hrd_parameters() 56 READ_UE(p_bitctx, &hrd->bit_rate_value_minus1[SchedSelIdx]); in read_hrd_parameters() 57 READ_UE(p_bitctx, &hrd->cpb_size_value_minus1[SchedSelIdx]); in read_hrd_parameters() 58 READ_ONEBIT(p_bitctx, &hrd->cbr_flag[SchedSelIdx]); in read_hrd_parameters() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/allegro-dvt/ |
| H A D | nal-h264.c | 496 struct nal_h264_hrd_parameters *hrd) in nal_h264_rbsp_hrd_parameters() argument 500 if (!hrd) { in nal_h264_rbsp_hrd_parameters() 505 rbsp_uev(rbsp, &hrd->cpb_cnt_minus1); in nal_h264_rbsp_hrd_parameters() 506 rbsp_bits(rbsp, 4, &hrd->bit_rate_scale); in nal_h264_rbsp_hrd_parameters() 507 rbsp_bits(rbsp, 4, &hrd->cpb_size_scale); in nal_h264_rbsp_hrd_parameters() 509 for (i = 0; i <= hrd->cpb_cnt_minus1; i++) { in nal_h264_rbsp_hrd_parameters() 510 rbsp_uev(rbsp, &hrd->bit_rate_value_minus1[i]); in nal_h264_rbsp_hrd_parameters() 511 rbsp_uev(rbsp, &hrd->cpb_size_value_minus1[i]); in nal_h264_rbsp_hrd_parameters() 512 rbsp_bit(rbsp, &hrd->cbr_flag[i]); in nal_h264_rbsp_hrd_parameters() 515 rbsp_bits(rbsp, 5, &hrd->initial_cpb_removal_delay_length_minus1); in nal_h264_rbsp_hrd_parameters() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/h264/ |
| H A D | h264e_sps.h | 70 } hrd; member
|