Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/decoder/
Dthreading.c39 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd);
41 static void setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, in setup_decoding_thread_data() argument
43 VP8_COMMON *const pc = &pbi->common; in setup_decoding_thread_data()
71 mbd->current_bc = &pbi->mbc[0]; in setup_decoding_thread_data()
83 for (i = 0; i < pc->mb_rows; ++i) 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()
[all …]
Donyxd_if.c44 extern void vp8cx_init_de_quantizer(VP8D_COMP *pbi);
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()
[all …]
Ddecodeframe.c42 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 …]
Ddecodemv.c41 static void read_kf_modes(VP8D_COMP *pbi, MODE_INFO *mi) { in read_kf_modes() argument
42 vp8_reader *const bc = &pbi->mbc[8]; in read_kf_modes()
43 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 …]
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.c43 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 …]
Derror_concealment.h22 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);
Donyxd_int.h51 struct VP8D_COMP *pbi[MAX_FB_MT_DEC]; member
132 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR, \
141 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR, \
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c75 VP9Decoder *volatile const pbi = vpx_memalign(32, sizeof(*pbi)); in vp9_decoder_create() local
76 VP9_COMMON *volatile const cm = pbi ? &pbi->common : NULL; in vp9_decoder_create()
80 vp9_zero(*pbi); in vp9_decoder_create()
84 vp9_decoder_remove(pbi); in vp9_decoder_create()
95 pbi->need_resync = 1; in vp9_decoder_create()
103 pbi->ready_for_new_data = 1; in vp9_decoder_create()
104 pbi->common.buffer_pool = pool; in vp9_decoder_create()
117 vpx_get_worker_interface()->init(&pbi->lf_worker); in vp9_decoder_create()
119 return pbi; in vp9_decoder_create()
122 void vp9_decoder_remove(VP9Decoder *pbi) { in vp9_decoder_remove() argument
[all …]
Dvp9_decodeframe.c644 static void dec_build_inter_predictors_sb(VP9Decoder *const pbi, in dec_build_inter_predictors_sb() argument
657 pbi->frame_parallel_decode ? pbi->frame_worker_owner : NULL; in dec_build_inter_predictors_sb()
661 RefBuffer *ref_buf = &pbi->common.frame_refs[frame - LAST_FRAME]; in dec_build_inter_predictors_sb()
664 BufferPool *const pool = pbi->common.buffer_pool; in dec_build_inter_predictors_sb()
763 static void decode_block(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in decode_block() argument
765 VP9_COMMON *const cm = &pbi->common; in decode_block()
785 vp9_read_mode_info(twd, pbi, mi_row, mi_col, x_mis, y_mis); in decode_block()
819 dec_build_inter_predictors_sb(pbi, xd, mi_row, mi_col); in decode_block()
913 static void decode_partition(TileWorkerData *twd, VP9Decoder *const pbi, in decode_partition() argument
916 VP9_COMMON *const cm = &pbi->common; in decode_partition()
[all …]
Dvp9_dthread.c79 const VP9Decoder *const pbi = ref_worker_data->pbi; in vp9_frameworker_wait() local
91 while (ref_buf->row < row && pbi->cur_buf == ref_buf && in vp9_frameworker_wait()
100 vpx_internal_error(&worker_data->pbi->common.error, in vp9_frameworker_wait()
141 VP9_COMMON *const src_cm = &src_worker_data->pbi->common; in vp9_frameworker_copy_context()
142 VP9_COMMON *const dst_cm = &dst_worker_data->pbi->common; in vp9_frameworker_copy_context()
155 dst_worker_data->pbi->need_resync = src_worker_data->pbi->need_resync; in vp9_frameworker_copy_context()
Dvp9_decoder.h81 int vp9_receive_compressed_data(struct VP9Decoder *pbi, size_t size,
84 int vp9_get_raw_frame(struct VP9Decoder *pbi, YV12_BUFFER_CONFIG *sd,
87 vpx_codec_err_t vp9_copy_reference_dec(struct VP9Decoder *pbi,
114 void vp9_decoder_remove(struct VP9Decoder *pbi);
Dvp9_decodemv.c459 VP9Decoder *const pbi = (VP9Decoder *)data; in fpm_sync() local
460 vp9_frameworker_wait(pbi->frame_worker_owner, pbi->common.prev_frame, in fpm_sync()
714 static void read_inter_block_mode_info(VP9Decoder *const pbi, in read_inter_block_mode_info() argument
718 VP9_COMMON *const cm = &pbi->common; in read_inter_block_mode_info()
755 mi_row, mi_col, -1, 0, fpm_sync, (void *)pbi); in read_inter_block_mode_info()
808 static void read_inter_frame_mode_info(VP9Decoder *const pbi, in read_inter_frame_mode_info() argument
812 VP9_COMMON *const cm = &pbi->common; in read_inter_frame_mode_info()
823 read_inter_block_mode_info(pbi, xd, mi, mi_row, mi_col, r); in read_inter_frame_mode_info()
833 void vp9_read_mode_info(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in vp9_read_mode_info() argument
837 VP9_COMMON *const cm = &pbi->common; in vp9_read_mode_info()
[all …]
Dvp9_decodemv.h22 void vp9_read_mode_info(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row,
Dvp9_decodeframe.h28 void vp9_decode_frame(struct VP9Decoder *pbi, const uint8_t *data,
Dvp9_dthread.h28 struct VP9Decoder *pbi; member
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c332 ctx->yv12_frame_buffers.pbi[0]->decrypt_cb = ctx->decrypt_cb; in vp8_decode()
333 ctx->yv12_frame_buffers.pbi[0]->decrypt_state = ctx->decrypt_state; in vp8_decode()
337 VP8D_COMP *pbi = ctx->yv12_frame_buffers.pbi[0]; in vp8_decode() local
339 VP8_COMMON *const pc = &pbi->common; in vp8_decode()
340 MACROBLOCKD *const xd = &pbi->mb; in vp8_decode()
349 if (setjmp(pbi->common.error.jmp)) { in vp8_decode()
350 pbi->common.error.setjmp = 0; in vp8_decode()
360 pbi->common.error.setjmp = 1; in vp8_decode()
383 for (i = 0; i < pbi->allocated_decoding_thread_count; ++i) { in vp8_decode()
384 pbi->mb_row_di[i].mbd.dst = pc->yv12_fb[pc->new_fb_idx]; in vp8_decode()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c75 vp9_remove_common(&frame_worker_data->pbi->common); in decoder_destroy()
77 vp9_free_postproc_buffers(&frame_worker_data->pbi->common); in decoder_destroy()
79 vp9_decoder_remove(frame_worker_data->pbi); in decoder_destroy()
236 VP9_COMMON *const cm = &frame_worker_data->pbi->common; in init_buffer_callbacks()
279 frame_worker_data->pbi, frame_worker_data->data_size, &data); in frame_worker_hook()
282 if (frame_worker_data->pbi->frame_parallel_decode) { in frame_worker_hook()
287 VPxWorker *const worker = frame_worker_data->pbi->frame_worker_owner; in frame_worker_hook()
288 BufferPool *const pool = frame_worker_data->pbi->common.buffer_pool; in frame_worker_hook()
293 frame_worker_data->pbi->cur_buf->buf.corrupted = 1; in frame_worker_hook()
295 frame_worker_data->pbi->need_resync = 1; in frame_worker_hook()
[all …]
/external/webrtc/webrtc/modules/video_render/windows/
Dvideo_render_direct3d9.cc1013 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/libvpx/libvpx/test/
Dvp9_encoder_parms_get_to_decoder.cc104 VP9_COMMON *const common = &worker_data->pbi->common; in HandleDecodeResult()
/external/clang/test/SemaCXX/
Dmember-pointer.cpp19 int B::*pbi; variable
/external/icu/icu4c/source/data/misc/
DlikelySubtags.txt948 pbi{"pbi_Latn_ZZ"}