/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 | 74 AV1Decoder *volatile const pbi = aom_memalign(32, sizeof(*pbi)); in av1_decoder_create() local 75 if (!pbi) return NULL; in av1_decoder_create() 76 av1_zero(*pbi); in av1_decoder_create() 78 AV1_COMMON *volatile const cm = &pbi->common; in av1_decoder_create() 85 av1_decoder_remove(pbi); in av1_decoder_create() 99 pbi->need_resync = 1; in av1_decoder_create() 109 pbi->decoding_first_frame = 1; in av1_decoder_create() 110 pbi->common.buffer_pool = pool; in av1_decoder_create() 123 pbi->acct_enabled = 1; in av1_decoder_create() 124 aom_accounting_init(&pbi->accounting); in av1_decoder_create() [all …]
|
D | obu.c | 73 static int is_obu_in_current_operating_point(AV1Decoder *pbi, in is_obu_in_current_operating_point() argument 75 if (!pbi->current_operating_point) { in is_obu_in_current_operating_point() 79 if ((pbi->current_operating_point >> obu_header.temporal_layer_id) & 0x1 && in is_obu_in_current_operating_point() 80 (pbi->current_operating_point >> (obu_header.spatial_layer_id + 8)) & in is_obu_in_current_operating_point() 118 static uint32_t read_sequence_header_obu(AV1Decoder *pbi, in read_sequence_header_obu() argument 120 AV1_COMMON *const cm = &pbi->common; in read_sequence_header_obu() 237 int operating_point = pbi->operating_point; in read_sequence_header_obu() 241 pbi->current_operating_point = in read_sequence_header_obu() 244 pbi->current_operating_point, &cm->number_spatial_layers, in read_sequence_header_obu() 252 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() 375 static void decode_mbmi_block(AV1Decoder *const pbi, MACROBLOCKD *const xd, in decode_mbmi_block() argument 378 AV1_COMMON *const cm = &pbi->common; in decode_mbmi_block() 386 aom_accounting_set_context(&pbi->accounting, mi_col, mi_row); in decode_mbmi_block() 390 av1_read_mode_info(pbi, xd, mi_row, mi_col, r, x_mis, y_mis); in decode_mbmi_block() 1108 static void decode_token_recon_block(AV1Decoder *const pbi, in decode_token_recon_block() argument 1112 AV1_COMMON *const cm = &pbi->common; in decode_token_recon_block() 1232 av1_visit_palette(pbi, xd, mi_row, mi_col, r, bsize, in decode_token_recon_block() 1584 static void parse_decode_block(AV1Decoder *const pbi, ThreadData *const td, in parse_decode_block() argument [all …]
|
D | decoder.h | 254 int av1_receive_compressed_data(struct AV1Decoder *pbi, size_t size, 258 int av1_get_raw_frame(AV1Decoder *pbi, size_t index, YV12_BUFFER_CONFIG **sd, 261 int av1_get_frame_to_show(struct AV1Decoder *pbi, YV12_BUFFER_CONFIG *frame); 263 aom_codec_err_t av1_copy_reference_dec(struct AV1Decoder *pbi, int idx, 275 void av1_decoder_remove(struct AV1Decoder *pbi); 280 void av1_dec_free_cb_buf(AV1Decoder *pbi); 317 void av1_visit_palette(AV1Decoder *const pbi, MACROBLOCKD *const xd, int mi_row, 321 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, 74 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() 58 fd->accounting = &pbi->accounting; in ifd_inspect()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 113 VP9Decoder *volatile const pbi = vpx_memalign(32, sizeof(*pbi)); in vp9_decoder_create() local 114 VP9_COMMON *volatile const cm = pbi ? &pbi->common : NULL; in vp9_decoder_create() 118 vp9_zero(*pbi); in vp9_decoder_create() 122 vp9_decoder_remove(pbi); in vp9_decoder_create() 133 pbi->need_resync = 1; in vp9_decoder_create() 141 pbi->ready_for_new_data = 1; in vp9_decoder_create() 142 pbi->common.buffer_pool = pool; in vp9_decoder_create() 155 vpx_get_worker_interface()->init(&pbi->lf_worker); in vp9_decoder_create() 157 return pbi; in vp9_decoder_create() 160 void vp9_decoder_remove(VP9Decoder *pbi) { in vp9_decoder_remove() argument [all …]
|
D | vp9_decodeframe.c | 698 static void dec_build_inter_predictors_sb(VP9Decoder *const pbi, in dec_build_inter_predictors_sb() argument 713 RefBuffer *ref_buf = &pbi->common.frame_refs[frame - LAST_FRAME]; in dec_build_inter_predictors_sb() 716 BufferPool *const pool = pbi->common.buffer_pool; in dec_build_inter_predictors_sb() 894 static void decode_block(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in decode_block() argument 896 VP9_COMMON *const cm = &pbi->common; in decode_block() 916 vp9_read_mode_info(twd, pbi, mi_row, mi_col, x_mis, y_mis); in decode_block() 950 dec_build_inter_predictors_sb(pbi, xd, mi_row, mi_col); in decode_block() 994 static void recon_block(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in recon_block() argument 996 VP9_COMMON *const cm = &pbi->common; in recon_block() 1016 dec_build_inter_predictors_sb(pbi, xd, mi_row, mi_col); in recon_block() [all …]
|
D | vp9_decoder.h | 95 int vp9_receive_compressed_data(struct VP9Decoder *pbi, size_t size, 98 int vp9_get_raw_frame(struct VP9Decoder *pbi, YV12_BUFFER_CONFIG *sd, 101 vpx_codec_err_t vp9_copy_reference_dec(struct VP9Decoder *pbi, 128 void vp9_decoder_remove(struct VP9Decoder *pbi);
|
/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 | 131 aom_free(frame_worker_data->pbi->common.tpl_mvs); in decoder_destroy() 132 frame_worker_data->pbi->common.tpl_mvs = NULL; in decoder_destroy() 133 av1_remove_common(&frame_worker_data->pbi->common); in decoder_destroy() 134 av1_free_restoration_buffers(&frame_worker_data->pbi->common); in decoder_destroy() 135 av1_decoder_remove(frame_worker_data->pbi); in decoder_destroy() 387 AV1_COMMON *const cm = &frame_worker_data->pbi->common; in init_buffer_callbacks() 423 int result = av1_receive_compressed_data(frame_worker_data->pbi, in frame_worker_hook() 429 frame_worker_data->pbi->need_resync = 1; in frame_worker_hook() 474 frame_worker_data->pbi = av1_decoder_create(ctx->buffer_pool); in init_decoder() 475 if (frame_worker_data->pbi == NULL) { in init_decoder() [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, size_t size, 46 int vp8dx_get_raw_frame(struct VP8D_COMP *pbi, YV12_BUFFER_CONFIG *sd, 51 vpx_codec_err_t vp8dx_get_reference(struct VP8D_COMP *pbi, 54 vpx_codec_err_t vp8dx_set_reference(struct VP8D_COMP *pbi, 57 int vp8dx_get_quantizer(const struct VP8D_COMP *pbi);
|
/external/webrtc/webrtc/modules/video_render/windows/ |
D | video_render_direct3d9.cc | 1013 BITMAPINFO pbi; in SetBitmap() local 1023 pbi.bmiHeader.biSize = 40; in SetBitmap() 1024 pbi.bmiHeader.biWidth = bmap.bmWidth; in SetBitmap() 1025 pbi.bmiHeader.biHeight = bmap.bmHeight; in SetBitmap() 1026 pbi.bmiHeader.biPlanes = 1; in SetBitmap() 1027 pbi.bmiHeader.biBitCount = bmap.bmBitsPixel; in SetBitmap() 1028 pbi.bmiHeader.biCompression = BI_RGB; in SetBitmap() 1029 pbi.bmiHeader.biSizeImage = bmap.bmWidth * bmap.bmHeight * 3; in SetBitmap() 1032 int pixelHeight = GetDIBits(hdcNew, (HBITMAP)bitMap, 0, bmap.bmHeight, srcPtr, &pbi, in SetBitmap() 1042 if (pbi.bmiHeader.biBitCount != 24 && pbi.bmiHeader.biBitCount != 32) in SetBitmap() [all …]
|
/external/u-boot/doc/ |
D | README.pblimage | 63 1. Configuration files rcw.cfg and pbi.cfg must present in the 64 board/freescale/corenet_ds/, rcw.cfg is for RCW, pbi.cfg is for 81 Typical example of pbi.cfg file:
|
/external/syzkaller/vendor/github.com/golang/protobuf/proto/ |
D | extensions.go | 215 var pbi interface{} = pb 217 if ea, ok := pbi.(extensionAdapter); ok { 218 pbi = ea.extendableProtoV1 220 if a, b := reflect.TypeOf(pbi), reflect.TypeOf(extension.ExtendedType); a != b {
|
/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 {
|