/external/libvpx/libvpx/vp9/decoder/ |
H A D | vp9_dthread.h | 28 struct VP9Decoder *pbi; member in struct:FrameWorkerData
|
H A D | vp9_dthread.c | 80 const VP9Decoder *const pbi = ref_worker_data->pbi; local 92 while (ref_buf->row < row && pbi->cur_buf == ref_buf && 101 vpx_internal_error(&worker_data->pbi->common.error, 142 VP9_COMMON *const src_cm = &src_worker_data->pbi->common; 143 VP9_COMMON *const dst_cm = &dst_worker_data->pbi->common; 155 dst_worker_data->pbi->need_resync = src_worker_data->pbi->need_resync;
|
H A D | vp9_decoder.c | 77 VP9Decoder *volatile const pbi = vpx_memalign(32, sizeof(*pbi)); local 78 VP9_COMMON *volatile const cm = pbi ? &pbi->common : NULL; 83 vp9_zero(*pbi); 87 vp9_decoder_remove(pbi); 99 pbi->need_resync = 1; 107 pbi->ready_for_new_data = 1; 108 pbi->common.buffer_pool = pool; 121 vpx_get_worker_interface()->init(&pbi 126 vp9_decoder_remove(VP9Decoder *pbi) argument 155 vp9_copy_reference_dec(VP9Decoder *pbi, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument 233 swap_frame_buffers(VP9Decoder *pbi) argument 274 vp9_receive_compressed_data(VP9Decoder *pbi, size_t size, const uint8_t **psource) argument 415 vp9_get_raw_frame(VP9Decoder *pbi, YV12_BUFFER_CONFIG *sd, vp9_ppflags_t *flags) argument [all...] |
H A D | vp9_decodemv.c | 480 VP9Decoder *const pbi = (VP9Decoder *)data; local 481 vp9_frameworker_wait(pbi->frame_worker_owner, pbi->common.prev_frame, 485 static void read_inter_block_mode_info(VP9Decoder *const pbi, argument 489 VP9_COMMON *const cm = &pbi->common; 512 mi_row, mi_col, fpm_sync, (void *)pbi, inter_mode_ctx); 588 static void read_inter_frame_mode_info(VP9Decoder *const pbi, argument 591 VP9_COMMON *const cm = &pbi->common; 604 read_inter_block_mode_info(pbi, xd, mi, mi_row, mi_col, r); 609 void vpx_read_mode_info(VP9Decoder *const pbi, MACROBLOCK argument [all...] |
H A D | vp9_decodeframe.c | 555 static void dec_build_inter_predictors(VP9Decoder *const pbi, MACROBLOCKD *xd, argument 660 if (pbi->frame_parallel_decode) 661 vp9_frameworker_wait(pbi->frame_worker_owner, ref_frame_buf, 687 if (pbi->frame_parallel_decode) { 689 vp9_frameworker_wait(pbi->frame_worker_owner, ref_frame_buf, 707 static void dec_build_inter_predictors_sb(VP9Decoder *const pbi, argument 732 BufferPool *const pool = pbi->common.buffer_pool; 741 dec_build_inter_predictors(pbi, xd, plane, n4w_x4, n4h_x4, 749 dec_build_inter_predictors(pbi, xd, plane, n4w_x4, n4h_x4, 815 static void decode_block(VP9Decoder *const pbi, MACROBLOCK argument 955 decode_partition(VP9Decoder *const pbi, MACROBLOCKD *const xd, int mi_row, int mi_col, vpx_reader* r, BLOCK_SIZE bsize, int n4x4_l2) argument 1409 get_tile_buffers(VP9Decoder *pbi, const uint8_t *data, const uint8_t *data_end, int tile_cols, int tile_rows, TileBuffer (*tile_buffers)[1 << 6]) argument 1426 decode_tiles(VP9Decoder *pbi, const uint8_t *data, const uint8_t *data_end) argument 1573 tile_worker_hook(TileWorkerData *const tile_data, VP9Decoder *const pbi) argument 1628 decode_tiles_mt(VP9Decoder *pbi, const uint8_t *data, const uint8_t *data_end) argument 1827 read_uncompressed_header(VP9Decoder *pbi, struct vpx_read_bit_buffer *rb) argument 2033 read_compressed_header(VP9Decoder *pbi, const uint8_t *data, size_t partition_size) argument 2122 init_read_bit_buffer( VP9Decoder *pbi, struct vpx_read_bit_buffer *rb, const uint8_t *data, const uint8_t *data_end, uint8_t clear_data[MAX_VP9_HEADER_SIZE]) argument 2165 vp9_decode_frame(VP9Decoder *pbi, const uint8_t *data, const uint8_t *data_end, const uint8_t **p_data_end) argument [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
H A D | onyxd_if.c | 44 extern void vp8cx_init_de_quantizer(VP8D_COMP *pbi); 59 static void remove_decompressor(VP8D_COMP *pbi) argument 62 vp8_de_alloc_overlap_lists(pbi); 64 vp8_remove_common(&pbi->common); 65 vpx_free(pbi); 70 VP8D_COMP *pbi = vpx_memalign(32, sizeof(VP8D_COMP)); local 72 if (!pbi) 75 memset(pbi, 0, sizeof(VP8D_COMP)); 77 if (setjmp(pbi->common.error.jmp)) 79 pbi 127 vp8dx_get_reference(VP8D_COMP *pbi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument 158 vp8dx_set_reference(VP8D_COMP *pbi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument 278 check_fragments_for_errors(VP8D_COMP *pbi) argument 317 vp8dx_receive_compressed_data(VP8D_COMP *pbi, size_t size, const uint8_t *source, int64_t time_stamp) argument 411 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 501 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, MB_MODE_INFO *mbmi) argument 620 vp8_decode_mode_mvs(VP8D_COMP *pbi) argument [all...] |
H A D | threading.c | 40 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd); 42 static void setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, MB_ROW_DEC *mbrd, int count) argument 44 VP8_COMMON *const pc = & pbi->common; 75 mbd->current_bc = &pbi->mbc[0]; 90 pbi->mt_current_mb_col[i] = -1; 93 static void mt_decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, argument 111 eobtotal = vp8_decode_mb_tokens(pbi, xd); 120 vp8_mb_init_dequantizer(pbi, xd); 125 if(pbi->ec_active) 131 throw_residual = (!pbi 299 mt_decode_mb_rows(VP8D_COMP *pbi, MACROBLOCKD *xd, int start_mb_row) argument 626 VP8D_COMP *pbi = (VP8D_COMP *)(((DECODETHREAD_DATA *)p_data)->ptr1); local 653 vp8_decoder_create_threads(VP8D_COMP *pbi) argument 698 vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows) argument 778 vp8mt_alloc_temp_buffers(VP8D_COMP *pbi, int width, int prev_mb_rows) argument 831 vp8_decoder_remove_threads(VP8D_COMP *pbi) argument 868 vp8mt_decode_mb_rows( VP8D_COMP *pbi, MACROBLOCKD *xd) argument [all...] |
H A D | decodeframe.c | 43 void vp8cx_init_de_quantizer(VP8D_COMP *pbi) argument 46 VP8_COMMON *const pc = & pbi->common; 60 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd) argument 65 VP8_COMMON *const pc = & pbi->common; 98 static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd, argument 116 eobtotal = vp8_decode_mb_tokens(pbi, xd); 125 vp8_mb_init_dequantizer(pbi, xd); 130 if(pbi->ec_active) 136 throw_residual = (!pbi->independent_partitions && 137 pbi 503 decode_mb_rows(VP8D_COMP *pbi) argument 758 read_partition_size(VP8D_COMP *pbi, const unsigned char *cx_size) argument 777 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 825 setup_token_decoder(VP8D_COMP *pbi, const unsigned char* token_part_sizes) argument 914 init_frame(VP8D_COMP *pbi) argument 983 vp8_decode_frame(VP8D_COMP *pbi) argument [all...] |
H A D | error_concealment.c | 46 int vp8_alloc_overlap_lists(VP8D_COMP *pbi) argument 48 if (pbi->overlaps != NULL) 50 vpx_free(pbi->overlaps); 51 pbi->overlaps = NULL; 54 pbi->overlaps = vpx_calloc(pbi->common.mb_rows * pbi->common.mb_cols, 57 if (pbi->overlaps == NULL) 63 void vp8_de_alloc_overlap_lists(VP8D_COMP *pbi) argument 65 vpx_free(pbi 408 vp8_estimate_missing_mvs(VP8D_COMP *pbi) argument [all...] |
/external/clang/test/SemaCXX/ |
H A D | member-pointer.cpp | 19 int B::*pbi; member in class:B 23 // expected-error@-4 {{'pbi' does not point into a class}}
|
/external/libvpx/libvpx/vp8/ |
H A D | vp8_dx_iface.c | 389 ctx->yv12_frame_buffers.pbi[0]->decrypt_cb = ctx->decrypt_cb; 390 ctx->yv12_frame_buffers.pbi[0]->decrypt_state = ctx->decrypt_state; 395 VP8D_COMP *pbi = ctx->yv12_frame_buffers.pbi[0]; local 398 VP8_COMMON *const pc = & pbi->common; 399 MACROBLOCKD *const xd = & pbi->mb; 408 if (setjmp(pbi->common.error.jmp)) 410 pbi->common.error.setjmp = 0; 416 pbi->common.error.setjmp = 1; 440 for (i = 0; i < pbi 704 VP8D_COMP *pbi = (VP8D_COMP *)ctx->yv12_frame_buffers.pbi[0]; local 724 VP8D_COMP *pbi = (VP8D_COMP *)ctx->yv12_frame_buffers.pbi[0]; local 742 VP8D_COMP *pbi = (VP8D_COMP *)ctx->yv12_frame_buffers.pbi[0]; local [all...] |
/external/libvpx/libvpx/vp9/ |
H A D | vp9_dx_iface.c | 72 vp9_remove_common(&frame_worker_data->pbi->common); 74 vp9_free_postproc_buffers(&frame_worker_data->pbi->common); 76 vp9_decoder_remove(frame_worker_data->pbi); 237 VP9_COMMON *const cm = &frame_worker_data->pbi->common; 282 vp9_receive_compressed_data(frame_worker_data->pbi, 287 if (frame_worker_data->pbi->frame_parallel_decode) { 292 VPxWorker *const worker = frame_worker_data->pbi->frame_worker_owner; 293 BufferPool *const pool = frame_worker_data->pbi->common.buffer_pool; 298 frame_worker_data->pbi->cur_buf->buf.corrupted = 1; 300 frame_worker_data->pbi 409 check_resync(vpx_codec_alg_priv_t *const ctx, const VP9Decoder *const pbi) argument [all...] |
/external/opencv3/modules/videoio/src/ |
H A D | cap_vfw.cpp | 431 unsigned char *pbi = new unsigned char[size]; local 432 if( pbi ) 434 if( capGetVideoFormat(capWnd, pbi, size) == size ) 436 BITMAPINFOHEADER& vfmt = ((BITMAPINFO*)pbi)->bmiHeader; 441 delete []pbi; 607 unsigned char *pbi = new unsigned char[size]; local 608 if( !pbi ) 611 if( capGetVideoFormat(capWnd, pbi, size) != size ) 613 delete []pbi; 617 BITMAPINFOHEADER& vfmt = ((BITMAPINFO*)pbi) [all...] |
/external/webrtc/webrtc/modules/video_render/windows/ |
H A D | video_render_direct3d9.cc | 1013 BITMAPINFO pbi; local 1023 pbi.bmiHeader.biSize = 40; 1024 pbi.bmiHeader.biWidth = bmap.bmWidth; 1025 pbi.bmiHeader.biHeight = bmap.bmHeight; 1026 pbi.bmiHeader.biPlanes = 1; 1027 pbi.bmiHeader.biBitCount = bmap.bmBitsPixel; 1028 pbi.bmiHeader.biCompression = BI_RGB; 1029 pbi.bmiHeader.biSizeImage = bmap.bmWidth * bmap.bmHeight * 3; 1032 int pixelHeight = GetDIBits(hdcNew, (HBITMAP)bitMap, 0, bmap.bmHeight, srcPtr, &pbi, 1042 if (pbi [all...] |