Home
last modified time | relevance | path

Searched refs:pbi (Results 1 – 16 of 16) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Donyxd_if.c41 extern void vp8cx_init_de_quantizer(VP8D_COMP *pbi);
45 static void remove_decompressor(VP8D_COMP *pbi) in remove_decompressor() argument
48 vp8_de_alloc_overlap_lists(pbi); in remove_decompressor()
50 vp8_remove_common(&pbi->common); in remove_decompressor()
51 vpx_free(pbi); in remove_decompressor()
56 VP8D_COMP *pbi = vpx_memalign(32, sizeof(VP8D_COMP)); in create_decompressor() local
58 if (!pbi) in create_decompressor()
61 vpx_memset(pbi, 0, sizeof(VP8D_COMP)); in create_decompressor()
63 if (setjmp(pbi->common.error.jmp)) in create_decompressor()
65 pbi->common.error.setjmp = 0; in create_decompressor()
[all …]
Dthreading.c39 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd);
41 static void setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, MB_ROW_DEC *mbrd, int count) in setup_decoding_thread_data() argument
43 VP8_COMMON *const pc = & pbi->common; in setup_decoding_thread_data()
74 mbd->current_bc = &pbi->mbc[0]; in setup_decoding_thread_data()
89 pbi->mt_current_mb_col[i] = -1; in setup_decoding_thread_data()
92 static void mt_decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, in mt_decode_macroblock() argument
108 eobtotal = vp8_decode_mb_tokens(pbi, xd); in mt_decode_macroblock()
117 vp8_mb_init_dequantizer(pbi, xd); in mt_decode_macroblock()
122 if(pbi->ec_active) in mt_decode_macroblock()
128 throw_residual = (!pbi->independent_partitions && in mt_decode_macroblock()
[all …]
Ddecodemv.c49 static void read_kf_modes(VP8D_COMP *pbi, MODE_INFO *mi) in read_kf_modes() argument
51 vp8_reader *const bc = & pbi->mbc[8]; in read_kf_modes()
52 const int mis = pbi->common.mode_info_stride; in read_kf_modes()
151 static void mb_mode_mv_init(VP8D_COMP *pbi) in mb_mode_mv_init() argument
153 vp8_reader *const bc = & pbi->mbc[8]; in mb_mode_mv_init()
154 MV_CONTEXT *const mvc = pbi->common.fc.mvc; in mb_mode_mv_init()
160 pbi->mvs_corrupt_from_mb = UINT_MAX; in mb_mode_mv_init()
163 pbi->common.mb_no_coeff_skip = (int)vp8_read_bit(bc); in mb_mode_mv_init()
165 pbi->prob_skip_false = 0; in mb_mode_mv_init()
166 if (pbi->common.mb_no_coeff_skip) in mb_mode_mv_init()
[all …]
Ddecodeframe.c40 void vp8cx_init_de_quantizer(VP8D_COMP *pbi) in vp8cx_init_de_quantizer() argument
43 VP8_COMMON *const pc = & pbi->common; in vp8cx_init_de_quantizer()
57 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd) in vp8_mb_init_dequantizer() argument
62 VP8_COMMON *const pc = & pbi->common; in vp8_mb_init_dequantizer()
96 static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, in decode_macroblock() argument
112 eobtotal = vp8_decode_mb_tokens(pbi, xd); in decode_macroblock()
121 vp8_mb_init_dequantizer(pbi, xd); in decode_macroblock()
126 if(pbi->ec_active) in decode_macroblock()
132 throw_residual = (!pbi->independent_partitions && in decode_macroblock()
133 pbi->frame_corrupt_residual); in decode_macroblock()
[all …]
Ddecoderthreading.h19 void vp8mt_decode_mb_rows(VP8D_COMP *pbi, MACROBLOCKD *xd);
20 void vp8_decoder_remove_threads(VP8D_COMP *pbi);
21 void vp8_decoder_create_threads(VP8D_COMP *pbi);
22 void vp8mt_alloc_temp_buffers(VP8D_COMP *pbi, int width, int prev_mb_rows);
23 void vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows);
Derror_concealment.h23 int vp8_alloc_overlap_lists(VP8D_COMP *pbi);
26 void vp8_de_alloc_overlap_lists(VP8D_COMP *pbi);
29 void vp8_estimate_missing_mvs(VP8D_COMP *pbi);
Derror_concealment.c47 int vp8_alloc_overlap_lists(VP8D_COMP *pbi) in vp8_alloc_overlap_lists() argument
49 if (pbi->overlaps != NULL) in vp8_alloc_overlap_lists()
51 vpx_free(pbi->overlaps); in vp8_alloc_overlap_lists()
52 pbi->overlaps = NULL; in vp8_alloc_overlap_lists()
55 pbi->overlaps = vpx_calloc(pbi->common.mb_rows * pbi->common.mb_cols, in vp8_alloc_overlap_lists()
58 if (pbi->overlaps == NULL) in vp8_alloc_overlap_lists()
64 void vp8_de_alloc_overlap_lists(VP8D_COMP *pbi) in vp8_de_alloc_overlap_lists() argument
66 vpx_free(pbi->overlaps); in vp8_de_alloc_overlap_lists()
67 pbi->overlaps = NULL; in vp8_de_alloc_overlap_lists()
409 void vp8_estimate_missing_mvs(VP8D_COMP *pbi) in vp8_estimate_missing_mvs() argument
[all …]
Donyxd_int.h62 struct VP8D_COMP *pbi[MAX_FB_MT_DEC]; member
142 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR,\
150 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR,\
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decoder.c114 VP9D_COMP *const pbi = vpx_memalign(32, sizeof(VP9D_COMP)); in vp9_create_decompressor() local
115 VP9_COMMON *const cm = pbi ? &pbi->common : NULL; in vp9_create_decompressor()
120 vp9_zero(*pbi); in vp9_create_decompressor()
127 vp9_remove_decompressor(pbi); in vp9_create_decompressor()
136 pbi->oxcf = *oxcf; in vp9_create_decompressor()
137 pbi->ready_for_new_data = 1; in vp9_create_decompressor()
148 pbi->decoded_key_frame = 0; in vp9_create_decompressor()
150 vp9_worker_init(&pbi->lf_worker); in vp9_create_decompressor()
152 return pbi; in vp9_create_decompressor()
155 void vp9_remove_decompressor(VP9D_COMP *pbi) { in vp9_remove_decompressor() argument
[all …]
Dvp9_decoder.h66 int vp9_receive_compressed_data(struct VP9Decompressor *pbi,
70 int vp9_get_raw_frame(struct VP9Decompressor *pbi,
75 vpx_codec_err_t vp9_copy_reference_dec(struct VP9Decompressor *pbi,
83 int vp9_get_reference_dec(struct VP9Decompressor *pbi,
89 void vp9_remove_decompressor(struct VP9Decompressor *pbi);
Dvp9_dthread.c136 void vp9_loop_filter_frame_mt(VP9D_COMP *pbi, in vp9_loop_filter_frame_mt() argument
150 VP9LfSync *const lf_sync = &pbi->lf_row_sync; in vp9_loop_filter_frame_mt()
170 vpx_memset(pbi->lf_row_sync.cur_sb_col, -1, in vp9_loop_filter_frame_mt()
171 sizeof(*pbi->lf_row_sync.cur_sb_col) * sb_rows); in vp9_loop_filter_frame_mt()
174 for (i = 0; i < pbi->num_tile_workers; ++i) { in vp9_loop_filter_frame_mt()
175 VP9Worker *const worker = &pbi->tile_workers[i]; in vp9_loop_filter_frame_mt()
184 lf_data->xd = pbi->mb; in vp9_loop_filter_frame_mt()
189 lf_data->lf_sync = &pbi->lf_row_sync; in vp9_loop_filter_frame_mt()
190 lf_data->num_lf_workers = pbi->num_tile_workers; in vp9_loop_filter_frame_mt()
193 if (i == pbi->num_tile_workers - 1) { in vp9_loop_filter_frame_mt()
[all …]
Dvp9_decodeframe.c676 static void decode_tile(VP9D_COMP *pbi, const TileInfo *const tile, in decode_tile() argument
678 const int num_threads = pbi->oxcf.max_threads; in decode_tile()
679 VP9_COMMON *const cm = &pbi->common; in decode_tile()
681 MACROBLOCKD *xd = &pbi->mb; in decode_tile()
683 if (pbi->do_loopfilter_inline) { in decode_tile()
684 LFWorkerData *const lf_data = (LFWorkerData*)pbi->lf_worker.data1; in decode_tile()
687 lf_data->xd = pbi->mb; in decode_tile()
703 if (pbi->do_loopfilter_inline) { in decode_tile()
705 LFWorkerData *const lf_data = (LFWorkerData*)pbi->lf_worker.data1; in decode_tile()
713 vp9_worker_sync(&pbi->lf_worker); in decode_tile()
[all …]
Dvp9_decodeframe.h24 int vp9_decode_frame(struct VP9Decompressor *pbi,
Dvp9_dthread.h53 void vp9_loop_filter_frame_mt(struct VP9Decompressor *pbi,
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/
Dvp8_dx_iface.c455 ctx->yv12_frame_buffers.pbi[0]->decrypt_cb = ctx->decrypt_cb; in vp8_decode()
456 ctx->yv12_frame_buffers.pbi[0]->decrypt_state = ctx->decrypt_state; in vp8_decode()
464 VP8D_COMP *pbi = ctx->yv12_frame_buffers.pbi[0]; in vp8_decode() local
467 VP8_COMMON *const pc = & pbi->common; in vp8_decode()
468 MACROBLOCKD *const xd = & pbi->mb; in vp8_decode()
477 if (setjmp(pbi->common.error.jmp)) in vp8_decode()
479 pbi->common.error.setjmp = 0; in vp8_decode()
484 pbi->common.error.setjmp = 1; in vp8_decode()
508 for (i = 0; i < pbi->allocated_decoding_thread_count; i++) in vp8_decode()
510 pbi->mb_row_di[i].mbd.dst = pc->yv12_fb[pc->new_fb_idx]; in vp8_decode()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_dx_iface.c31 struct VP9Decompressor *pbi; member
82 if (ctx->pbi) in vp9_destroy()
83 vp9_remove_decompressor(ctx->pbi); in vp9_destroy()
208 VP9D_COMP *const pbi = (VP9D_COMP*)optr; in decode_one() local
209 VP9_COMMON *const cm = &pbi->common; in decode_one()
228 ctx->pbi = optr; in decode_one()
234 if (!res && ctx->pbi) { in decode_one()
235 VP9D_COMP *const pbi = ctx->pbi; in decode_one() local
236 VP9_COMMON *const cm = &pbi->common; in decode_one()
261 if (vp9_receive_compressed_data(pbi, data_sz, data, deadline)) in decode_one()
[all …]