Home
last modified time | relevance | path

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

12

/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/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()
Dsimple_decoder.c142 info->frame_width, info->frame_height, argv[2]); 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()
Dvp9_parser.h217 uint32_t frame_height; member
281 uint32_t frame_height; member
/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()
Dwebrtcvideocapturer_unittest.cc109 EXPECT_EQ(480, listener_.frame_height()); in TEST_F()
136 EXPECT_EQ(480, listener_.frame_height()); in TEST_F()
/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/libvpx/libvpx/
Dvideo_common.h19 int frame_height; member
Dvideo_writer.c27 cfg.g_h = info->frame_height; in write_header()
Dvideo_reader.c48 reader->info.frame_height = mem_get_le16(header + 14); in vpx_video_reader_open()
/external/webrtc/talk/media/devices/
Dfilevideocapturer_unittest.cc75 int frame_height() const { return frame_height_; } in frame_height() function in __anonac28e2f00111::FileVideoCapturerTest::VideoCapturerListener
174 EXPECT_EQ(listener.frame_height(), capture_format_.height); in TEST_F()
/external/libxcam/xcore/base/
Dxcam_smart_result.h65 int frame_height; member
/external/drm_hwcomposer/
Dglworker.cpp562 GLint frame_height = framebuffer->getHeight(); in Composite() local
603 glViewport(0, 0, frame_width, frame_height); in Composite()
636 cmd.bounds[1] / (float)frame_height, in Composite()
638 (cmd.bounds[3] - cmd.bounds[1]) / (float)frame_height); in Composite()
/external/webrtc/webrtc/modules/video_coding/
Dreceiver.h47 uint16_t frame_height);

12