Searched refs:dst_width (Results 76 - 100 of 132) sorted by relevance

123456

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c146 * by dst_width, the actual result type will have the same width.
149 * return { i32, i32, i32, i32 } where each value is in [0, 2^dst_width-1].
154 unsigned dst_width,
163 assert(dst_width <= src_type.width);
168 if (dst_width <= mantissa) {
181 ubound = (1ULL << dst_width);
184 bias = (double)(1ULL << (mantissa - dst_width));
192 else if (dst_width == (mantissa + 1)) {
201 scale = (double)((1ULL << dst_width) - 1);
224 unsigned n = MIN2(src_type.width - 1, dst_width);
152 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, struct lp_type src_type, unsigned dst_width, LLVMValueRef src) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c146 * by dst_width, the actual result type will have the same width.
149 * return { i32, i32, i32, i32 } where each value is in [0, 2^dst_width-1].
154 unsigned dst_width,
163 assert(dst_width <= src_type.width);
168 if (dst_width <= mantissa) {
181 ubound = (1ULL << dst_width);
184 bias = (double)(1ULL << (mantissa - dst_width));
192 else if (dst_width == (mantissa + 1)) {
201 scale = (double)((1ULL << dst_width) - 1);
224 unsigned n = MIN2(src_type.width - 1, dst_width);
152 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, struct lp_type src_type, unsigned dst_width, LLVMValueRef src) argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtctexturevideoframe.cc153 size_t dst_width, size_t dst_height, uint8* dst_buffer, size_t size,
165 size_t dst_width, size_t dst_height, bool interpolate,
152 StretchToBuffer( size_t dst_width, size_t dst_height, uint8* dst_buffer, size_t size, bool interpolate, bool vert_crop) const argument
164 Stretch( size_t dst_width, size_t dst_height, bool interpolate, bool vert_crop) const argument
/external/libyuv/files/include/libyuv/
H A Dconvert_argb.h182 // dst_width/height for clipping determine final size.
187 int dst_width, int dst_height);
195 // Normally this would be the same as dst_width, with recommended alignment
200 // Normally this would be the same as (dst_width + 1) / 2, with
204 // To center, crop_x = (src_width - dst_width) / 2
208 // "dst_width" / "dst_height" is size of destination to crop to.
219 int dst_width, int dst_height,
H A Dconvert.h200 // dst_width/height for clipping determine final size.
207 int dst_width, int dst_height);
215 // Normally this would be the same as dst_width, with recommended alignment
220 // Normally this would be the same as (dst_width + 1) / 2, with
224 // To center, crop_x = (src_width - dst_width) / 2
228 // "dst_width" / "dst_height" is size of destination to crop to.
241 int dst_width, int dst_height,
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture_rescale.c177 int dst_width, int dst_height, int dst_stride,
183 dst, dst_width, dst_height, dst_stride,
185 src_width, dst_width,
188 memset(work, 0, 2 * dst_width * num_channels * sizeof(*work));
174 RescalePlane(const uint8_t* src, int src_width, int src_height, int src_stride, uint8_t* dst, int dst_width, int dst_height, int dst_stride, int32_t* const work, int num_channels) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_blit.c333 * @param[in] dst_width destination image width
354 unsigned dst_width,
379 if (reg_width + dst_x_offset > dst_width)
380 reg_width = dst_width - dst_x_offset;
418 emit_cb_setup(r100, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height);
341 r100_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_blit.c333 * @param[in] dst_width destination image width
354 unsigned dst_width,
379 if (reg_width + dst_x_offset > dst_width)
380 reg_width = dst_width - dst_x_offset;
418 emit_cb_setup(r100, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height);
341 r100_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
/external/webp/src/enc/
H A Dpicture_rescale.c177 int dst_width, int dst_height, int dst_stride,
183 dst, dst_width, dst_height, dst_stride,
185 src_width, dst_width,
188 memset(work, 0, 2 * dst_width * num_channels * sizeof(*work));
174 RescalePlane(const uint8_t* src, int src_width, int src_height, int src_stride, uint8_t* dst, int dst_width, int dst_height, int dst_stride, int32_t* const work, int num_channels) argument
/external/chromium_org/third_party/webrtc/base/
H A Dx11windowpicker.cc452 int dst_width,
487 dst_width,
512 dst_width,
516 double scale_x = static_cast<double>(dst_width) /
526 int centered_x = (dst_width - scaled_width) / 2;
561 dst_width,
569 dst_width,
448 GetDrawableThumbnail(Drawable src_drawable, Visual* visual, int src_width, int src_height, int dst_width, int dst_height) argument
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_avatar_icon_util.cc244 int dst_width,
251 std::min(dst_width, dst_height));
252 gfx::Size dst_size(dst_width, dst_height);
242 GetAvatarIconForTitleBar(const gfx::Image& image, bool is_gaia_image, int dst_width, int dst_height) argument
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dmjpeg_decoder.cc242 uint8** planes, int dst_width, int dst_height) {
243 if (dst_width != GetWidth() ||
334 int dst_width, int dst_height) {
335 if (dst_width != GetWidth() ||
241 DecodeToBuffers( uint8** planes, int dst_width, int dst_height) argument
333 DecodeToCallback(CallbackFunction fn, void* opaque, int dst_width, int dst_height) argument
/external/chromium_org/third_party/libyuv/source/
H A Dmjpeg_decoder.cc242 uint8** planes, int dst_width, int dst_height) {
243 if (dst_width != GetWidth() ||
334 int dst_width, int dst_height) {
335 if (dst_width != GetWidth() ||
241 DecodeToBuffers( uint8** planes, int dst_width, int dst_height) argument
333 DecodeToCallback(CallbackFunction fn, void* opaque, int dst_width, int dst_height) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dr200_blit.c455 * @param[in] dst_width destination image width
476 unsigned dst_width,
501 if (reg_width + dst_x_offset > dst_width)
502 reg_width = dst_width - dst_x_offset;
540 emit_cb_setup(r200, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height);
463 r200_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
/external/libyuv/files/source/
H A Dmjpeg_decoder.cc268 uint8** planes, int dst_width, int dst_height) {
269 if (dst_width != GetWidth() ||
357 int dst_width, int dst_height) {
358 if (dst_width != GetWidth() ||
267 DecodeToBuffers( uint8** planes, int dst_width, int dst_height) argument
356 DecodeToCallback(CallbackFunction fn, void* opaque, int dst_width, int dst_height) argument
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_blit.c455 * @param[in] dst_width destination image width
476 unsigned dst_width,
501 if (reg_width + dst_x_offset > dst_width)
502 reg_width = dst_width - dst_x_offset;
540 emit_cb_setup(r200, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height);
463 r200_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
/external/chromium_org/content/renderer/pepper/
H A Dpepper_media_stream_video_track_host.cc136 int dst_width = dst_size.width(); local
143 dst_width,
144 dst_width,
147 dst += dst_width * dst_height;
150 const int dst_halfwidth = (dst_width + 1) >> 1;
/external/chromium_org/third_party/webrtc/common_video/libyuv/
H A Dwebrtc_libyuv.cc236 int dst_width = dst_frame->width(); local
241 dst_width = dst_frame->height();
253 dst_width, dst_height,
H A Dscaler_unittest.cc31 int dst_width, int dst_height);
428 int dst_width, int dst_height) {
431 dst_width, dst_height,
473 src_width, src_height, dst_width, dst_height);
425 ScaleSequence(ScaleMethod method, FILE* source_file, std::string out_name, int src_width, int src_height, int dst_width, int dst_height) argument
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/
H A Dconvert_argb.h179 // dst_width/height for clipping determine final size.
184 int dst_width, int dst_height);
192 // Normally this would be the same as dst_width, with recommended alignment
197 // Normally this would be the same as (dst_width + 1) / 2, with
201 // To center, crop_x = (src_width - dst_width) / 2
/external/chromium_org/third_party/libyuv/include/libyuv/
H A Dconvert_argb.h179 // dst_width/height for clipping determine final size.
184 int dst_width, int dst_height);
192 // Normally this would be the same as dst_width, with recommended alignment
197 // Normally this would be the same as (dst_width + 1) / 2, with
201 // To center, crop_x = (src_width - dst_width) / 2
/external/opencv/cv/src/
H A Dcvderiv.cpp50 int dst_width, buffer_step = 0; local
60 dst_width = src_size.width - 2;
67 src_size.width = dst_width;
70 dst_width = 0;
73 assert( src_step >= src_size.width && dst_step >= dst_width );
97 for( x = 0; x < dst_width; x++ )
/external/chromium_org/third_party/libwebp/dec/
H A Dvp8l.c425 const int dst_width = rescaler->dst_width; local
430 WebPMultARGBRow(src, dst_width, 1);
431 VP8LConvertFromBGRA(src, dst_width, colorspace, dst);
544 const int dst_width = rescaler->dst_width; local
548 WebPMultARGBRow(src, dst_width, 1);
549 ConvertToYUVA(src, dst_width, y_pos, dec->output_);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_blitter.c117 unsigned dst_width; member in struct:blitter_context_priv
503 ctx->vertices[0][0][0] = (float)x1 / ctx->dst_width * 2.0f - 1.0f; /*v0.x*/
506 ctx->vertices[1][0][0] = (float)x2 / ctx->dst_width * 2.0f - 1.0f; /*v1.x*/
509 ctx->vertices[2][0][0] = (float)x2 / ctx->dst_width * 2.0f - 1.0f; /*v2.x*/
512 ctx->vertices[3][0][0] = (float)x1 / ctx->dst_width * 2.0f - 1.0f; /*v3.x*/
519 ctx->viewport.scale[0] = 0.5f * ctx->dst_width;
523 ctx->viewport.translate[0] = 0.5f * ctx->dst_width;
652 ctx->dst_width = width;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_blitter.c117 unsigned dst_width; member in struct:blitter_context_priv
503 ctx->vertices[0][0][0] = (float)x1 / ctx->dst_width * 2.0f - 1.0f; /*v0.x*/
506 ctx->vertices[1][0][0] = (float)x2 / ctx->dst_width * 2.0f - 1.0f; /*v1.x*/
509 ctx->vertices[2][0][0] = (float)x2 / ctx->dst_width * 2.0f - 1.0f; /*v2.x*/
512 ctx->vertices[3][0][0] = (float)x1 / ctx->dst_width * 2.0f - 1.0f; /*v3.x*/
519 ctx->viewport.scale[0] = 0.5f * ctx->dst_width;
523 ctx->viewport.translate[0] = 0.5f * ctx->dst_width;
652 ctx->dst_width = width;

Completed in 1893 milliseconds

123456