/external/libvpx/libvpx/vp9/common/ |
D | vp9_reconintra.c | 125 int frame_width, frame_height; in build_intra_predictors_high() local 141 frame_width = xd->cur_buf->y_width; in build_intra_predictors_high() 144 frame_width = xd->cur_buf->uv_width; in build_intra_predictors_high() 181 if (x0 + bs <= frame_width) { in build_intra_predictors_high() 183 } else if (x0 <= frame_width) { in build_intra_predictors_high() 184 const int r = frame_width - x0; in build_intra_predictors_high() 186 vpx_memset16(above_row + r, above_row[r - 1], x0 + bs - frame_width); in build_intra_predictors_high() 209 if (x0 + 2 * bs <= frame_width) { in build_intra_predictors_high() 216 } else if (x0 + bs <= frame_width) { in build_intra_predictors_high() 217 const int r = frame_width - x0; in build_intra_predictors_high() [all …]
|
/external/webrtc/talk/media/base/ |
D | videocommon.cc | 105 void ComputeScaleMaxPixels(int frame_width, int frame_height, int max_pixels, in ComputeScaleMaxPixels() argument 112 int new_frame_width = frame_width; in ComputeScaleMaxPixels() 134 float scale = FindLowerScale(frame_width, frame_height, in ComputeScaleMaxPixels() 136 *scaled_width = static_cast<int>(frame_width * scale + .5f); in ComputeScaleMaxPixels() 142 void ComputeScale(int frame_width, int frame_height, int fps, in ComputeScale() argument 151 frame_width, frame_height, max_pixels, scaled_width, scaled_height); in ComputeScale() 157 int frame_width, int frame_height, in ComputeCrop() argument 167 ASSERT(frame_width > 0); in ComputeCrop() 184 float frame_aspect = static_cast<float>(frame_width * pixel_width) / in ComputeCrop() 199 frame_width = static_cast<int>((crop_aspect * frame_height * in ComputeCrop() [all …]
|
D | videocommon.h | 156 void ComputeScaleMaxPixels(int frame_width, int frame_height, int max_pixels, 164 void ComputeScale(int frame_width, int frame_height, int fps, 170 int frame_width, int frame_height,
|
/external/libaom/libaom/examples/ |
D | scalable_encoder.c | 164 info.frame_width = (int)strtol(width_arg, NULL, 0); in main() 169 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 170 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 171 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 174 if (!aom_img_alloc(&raw0, AOM_IMG_FMT_I420, info.frame_width, in main() 178 if (!aom_img_alloc(&raw1, AOM_IMG_FMT_I420, info.frame_width, in main() 192 cfg.g_w = info.frame_width; in main() 240 cfg.g_w = info.frame_width; in main() 258 cfg.g_w = info.frame_width; in main()
|
D | lossless_encoder.c | 82 info.frame_width = (int)strtol(argv[1], NULL, 0); in main() 87 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 88 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 89 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 92 if (!aom_img_alloc(&raw, AOM_IMG_FMT_I420, info.frame_width, in main() 102 cfg.g_w = info.frame_width; in main()
|
D | simple_encoder.c | 187 info.frame_width = (int)strtol(width_arg, NULL, 0); in main() 192 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 193 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 194 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 197 if (!aom_img_alloc(&raw, AOM_IMG_FMT_I420, info.frame_width, in main() 210 cfg.g_w = info.frame_width; in main()
|
D | set_maps.c | 144 info.frame_width = (int)strtol(argv[2], NULL, 0); in main() 149 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 150 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 151 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 154 if (!aom_img_alloc(&raw, AOM_IMG_FMT_I420, info.frame_width, in main() 164 cfg.g_w = info.frame_width; in main()
|
D | noise_model.c | 299 info.frame_width = args.width; in main() 304 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 305 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 306 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 308 if (!aom_img_alloc(&raw, args.img_fmt, info.frame_width, info.frame_height, in main() 312 if (!aom_img_alloc(&denoised, args.img_fmt, info.frame_width, in main() 328 const int num_blocks_w = (info.frame_width + block_size - 1) / block_size; in main() 366 &block_finder, raw.planes[0], info.frame_width, info.frame_height, in main() 367 info.frame_width, flat_blocks); in main() 382 (const uint8_t *const *)denoised_planes, info.frame_width, in main()
|
D | aom_cx_set_ref.c | 250 info.frame_width = (int)strtol(width_arg, NULL, 0); in main() 255 if (info.frame_width <= 0 || info.frame_height <= 0) { in main() 256 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 261 if (!aom_img_alloc(&raw, raw_fmt, info.frame_width, info.frame_height, 32)) { in main() 267 if (!aom_img_alloc_with_border(&ext_ref, ref_fmt, info.frame_width, in main() 278 cfg.g_w = info.frame_width; in main() 319 info.frame_width, info.frame_height, 32); in main()
|
D | analyzer.cc | 100 ifd_init(&frame_data, info->frame_width, info->frame_height); in open() 129 return info->frame_width + 2 * getWidthPadding(); in getWidth() 133 return show_padding ? AOMMAX(info->frame_width + 16, in getWidthPadding() 134 ALIGN_POWER_OF_TWO(info->frame_width, 6)) - in getWidthPadding() 135 info->frame_width in getWidthPadding()
|
/external/libvpx/libvpx/examples/ |
D | vp9_lossless_encoder.c | 81 info.frame_width = (int)strtol(argv[1], NULL, 0); in main() 86 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 87 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 88 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 91 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main() 101 cfg.g_w = info.frame_width; in main()
|
D | vp8cx_set_ref.c | 125 info.frame_width = (int)strtol(argv[1], NULL, 0); in main() 130 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 131 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 132 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 135 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main() 145 cfg.g_w = info.frame_width; in main()
|
D | simple_encoder.c | 184 info.frame_width = (int)strtol(width_arg, NULL, 0); in main() 189 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 190 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 191 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 194 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main() 207 cfg.g_w = info.frame_width; in main()
|
D | set_maps.c | 177 info.frame_width = (int)strtol(argv[2], NULL, 0); in main() 182 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 183 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 184 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 187 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main() 197 cfg.g_w = info.frame_width; in main()
|
D | vp9cx_set_ref.c | 342 info.frame_width = (int)strtol(width_arg, NULL, 0); in main() 347 if (info.frame_width <= 0 || info.frame_height <= 0 || in main() 348 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main() 349 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main() 352 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main() 362 cfg.g_w = info.frame_width; in main()
|
/external/v4l2_codec2/vda/ |
D | vp9_uncompressed_header_parser.cc | 694 fhdr->frame_width = reader_.ReadLiteral(16) + 1; in ReadFrameSize() 704 fhdr->render_width = fhdr->frame_width; in ReadRenderSize() 717 fhdr->frame_width = ref.frame_width; in ReadFrameSizeFromRefs() 721 DCHECK_LE(fhdr->frame_width, kMaxDimension); in ReadFrameSizeFromRefs() 734 if (2 * fhdr->frame_width >= ref.frame_width && in ReadFrameSizeFromRefs() 736 fhdr->frame_width <= 16 * ref.frame_width && in ReadFrameSizeFromRefs() 876 int sb64_cols = (fhdr->frame_width + 63) / 64; in ReadTileInfo()
|
/external/libxcam/plugins/smart/dvs/libdvs/ |
D | libdvs.h | 42 int frame_width; member 54 int frame_width; member 64 frame_width = 1; in DvsConfig()
|
D | libdvs.cpp | 76 _videoStab->setFrameSize(cv::Size(config->frame_width, config->frame_height)); in setConfig() 94 result->frame_width = _videoStab->getFrameSize().width; in nextStabilizedMotion()
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoframefactory_unittest.cc | 40 const int frame_width = 1920; in InitFrame() local 49 captured_frame_.width = frame_width; in InitFrame() 52 (frame_width * frame_height) + in InitFrame() 53 ((frame_width + 1) / 2) * ((frame_height + 1) / 2) * 2; in InitFrame()
|
D | webrtcvideoframe_unittest.cc | 61 const int frame_width = 1920; in TestInit() local 71 captured_frame.width = frame_width; in TestInit() 73 captured_frame.data_size = (frame_width * frame_height) + in TestInit() 74 ((frame_width + 1) / 2) * ((frame_height + 1) / 2) * 2; in TestInit()
|
/external/libxcam/tests/ |
D | test-device-manager.cpp | 97 void set_frame_width (uint32_t frame_width) { in set_frame_width() argument 98 _frame_width = frame_width; in set_frame_width() 369 uint32_t frame_width = 1920; in main() local 465 frame_width = atoi(optarg); in main() 663 device_manager->set_frame_width (frame_width); in main() 777 …ret = device->set_format (frame_width, frame_height, pixel_format, V4L2_FIELD_NONE, frame_width * … in main() 851 cl_post_processor->set_scaler_factor (640.0 / frame_width); in main()
|
/external/libxcam/plugins/smart/dvs/ |
D | xcam_plugin_dvs.cpp | 141 config.frame_width = buffer->info.width; in dvs_analyze() 167 dvs_result->frame_width = dvsResult.frame_width; in dvs_analyze()
|
/external/libaom/libaom/common/ |
D | video_reader.c | 52 reader->info.frame_width = reader->input_ctx.width; in aom_video_reader_open() 58 reader->info.frame_width = reader->input_ctx.width; in aom_video_reader_open()
|
D | video_common.h | 19 int frame_width; member
|
/external/libvpx/libvpx/ |
D | video_common.h | 18 int frame_width; member
|