/external/libvpx/libvpx/vp8/decoder/ |
D | onyxd_if.c | 58 static void remove_decompressor(VP8D_COMP *pbi) { in remove_decompressor() argument 60 vp8_de_alloc_overlap_lists(pbi); in remove_decompressor() 62 vp8_remove_common(&pbi->common); in remove_decompressor() 63 vpx_free(pbi); in remove_decompressor() 67 VP8D_COMP *pbi = vpx_memalign(32, sizeof(VP8D_COMP)); in create_decompressor() local 69 if (!pbi) return NULL; in create_decompressor() 71 memset(pbi, 0, sizeof(VP8D_COMP)); in create_decompressor() 73 if (setjmp(pbi->common.error.jmp)) { in create_decompressor() 74 pbi->common.error.setjmp = 0; in create_decompressor() 75 remove_decompressor(pbi); in create_decompressor() [all …]
|
D | threading.c | 40 static void setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, in setup_decoding_thread_data() argument 42 VP8_COMMON *const pc = &pbi->common; in setup_decoding_thread_data() 70 mbd->current_bc = &pbi->mbc[0]; in setup_decoding_thread_data() 83 vpx_atomic_store_release(&pbi->mt_current_mb_col[i], -1); in setup_decoding_thread_data() 86 static void mt_decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, in mt_decode_macroblock() argument 100 eobtotal = vp8_decode_mb_tokens(pbi, xd); in mt_decode_macroblock() 108 if (xd->segmentation_enabled) vp8_mb_init_dequantizer(pbi, xd); in mt_decode_macroblock() 112 if (pbi->ec_active) { in mt_decode_macroblock() 118 (!pbi->independent_partitions && pbi->frame_corrupt_residual); in mt_decode_macroblock() 121 if ((mb_idx >= pbi->mvs_corrupt_from_mb || throw_residual)) { in mt_decode_macroblock() [all …]
|
D | decodeframe.c | 42 void vp8cx_init_de_quantizer(VP8D_COMP *pbi) { in vp8cx_init_de_quantizer() argument 44 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 61 VP8_COMMON *const pc = &pbi->common; in vp8_mb_init_dequantizer() 94 static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, in decode_macroblock() argument 108 eobtotal = vp8_decode_mb_tokens(pbi, xd); in decode_macroblock() 116 if (xd->segmentation_enabled) vp8_mb_init_dequantizer(pbi, xd); in decode_macroblock() 120 if (pbi->ec_active) { in decode_macroblock() 126 (!pbi->independent_partitions && pbi->frame_corrupt_residual); in decode_macroblock() 129 if ((mb_idx >= pbi->mvs_corrupt_from_mb || throw_residual)) { in decode_macroblock() [all …]
|
D | decodemv.c | 42 static void read_kf_modes(VP8D_COMP *pbi, MODE_INFO *mi) { in read_kf_modes() argument 43 vp8_reader *const bc = &pbi->mbc[8]; in read_kf_modes() 44 const int mis = pbi->common.mode_info_stride; in read_kf_modes() 122 static void mb_mode_mv_init(VP8D_COMP *pbi) { in mb_mode_mv_init() argument 123 vp8_reader *const bc = &pbi->mbc[8]; in mb_mode_mv_init() 124 MV_CONTEXT *const mvc = pbi->common.fc.mvc; in mb_mode_mv_init() 130 pbi->mvs_corrupt_from_mb = UINT_MAX; in mb_mode_mv_init() 133 pbi->common.mb_no_coeff_skip = (int)vp8_read_bit(bc); in mb_mode_mv_init() 135 pbi->prob_skip_false = 0; in mb_mode_mv_init() 136 if (pbi->common.mb_no_coeff_skip) { in mb_mode_mv_init() [all …]
|
D | decoderthreading.h | 19 int 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);
|
D | onyxd_int.h | 53 struct VP8D_COMP *pbi[MAX_FB_MT_DEC]; member 129 void vp8cx_init_de_quantizer(VP8D_COMP *pbi); 130 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd); 131 int vp8_decode_frame(VP8D_COMP *pbi); 141 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR, \ 150 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR, \
|
D | error_concealment.c | 43 int vp8_alloc_overlap_lists(VP8D_COMP *pbi) { in vp8_alloc_overlap_lists() argument 44 if (pbi->overlaps != NULL) { in vp8_alloc_overlap_lists() 45 vpx_free(pbi->overlaps); in vp8_alloc_overlap_lists() 46 pbi->overlaps = NULL; in vp8_alloc_overlap_lists() 49 pbi->overlaps = in vp8_alloc_overlap_lists() 50 vpx_calloc(pbi->common.mb_rows * pbi->common.mb_cols, sizeof(MB_OVERLAP)); in vp8_alloc_overlap_lists() 52 if (pbi->overlaps == NULL) return -1; in vp8_alloc_overlap_lists() 57 void vp8_de_alloc_overlap_lists(VP8D_COMP *pbi) { in vp8_de_alloc_overlap_lists() argument 58 vpx_free(pbi->overlaps); in vp8_de_alloc_overlap_lists() 59 pbi->overlaps = NULL; in vp8_de_alloc_overlap_lists() [all …]
|
D | error_concealment.h | 22 int vp8_alloc_overlap_lists(VP8D_COMP *pbi); 25 void vp8_de_alloc_overlap_lists(VP8D_COMP *pbi); 28 void vp8_estimate_missing_mvs(VP8D_COMP *pbi);
|
/external/libaom/libaom/av1/decoder/ |
D | decoder.c | 95 AV1Decoder *volatile const pbi = aom_memalign(32, sizeof(*pbi)); in av1_decoder_create() local 96 if (!pbi) return NULL; in av1_decoder_create() 97 av1_zero(*pbi); in av1_decoder_create() 99 AV1_COMMON *volatile const cm = &pbi->common; in av1_decoder_create() 106 av1_decoder_remove(pbi); in av1_decoder_create() 120 pbi->need_resync = 1; in av1_decoder_create() 129 pbi->decoding_first_frame = 1; in av1_decoder_create() 130 pbi->common.buffer_pool = pool; in av1_decoder_create() 143 pbi->acct_enabled = 1; in av1_decoder_create() 144 aom_accounting_init(&pbi->accounting); in av1_decoder_create() [all …]
|
D | obu.c | 54 static int is_obu_in_current_operating_point(AV1Decoder *pbi, in is_obu_in_current_operating_point() argument 56 if (!pbi->current_operating_point) { in is_obu_in_current_operating_point() 60 if ((pbi->current_operating_point >> obu_header.temporal_layer_id) & 0x1 && in is_obu_in_current_operating_point() 61 (pbi->current_operating_point >> (obu_header.spatial_layer_id + 8)) & in is_obu_in_current_operating_point() 103 static uint32_t read_sequence_header_obu(AV1Decoder *pbi, in read_sequence_header_obu() argument 105 AV1_COMMON *const cm = &pbi->common; in read_sequence_header_obu() 228 int operating_point = pbi->operating_point; in read_sequence_header_obu() 232 pbi->current_operating_point = in read_sequence_header_obu() 235 pbi->current_operating_point, &cm->number_spatial_layers, in read_sequence_header_obu() 243 av1_read_color_config(rb, pbi->allow_lowbitdepth, seq_params, &cm->error); in read_sequence_header_obu() [all …]
|
D | decodeframe.c | 78 int av1_check_trailing_bits(AV1Decoder *pbi, struct aom_read_bit_buffer *rb) { in av1_check_trailing_bits() argument 79 AV1_COMMON *const cm = &pbi->common; in av1_check_trailing_bits() 355 static AOM_INLINE void decode_mbmi_block(AV1Decoder *const pbi, in decode_mbmi_block() argument 360 AV1_COMMON *const cm = &pbi->common; in decode_mbmi_block() 368 aom_accounting_set_context(&pbi->accounting, mi_col, mi_row); in decode_mbmi_block() 372 av1_read_mode_info(pbi, xd, r, x_mis, y_mis); in decode_mbmi_block() 909 static AOM_INLINE void decode_token_recon_block(AV1Decoder *const pbi, in decode_token_recon_block() argument 913 AV1_COMMON *const cm = &pbi->common; in decode_token_recon_block() 1017 av1_visit_palette(pbi, xd, r, set_color_index_map_offset); in decode_token_recon_block() 1161 static AOM_INLINE void parse_decode_block(AV1Decoder *const pbi, in parse_decode_block() argument [all …]
|
D | decoder.h | 257 int av1_receive_compressed_data(struct AV1Decoder *pbi, size_t size, 261 int av1_get_raw_frame(AV1Decoder *pbi, size_t index, YV12_BUFFER_CONFIG **sd, 264 int av1_get_frame_to_show(struct AV1Decoder *pbi, YV12_BUFFER_CONFIG *frame); 266 aom_codec_err_t av1_copy_reference_dec(struct AV1Decoder *pbi, int idx, 278 void av1_decoder_remove(struct AV1Decoder *pbi); 283 void av1_dec_free_cb_buf(AV1Decoder *pbi); 320 void av1_visit_palette(AV1Decoder *const pbi, MACROBLOCKD *const xd, 323 typedef void (*block_visitor_fn_t)(AV1Decoder *const pbi, ThreadData *const td,
|
D | decodeframe.h | 35 int av1_check_trailing_bits(struct AV1Decoder *pbi, 41 uint32_t av1_decode_frame_headers_and_setup(struct AV1Decoder *pbi, 47 void av1_decode_tg_tiles_and_wrapup(struct AV1Decoder *pbi, const uint8_t *data, 76 struct AV1Decoder *pbi, struct aom_read_bit_buffer *rb, const uint8_t *data,
|
D | inspection.c | 37 struct AV1Decoder *pbi = (struct AV1Decoder *)decoder; in ifd_inspect() local 38 AV1_COMMON *const cm = &pbi->common; in ifd_inspect() 60 fd->accounting = &pbi->accounting; in ifd_inspect()
|
D | obu.h | 23 int aom_decode_frame_from_obus(struct AV1Decoder *pbi, const uint8_t *data,
|
D | decodemv.h | 23 void av1_read_mode_info(AV1Decoder *const pbi, MACROBLOCKD *xd, aom_reader *r,
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 164 VP9Decoder *volatile const pbi = vpx_memalign(32, sizeof(*pbi)); in vp9_decoder_create() local 165 VP9_COMMON *volatile const cm = pbi ? &pbi->common : NULL; in vp9_decoder_create() 169 vp9_zero(*pbi); in vp9_decoder_create() 173 vp9_decoder_remove(pbi); in vp9_decoder_create() 184 pbi->need_resync = 1; in vp9_decoder_create() 192 pbi->ready_for_new_data = 1; in vp9_decoder_create() 193 pbi->common.buffer_pool = pool; in vp9_decoder_create() 206 vpx_get_worker_interface()->init(&pbi->lf_worker); in vp9_decoder_create() 208 return pbi; in vp9_decoder_create() 211 void vp9_decoder_remove(VP9Decoder *pbi) { in vp9_decoder_remove() argument [all …]
|
D | vp9_decodeframe.c | 715 VP9Decoder *const pbi, in dec_build_inter_predictors_sb() argument 730 RefBuffer *ref_buf = &pbi->common.frame_refs[frame - LAST_FRAME]; in dec_build_inter_predictors_sb() 733 BufferPool *const pool = pbi->common.buffer_pool; in dec_build_inter_predictors_sb() 911 static void decode_block(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in decode_block() argument 913 VP9_COMMON *const cm = &pbi->common; in decode_block() 933 vp9_read_mode_info(twd, pbi, mi_row, mi_col, x_mis, y_mis); in decode_block() 967 dec_build_inter_predictors_sb(twd, pbi, xd, mi_row, mi_col); in decode_block() 1029 static void recon_block(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in recon_block() argument 1031 VP9_COMMON *const cm = &pbi->common; in recon_block() 1051 dec_build_inter_predictors_sb(twd, pbi, xd, mi_row, mi_col); in recon_block() [all …]
|
D | vp9_decoder.h | 37 struct VP9Decoder *pbi; member 63 struct VP9Decoder *const pbi, int mi_row, 129 int vp9_receive_compressed_data(struct VP9Decoder *pbi, size_t size, 132 int vp9_get_raw_frame(struct VP9Decoder *pbi, YV12_BUFFER_CONFIG *sd, 135 vpx_codec_err_t vp9_copy_reference_dec(struct VP9Decoder *pbi, 162 void vp9_decoder_remove(struct VP9Decoder *pbi);
|
D | vp9_decodemv.h | 22 void vp9_read_mode_info(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row,
|
/external/libvpx/libvpx/vp8/ |
D | vp8_dx_iface.c | 310 VP8D_COMP *pbi = ctx->yv12_frame_buffers.pbi[0]; in vp8_decode() local 311 VP8_COMMON *const pc = &pbi->common; in vp8_decode() 312 if (setjmp(pbi->common.error.jmp)) { in vp8_decode() 314 vp8_zero(fb->pbi); in vp8_decode() 318 pbi->common.error.setjmp = 1; in vp8_decode() 319 pbi->max_threads = ctx->cfg.threads; in vp8_decode() 320 vp8_decoder_create_threads(pbi); in vp8_decode() 321 if (vpx_atomic_load_acquire(&pbi->b_multithreaded_rd)) { in vp8_decode() 322 vp8mt_alloc_temp_buffers(pbi, pc->Width, pc->mb_rows); in vp8_decode() 325 pbi->common.error.setjmp = 0; in vp8_decode() [all …]
|
/external/libaom/libaom/av1/ |
D | av1_dx_iface.c | 119 aom_free(frame_worker_data->pbi->common.tpl_mvs); in decoder_destroy() 120 frame_worker_data->pbi->common.tpl_mvs = NULL; in decoder_destroy() 121 av1_remove_common(&frame_worker_data->pbi->common); in decoder_destroy() 122 av1_free_restoration_buffers(&frame_worker_data->pbi->common); in decoder_destroy() 123 av1_decoder_remove(frame_worker_data->pbi); in decoder_destroy() 375 AV1Decoder *const pbi = frame_worker_data->pbi; in init_buffer_callbacks() local 376 AV1_COMMON *const cm = &pbi->common; in init_buffer_callbacks() 381 pbi->skip_loop_filter = ctx->skip_loop_filter; in init_buffer_callbacks() 382 pbi->skip_film_grain = ctx->skip_film_grain; in init_buffer_callbacks() 405 int result = av1_receive_compressed_data(frame_worker_data->pbi, in frame_worker_hook() [all …]
|
/external/libvpx/libvpx/vp9/ |
D | vp9_dx_iface.c | 60 if (ctx->pbi != NULL) { in decoder_destroy() 61 vp9_decoder_remove(ctx->pbi); in decoder_destroy() 205 VP9_COMMON *const cm = &ctx->pbi->common; in init_buffer_callbacks() 262 ctx->pbi = vp9_decoder_create(ctx->buffer_pool); in init_decoder() 263 if (ctx->pbi == NULL) { in init_decoder() 267 ctx->pbi->max_threads = ctx->cfg.threads; in init_decoder() 268 ctx->pbi->inv_tile_order = ctx->invert_tile_order; in init_decoder() 271 ctx->pbi->row_mt = ctx->row_mt; in init_decoder() 274 ctx->pbi->lpf_mt_opt = ctx->lpf_opt; in init_decoder() 287 const VP9Decoder *const pbi) { in check_resync() argument [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | onyxd.h | 44 int vp8dx_receive_compressed_data(struct VP8D_COMP *pbi, int64_t time_stamp); 45 int vp8dx_get_raw_frame(struct VP8D_COMP *pbi, YV12_BUFFER_CONFIG *sd, 50 vpx_codec_err_t vp8dx_get_reference(struct VP8D_COMP *pbi, 53 vpx_codec_err_t vp8dx_set_reference(struct VP8D_COMP *pbi, 56 int vp8dx_get_quantizer(const struct VP8D_COMP *pbi);
|
/external/golang-protobuf/proto/ |
D | extensions.go | 231 var pbi interface{} = pb 233 if ea, ok := pbi.(extensionAdapter); ok { 234 pbi = ea.extendableProtoV1 236 if a, b := reflect.TypeOf(pbi), reflect.TypeOf(extension.ExtendedType); a != b {
|