Searched refs:ref_buf (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_decoder.c150 RefBuffer *ref_buf = NULL; local
157 ref_buf = &cm->frame_refs[0];
159 ref_buf = &cm->frame_refs[1];
161 ref_buf = &cm->frame_refs[2];
168 if (!equal_dimensions(ref_buf->buf, sd)) {
172 int *ref_fb_ptr = &ref_buf->idx;
182 ref_buf->buf = &cm->frame_bufs[*ref_fb_ptr].buf;
183 vp8_yv12_copy_frame(sd, ref_buf->buf);
H A Dvp9_decodeframe.c1269 RefBuffer *const ref_buf = &cm->frame_refs[i]; local
1271 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
1272 ref_buf->buf->y_crop_width,
1273 ref_buf->buf->y_crop_height,
1277 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
1278 ref_buf->buf->y_crop_width,
1279 ref_buf->buf->y_crop_height,
1282 if (vp9_is_scaled(&ref_buf->sf))
1283 vp9_extend_frame_borders(ref_buf->buf);
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_decoder.c215 RefBuffer *ref_buf = NULL; local
222 ref_buf = &cm->frame_refs[0];
224 ref_buf = &cm->frame_refs[1];
226 ref_buf = &cm->frame_refs[2];
233 if (!equal_dimensions(ref_buf->buf, sd)) {
237 int *ref_fb_ptr = &ref_buf->idx;
247 ref_buf->buf = &cm->frame_bufs[*ref_fb_ptr].buf;
248 vp8_yv12_copy_frame(sd, ref_buf->buf);
H A Dvp9_decodeframe.c1116 RefBuffer *const ref_buf = &cm->frame_refs[i]; local
1117 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
1118 ref_buf->buf->y_crop_width,
1119 ref_buf->buf->y_crop_height,
1121 if (vp9_is_scaled(&ref_buf->sf))
1122 vp9_extend_frame_borders(ref_buf->buf);
/external/pdfium/core/src/fxcodec/codec/
H A Dfx_codec_fax.cpp47 void _FaxG4FindB1B2(const FX_BYTE* ref_buf, int columns, int a0, FX_BOOL a0color, int& b1, int& b2) argument
52 FX_BYTE first_bit = (a0 < 0) ? 1 : ((ref_buf[a0 / 8] & (1 << (7 - a0 % 8))) != 0);
53 b1 = _FindBit(ref_buf, columns, a0 + 1, !first_bit);
59 b1 = _FindBit(ref_buf, columns, b1 + 1, first_bit);
66 b2 = _FindBit(ref_buf, columns, b1 + 1, first_bit);
368 FX_BOOL _FaxG4GetRow(const FX_BYTE* src_buf, int bitsize, int& bitpos, FX_LPBYTE dest_buf, const FX_BYTE* ref_buf, int columns) argument
376 _FaxG4FindB1B2(ref_buf, columns, a0, a0color, b1, b2);
672 FX_LPBYTE ref_buf = FX_Alloc(FX_BYTE, pitch); local
673 if (ref_buf == NULL) {
676 FXSYS_memset8(ref_buf,
839 _FaxEncode2DLine(FX_LPBYTE dest_buf, int& dest_bitpos, FX_LPCBYTE src_buf, FX_LPCBYTE ref_buf, int cols) argument
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_reconinter.c284 const YV12_BUFFER_CONFIG *ref_buf = xd->block_refs[ref]->buf; local
288 frame_width = ref_buf->y_crop_width;
289 frame_height = ref_buf->y_crop_height;
290 ref_frame = ref_buf->y_buffer;
292 frame_width = ref_buf->uv_crop_width;
293 frame_height = ref_buf->uv_crop_height;
294 ref_frame = plane == 1 ? ref_buf->u_buffer : ref_buf->v_buffer;
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_filters.cpp478 static void PNG_PredictorLine(FX_LPBYTE cur_buf, FX_LPBYTE ref_buf, int pitch, int Bpp)
485 if (ref_buf) {
486 ref_buf ++;
501 if (ref_buf) {
502 up = ref_buf[byte];
513 if (ref_buf) {
514 up = ref_buf[byte];
525 if (ref_buf) {
526 up = ref_buf[byte];
529 if (byte >= Bpp && ref_buf) {
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_reconinter.c402 const YV12_BUFFER_CONFIG *ref_buf = xd->block_refs[ref]->buf; local
406 frame_width = ref_buf->y_crop_width;
407 frame_height = ref_buf->y_crop_height;
408 ref_frame = ref_buf->y_buffer;
410 frame_width = ref_buf->uv_crop_width;
411 frame_height = ref_buf->uv_crop_height;
412 ref_frame = plane == 1 ? ref_buf->u_buffer : ref_buf->v_buffer;
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_encoder.c2750 RefBuffer *const ref_buf = &cm->frame_refs[ref_frame - 1]; local
2751 ref_buf->buf = buf;
2752 ref_buf->idx = idx;
2754 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
2760 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
2764 if (vp9_is_scaled(&ref_buf->sf))
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_onyx_if.c3106 RefBuffer *const ref_buf = &cm->frame_refs[ref_frame - 1]; local
3107 ref_buf->buf = buf;
3108 ref_buf->idx = idx;
3109 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
3113 if (vp9_is_scaled(&ref_buf->sf))

Completed in 1672 milliseconds