/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-info.c | 908 info->stride[1] = GST_ROUND_UP_4 (GST_ROUND_UP_2 (width) / 2); in fill_planes() 911 info->offset[1] = info->stride[0] * GST_ROUND_UP_2 (height); in fill_planes() 912 cr_h = GST_ROUND_UP_2 (height) / 2; in fill_planes() 914 cr_h = GST_ROUND_UP_2 (cr_h); in fill_planes() 966 info->offset[1] = info->stride[0] * GST_ROUND_UP_2 (height); in fill_planes() 967 cr_h = GST_ROUND_UP_2 (height) / 2; in fill_planes() 969 cr_h = GST_ROUND_UP_2 (cr_h); in fill_planes() 977 info->offset[1] = info->stride[0] * GST_ROUND_UP_2 (height); in fill_planes() 979 info->offset[1] + (info->stride[1] * GST_ROUND_UP_2 (height) / 2); in fill_planes() 980 info->size = info->offset[2] + info->stride[2] * GST_ROUND_UP_2 (height); in fill_planes() [all …]
|
D | video-converter.c | 3435 lines_per_thread = GST_ROUND_UP_2 ((h2 + n_threads - 1) / n_threads); in convert_I420_YUY2() 3512 lines_per_thread = GST_ROUND_UP_2 ((h2 + n_threads - 1) / n_threads); in convert_I420_UYVY() 3591 lines_per_thread = GST_ROUND_UP_2 ((h2 + n_threads - 1) / n_threads); in convert_I420_AYUV() 3746 lines_per_thread = GST_ROUND_UP_2 ((h2 + n_threads - 1) / n_threads); in convert_I420_v210() 3829 lines_per_thread = GST_ROUND_UP_2 ((h2 + n_threads - 1) / n_threads); in convert_YUY2_I420() 3993 lines_per_thread = GST_ROUND_UP_2 ((h2 + n_threads - 1) / n_threads); in convert_v210_I420() 4060 s += (GST_ROUND_UP_2 (convert->in_x) * 2); in convert_YUY2_AYUV() 4167 s += (GST_ROUND_UP_2 (convert->in_x) * 2); in convert_YUY2_v210() 4169 d += (GST_ROUND_UP_2 (convert->out_x) * 2); in convert_YUY2_v210() 4221 s += (GST_ROUND_UP_2 (convert->in_x) * 2); in convert_YUY2_Y42B() [all …]
|
D | video-info.h | 373 …GHT(i) ((i)->interlace_mode == GST_VIDEO_INTERLACE_MODE_ALTERNATE? GST_ROUND_UP_2 ((i)->height) …
|
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/ |
D | dshowvideofakesrc.cpp | 168 srcstride = GST_ROUND_UP_4 ( GST_ROUND_UP_2 (vh->rcSource.right) / 2); in CopyToDestinationBuffer() 170 src = srcbuf + GST_ROUND_UP_4 (vh->rcSource.right) * GST_ROUND_UP_2 (vh->rcSource.bottom); in CopyToDestinationBuffer() 172 … src = srcbuf + GST_ROUND_UP_4 (vh->rcSource.right) * GST_ROUND_UP_2 (vh->rcSource.bottom) + in CopyToDestinationBuffer() 173 srcstride * (GST_ROUND_UP_2 (vh->rcSource.bottom) / 2); in CopyToDestinationBuffer()
|
/third_party/gstreamer/gstplugins_good/gst/debugutils/ |
D | gstnavigationtest.c | 118 …I420_U_OFFSET(w,h) (GST_VIDEO_I420_Y_OFFSET(w,h)+(GST_VIDEO_I420_Y_ROWSTRIDE(w)*GST_ROUND_UP_2(h))) 119 …20_V_OFFSET(w,h) (GST_VIDEO_I420_U_OFFSET(w,h)+(GST_VIDEO_I420_U_ROWSTRIDE(w)*GST_ROUND_UP_2(h)/2)) 121 …20_SIZE(w,h) (GST_VIDEO_I420_V_OFFSET(w,h)+(GST_VIDEO_I420_V_ROWSTRIDE(w)*GST_ROUND_UP_2(h)/2))
|
/third_party/gstreamer/gstplugins_bad/gst/y4m/ |
D | gsty4mdec.c | 413 y4mdec->info.stride[1] = GST_ROUND_UP_2 (width) / 2; in gst_y4m_dec_parse_header() 416 y4mdec->info.stride[1] * (GST_ROUND_UP_2 (height) / 2); in gst_y4m_dec_parse_header() 417 y4mdec->info.stride[2] = GST_ROUND_UP_2 (width) / 2; in gst_y4m_dec_parse_header() 420 y4mdec->info.stride[2] * (GST_ROUND_UP_2 (height) / 2); in gst_y4m_dec_parse_header() 426 y4mdec->info.stride[1] = GST_ROUND_UP_2 (width) / 2; in gst_y4m_dec_parse_header() 429 y4mdec->info.stride[2] = GST_ROUND_UP_2 (width) / 2; in gst_y4m_dec_parse_header()
|
/third_party/gstreamer/gstplugins_good/gst/videomixer/ |
D | blend.c | 429 PLANAR_YUV_BLEND (i420, GST_VIDEO_FORMAT_I420, GST_ROUND_UP_2, 430 GST_ROUND_UP_2, memcpy, video_mixer_orc_blend_u8); 438 PLANAR_YUV_BLEND (y42b, GST_VIDEO_FORMAT_Y42B, GST_ROUND_UP_2, 505 xpos = GST_ROUND_UP_2 (xpos); \ 506 ypos = GST_ROUND_UP_2 (ypos); \ 841 xpos = GST_ROUND_UP_2 (xpos); \ 895 width = GST_ROUND_UP_2 (width); \ 925 width = GST_ROUND_UP_2 (width); \
|
/third_party/gstreamer/gstplugins_good/gst/wavenc/ |
D | gstwavenc.c | 572 gst_byte_writer_put_uint32_le (bw, GST_ROUND_UP_2 (size)); in gst_wavparse_tags_foreach() 575 if (GST_ROUND_UP_2 (size) > size) { in gst_wavparse_tags_foreach() 762 *data += 8 + GST_ROUND_UP_2 (labl->chunk_data_size); in gst_wavenc_write_labls() 780 *data += 8 + GST_ROUND_UP_2 (note->chunk_data_size); in gst_wavenc_write_notes() 875 labls_size += 8 + GST_ROUND_UP_2 (labl->chunk_data_size); in gst_wavenc_write_toc() 886 notes_size += 8 + GST_ROUND_UP_2 (note->chunk_data_size); in gst_wavenc_write_toc()
|
/third_party/gstreamer/gstplugins_base/gst/compositor/ |
D | blend.c | 512 PLANAR_YUV_BLEND (i420, GST_VIDEO_FORMAT_I420, GST_ROUND_UP_2, 513 GST_ROUND_UP_2, memcpy, compositor_orc_blend_u8); 521 PLANAR_YUV_BLEND (y42b, GST_VIDEO_FORMAT_Y42B, GST_ROUND_UP_2, 597 xpos = GST_ROUND_UP_2 (xpos); \ 598 ypos = GST_ROUND_UP_2 (ypos); \ 960 xpos = GST_ROUND_UP_2 (xpos); \ 1023 width = GST_ROUND_UP_2 (width); \ 1054 width = GST_ROUND_UP_2 (width); \
|
/third_party/gstreamer/gstplugins_good/gst/avi/ |
D | gstavidemux.c | 1688 avi->offset += 8 + GST_ROUND_UP_2 (size); in gst_avi_demux_read_subindexes_push() 2880 (8 + GST_ROUND_UP_2 (size))); in gst_avi_demux_stream_index() 2881 offset += 8 + GST_ROUND_UP_2 (size); in gst_avi_demux_stream_index() 2984 (8 + GST_ROUND_UP_2 (size))); in gst_avi_demux_stream_index_push() 2985 avi->idx1_offset = offset + 8 + GST_ROUND_UP_2 (size); in gst_avi_demux_stream_index_push() 3003 offset += 8 + GST_ROUND_UP_2 (size); in gst_avi_demux_stream_index_push() 3178 pos += GST_ROUND_UP_2 (size); in gst_avi_demux_stream_scan() 3350 avi->offset += 8 + GST_ROUND_UP_2 (size); in gst_avi_demux_stream_header_push() 3516 avi->offset += GST_ROUND_UP_2 (size) - 4; in gst_avi_demux_stream_header_push() 3529 avi->offset += 8 + GST_ROUND_UP_2 (size); in gst_avi_demux_stream_header_push() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/wavparse/ |
D | gstwavparse.c | 949 offset += 8 + GST_ROUND_UP_2 (lsize); in gst_wavparse_adtl_chunk() 950 size -= 8 + GST_ROUND_UP_2 (lsize); in gst_wavparse_adtl_chunk() 1127 wav->offset += GST_ROUND_UP_2 (size); in gst_wavparse_stream_headers() 1394 gst_adapter_flush (wav->adapter, GST_ROUND_UP_2 (size)); in gst_wavparse_stream_headers() 1407 wav->offset += 8 + GST_ROUND_UP_2 (size); in gst_wavparse_stream_headers() 1460 size = GST_ROUND_UP_2 (size); in gst_wavparse_stream_headers() 1532 wav->offset += GST_ROUND_UP_2 (data_size); in gst_wavparse_stream_headers() 1563 wav->offset += GST_ROUND_UP_2 (data_size); in gst_wavparse_stream_headers() 1610 size = GST_ROUND_UP_2 (size); in gst_wavparse_stream_headers() 1616 size = GST_ROUND_UP_2 (size); in gst_wavparse_stream_headers() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/d3d11/ |
D | gstd3d11format.cpp | 141 *size = offset[1] + stride[1] * GST_ROUND_UP_2 (height / 2); in gst_d3d11_dxgi_format_get_size()
|
D | gstd3d11bufferpool.cpp | 193 width = GST_ROUND_UP_2 (desc[0].Width); in gst_d3d11_buffer_pool_set_config() 194 height = GST_ROUND_UP_2 (desc[0].Height); in gst_d3d11_buffer_pool_set_config()
|
/third_party/gstreamer/gstplugins_base/sys/xvimage/ |
D | xvimageallocator.c | 421 offsets[1] = offsets[0] + pitches[0] * GST_ROUND_UP_2 (padded_height); in gst_xvimage_allocator_alloc() 424 offsets[1] + pitches[1] * GST_ROUND_UP_2 (padded_height) / 2; in gst_xvimage_allocator_alloc() 428 offsets[2] + pitches[2] * GST_ROUND_UP_2 (padded_height) / 2; in gst_xvimage_allocator_alloc()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/riff/ |
D | riff-read.c | 84 size = GST_ROUND_UP_2 (size); in gst_riff_read_chunk() 98 *_offset += 8 + GST_ROUND_UP_2 (size); in gst_riff_read_chunk() 182 *_offset += 8 + GST_ROUND_UP_2 (size); in gst_riff_parse_chunk()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudioiec61937.c | 331 tmp = GST_ROUND_UP_2 (src_n) * 8; in gst_audio_iec61937_payload()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | textoverlay.c | 33 #define I420_U_OFFSET(w,h) (I420_Y_OFFSET(w,h)+(I420_Y_ROWSTRIDE(w)*GST_ROUND_UP_2(h))) 34 #define I420_V_OFFSET(w,h) (I420_U_OFFSET(w,h)+(I420_U_ROWSTRIDE(w)*GST_ROUND_UP_2(h)/2)) 36 #define I420_SIZE(w,h) (I420_V_OFFSET(w,h)+(I420_V_ROWSTRIDE(w)*GST_ROUND_UP_2(h)/2))
|
/third_party/gstreamer/gstplugins_bad/gst/debugutils/ |
D | gstvideocodectestsink.c | 270 guint width = GST_ROUND_UP_2 (GST_VIDEO_INFO_WIDTH (&self->vinfo)) / 2; in gst_video_codec_test_sink_process_nv12()
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | video.c | 168 p->up = p->yp + p->ystride * GST_ROUND_UP_2 (p->height); in paint_setup_I420() 170 p->vp = p->up + p->ustride * GST_ROUND_UP_2 (p->height) / 2; in paint_setup_I420() 172 p->endptr = p->vp + p->vstride * GST_ROUND_UP_2 (p->height) / 2; in paint_setup_I420() 180 p->vp = p->yp + p->ystride * GST_ROUND_UP_2 (p->height); in paint_setup_YV12() 182 p->up = p->vp + p->vstride * GST_ROUND_UP_2 (p->height) / 2; in paint_setup_YV12() 184 p->endptr = p->up + p->ustride * GST_ROUND_UP_2 (p->height) / 2; in paint_setup_YV12() 204 p->ystride = GST_ROUND_UP_2 (p->width) * 2; in paint_setup_YUY2() 214 p->ystride = GST_ROUND_UP_2 (p->width) * 2; in paint_setup_UYVY() 224 p->ystride = GST_ROUND_UP_2 (p->width) * 2; in paint_setup_YVYU()
|
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/ |
D | gstspu-vobsub-render.c | 243 *rle_offset = GST_ROUND_UP_2 (*rle_offset); in gstspu_vobsub_render_line() 313 *rle_offset = GST_ROUND_UP_2 (*rle_offset); in gstspu_vobsub_render_line_with_chgcol()
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | gstamc.c | 735 (GST_ROUND_UP_2 (stride) * ((slice_height + 1) / 2)); in gst_amc_color_format_info_set() 747 (GST_ROUND_UP_2 (stride) * ((slice_height + 1) / 2)); in gst_amc_color_format_info_set() 908 c_stride = GST_ROUND_UP_2 (cinfo->stride); in gst_amc_color_format_copy() 917 row_length = GST_ROUND_UP_2 (cinfo->width); in gst_amc_color_format_copy()
|
/third_party/gstreamer/gstplugins_good/gst/videocrop/ |
D | gstvideocrop.c | 418 dx = GST_ROUND_UP_2 (width); in gst_video_crop_transform_semi_planar() 420 for (i = 0; i < GST_ROUND_UP_2 (height) / 2; i++) { in gst_video_crop_transform_semi_planar()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11convert.cpp | 1446 texture_desc.Width = GST_ROUND_UP_2 (texture_desc.Width); in create_shader_input_resource() 1447 texture_desc.Height = GST_ROUND_UP_2 (texture_desc.Height); in create_shader_input_resource() 1659 texture_desc.Width = GST_ROUND_UP_2 (texture_desc.Width); in create_shader_output_resource() 1660 texture_desc.Height = GST_ROUND_UP_2 (texture_desc.Height); in create_shader_output_resource()
|
/third_party/gstreamer/gstplugins_good/gst/audiofx/ |
D | audiocheblimit.c | 528 filter->poles = GST_ROUND_UP_2 (g_value_get_int (value)); in gst_audio_cheb_limit_set_property()
|
/third_party/gstreamer/gstplugins_good/gst/smpte/ |
D | gstsmpte.c | 217 gint size = GST_VIDEO_INFO_COMP_STRIDE (vinfo, 0) * GST_ROUND_UP_2 (height); in fill_i420()
|