Home
last modified time | relevance | path

Searched refs:frame_height (Results 1 – 25 of 30) 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,
Dtestutils.h141 int frame_height() const { return frame_height_; } in frame_height() function
Dmediachannel.h815 frame_height(0), in VideoReceiverInfo()
838 int frame_height; member
/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()
Dpostproc.c127 info->frame_width, info->frame_height, argv[2]); in main()
Ddecode_with_drops.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/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/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 __anone5c317330111::FileVideoCapturerTest::VideoCapturerListener
174 EXPECT_EQ(listener.frame_height(), capture_format_.height); in TEST_F()
/external/drm_hwcomposer/
Dglworker.cpp566 GLint frame_height = framebuffer->getHeight(); in Composite() local
607 glViewport(0, 0, frame_width, frame_height); in Composite()
640 cmd.bounds[1] / (float)frame_height, in Composite()
642 (cmd.bounds[3] - cmd.bounds[1]) / (float)frame_height); in Composite()
/external/webrtc/webrtc/modules/video_coding/
Dreceiver.h47 uint16_t frame_height);
Dreceiver.cc72 uint16_t frame_height) { in InsertPacket() argument
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c449 int frame_width, int frame_height, in extend_and_predict() argument
459 b_w, b_h, frame_width, frame_height); in extend_and_predict()
465 y0, b_w, b_h, frame_width, frame_height); in extend_and_predict()
474 int frame_width, int frame_height, in extend_and_predict() argument
484 frame_width, frame_height); in extend_and_predict()
501 int xs, ys, x0, y0, x0_16, y0_16, frame_width, frame_height, buf_stride, in dec_build_inter_predictors() local
508 frame_height = ref_frame_buf->buf.y_crop_height; in dec_build_inter_predictors()
512 frame_height = ref_frame_buf->buf.uv_crop_height; in dec_build_inter_predictors()
577 (frame_height & 0x7)) { in dec_build_inter_predictors()
604 y0 < 0 || y0 > frame_height - 1 || y1 < 0 || y1 > frame_height - 1) { in dec_build_inter_predictors()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.h158 int frame_height[FRAME_SCALE_STEPS]; member

12