Home
last modified time | relevance | path

Searched refs:frame_height (Results 1 – 25 of 63) sorted by relevance

123

/external/webrtc/talk/media/base/
Dvideocommon.cc105 void ComputeScaleMaxPixels(int frame_width, int frame_height, int max_pixels, in ComputeScaleMaxPixels() argument
113 int new_frame_height = frame_height; in ComputeScaleMaxPixels()
134 float scale = FindLowerScale(frame_width, frame_height, in ComputeScaleMaxPixels()
137 *scaled_height = static_cast<int>(frame_height * 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
168 ASSERT(frame_height > 0); in ComputeCrop()
185 static_cast<float>(frame_height * pixel_height); in ComputeCrop()
199 frame_width = static_cast<int>((crop_aspect * frame_height * in ComputeCrop()
[all …]
Dvideocommon.h156 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/
Dscalable_encoder.c165 info.frame_height = (int)strtol(height_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()
175 info.frame_height, 1)) { in main()
179 info.frame_height, 1)) { in main()
193 cfg.g_h = info.frame_height; in main()
241 cfg.g_h = info.frame_height; in main()
259 cfg.g_h = info.frame_height; in main()
Dlossless_encoder.c83 info.frame_height = (int)strtol(argv[2], 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()
93 info.frame_height, 1)) { in main()
103 cfg.g_h = info.frame_height; in main()
Dsimple_encoder.c188 info.frame_height = (int)strtol(height_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()
198 info.frame_height, 1)) { in main()
211 cfg.g_h = info.frame_height; in main()
Dset_maps.c145 info.frame_height = (int)strtol(argv[3], 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()
155 info.frame_height, 1)) { in main()
165 cfg.g_h = info.frame_height; in main()
Daom_cx_set_ref.c251 info.frame_height = (int)strtol(height_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()
268 info.frame_height, 32, 8, in main()
279 cfg.g_h = info.frame_height; in main()
319 info.frame_width, info.frame_height, 32); in main()
Dnoise_model.c300 info.frame_height = args.height; 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()
313 info.frame_height, 1)) { in main()
329 const int num_blocks_h = (info.frame_height + block_size - 1) / block_size; in main()
366 &block_finder, raw.planes[0], info.frame_width, info.frame_height, in main()
383 info.frame_height, strides, chroma_sub, flat_blocks, block_size); in main()
Danalyzer.cc100 ifd_init(&frame_data, info->frame_width, info->frame_height); in open()
140 return info->frame_height + 2 * getHeightPadding(); in getHeight()
144 return show_padding ? AOMMAX(info->frame_height + 16, in getHeightPadding()
145 ALIGN_POWER_OF_TWO(info->frame_height, 6)) - in getHeightPadding()
146 info->frame_height in getHeightPadding()
/external/libvpx/libvpx/examples/
Dvp9_lossless_encoder.c82 info.frame_height = (int)strtol(argv[2], 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()
92 info.frame_height, 1)) { in main()
102 cfg.g_h = info.frame_height; in main()
Dvp8cx_set_ref.c126 info.frame_height = (int)strtol(argv[2], 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()
136 info.frame_height, 1)) { in main()
146 cfg.g_h = info.frame_height; in main()
Dsimple_encoder.c185 info.frame_height = (int)strtol(height_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()
195 info.frame_height, 1)) { in main()
208 cfg.g_h = info.frame_height; in main()
Dset_maps.c178 info.frame_height = (int)strtol(argv[3], 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()
188 info.frame_height, 1)) { in main()
198 cfg.g_h = info.frame_height; in main()
Dvp9cx_set_ref.c343 info.frame_height = (int)strtol(height_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()
353 info.frame_height, 1)) { in main()
363 cfg.g_h = info.frame_height; in main()
/external/libvpx/libvpx/vp9/common/
Dvp9_reconintra.c125 int frame_width, frame_height; in build_intra_predictors_high() local
142 frame_height = xd->cur_buf->y_height; in build_intra_predictors_high()
145 frame_height = xd->cur_buf->uv_height; in build_intra_predictors_high()
157 if (y0 + bs <= frame_height) { in build_intra_predictors_high()
160 const int extend_bottom = frame_height - y0; in build_intra_predictors_high()
275 int frame_width, frame_height; in build_intra_predictors() local
289 frame_height = xd->cur_buf->y_height; in build_intra_predictors()
292 frame_height = xd->cur_buf->uv_height; in build_intra_predictors()
304 if (y0 + bs <= frame_height) { in build_intra_predictors()
307 const int extend_bottom = frame_height - y0; in build_intra_predictors()
/external/libxcam/plugins/smart/dvs/libdvs/
Dlibdvs.h43 int frame_height; member
55 int frame_height; member
65 frame_height = 1; in DvsConfig()
Dlibdvs.cpp76 _videoStab->setFrameSize(cv::Size(config->frame_width, config->frame_height)); in setConfig()
95 result->frame_height = _videoStab->getFrameSize().height; in nextStabilizedMotion()
/external/v4l2_codec2/vda/
Dvp9_uncompressed_header_parser.cc695 fhdr->frame_height = reader_.ReadLiteral(16) + 1; in ReadFrameSize()
705 fhdr->render_height = fhdr->frame_height; in ReadRenderSize()
718 fhdr->frame_height = ref.frame_height; in ReadFrameSizeFromRefs()
722 DCHECK_LE(fhdr->frame_height, kMaxDimension); in ReadFrameSizeFromRefs()
735 2 * fhdr->frame_height >= ref.frame_height && in ReadFrameSizeFromRefs()
737 fhdr->frame_height <= 16 * ref.frame_height) { in ReadFrameSizeFromRefs()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframefactory_unittest.cc41 const int frame_height = 1080; in InitFrame() local
50 captured_frame_.height = frame_height; in InitFrame()
52 (frame_width * frame_height) + in InitFrame()
53 ((frame_width + 1) / 2) * ((frame_height + 1) / 2) * 2; in InitFrame()
Dwebrtcvideoframe_unittest.cc62 const int frame_height = 1080; in TestInit() local
72 captured_frame.height = frame_height; 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/libaom/libaom/aom_util/
Ddebug_util.c91 static int frame_height = MAX_FRAME_HEIGHT; variable
121 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_pre()
154 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_tx()
186 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_check_block_pre()
232 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_check_block_tx()
/external/libxcam/plugins/smart/dvs/
Dxcam_plugin_dvs.cpp142 config.frame_height = buffer->info.height; in dvs_analyze()
168 dvs_result->frame_height = dvsResult.frame_height; in dvs_analyze()
/external/libxcam/tests/
Dtest-device-manager.cpp101 void set_frame_height (uint32_t frame_height) { in set_frame_height() argument
102 _frame_height = frame_height; in set_frame_height()
370 uint32_t frame_height = 1080; in main() local
469 frame_height = atoi(optarg); in main()
664 device_manager->set_frame_height (frame_height); in main()
777 …ret = device->set_format (frame_width, frame_height, pixel_format, V4L2_FIELD_NONE, frame_width * … in main()
/external/libaom/libaom/common/
Dvideo_reader.c53 reader->info.frame_height = reader->input_ctx.height; in aom_video_reader_open()
59 reader->info.frame_height = reader->input_ctx.height; in aom_video_reader_open()
/external/libvpx/libvpx/
Dvideo_common.h19 int frame_height; member

123