Home
last modified time | relevance | path

Searched refs:frame_width (Results 1 – 25 of 30) sorted by relevance

12

/external/libvpx/libvpx/vp9/common/
Dvp9_reconintra.c125 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/
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/examples/
Dvp9_lossless_encoder.c81 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()
Dvp8cx_set_ref.c125 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()
Dsimple_encoder.c184 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()
Dset_maps.c177 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()
Dvp9cx_set_ref.c342 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()
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/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.c47 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 __anone5c317330111::FileVideoCapturerTest::VideoCapturerListener
173 EXPECT_EQ(listener.frame_width(), capture_format_.width); in TEST_F()
/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/webrtc/webrtc/modules/video_coding/
Dreceiver.h46 uint16_t frame_width,
Dreceiver.cc71 uint16_t frame_width, 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
507 frame_width = ref_frame_buf->buf.y_crop_width; in dec_build_inter_predictors()
511 frame_width = ref_frame_buf->buf.uv_crop_width; in dec_build_inter_predictors()
576 if (is_scaled || scaled_mv.col || scaled_mv.row || (frame_width & 0x7) || in dec_build_inter_predictors()
603 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