Home
last modified time | relevance | path

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

1234

/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.c301 info.frame_height = args.height; in main()
305 if (info.frame_width <= 0 || info.frame_height <= 0 || in main()
306 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main()
307 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
309 if (!aom_img_alloc(&raw, args.img_fmt, info.frame_width, info.frame_height, in main()
314 info.frame_height, 1)) { in main()
330 const int num_blocks_h = (info.frame_height + block_size - 1) / block_size; in main()
367 &block_finder, raw.planes[0], info.frame_width, info.frame_height, in main()
384 info.frame_height, strides, chroma_sub, flat_blocks, block_size); in main()
/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.c221 info.frame_height = (int)strtol(height_arg, NULL, 0); in main()
225 if (info.frame_width <= 0 || info.frame_height <= 0 || in main()
226 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) { in main()
227 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
231 info.frame_height, 1)) { in main()
241 cfg.g_h = info.frame_height; in main()
/external/tensorflow/tensorflow/lite/micro/examples/person_detection_experimental/apollo3evb/
Dimage_provider.cc168 int frame_height, int channels, uint8_t* frame) { in GetImage() argument
176 hm01b0_blocking_read_oneframe_scaled(frame, frame_width, frame_height, in GetImage()
182 hm01b0_blocking_read_oneframe_scaled(frame, frame_width, frame_height, in GetImage()
188 hm01b0_framebuffer_dump(frame, frame_width * frame_height * channels); in GetImage()
/external/tensorflow/tensorflow/lite/micro/examples/person_detection/apollo3evb/
Dimage_provider.cc170 int frame_height, int channels, uint8_t* frame) { in GetImage() argument
178 hm01b0_blocking_read_oneframe_scaled(frame, frame_width, frame_height, in GetImage()
184 hm01b0_blocking_read_oneframe_scaled(frame, frame_width, frame_height, in GetImage()
190 hm01b0_framebuffer_dump(frame, frame_width * frame_height * channels); in GetImage()
/external/tensorflow/tensorflow/lite/micro/examples/person_detection/sparkfun_edge/
Dimage_provider.cc177 int frame_height, int channels, uint8_t* frame) { in GetImage() argument
187 frame_height, channels); in GetImage()
193 frame_height, channels); in GetImage()
196 hm01b0_framebuffer_dump(frame, frame_width * frame_height * channels); in GetImage()
/external/tensorflow/tensorflow/lite/micro/examples/person_detection_experimental/sparkfun_edge/
Dimage_provider.cc174 int frame_height, int channels, int8_t* frame) { in GetImage() argument
184 frame_height, channels); in GetImage()
190 frame_height, channels); in GetImage()
193 hm01b0_framebuffer_dump(frame, frame_width * frame_height * channels); in GetImage()
/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()
/external/v4l2_codec2/accel/
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/libvpx/libvpx/vpx_util/
Dvpx_debug_util.c89 static int frame_height = MAX_FRAME_HEIGHT; variable
123 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_pre()
157 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_tx()
192 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_check_block_pre()
240 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_check_block_tx()
/external/libaom/libaom/aom_util/
Ddebug_util.c95 static int frame_height = MAX_FRAME_HEIGHT; variable
125 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_pre()
158 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_record_block_tx()
190 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_check_block_pre()
236 if (pixel_c + blk_w >= frame_stride || pixel_r + blk_h >= frame_height) { in mismatch_check_block_tx()
/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/deqp-deps/amber/src/
Dverifier.cc453 uint32_t frame_height, in Probe() argument
469 height = frame_height; in Probe()
473 y = static_cast<uint32_t>(static_cast<float>(frame_height) * in Probe()
478 height = static_cast<uint32_t>(static_cast<float>(frame_height) * in Probe()
488 if (x + width > frame_width || y + height > frame_height) { in Probe()
493 std::to_string(frame_width) + "," + std::to_string(frame_height) + ")"); in Probe()

1234