Searched refs:bit_ctx (Results 1 – 10 of 10) sorted by relevance
| /rockchip-linux_mpp/mpp/codec/dec/vp8/ |
| H A D | vp8d_parser.c | 38 static void vp8hwdBoolStart(vpBoolCoder_t *bit_ctx, RK_U8 *buffer, RK_U32 len) in vp8hwdBoolStart() argument 41 bit_ctx->lowvalue = 0; in vp8hwdBoolStart() 42 bit_ctx->range = 255; in vp8hwdBoolStart() 43 bit_ctx->count = 8; in vp8hwdBoolStart() 44 bit_ctx->buffer = buffer; in vp8hwdBoolStart() 45 bit_ctx->pos = 0; in vp8hwdBoolStart() 47 bit_ctx->value = (bit_ctx->buffer[0] << 24) + (bit_ctx->buffer[1] << 16) in vp8hwdBoolStart() 48 + (bit_ctx->buffer[2] << 8) + (bit_ctx->buffer[3]); in vp8hwdBoolStart() 50 bit_ctx->pos += 4; in vp8hwdBoolStart() 52 bit_ctx->streamEndPos = len; in vp8hwdBoolStart() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/h263/ |
| H A D | h263d_parser.c | 84 BitReadCtx_t *bit_ctx; member 216 BitReadCtx_t *bit_ctx = mpp_calloc(BitReadCtx_t, 1); in mpp_h263_parser_init() local 220 if (NULL == p || NULL == bit_ctx || NULL == syntax) { in mpp_h263_parser_init() 224 if (bit_ctx) in mpp_h263_parser_init() 225 mpp_free(bit_ctx); in mpp_h263_parser_init() 235 p->bit_ctx = bit_ctx; in mpp_h263_parser_init() 251 if (p->bit_ctx) { in mpp_h263_parser_deinit() 252 mpp_free(p->bit_ctx); in mpp_h263_parser_deinit() 253 p->bit_ctx = NULL; in mpp_h263_parser_deinit() 406 BitReadCtx_t *gb = p->bit_ctx; in mpp_h263_parser_decode() [all …]
|
| /rockchip-linux_mpp/mpp/codec/enc/h264/ |
| H A D | h264e_sei.c | 49 MppWriteCtx bit_ctx; in h264e_sei_recovery_point_to_packet() local 50 MppWriteCtx *bit = &bit_ctx; in h264e_sei_recovery_point_to_packet() 112 MppWriteCtx bit_ctx; in h264e_sei_to_packet() local 113 MppWriteCtx *bit = &bit_ctx; in h264e_sei_to_packet()
|
| H A D | h264e_pps.c | 129 MppWriteCtx bit_ctx; in h264e_pps_to_packet() local 130 MppWriteCtx *bit = &bit_ctx; in h264e_pps_to_packet()
|
| H A D | h264e_sps.c | 262 MppWriteCtx bit_ctx; in h264e_sps_to_packet() local 263 MppWriteCtx *bit = &bit_ctx; in h264e_sps_to_packet()
|
| /rockchip-linux_mpp/mpp/codec/dec/jpeg/ |
| H A D | jpegd_parser.c | 192 BitReadCtx_t *gb = ctx->bit_ctx; in jpegd_skip_section() 214 BitReadCtx_t *gb = ctx->bit_ctx; in jpegd_decode_dht() 318 BitReadCtx_t *gb = ctx->bit_ctx; in jpegd_decode_dqt() 394 BitReadCtx_t *gb = ctx->bit_ctx; in jpegd_decode_sof() 487 BitReadCtx_t *gb = ctx->bit_ctx; in jpegd_decode_sos() 577 BitReadCtx_t *gb = ctx->bit_ctx; in jpegd_decode_dri() 740 BitReadCtx_t *gb = ctx->bit_ctx; in jpegd_decode_frame() 887 buf_ptr = ctx->bit_ctx->data_; in jpegd_decode_frame() 1172 if (JpegCtx->bit_ctx) { in jpegd_deinit() 1173 mpp_free(JpegCtx->bit_ctx); in jpegd_deinit() [all …]
|
| H A D | jpegd_parser.h | 147 BitReadCtx_t *bit_ctx; member
|
| /rockchip-linux_mpp/mpp/codec/enc/jpeg/ |
| H A D | jpege_api_v2.c | 118 MppWriteCtx bit_ctx; in jpege_start() local 119 MppWriteCtx *bits = &bit_ctx; in jpege_start() 303 MppWriteCtx bit_ctx; in jpege_add_Prefix() local 304 MppWriteCtx *bits = &bit_ctx; in jpege_add_Prefix()
|
| /rockchip-linux_mpp/mpp/codec/dec/mpg4/ |
| H A D | mpg4d_parser.c | 176 BitReadCtx_t *bit_ctx; member 1059 BitReadCtx_t *bit_ctx = mpp_calloc(BitReadCtx_t, 1); in mpp_mpg4_parser_init() local 1066 if (NULL == p || NULL == bit_ctx || NULL == syntax) { in mpp_mpg4_parser_init() 1070 if (bit_ctx) in mpp_mpg4_parser_init() 1071 mpp_free(bit_ctx); in mpp_mpg4_parser_init() 1083 p->bit_ctx = bit_ctx; in mpp_mpg4_parser_init() 1105 if (p->bit_ctx) { in mpp_mpg4_parser_deinit() 1106 mpp_free(p->bit_ctx); in mpp_mpg4_parser_deinit() 1107 p->bit_ctx = NULL; in mpp_mpg4_parser_deinit() 1242 BitReadCtx_t *gb = p->bit_ctx; in mpp_mpg4_parser_decode() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/av1/ |
| H A D | av1d_cbs.c | 2406 MppWriteCtx bit_ctx; in mpp_av1_get_dlby_rpu() local 2408 mpp_writer_init(&bit_ctx, hdr_dynamic_meta->data, SZ_1K); in mpp_av1_get_dlby_rpu() 2410 mpp_writer_put_raw_bits(&bit_ctx, 0, 24); in mpp_av1_get_dlby_rpu() 2411 mpp_writer_put_raw_bits(&bit_ctx, 1, 8); in mpp_av1_get_dlby_rpu() 2412 mpp_writer_put_raw_bits(&bit_ctx, 0x19, 8); in mpp_av1_get_dlby_rpu() 2417 mpp_writer_put_bits(&bit_ctx, data, 8); in mpp_av1_get_dlby_rpu() 2420 hdr_dynamic_meta->size = mpp_writer_bytes(&bit_ctx); in mpp_av1_get_dlby_rpu()
|