Home
last modified time | relevance | path

Searched refs:frame_width (Results 1 – 25 of 29) 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
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 …]
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.h140 int frame_width() const { return frame_width_; } in frame_width() function
Dmediachannel.h814 frame_width(0), in VideoReceiverInfo()
837 int frame_width; member
/external/libvpx/libvpx/vp9/common/
Dvp9_reconintra.c133 int frame_width, frame_height; in build_intra_predictors_high() local
145 frame_width = xd->cur_buf->y_width; in build_intra_predictors_high()
148 frame_width = xd->cur_buf->uv_width; in build_intra_predictors_high()
186 if (x0 + 2 * bs <= frame_width) { in build_intra_predictors_high()
193 } else if (x0 + bs <= frame_width) { in build_intra_predictors_high()
194 const int r = frame_width - x0; in build_intra_predictors_high()
198 x0 + 2 * bs - frame_width); in build_intra_predictors_high()
203 } else if (x0 <= frame_width) { in build_intra_predictors_high()
204 const int r = frame_width - x0; in build_intra_predictors_high()
207 x0 + 2 * bs - frame_width); in build_intra_predictors_high()
[all …]
/external/libvpx/libvpx/examples/
Dvp9_lossless_encoder.c84 info.frame_width = strtol(argv[1], NULL, 0); in main()
89 if (info.frame_width <= 0 || in main()
91 (info.frame_width % 2) != 0 || in main()
93 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
96 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main()
107 cfg.g_w = info.frame_width; in main()
Dvp8cx_set_ref.c128 info.frame_width = strtol(argv[1], NULL, 0); in main()
133 if (info.frame_width <= 0 || in main()
135 (info.frame_width % 2) != 0 || in main()
137 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
140 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main()
151 cfg.g_w = info.frame_width; in main()
Dsimple_encoder.c190 info.frame_width = strtol(width_arg, NULL, 0); in main()
195 if (info.frame_width <= 0 || in main()
197 (info.frame_width % 2) != 0 || in main()
199 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
202 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main()
217 cfg.g_w = info.frame_width; in main()
Dset_maps.c185 info.frame_width = strtol(argv[2], NULL, 0); in main()
190 if (info.frame_width <= 0 || in main()
192 (info.frame_width % 2) != 0 || in main()
194 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
197 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main()
208 cfg.g_w = info.frame_width; in main()
Dsimple_decoder.c147 info->frame_width, info->frame_height, argv[2]); in main()
Dpostproc.c132 info->frame_width, info->frame_height, argv[2]); in main()
Ddecode_with_drops.c146 info->frame_width, info->frame_height, argv[2]); in main()
Dvpx_temporal_svc_encoder.c659 info.frame_width = cfg.g_w; in main()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframefactory_unittest.cc40 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()
Dwebrtcvideoframe_unittest.cc61 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()
Dwebrtcvideocapturer_unittest.cc108 EXPECT_EQ(640, listener_.frame_width()); in TEST_F()
135 EXPECT_EQ(640, listener_.frame_width()); in TEST_F()
/external/libvpx/libvpx/
Dvideo_common.h18 int frame_width; member
Dvideo_writer.c26 cfg.g_w = info->frame_width; in write_header()
Dvideo_reader.c51 reader->info.frame_width = mem_get_le16(header + 12); in vpx_video_reader_open()
/external/webrtc/talk/media/devices/
Dfilevideocapturer_unittest.cc74 int frame_width() const { return frame_width_; } in frame_width() function in __anon74bbf6b40111::FileVideoCapturerTest::VideoCapturerListener
173 EXPECT_EQ(listener.frame_width(), capture_format_.width); in TEST_F()
/external/webrtc/webrtc/modules/video_coding/
Dreceiver.h46 uint16_t frame_width,
Dreceiver.cc71 uint16_t frame_width, in InsertPacket() argument
/external/drm_hwcomposer/
Dglworker.cpp565 GLint frame_width = framebuffer->getWidth(); in Composite() local
607 glViewport(0, 0, frame_width, frame_height); in Composite()
639 glUniform4f(gl_viewport_loc, cmd.bounds[0] / (float)frame_width, in Composite()
641 (cmd.bounds[2] - cmd.bounds[0]) / (float)frame_width, in Composite()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c504 int frame_width, int frame_height, in extend_and_predict() argument
517 x0, y0, b_w, b_h, frame_width, frame_height); in extend_and_predict()
521 x0, y0, b_w, b_h, frame_width, frame_height); in extend_and_predict()
536 int frame_width, int frame_height, in extend_and_predict() argument
547 x0, y0, b_w, b_h, frame_width, frame_height); in extend_and_predict()
567 int xs, ys, x0, y0, x0_16, y0_16, frame_width, frame_height, in dec_build_inter_predictors() local
573 frame_width = ref_frame_buf->buf.y_crop_width; in dec_build_inter_predictors()
577 frame_width = ref_frame_buf->buf.uv_crop_width; in dec_build_inter_predictors()
639 (frame_width & 0x7) || (frame_height & 0x7)) { in dec_build_inter_predictors()
665 if (x0 < 0 || x0 > frame_width - 1 || x1 < 0 || x1 > frame_width - 1 || in dec_build_inter_predictors()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.h157 int frame_width[FRAME_SCALE_STEPS]; member

12