Home
last modified time | relevance | path

Searched refs:dst_buf (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/core/src/fxcodec/lbmp/
Dfx_bmp.cpp679 static void WriteFileHeader(BmpFileHeaderPtr head_ptr, uint8_t* dst_buf) { in WriteFileHeader() argument
682 _SetWord_LSBFirst(&dst_buf[offset], head_ptr->bfType); in WriteFileHeader()
684 _SetDWord_LSBFirst(&dst_buf[offset], head_ptr->bfSize); in WriteFileHeader()
686 _SetWord_LSBFirst(&dst_buf[offset], head_ptr->bfReserved1); in WriteFileHeader()
688 _SetWord_LSBFirst(&dst_buf[offset], head_ptr->bfReserved2); in WriteFileHeader()
690 _SetDWord_LSBFirst(&dst_buf[offset], head_ptr->bfOffBits); in WriteFileHeader()
693 static void WriteInfoHeader(BmpInfoHeaderPtr info_head_ptr, uint8_t* dst_buf) { in WriteInfoHeader() argument
696 _SetDWord_LSBFirst(&dst_buf[offset], info_head_ptr->biSize); in WriteInfoHeader()
698 _SetDWord_LSBFirst(&dst_buf[offset], (FX_DWORD)info_head_ptr->biWidth); in WriteInfoHeader()
700 _SetDWord_LSBFirst(&dst_buf[offset], (FX_DWORD)info_head_ptr->biHeight); in WriteInfoHeader()
[all …]
Dfx_bmp.h154 uint8_t*& dst_buf,
/external/pdfium/core/src/fxcodec/lgif/
Dfx_gif.cpp144 static FX_BOOL _gif_grow_buf(uint8_t*& dst_buf, in _gif_grow_buf() argument
149 while (dst_buf && dst_len < size) { in _gif_grow_buf()
151 dst_buf = FX_Realloc(uint8_t, dst_buf, dst_len); in _gif_grow_buf()
153 if (dst_buf == NULL) { in _gif_grow_buf()
155 dst_buf = FX_Realloc(uint8_t, dst_buf, dst_len); in _gif_grow_buf()
156 if (dst_buf == NULL) { in _gif_grow_buf()
160 FXSYS_memset(dst_buf + len_org, 0, dst_len - len_org); in _gif_grow_buf()
161 return dst_buf != NULL; in _gif_grow_buf()
211 uint8_t*& dst_buf, in Start() argument
221 dst_buf[offset++] = code_size; in Start()
[all …]
Dfx_gif.h17 uint8_t*& dst_buf,
170 uint8_t*& dst_buf,
174 uint8_t*& dst_buf,
177 void Finish(uint8_t*& dst_buf, FX_DWORD& dst_len, FX_DWORD& offset);
185 uint8_t*& dst_buf,
188 void WriteBlock(uint8_t*& dst_buf, FX_DWORD& dst_len, FX_DWORD& offset);
326 uint8_t*& dst_buf,
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dx11_screen.h113 int src_buf, int dst_buf);
121 int src_buf, int dst_buf) in x11_drawable_copy_buffers() argument
124 x11_drawable_copy_buffers_region(xscr, drawable, 1, rect, src_buf, dst_buf); in x11_drawable_copy_buffers()
Dx11_screen.c354 int src_buf, int dst_buf) in x11_drawable_copy_buffers_region() argument
367 DRI2CopyRegion(xscr->dpy, drawable, region, dst_buf, src_buf); in x11_drawable_copy_buffers_region()
/external/libvpx/libvpx/vpx/src/
Dvpx_encoder.c274 char *const dst_buf = (char *)priv->enc.cx_data_dst_buf.buf; in vpx_codec_get_cx_data() local
276 if (dst_buf && in vpx_codec_get_cx_data()
277 pkt->data.raw.buf != dst_buf && in vpx_codec_get_cx_data()
282 memcpy(dst_buf + priv->enc.cx_data_pad_before, pkt->data.raw.buf, in vpx_codec_get_cx_data()
285 modified_pkt->data.raw.buf = dst_buf; in vpx_codec_get_cx_data()
291 if (dst_buf == pkt->data.raw.buf) { in vpx_codec_get_cx_data()
292 priv->enc.cx_data_dst_buf.buf = dst_buf + pkt->data.raw.sz; in vpx_codec_get_cx_data()
/external/curl/tests/server/
Dgetpart.c149 static int appenddata(char **dst_buf, /* dest buffer */ in appenddata() argument
174 char *newptr = realloc(*dst_buf, newsize); in appenddata()
179 *dst_buf = newptr; in appenddata()
183 memcpy(*dst_buf + *dst_len, src_buf, src_len); in appenddata()
185 *(*dst_buf + *dst_len) = '\0'; in appenddata()
/external/libvpx/libvpx/vp9/common/
Dvp9_reconinter.c169 struct buf_2d *const dst_buf = &pd->dst; in build_inter_predictors() local
170 uint8_t *const dst = dst_buf->buf + dst_buf->stride * y + x; in build_inter_predictors()
219 high_inter_predictor(pre, pre_buf->stride, dst, dst_buf->stride, in build_inter_predictors()
223 inter_predictor(pre, pre_buf->stride, dst, dst_buf->stride, in build_inter_predictors()
227 inter_predictor(pre, pre_buf->stride, dst, dst_buf->stride, in build_inter_predictors()
/external/libvpx/libvpx/test/
Dy4m_video_source.h100 std::swap(other->y4m_.dst_buf, y4m_.dst_buf); in SwapBuffers()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp291 uint8_t* dst_buf = pNewBitmap->GetBuffer(); in SetImage() local
297 dst_buf[src_offset] = (uint8_t)(src_buf[src_offset] * alpha); in SetImage()
298 dst_buf[src_offset + 1] = in SetImage()
300 dst_buf[src_offset + 2] = in SetImage()
302 dst_buf[src_offset + 3] = (uint8_t)(src_buf[src_offset + 3]); in SetImage()
/external/strace/
Dsocketutils.c122 char dst_buf[text_size]; in inet_parse_response() local
125 dst_buf, text_size)) in inet_parse_response()
131 dst_buf, ntohs(diag_msg->id.idiag_dport)); in inet_parse_response()
/external/libvpx/libvpx/
Dy4minput.c978 _y4m->dst_buf = (unsigned char *)malloc(_y4m->dst_buf_sz); in y4m_input_open()
980 _y4m->dst_buf = (unsigned char *)malloc(2 * _y4m->dst_buf_sz); in y4m_input_open()
988 free(_y4m->dst_buf); in y4m_input_close()
1015 if (!file_read(_y4m->dst_buf, _y4m->dst_buf_read_sz, _fin)) { in y4m_input_fetch_frame()
1025 (*_y4m->convert)(_y4m, _y4m->dst_buf, _y4m->aux_buf); in y4m_input_fetch_frame()
1047 _img->planes[VPX_PLANE_Y] = _y4m->dst_buf; in y4m_input_fetch_frame()
1048 _img->planes[VPX_PLANE_U] = _y4m->dst_buf + pic_sz; in y4m_input_fetch_frame()
1049 _img->planes[VPX_PLANE_V] = _y4m->dst_buf + pic_sz + c_sz; in y4m_input_fetch_frame()
1050 _img->planes[VPX_PLANE_ALPHA] = _y4m->dst_buf + pic_sz + 2 * c_sz; in y4m_input_fetch_frame()
Dy4minput.h58 unsigned char *dst_buf; member
/external/opencv3/modules/imgproc/test/
Dtest_color.cpp215 float* dst_buf = &_dst_buf[0]; in convert_forward() local
236 convert_row_bgr2abc_32f_c3( src_buf, dst_buf, cols ); in convert_forward()
240 int t = cvRound( dst_buf[j] ); in convert_forward()
257 convert_row_bgr2abc_32f_c3( src_buf, dst_buf, cols ); in convert_forward()
261 int t = cvRound( dst_buf[j] ); in convert_forward()
310 float* dst_buf = &_dst_buf[0]; in convert_backward() local
327 convert_row_abc2bgr_32f_c3( src_buf, dst_buf, dst_cols ); in convert_backward()
331 int b = cvRound( dst_buf[j*3]*255. ); in convert_backward()
332 int g = cvRound( dst_buf[j*3+1]*255. ); in convert_backward()
333 int r = cvRound( dst_buf[j*3+2]*255. ); in convert_backward()
[all …]
/external/libmpeg2/common/
Dimpeg2_inter_pred.h62 yuv_buf_t *dst_buf,
/external/libmpeg2/common/x86/
Dimpeg2_inter_pred_sse42_intr.c70 yuv_buf_t *dst_buf, in impeg2_copy_mb_sse42() argument
82 dst = dst_buf->pu1_y; in impeg2_copy_mb_sse42()
140 dst = dst_buf->pu1_u; in impeg2_copy_mb_sse42()
171 dst = dst_buf->pu1_v; in impeg2_copy_mb_sse42()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c561 struct buf_2d *dst_buf, const MV* mv, in dec_build_inter_predictors() argument
565 uint8_t *const dst = dst_buf->buf + dst_buf->stride * y + x; in dec_build_inter_predictors()
675 dst, dst_buf->stride, in dec_build_inter_predictors()
695 high_inter_predictor(buf_ptr, buf_stride, dst, dst_buf->stride, subpel_x, in dec_build_inter_predictors()
698 inter_predictor(buf_ptr, buf_stride, dst, dst_buf->stride, subpel_x, in dec_build_inter_predictors()
702 inter_predictor(buf_ptr, buf_stride, dst, dst_buf->stride, subpel_x, in dec_build_inter_predictors()
720 struct buf_2d *const dst_buf = &pd->dst; in dec_build_inter_predictors_sb() local
743 sf, pre_buf, dst_buf, &mv, in dec_build_inter_predictors_sb()
751 sf, pre_buf, dst_buf, &mv, ref_frame_buf, in dec_build_inter_predictors_sb()
/external/opencv/cv/src/
Dcvfilter.cpp2383 CvMat* dst_buf = 0; in icvIPPSepFilter() local
2466 CV_CALL( dst_buf = cvCreateMat( max_dy + ksize.height, in icvIPPSepFilter()
2529 dst_buf->data.ptr + i*dst_buf->step, size.width*pix_size ); in icvIPPSepFilter()
2532 hout = dst_buf; in icvIPPSepFilter()
2559 cvReleaseMat( &dst_buf ); in icvIPPSepFilter()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c5172 u8 dst_buf[ETH_ALEN], *dst; in p2p_ctrl_serv_disc_req() local
5177 if (hwaddr_aton(cmd, dst_buf)) in p2p_ctrl_serv_disc_req()
5179 dst = dst_buf; in p2p_ctrl_serv_disc_req()