/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videocommon.cc | 102 void ComputeScaleMaxPixels(int frame_width, int frame_height, int max_pixels, 112 int new_frame_width = frame_width; 134 float scale = FindLowerScale(frame_width, frame_height, 136 *scaled_width = static_cast<int>(frame_width * scale + .5f); 142 void ComputeScale(int frame_width, int frame_height, int fps, 151 frame_width, frame_height, max_pixels, scaled_width, scaled_height); 157 int frame_width, int frame_height, 167 ASSERT(frame_width > 0); 184 float frame_aspect = static_cast<float>(frame_width * pixel_width) / 199 frame_width = static_cast<int>((crop_aspect * frame_height [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/ |
video_common.h | 18 int frame_width; member in struct:__anon16681
|
video_reader.c | 51 reader->info.frame_width = mem_get_le16(header + 12);
|
video_writer.c | 26 cfg.g_w = info->frame_width;
|
/external/libvpx/libvpx/ |
video_common.h | 18 int frame_width; member in struct:__anon28632
|
video_reader.c | 51 reader->info.frame_width = mem_get_le16(header + 12);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
video_common.h | 18 int frame_width; member in struct:__anon39722
|
/external/chromium_org/ui/base/cursor/ |
cursor_loader_x11.cc | 184 int frame_width = bitmap.height(); local 185 int frame_height = frame_width; 187 DCHECK_EQ(total_width % frame_width, 0); 188 int frame_count = total_width / frame_width; 195 int x_offset = frame_width * frame; 196 DCHECK_LE(x_offset + frame_width, total_width); 199 bitmap, x_offset, 0, frame_width, frame_height); 200 DCHECK_EQ(frame_width, cropped.width());
|
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
vp8cx_set_ref.c | 124 info.frame_width = strtol(argv[1], NULL, 0); 129 if (info.frame_width <= 0 || 131 (info.frame_width % 2) != 0 || 133 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 136 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 147 cfg.g_w = info.frame_width;
|
twopass_encoder.c | 152 info.frame_width = strtol(width_arg, NULL, 0); 155 if (info.frame_width <= 0 || 157 (info.frame_width % 2) != 0 || 159 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 162 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 164 die("Failed to allocate image", info.frame_width, info.frame_height); 177 cfg.g_w = info.frame_width;
|
set_maps.c | 179 info.frame_width = strtol(argv[2], NULL, 0); 184 if (info.frame_width <= 0 || 186 (info.frame_width % 2) != 0 || 188 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 191 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 202 cfg.g_w = info.frame_width;
|
simple_encoder.c | 189 info.frame_width = strtol(width_arg, NULL, 0); 194 if (info.frame_width <= 0 || 196 (info.frame_width % 2) != 0 || 198 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 201 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 216 cfg.g_w = info.frame_width;
|
/external/libvpx/libvpx/examples/ |
vp8cx_set_ref.c | 124 info.frame_width = strtol(argv[1], NULL, 0); 129 if (info.frame_width <= 0 || 131 (info.frame_width % 2) != 0 || 133 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 136 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 147 cfg.g_w = info.frame_width;
|
twopass_encoder.c | 152 info.frame_width = strtol(width_arg, NULL, 0); 155 if (info.frame_width <= 0 || 157 (info.frame_width % 2) != 0 || 159 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 162 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 164 die("Failed to allocate image", info.frame_width, info.frame_height); 177 cfg.g_w = info.frame_width;
|
set_maps.c | 177 info.frame_width = strtol(argv[2], NULL, 0); 182 if (info.frame_width <= 0 || 184 (info.frame_width % 2) != 0 || 186 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 189 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 200 cfg.g_w = info.frame_width;
|
simple_encoder.c | 189 info.frame_width = strtol(width_arg, NULL, 0); 194 if (info.frame_width <= 0 || 196 (info.frame_width % 2) != 0 || 198 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 201 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 216 cfg.g_w = info.frame_width;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
vp8cx_set_ref.c | 124 info.frame_width = strtol(argv[1], NULL, 0); 129 if (info.frame_width <= 0 || 131 (info.frame_width % 2) != 0 || 133 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 136 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 147 cfg.g_w = info.frame_width;
|
twopass_encoder.c | 152 info.frame_width = strtol(width_arg, NULL, 0); 155 if (info.frame_width <= 0 || 157 (info.frame_width % 2) != 0 || 159 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 162 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 164 die("Failed to allocate image", info.frame_width, info.frame_height); 177 cfg.g_w = info.frame_width;
|
set_maps.c | 177 info.frame_width = strtol(argv[2], NULL, 0); 182 if (info.frame_width <= 0 || 184 (info.frame_width % 2) != 0 || 186 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 189 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 200 cfg.g_w = info.frame_width;
|
simple_encoder.c | 189 info.frame_width = strtol(width_arg, NULL, 0); 194 if (info.frame_width <= 0 || 196 (info.frame_width % 2) != 0 || 198 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 201 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, 216 cfg.g_w = info.frame_width;
|
/hardware/intel/common/libva/test/basic/ |
test_vaSurfaceAttrib.c | 46 int frame_width=640, frame_height=480; local 51 usrbuf = (unsigned char*)malloc(frame_width * frame_height * 2); 121 vaSurfaceExternBuf.width = frame_width; 123 vaSurfaceExternBuf.pitches[0] = vaSurfaceExternBuf.pitches[1] = vaSurfaceExternBuf.pitches[2] = frame_width; 136 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, frame_width, frame_height, &surface_id, 1, attrib_list, 2);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
vp9_reconintra.c | 335 int frame_width, frame_height; local 350 frame_width = xd->cur_buf->y_width; 353 frame_width = xd->cur_buf->uv_width; 390 if (x0 + 2 * bs <= frame_width) { 397 } else if (x0 + bs <= frame_width) { 398 const int r = frame_width - x0; 402 x0 + 2 * bs - frame_width); 407 } else if (x0 <= frame_width) { 408 const int r = frame_width - x0; 412 x0 + 2 * bs - frame_width); [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_reconintra.c | 324 int frame_width, frame_height; local 339 frame_width = xd->cur_buf->y_width; 342 frame_width = xd->cur_buf->uv_width; 379 if (x0 + 2 * bs <= frame_width) { 386 } else if (x0 + bs <= frame_width) { 387 const int r = frame_width - x0; 391 x0 + 2 * bs - frame_width); 396 } else if (x0 <= frame_width) { 397 const int r = frame_width - x0; 401 x0 + 2 * bs - frame_width); [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_reconintra.c | 326 int frame_width, frame_height; local 341 frame_width = xd->cur_buf->y_width; 344 frame_width = xd->cur_buf->uv_width; 381 if (x0 + 2 * bs <= frame_width) { 388 } else if (x0 + bs <= frame_width) { 389 const int r = frame_width - x0; 393 x0 + 2 * bs - frame_width); 398 } else if (x0 <= frame_width) { 399 const int r = frame_width - x0; 403 x0 + 2 * bs - frame_width); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvideoframe_unittest.cc | 41 const int frame_width = 1920; local 52 captured_frame.width = frame_width; 54 captured_frame.data_size = (frame_width * frame_height) + 55 ((frame_width + 1) / 2) * ((frame_height + 1) / 2) * 2;
|