/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
H A D | onyxd_if.c | 41 extern void vp8cx_init_de_quantizer(VP8D_COMP *pbi); 45 static void remove_decompressor(VP8D_COMP *pbi) argument 48 vp8_de_alloc_overlap_lists(pbi); 50 vp8_remove_common(&pbi->common); 51 vpx_free(pbi); 56 VP8D_COMP *pbi = vpx_memalign(32, sizeof(VP8D_COMP)); local 58 if (!pbi) 61 vpx_memset(pbi, 0, sizeof(VP8D_COMP)); 63 if (setjmp(pbi->common.error.jmp)) 65 pbi 110 vp8dx_get_reference(VP8D_COMP *pbi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument 141 vp8dx_set_reference(VP8D_COMP *pbi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument 267 check_fragments_for_errors(VP8D_COMP *pbi) argument 306 vp8dx_receive_compressed_data(VP8D_COMP *pbi, size_t size, const uint8_t *source, int64_t time_stamp) argument 420 vp8dx_get_raw_frame(VP8D_COMP *pbi, YV12_BUFFER_CONFIG *sd, int64_t *time_stamp, int64_t *time_end_stamp, vp8_ppflags_t *flags) argument 509 VP8D_COMP *pbi = fb->pbi[0]; local [all...] |
H A D | onyxd_int.h | 62 struct VP8D_COMP *pbi[MAX_FB_MT_DEC]; member in struct:frame_buffers 142 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR,\ 150 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR,\
|
H A D | decodemv.c | 49 static void read_kf_modes(VP8D_COMP *pbi, MODE_INFO *mi) argument 51 vp8_reader *const bc = & pbi->mbc[8]; 52 const int mis = pbi->common.mode_info_stride; 151 static void mb_mode_mv_init(VP8D_COMP *pbi) argument 153 vp8_reader *const bc = & pbi->mbc[8]; 154 MV_CONTEXT *const mvc = pbi->common.fc.mvc; 160 pbi->mvs_corrupt_from_mb = UINT_MAX; 163 pbi->common.mb_no_coeff_skip = (int)vp8_read_bit(bc); 165 pbi->prob_skip_false = 0; 166 if (pbi 339 read_mb_modes_mv(VP8D_COMP *pbi, MODE_INFO *mi, MB_MODE_INFO *mbmi) argument 591 decode_mb_mode_mvs(VP8D_COMP *pbi, MODE_INFO *mi) argument 617 vp8_decode_mode_mvs(VP8D_COMP *pbi) argument [all...] |
H A D | threading.c | 39 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) argument 43 VP8_COMMON *const pc = & pbi->common; 74 mbd->current_bc = &pbi->mbc[0]; 89 pbi->mt_current_mb_col[i] = -1; 92 static void mt_decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, argument 108 eobtotal = vp8_decode_mb_tokens(pbi, xd); 117 vp8_mb_init_dequantizer(pbi, xd); 122 if(pbi->ec_active) 128 throw_residual = (!pbi 296 mt_decode_mb_rows(VP8D_COMP *pbi, MACROBLOCKD *xd, int start_mb_row) argument 623 VP8D_COMP *pbi = (VP8D_COMP *)(((DECODETHREAD_DATA *)p_data)->ptr1); local 650 vp8_decoder_create_threads(VP8D_COMP *pbi) argument 695 vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows) argument 775 vp8mt_alloc_temp_buffers(VP8D_COMP *pbi, int width, int prev_mb_rows) argument 828 vp8_decoder_remove_threads(VP8D_COMP *pbi) argument 865 vp8mt_decode_mb_rows( VP8D_COMP *pbi, MACROBLOCKD *xd) argument [all...] |
H A D | decodeframe.c | 40 void vp8cx_init_de_quantizer(VP8D_COMP *pbi) argument 43 VP8_COMMON *const pc = & pbi->common; 57 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd) argument 62 VP8_COMMON *const pc = & pbi->common; 96 static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, argument 112 eobtotal = vp8_decode_mb_tokens(pbi, xd); 121 vp8_mb_init_dequantizer(pbi, xd); 126 if(pbi->ec_active) 132 throw_residual = (!pbi->independent_partitions && 133 pbi 499 decode_mb_rows(VP8D_COMP *pbi) argument 746 read_partition_size(VP8D_COMP *pbi, const unsigned char *cx_size) argument 765 read_available_partition_size( VP8D_COMP *pbi, const unsigned char *token_part_sizes, const unsigned char *fragment_start, const unsigned char *first_fragment_end, const unsigned char *fragment_end, int i, int num_part) argument 813 setup_token_decoder(VP8D_COMP *pbi, const unsigned char* token_part_sizes) argument 902 init_frame(VP8D_COMP *pbi) argument 971 vp8_decode_frame(VP8D_COMP *pbi) argument [all...] |
H A D | error_concealment.c | 47 int vp8_alloc_overlap_lists(VP8D_COMP *pbi) argument 49 if (pbi->overlaps != NULL) 51 vpx_free(pbi->overlaps); 52 pbi->overlaps = NULL; 55 pbi->overlaps = vpx_calloc(pbi->common.mb_rows * pbi->common.mb_cols, 58 if (pbi->overlaps == NULL) 64 void vp8_de_alloc_overlap_lists(VP8D_COMP *pbi) argument 66 vpx_free(pbi 409 vp8_estimate_missing_mvs(VP8D_COMP *pbi) argument [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
H A D | vp9_decoder.c | 114 VP9D_COMP *const pbi = vpx_memalign(32, sizeof(VP9D_COMP)); local 115 VP9_COMMON *const cm = pbi ? &pbi->common : NULL; 120 vp9_zero(*pbi); 127 vp9_remove_decompressor(pbi); 136 pbi->oxcf = *oxcf; 137 pbi->ready_for_new_data = 1; 148 pbi->decoded_key_frame = 0; 150 vp9_worker_init(&pbi->lf_worker); 152 return pbi; 155 vp9_remove_decompressor(VP9D_COMP *pbi) argument 185 vp9_copy_reference_dec(VP9D_COMP *pbi, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument 255 vp9_get_reference_dec(VP9D_COMP *pbi, int index, YV12_BUFFER_CONFIG **fb) argument 266 swap_frame_buffers(VP9D_COMP *pbi) argument 290 vp9_receive_compressed_data(VP9D_COMP *pbi, size_t size, const uint8_t **psource, int64_t time_stamp) argument 406 vp9_get_raw_frame(VP9D_COMP *pbi, YV12_BUFFER_CONFIG *sd, int64_t *time_stamp, int64_t *time_end_stamp, vp9_ppflags_t *flags) argument [all...] |
H A D | vp9_dthread.c | 136 void vp9_loop_filter_frame_mt(VP9D_COMP *pbi, argument 150 VP9LfSync *const lf_sync = &pbi->lf_row_sync; 170 vpx_memset(pbi->lf_row_sync.cur_sb_col, -1, 171 sizeof(*pbi->lf_row_sync.cur_sb_col) * sb_rows); 174 for (i = 0; i < pbi->num_tile_workers; ++i) { 175 VP9Worker *const worker = &pbi->tile_workers[i]; 184 lf_data->xd = pbi->mb; 189 lf_data->lf_sync = &pbi->lf_row_sync; 190 lf_data->num_lf_workers = pbi->num_tile_workers; 193 if (i == pbi [all...] |
H A D | vp9_decodeframe.c | 676 static void decode_tile(VP9D_COMP *pbi, const TileInfo *const tile, argument 678 const int num_threads = pbi->oxcf.max_threads; 679 VP9_COMMON *const cm = &pbi->common; 681 MACROBLOCKD *xd = &pbi->mb; 683 if (pbi->do_loopfilter_inline) { 684 LFWorkerData *const lf_data = (LFWorkerData*)pbi->lf_worker.data1; 687 lf_data->xd = pbi->mb; 703 if (pbi->do_loopfilter_inline) { 705 LFWorkerData *const lf_data = (LFWorkerData*)pbi->lf_worker.data1; 713 vp9_worker_sync(&pbi 781 decode_tiles(VP9D_COMP *pbi, const uint8_t *data, const uint8_t *data_end) argument 870 decode_tiles_mt(VP9D_COMP *pbi, const uint8_t *data, const uint8_t *data_end) argument 1015 read_uncompressed_header(VP9D_COMP *pbi, struct vp9_read_bit_buffer *rb) argument 1152 read_compressed_header(VP9D_COMP *pbi, const uint8_t *data, size_t partition_size) argument 1252 vp9_decode_frame(VP9D_COMP *pbi, const uint8_t *data, const uint8_t *data_end, const uint8_t **p_data_end) argument [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/ |
H A D | vp8_dx_iface.c | 455 ctx->yv12_frame_buffers.pbi[0]->decrypt_cb = ctx->decrypt_cb; 456 ctx->yv12_frame_buffers.pbi[0]->decrypt_state = ctx->decrypt_state; 464 VP8D_COMP *pbi = ctx->yv12_frame_buffers.pbi[0]; local 467 VP8_COMMON *const pc = & pbi->common; 468 MACROBLOCKD *const xd = & pbi->mb; 477 if (setjmp(pbi->common.error.jmp)) 479 pbi->common.error.setjmp = 0; 484 pbi->common.error.setjmp = 1; 508 for (i = 0; i < pbi 830 VP8D_COMP *pbi = (VP8D_COMP *)ctx->yv12_frame_buffers.pbi[0]; local 851 VP8D_COMP *pbi = (VP8D_COMP *)ctx->yv12_frame_buffers.pbi[0]; local 871 VP8D_COMP *pbi = (VP8D_COMP *)ctx->yv12_frame_buffers.pbi[0]; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
H A D | vp9_dx_iface.c | 31 struct VP9Decompressor *pbi; member in struct:vpx_codec_alg_priv 82 if (ctx->pbi) 83 vp9_remove_decompressor(ctx->pbi); 208 VP9D_COMP *const pbi = (VP9D_COMP*)optr; local 209 VP9_COMMON *const cm = &pbi->common; 228 ctx->pbi = optr; 234 if (!res && ctx->pbi) { 235 VP9D_COMP *const pbi = ctx->pbi; local 236 VP9_COMMON *const cm = &pbi [all...] |