Home
last modified time | relevance | path

Searched refs:dec (Results 1 – 25 of 1167) sorted by relevance

12345678910>>...47

/external/syzkaller/prog/
Ddecodeexec.go71 dec := &execDecoder{target: target, data: exec}
72 dec.parse()
73 if dec.err != nil {
74 return ExecProg{}, dec.err
76 if uint64(len(dec.vars)) != dec.numVars {
78 len(dec.vars), dec.numVars)
81 Calls: dec.calls,
82 Vars: dec.vars,
97 func (dec *execDecoder) parse() {
98 for dec.err == nil {
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_decoder.c120 get_video_buffer_private(struct vl_mpeg12_decoder *dec, struct pipe_video_buffer *buf) in get_video_buffer_private() argument
122 struct pipe_context *pipe = dec->context; in get_video_buffer_private()
128 priv = vl_video_buffer_get_associated_data(buf, &dec->base); in get_video_buffer_private()
134 list_add(&priv->list, &dec->buffer_privates); in get_video_buffer_private()
147 vl_video_buffer_set_associated_data(buf, &dec->base, priv, destroy_video_buffer_private); in get_video_buffer_private()
153 free_video_buffer_privates(struct vl_mpeg12_decoder *dec) in free_video_buffer_privates() argument
157 LIST_FOR_EACH_ENTRY_SAFE(priv, next, &dec->buffer_privates, list) { in free_video_buffer_privates()
160 vl_video_buffer_set_associated_data(buf, &dec->base, NULL, NULL); in free_video_buffer_privates()
165 init_zscan_buffer(struct vl_mpeg12_decoder *dec, struct vl_mpeg12_buffer *buffer) in init_zscan_buffer() argument
173 assert(dec && buffer); in init_zscan_buffer()
[all …]
/external/webp/src/dec/
Dframe_dec.c71 static void ReconstructRow(const VP8Decoder* const dec, in ReconstructRow() argument
77 uint8_t* const y_dst = dec->yuv_b_ + Y_OFF; in ReconstructRow()
78 uint8_t* const u_dst = dec->yuv_b_ + U_OFF; in ReconstructRow()
79 uint8_t* const v_dst = dec->yuv_b_ + V_OFF; in ReconstructRow()
102 for (mb_x = 0; mb_x < dec->mb_w_; ++mb_x) { in ReconstructRow()
118 VP8TopSamples* const top_yuv = dec->yuv_t_ + mb_x; in ReconstructRow()
134 if (mb_x >= dec->mb_w_ - 1) { // on rightmost border in ReconstructRow()
169 if (mb_y < dec->mb_h_ - 1) { in ReconstructRow()
177 const int y_offset = cache_id * 16 * dec->cache_y_stride_; in ReconstructRow()
178 const int uv_offset = cache_id * 8 * dec->cache_uv_stride_; in ReconstructRow()
[all …]
Dalpha_dec.c28 ALPHDecoder* const dec = (ALPHDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in ALPHNew() local
29 return dec; in ALPHNew()
33 static void ALPHDelete(ALPHDecoder* const dec) { in ALPHDelete() argument
34 if (dec != NULL) { in ALPHDelete()
35 VP8LDelete(dec->vp8l_dec_); in ALPHDelete()
36 dec->vp8l_dec_ = NULL; in ALPHDelete()
37 WebPSafeFree(dec); in ALPHDelete()
48 static int ALPHInit(ALPHDecoder* const dec, const uint8_t* data, in ALPHInit() argument
55 VP8Io* const io = &dec->io_; in ALPHInit()
60 dec->output_ = output; in ALPHInit()
[all …]
Dvp8_dec.c42 static void SetOk(VP8Decoder* const dec) { in SetOk() argument
43 dec->status_ = VP8_STATUS_OK; in SetOk()
44 dec->error_msg_ = "OK"; in SetOk()
58 VP8Decoder* const dec = (VP8Decoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8New() local
59 if (dec != NULL) { in VP8New()
60 SetOk(dec); in VP8New()
61 WebPGetWorkerInterface()->Init(&dec->worker_); in VP8New()
62 dec->ready_ = 0; in VP8New()
63 dec->num_parts_minus_one_ = 0; in VP8New()
66 return dec; in VP8New()
[all …]
Dvp8l_dec.c106 VP8LDecoder* const dec,
249 VP8LDecoder* const dec, const int* const code_length_code_lengths, in ReadHuffmanCodeLengths() argument
252 VP8LBitReader* const br = &dec->br_; in ReadHuffmanCodeLengths()
303 if (!ok) dec->status_ = VP8_STATUS_BITSTREAM_ERROR; in ReadHuffmanCodeLengths()
309 static int ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, in ReadHuffmanCode() argument
313 VP8LBitReader* const br = &dec->br_; in ReadHuffmanCode()
335 dec->status_ = VP8_STATUS_BITSTREAM_ERROR; in ReadHuffmanCode()
342 ok = ReadHuffmanCodeLengths(dec, code_length_code_lengths, alphabet_size, in ReadHuffmanCode()
352 dec->status_ = VP8_STATUS_BITSTREAM_ERROR; in ReadHuffmanCode()
358 static int ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, in ReadHuffmanCodes() argument
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video.c33 struct nouveau_vp3_decoder *dec = (struct nouveau_vp3_decoder *)decoder; in nvc0_decoder_begin_frame() local
34 uint32_t comm_seq = ++dec->fence_seq; in nvc0_decoder_begin_frame()
37 assert(dec); in nvc0_decoder_begin_frame()
41 ret = nvc0_decoder_bsp_begin(dec, comm_seq); in nvc0_decoder_begin_frame()
54 struct nouveau_vp3_decoder *dec = (struct nouveau_vp3_decoder *)decoder; in nvc0_decoder_decode_bitstream() local
55 uint32_t comm_seq = dec->fence_seq; in nvc0_decoder_decode_bitstream()
60 ret = nvc0_decoder_bsp_next(dec, comm_seq, num_buffers, data, num_bytes); in nvc0_decoder_decode_bitstream()
70 struct nouveau_vp3_decoder *dec = (struct nouveau_vp3_decoder *)decoder; in nvc0_decoder_end_frame() local
72 uint32_t comm_seq = dec->fence_seq; in nvc0_decoder_end_frame()
81 ret = nvc0_decoder_bsp_end(dec, desc, target, comm_seq, &vp_caps, &is_ref, refs); in nvc0_decoder_end_frame()
[all …]
Dnvc0_video_vp.c27 static void dump_comm_vp(struct nouveau_vp3_decoder *dec, struct comm *comm, u32 comm_seq, in dump_comm_vp() argument
47 int ret = nouveau_bo_map(inter_bo, NOUVEAU_BO_RD|NOUVEAU_BO_NOBLOCK, dec->client); in dump_comm_vp()
61 nvc0_decoder_kick_ref(struct nouveau_vp3_decoder *dec, struct nouveau_vp3_video_buffer *target) in nvc0_decoder_kick_ref() argument
63 dec->refs[target->valid_ref].last_used = 0; in nvc0_decoder_kick_ref()
68 nvc0_decoder_vp(struct nouveau_vp3_decoder *dec, union pipe_desc desc, in nvc0_decoder_vp() argument
73 struct nouveau_pushbuf *push = dec->pushbuf[1]; in nvc0_decoder_vp()
76 enum pipe_video_format codec = u_reduce_video_profile(dec->base.profile); in nvc0_decoder_vp()
77 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nvc0_decoder_vp()
78 struct nouveau_bo *inter_bo = dec->inter_bo[comm_seq & 1]; in nvc0_decoder_vp()
82 { dec->ref_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nvc0_decoder_vp()
[all …]
Dnvc0_video_bsp.c35 nvc0_decoder_bsp_begin(struct nouveau_vp3_decoder *dec, unsigned comm_seq) in nvc0_decoder_bsp_begin() argument
37 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nvc0_decoder_bsp_begin()
40 ret = nouveau_bo_map(bsp_bo, NOUVEAU_BO_WR, dec->client); in nvc0_decoder_bsp_begin()
46 nouveau_vp3_bsp_begin(dec); in nvc0_decoder_bsp_begin()
52 nvc0_decoder_bsp_next(struct nouveau_vp3_decoder *dec, in nvc0_decoder_bsp_next() argument
56 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nvc0_decoder_bsp_next()
57 struct nouveau_bo *inter_bo = dec->inter_bo[comm_seq & 1]; in nvc0_decoder_bsp_next()
62 bsp_size = dec->bsp_ptr - (char *)bsp_bo->map; in nvc0_decoder_bsp_next()
78 ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_size, &cfg, &tmp_bo); in nvc0_decoder_bsp_next()
85 ret = nouveau_bo_map(tmp_bo, NOUVEAU_BO_WR, dec->client); in nvc0_decoder_bsp_next()
[all …]
Dnvc0_video_ppp.c26 nvc0_decoder_setup_ppp(struct nouveau_vp3_decoder *dec, struct nouveau_vp3_video_buffer *target, ui… in nvc0_decoder_setup_ppp() argument
27 struct nouveau_pushbuf *push = dec->pushbuf[2]; in nvc0_decoder_setup_ppp()
29 uint32_t stride_in = mb(dec->base.width); in nvc0_decoder_setup_ppp()
31 uint32_t dec_h = mb(dec->base.height); in nvc0_decoder_setup_ppp()
32 uint32_t dec_w = mb(dec->base.width); in nvc0_decoder_setup_ppp()
38 { dec->ref_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nvc0_decoder_setup_ppp()
40 { dec->fence_bo, NOUVEAU_BO_WR | NOUVEAU_BO_GART }, in nvc0_decoder_setup_ppp()
51 nouveau_vp3_ycbcr_offsets(dec, &y2, &cbcr, &cbcr2); in nvc0_decoder_setup_ppp()
54 in_addr = nouveau_vp3_video_addr(dec, target) >> 8; in nvc0_decoder_setup_ppp()
76 nvc0_decoder_vc1_ppp(struct nouveau_vp3_decoder *dec, struct pipe_vc1_picture_desc *desc, struct no… in nvc0_decoder_vc1_ppp() argument
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video.c38 struct nouveau_vp3_decoder *dec = (struct nouveau_vp3_decoder *)decoder; in nv98_decoder_decode_bitstream() local
40 uint32_t comm_seq = ++dec->fence_seq; in nv98_decoder_decode_bitstream()
51 ret = nv98_decoder_bsp(dec, desc, target, comm_seq, in nv98_decoder_decode_bitstream()
58 nv98_decoder_vp(dec, desc, target, comm_seq, vp_caps, is_ref, refs); in nv98_decoder_decode_bitstream()
59 nv98_decoder_ppp(dec, desc, target, comm_seq); in nv98_decoder_decode_bitstream()
89 struct nouveau_vp3_decoder *dec; in nv98_create_decoder() local
106 dec = CALLOC_STRUCT(nouveau_vp3_decoder); in nv98_create_decoder()
107 if (!dec) in nv98_create_decoder()
109 dec->client = screen->client; in nv98_create_decoder()
110 dec->base = *templ; in nv98_create_decoder()
[all …]
Dnv84_video.c67 nv84_load_firmwares(struct nouveau_device *dev, struct nv84_decoder *dec, in nv84_load_firmwares() argument
79 dec->vp_fw2_offset = align(size1, 0x100); in nv84_load_firmwares()
81 ret = nouveau_bo_new(dev, NOUVEAU_BO_VRAM, 0, dec->vp_fw2_offset + size2, NULL, &fw); in nv84_load_firmwares()
84 ret = nouveau_bo_map(fw, NOUVEAU_BO_WR, dec->client); in nv84_load_firmwares()
90 ret = nv84_copy_firmware(fw2, fw->map + dec->vp_fw2_offset, size2); in nv84_load_firmwares()
101 nv84_load_bsp_firmware(struct nouveau_device *dev, struct nv84_decoder *dec) in nv84_load_bsp_firmware() argument
104 dev, dec, "/lib/firmware/nouveau/nv84_bsp-h264", NULL); in nv84_load_bsp_firmware()
108 nv84_load_vp_firmware(struct nouveau_device *dev, struct nv84_decoder *dec) in nv84_load_vp_firmware() argument
111 dev, dec, in nv84_load_vp_firmware()
117 nv84_load_vp_firmware_mpeg(struct nouveau_device *dev, struct nv84_decoder *dec) in nv84_load_vp_firmware_mpeg() argument
[all …]
Dnv98_video_vp.c27 static void dump_comm_vp(struct nouveau_vp3_decoder *dec, struct comm *comm, u32 comm_seq, in dump_comm_vp() argument
47 int ret = nouveau_bo_map(inter_bo, NOUVEAU_BO_RD|NOUVEAU_BO_NOBLOCK, dec->client); in dump_comm_vp()
61 nv98_decoder_kick_ref(struct nouveau_vp3_decoder *dec, struct nouveau_vp3_video_buffer *target) in nv98_decoder_kick_ref() argument
63 dec->refs[target->valid_ref].last_used = 0; in nv98_decoder_kick_ref()
68 nv98_decoder_vp(struct nouveau_vp3_decoder *dec, union pipe_desc desc, in nv98_decoder_vp() argument
73 struct nouveau_pushbuf *push = dec->pushbuf[1]; in nv98_decoder_vp()
76 enum pipe_video_format codec = u_reduce_video_profile(dec->base.profile); in nv98_decoder_vp()
77 struct nouveau_bo *bsp_bo = dec->bsp_bo[comm_seq % NOUVEAU_VP3_VIDEO_QDEPTH]; in nv98_decoder_vp()
78 struct nouveau_bo *inter_bo = dec->inter_bo[comm_seq & 1]; in nv98_decoder_vp()
82 { dec->ref_bo, NOUVEAU_BO_WR | NOUVEAU_BO_VRAM }, in nv98_decoder_vp()
[all …]
Dnv84_video_vp.c66 nv84_decoder_vp_h264(struct nv84_decoder *dec, in nv84_decoder_vp_h264() argument
75 struct nouveau_pushbuf *push = dec->vp_pushbuf; in nv84_decoder_vp_h264()
79 { dec->vpring, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
80 { dec->mbring, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
81 { dec->vp_params, NOUVEAU_BO_RDWR | NOUVEAU_BO_GART }, in nv84_decoder_vp_h264()
82 { dec->fence, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM }, in nv84_decoder_vp_h264()
147 memcpy(dec->vp_params->map, &param1, sizeof(param1)); in nv84_decoder_vp_h264()
148 memcpy(dec->vp_params->map + 0x400, &param2, sizeof(param2)); in nv84_decoder_vp_h264()
154 PUSH_DATAh(push, dec->fence->offset); in nv84_decoder_vp_h264()
155 PUSH_DATA (push, dec->fence->offset); in nv84_decoder_vp_h264()
[all …]
Dnv98_video_ppp.c26 nv98_decoder_setup_ppp(struct nouveau_vp3_decoder *dec, struct nouveau_vp3_video_buffer *target, ui… in nv98_decoder_setup_ppp() argument
27 struct nouveau_pushbuf *push = dec->pushbuf[2]; in nv98_decoder_setup_ppp()
29 uint32_t stride_in = mb(dec->base.width); in nv98_decoder_setup_ppp()
31 uint32_t dec_h = mb(dec->base.height); in nv98_decoder_setup_ppp()
32 uint32_t dec_w = mb(dec->base.width); in nv98_decoder_setup_ppp()
38 { dec->ref_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM }, in nv98_decoder_setup_ppp()
40 { dec->fence_bo, NOUVEAU_BO_WR | NOUVEAU_BO_GART }, in nv98_decoder_setup_ppp()
51 nouveau_vp3_ycbcr_offsets(dec, &y2, &cbcr, &cbcr2); in nv98_decoder_setup_ppp()
54 in_addr = nouveau_vp3_video_addr(dec, target) >> 8; in nv98_decoder_setup_ppp()
76 nv98_decoder_vc1_ppp(struct nouveau_vp3_decoder *dec, struct pipe_vc1_picture_desc *desc, struct no… in nv98_decoder_vc1_ppp() argument
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.c99 static int flush(struct ruvd_decoder *dec, unsigned flags) in flush() argument
101 return dec->ws->cs_flush(dec->cs, flags, NULL); in flush()
105 static void set_reg(struct ruvd_decoder *dec, unsigned reg, uint32_t val) in set_reg() argument
107 radeon_emit(dec->cs, RUVD_PKT0(reg >> 2, 0)); in set_reg()
108 radeon_emit(dec->cs, val); in set_reg()
112 static void send_cmd(struct ruvd_decoder *dec, unsigned cmd, in send_cmd() argument
118 reloc_idx = dec->ws->cs_add_buffer(dec->cs, buf, usage | RADEON_USAGE_SYNCHRONIZED, in send_cmd()
121 if (!dec->use_legacy) { in send_cmd()
123 addr = dec->ws->buffer_get_virtual_address(buf); in send_cmd()
125 set_reg(dec, dec->reg.data0, addr); in send_cmd()
[all …]
Dradeon_vcn_dec.c84 static rvcn_dec_message_avc_t get_h264_msg(struct radeon_decoder *dec, in get_h264_msg() argument
108 result.level = dec->base.level; in get_h264_msg()
124 switch (dec->base.chroma_format) { in get_h264_msg()
161 memcpy(dec->it, result.scaling_list_4x4, 6*16); in get_h264_msg()
162 memcpy((dec->it + 96), result.scaling_list_8x8, 2*64); in get_h264_msg()
185 static rvcn_dec_message_hevc_t get_h265_msg(struct radeon_decoder *dec, in get_h265_msg() argument
203 if (((struct si_screen*)dec->screen)->info.family == CHIP_CARRIZO) in get_h265_msg()
281 if (dec->render_pic_list[i] == pic->ref[j]) in get_h265_msg()
284 dec->render_pic_list[i] = NULL; in get_h265_msg()
286 dec->render_pic_list[i] = NULL; in get_h265_msg()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c103 static int flush(struct ruvd_decoder *dec, unsigned flags) in flush() argument
105 return dec->ws->cs_flush(dec->cs, flags, NULL); in flush()
109 static void set_reg(struct ruvd_decoder *dec, unsigned reg, uint32_t val) in set_reg() argument
111 radeon_emit(dec->cs, RUVD_PKT0(reg >> 2, 0)); in set_reg()
112 radeon_emit(dec->cs, val); in set_reg()
116 static void send_cmd(struct ruvd_decoder *dec, unsigned cmd, in send_cmd() argument
122 reloc_idx = dec->ws->cs_add_buffer(dec->cs, buf, usage | RADEON_USAGE_SYNCHRONIZED, in send_cmd()
125 if (!dec->use_legacy) { in send_cmd()
127 addr = dec->ws->buffer_get_virtual_address(buf); in send_cmd()
129 set_reg(dec, dec->reg.data0, addr); in send_cmd()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.c36 nouveau_vpe_init(struct nouveau_decoder *dec) { in nouveau_vpe_init() argument
38 if (dec->cmds) in nouveau_vpe_init()
40 ret = nouveau_bo_map(dec->cmd_bo, NOUVEAU_BO_RDWR, dec->client); in nouveau_vpe_init()
45 ret = nouveau_bo_map(dec->data_bo, NOUVEAU_BO_RDWR, dec->client); in nouveau_vpe_init()
50 dec->cmds = dec->cmd_bo->map; in nouveau_vpe_init()
51 dec->data = dec->data_bo->map; in nouveau_vpe_init()
56 nouveau_vpe_synch(struct nouveau_decoder *dec) { in nouveau_vpe_synch() argument
57 struct nouveau_pushbuf *push = dec->push; in nouveau_vpe_synch()
59 if (dec->fence_map) { in nouveau_vpe_synch()
61 PUSH_DATA (push, ++dec->fence_seq); in nouveau_vpe_synch()
[all …]
Dnouveau_vp3_video_vp.c170 nouveau_vp3_handle_references(struct nouveau_vp3_decoder *dec, struct nouveau_vp3_video_buffer *ref… in nouveau_vp3_handle_references() argument
174 for (i = 0; i < dec->base.max_references; ++i) { in nouveau_vp3_handle_references()
181 if (dec->refs[idx].vidbuf != refs[i]) { in nouveau_vp3_handle_references()
187 assert(dec->refs[idx].vidbuf == refs[i]); in nouveau_vp3_handle_references()
188 dec->refs[idx].last_used = seq; in nouveau_vp3_handle_references()
191 if (dec->refs[target->valid_ref].vidbuf == target) { in nouveau_vp3_handle_references()
192 dec->refs[target->valid_ref].last_used = seq; in nouveau_vp3_handle_references()
198 for (i = 0; i < dec->base.max_references + 1; ++i) { in nouveau_vp3_handle_references()
199 if (dec->refs[i].vidbuf == target) { in nouveau_vp3_handle_references()
202 } else if (!dec->refs[i].last_used) { in nouveau_vp3_handle_references()
[all …]
/external/webp/src/demux/
Danim_decode.c64 WebPAnimDecoder* const dec) { in ApplyDecoderOptions() argument
66 WebPDecoderConfig* config = &dec->config_; in ApplyDecoderOptions()
74 dec->blend_func_ = (mode == MODE_RGBA || mode == MODE_BGRA) in ApplyDecoderOptions()
89 WebPAnimDecoder* dec = NULL; in WebPAnimDecoderNewInternal() local
96 dec = (WebPAnimDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in WebPAnimDecoderNewInternal()
97 if (dec == NULL) goto Error; in WebPAnimDecoderNewInternal()
104 if (!ApplyDecoderOptions(&options, dec)) goto Error; in WebPAnimDecoderNewInternal()
106 dec->demux_ = WebPDemux(webp_data); in WebPAnimDecoderNewInternal()
107 if (dec->demux_ == NULL) goto Error; in WebPAnimDecoderNewInternal()
109 dec->info_.canvas_width = WebPDemuxGetI(dec->demux_, WEBP_FF_CANVAS_WIDTH); in WebPAnimDecoderNewInternal()
[all …]
/external/libaom/libaom/aom_dsp/
Dentdec.c78 static void od_ec_dec_refill(od_ec_dec *dec) { in od_ec_dec_refill() argument
84 dif = dec->dif; in od_ec_dec_refill()
85 cnt = dec->cnt; in od_ec_dec_refill()
86 bptr = dec->bptr; in od_ec_dec_refill()
87 end = dec->end; in od_ec_dec_refill()
109 dec->tell_offs += OD_EC_LOTS_OF_BITS - cnt; in od_ec_dec_refill()
112 dec->dif = dif; in od_ec_dec_refill()
113 dec->cnt = cnt; in od_ec_dec_refill()
114 dec->bptr = bptr; in od_ec_dec_refill()
125 static int od_ec_dec_normalize(od_ec_dec *dec, od_ec_window dif, unsigned rng, in od_ec_dec_normalize() argument
[all …]
/external/lzma/CPP/7zip/Compress/
DBcj2Coder.cpp340 dec.lims[i] = dec.bufs[i] = _bufs[i]; in InitCommon()
352 Bcj2Dec_Init(&dec); in InitCommon()
366 dec.destLim = dec.dest = _bufs[BCJ2_NUM_STREAMS]; in Code()
375 if (Bcj2Dec_Decode(&dec) != SZ_OK) in Code()
378 if (dec.state < BCJ2_NUM_STREAMS) in Code()
380 size_t totalRead = _extraReadSizes[dec.state]; in Code()
382 Byte *buf = _bufs[dec.state]; in Code()
384 buf[i] = dec.bufs[dec.state][i]; in Code()
385 dec.lims[dec.state] = in Code()
386 dec.bufs[dec.state] = buf; in Code()
[all …]
/external/libmpeg2/decoder/arm/
Dimpeg2d_function_selector_a9q.c71 dec_state_t *dec = (dec_state_t *)pv_codec; in impeg2d_init_function_ptr_a9q() local
73 dec->pf_idct_recon[0] = &impeg2_idct_recon_dc_a9q; in impeg2d_init_function_ptr_a9q()
74 dec->pf_idct_recon[1] = &impeg2_idct_recon_dc_mismatch_a9q; in impeg2d_init_function_ptr_a9q()
75 dec->pf_idct_recon[2] = &impeg2_idct_recon_a9q; in impeg2d_init_function_ptr_a9q()
76 dec->pf_idct_recon[3] = &impeg2_idct_recon_a9q; in impeg2d_init_function_ptr_a9q()
78 dec->pf_mc[0] = &impeg2d_mc_fullx_fully; in impeg2d_init_function_ptr_a9q()
79 dec->pf_mc[1] = &impeg2d_mc_fullx_halfy; in impeg2d_init_function_ptr_a9q()
80 dec->pf_mc[2] = &impeg2d_mc_halfx_fully; in impeg2d_init_function_ptr_a9q()
81 dec->pf_mc[3] = &impeg2d_mc_halfx_halfy; in impeg2d_init_function_ptr_a9q()
83 dec->pf_interpolate = &impeg2_interpolate_a9q; in impeg2d_init_function_ptr_a9q()
[all …]
Dimpeg2d_function_selector_av8.c76 dec_state_t *dec = (dec_state_t *)pv_codec; in impeg2d_init_function_ptr_av8() local
78 dec->pf_idct_recon[0] = &impeg2_idct_recon_dc_av8; in impeg2d_init_function_ptr_av8()
79 dec->pf_idct_recon[1] = &impeg2_idct_recon_dc_mismatch_av8; in impeg2d_init_function_ptr_av8()
80 dec->pf_idct_recon[2] = &impeg2_idct_recon_av8; in impeg2d_init_function_ptr_av8()
81 dec->pf_idct_recon[3] = &impeg2_idct_recon_av8; in impeg2d_init_function_ptr_av8()
83 dec->pf_mc[0] = &impeg2d_mc_fullx_fully; in impeg2d_init_function_ptr_av8()
84 dec->pf_mc[1] = &impeg2d_mc_fullx_halfy; in impeg2d_init_function_ptr_av8()
85 dec->pf_mc[2] = &impeg2d_mc_halfx_fully; in impeg2d_init_function_ptr_av8()
86 dec->pf_mc[3] = &impeg2d_mc_halfx_halfy; in impeg2d_init_function_ptr_av8()
88 dec->pf_interpolate = &impeg2_interpolate_av8; in impeg2d_init_function_ptr_av8()
[all …]

12345678910>>...47