Home
last modified time | relevance | path

Searched refs:dst_w (Results 1 – 23 of 23) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_stretch.c70 static int generate_rowbytes(int src_w, int dst_w, int bpp) in generate_rowbytes() argument
75 int dst_w; in generate_rowbytes() member
86 (dst_w == last.dst_w) && (bpp == last.bpp) ) { in generate_rowbytes()
91 last.dst_w = dst_w; in generate_rowbytes()
116 inc = (src_w << 16) / dst_w; in generate_rowbytes()
119 for ( i=0; i<dst_w && eip < end; ++i ) { in generate_rowbytes()
155 void name(type *src, int src_w, type *dst, int dst_w) \
162 inc = (src_w << 16) / dst_w; \
163 for ( i=dst_w; i>0; --i ) { \
177 void copy_row3(Uint8 *src, int src_w, Uint8 *dst, int dst_w) in DEFINE_COPY_ROW()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
Dxa_yuv.c116 int dst_w, in xa_yuv_planar_blit() argument
127 if (dst_w == 0 || dst_h == 0) in xa_yuv_planar_blit()
140 scale_x = (float)src_w / (float)dst_w; in xa_yuv_planar_blit()
Dxa_context.h58 int dst_w,
Dxa_priv.h230 int dst_y, int dst_w, int dst_h,
Dxa_renderer.c508 int dst_y, int dst_w, int dst_h, struct xa_surface *srf[]) in renderer_draw_yuv() argument
514 dst_x, dst_y, dst_w, dst_h, srf); in renderer_draw_yuv()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_yuv.c116 int dst_w, in xa_yuv_planar_blit() argument
127 if (dst_w == 0 || dst_h == 0) in xa_yuv_planar_blit()
140 scale_x = (float)src_w / (float)dst_w; in xa_yuv_planar_blit()
Dxa_context.h58 int dst_w,
Dxa_priv.h230 int dst_y, int dst_w, int dst_h,
Dxa_renderer.c508 int dst_y, int dst_w, int dst_h, struct xa_surface *srf[]) in renderer_draw_yuv() argument
514 dst_x, dst_y, dst_w, dst_h, srf); in renderer_draw_yuv()
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
Ddxgi_native.cpp1105 unsigned dst_w, dst_h; in Present() local
1158 dst_w = rect.right - rect.left; in Present()
1168 if(!formats_compatible || src->width0 != dst_w || src->height0 != dst_h) { in Present()
1180 int delta = src->width0 * dst_h - dst_w * src->height0; in Present()
1183 blit_w = dst_w; in Present()
1184 blit_h = dst_w * src->height0 / src->width0; in Present()
1193 blit_w = dst_w; in Present()
1197 blit_x = (dst_w - blit_w) >> 1; in Present()
1204 blit_w = dst_w; in Present()
1211 pipe->clear_render_target(pipe, dst_surface, &black, rect.left, rect.top, dst_w, blit_y); in Present()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/dxgi/src/
Ddxgi_native.cpp1105 unsigned dst_w, dst_h; in Present() local
1158 dst_w = rect.right - rect.left; in Present()
1168 if(!formats_compatible || src->width0 != dst_w || src->height0 != dst_h) { in Present()
1180 int delta = src->width0 * dst_h - dst_w * src->height0; in Present()
1183 blit_w = dst_w; in Present()
1184 blit_h = dst_w * src->height0 / src->width0; in Present()
1193 blit_w = dst_w; in Present()
1197 blit_x = (dst_w - blit_w) >> 1; in Present()
1204 blit_w = dst_w; in Present()
1211 pipe->clear_render_target(pipe, dst_surface, &black, rect.left, rect.top, dst_w, blit_y); in Present()
[all …]
/external/chromium_org/ui/gfx/image/
Dimage_skia_operations.cc211 int dst_w, int dst_h) in TiledImageSource() argument
215 dst_w_(dst_w), in TiledImageSource()
478 int dst_w, int dst_h) { in CreateTiledImage() argument
482 return ImageSkia(new TiledImageSource(source, src_x, src_y, dst_w, dst_h), in CreateTiledImage()
483 gfx::Size(dst_w, dst_h)); in CreateTiledImage()
Dimage_skia_operations.h48 int dst_w, int dst_h);
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_renderer.h58 int dst_x, int dst_y, int dst_w, int dst_h,
Dxorg_xv.c418 int dst_x, int dst_y, int dst_w, int dst_h) in draw_yuv() argument
427 dst_x, dst_y, dst_w, dst_h, in draw_yuv()
494 int dstX, int dstY, int dst_w, int dst_h, in display_video() argument
549 float diff_x = (float)src_w / (float)dst_w; in display_video()
566 offset_w = dst_w - w; in display_video()
Dxorg_renderer.c440 int dst_x, int dst_y, int dst_w, int dst_h, in renderer_draw_yuv() argument
447 dst_x, dst_y, dst_w, dst_h, in renderer_draw_yuv()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
Dxorg_renderer.h58 int dst_x, int dst_y, int dst_w, int dst_h,
Dxorg_xv.c418 int dst_x, int dst_y, int dst_w, int dst_h) in draw_yuv() argument
427 dst_x, dst_y, dst_w, dst_h, in draw_yuv()
494 int dstX, int dstY, int dst_w, int dst_h, in display_video() argument
549 float diff_x = (float)src_w / (float)dst_w; in display_video()
566 offset_w = dst_w - w; in display_video()
Dxorg_renderer.c440 int dst_x, int dst_y, int dst_w, int dst_h, in renderer_draw_yuv() argument
447 dst_x, dst_y, dst_w, dst_h, in renderer_draw_yuv()
/external/chromium_org/ui/gfx/
Dskbitmap_operations.h86 int dst_w, int dst_h);
Dskbitmap_operations.cc573 int dst_w, int dst_h) { in CreateTiledBitmap() argument
577 cropped.allocN32Pixels(dst_w, dst_h); in CreateTiledBitmap()
592 for (int x = 0; x < dst_w; ++x) { in CreateTiledBitmap()
/external/chromium_org/skia/ext/
Dimage_operations_unittest.cc663 const int dst_w = 9; in TEST() local
680 dst_w, dst_h); in TEST()
683 for (int dst_x = 0; dst_x < dst_w; ++dst_x) { in TEST()
684 float dst_x_in_src = (dst_x + 0.5) * src_w / dst_w; in TEST()
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_encoder.c1407 const int dst_w = dst->y_crop_width; in scale_and_extend_frame() local
1420 for (x = 0; x < dst_w; x += 16) { in scale_and_extend_frame()
1423 const int x_q4 = x * (16 / factor) * src_w / dst_w; in scale_and_extend_frame()
1428 src_stride + (x / factor) * src_w / dst_w; in scale_and_extend_frame()
1432 vp9_sub_pel_filters_8[x_q4 & 0xf], 16 * src_w / dst_w, in scale_and_extend_frame()