/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_swvenc_hevc.cpp | 1154 void dump_buffer(unsigned char* buffer, int stride, int scanlines, int width, int height) argument 1172 bytes_written = fwrite(temp, width, 1, pFile); 1175 bytes += bytes_written * width; 1180 bytes_written = fwrite(temp, width, 1, pFile); 1183 bytes += bytes_written * width; 1381 bool omx_swvenc::dev_is_video_session_supported(OMX_U32 width, OMX_U32 height) argument 1383 if (width > 1280 || height > 720) return false; 1399 OMX_U32 width, OMX_U32 height) 1398 dev_color_align(OMX_BUFFERHEADERTYPE *buffer, OMX_U32 width, OMX_U32 height) argument
|
H A D | omx_swvenc_mpeg4.cpp | 273 Prop.info.frame_size.width = m_sInPortDef.format.video.nFrameWidth; 535 Prop.info.frame_size.width = portDefn->format.video.nFrameWidth; 2149 bool omx_venc::dev_is_video_session_supported(OMX_U32 width, OMX_U32 height) argument 2153 if ( (width * height < m_capability.min_width * m_capability.min_height) || 2154 (width * height > m_capability.max_width * m_capability.max_height) 2159 width, height, 2200 OMX_U32 width, OMX_U32 height) 2205 (void)width; 2213 //return handle->venc_color_align(buffer, width,height); 2237 int width local 2199 dev_color_align(OMX_BUFFERHEADERTYPE *buffer, OMX_U32 width, OMX_U32 height) argument 2278 int width = m_sInPortDef.format.video.nFrameWidth; local [all...] |
H A D | omx_video_base.cpp | 1505 unsigned int height=0,width = 0; local 4876 bool omx_video::omx_c2d_conv::open(unsigned int height,unsigned int width, argument 4882 c2dcc = mConvertOpen(width, height, width, height, 5018 RGBA8888, NV12_128m, handle->width)) {
|
H A D | omx_video_encoder.cpp | 2426 bool omx_venc::dev_is_video_session_supported(OMX_U32 width, OMX_U32 height) argument 2429 return handle->venc_is_video_session_supported(width,height); 2576 OMX_U32 width, OMX_U32 height) 2582 return handle->venc_color_align(buffer, width,height); 2575 dev_color_align(OMX_BUFFERHEADERTYPE *buffer, OMX_U32 width, OMX_U32 height) argument
|
H A D | video_encoder_device.cpp | 1423 recon_buff_size.width = ((m_sVenc_cfg.input_width + 15) / 16) * 16; 1427 m_sVenc_cfg.input_height, recon_buff_size.width, recon_buff_size.height); 1433 DEBUG_PRINT_ERROR("VEN_IOCTL_GET_RECON_BUFFER_SIZE Failed for width: %d, Height %d" , 1434 recon_buff_size.width, recon_buff_size.height); 1439 m_sVenc_cfg.input_width, m_sVenc_cfg.input_height, recon_buff_size.width, 1455 OMX_U32 width, height; local 1823 OMX_U32 width, OMX_U32 height) 2916 //validate the ht,width,fps,bitrate and set the appropriate profile and level 1822 venc_color_align(OMX_BUFFERHEADERTYPE *buffer, OMX_U32 width, OMX_U32 height) argument
|
H A D | video_encoder_device_v4l2.cpp | 621 int height = 0, width = 0; local 646 * and width * 3 / 2. Hence start looking for extradata from this point. 650 width = ALIGN(m_sVenc_cfg.input_width, 32); 658 int size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height); 661 p_extra = (OMX_OTHER_EXTRADATATYPE *) ((unsigned long)(pVirt + ((width * height * 3) / 2) + 3)&(~3)); 683 payload->input_crop.width = framedimension_format->nActualWidth; 1238 fmt.fmt.pix_mp.width = m_sVenc_cfg.dvs_width; 1255 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; 1470 *w = fmt.fmt.pix_mp.width; 1489 fmt.fmt.pix_mp.width 3304 venc_color_align(OMX_BUFFERHEADERTYPE *buffer, OMX_U32 width, OMX_U32 height) argument 7099 venc_is_video_session_supported(unsigned long width, unsigned long height) argument [all...] |
/hardware/qcom/media/msm8996/videopp/inc/ |
H A D | omx_vdpp.h | 556 int update_resolution(uint32_t width, uint32_t height, uint32_t stride, uint32_t scan_lines); 762 * int paddedFrameWidth - return frame width in a multiple of 128 (rounded up). 764 * @width - the original frame width. 766 inline int paddedFrameWidth128(int width) argument 768 return (((width + 127) / 128 )* 128); 772 * int paddedFrameWidth32 - return frame width in a multiple of 32 (rounded up). 774 * @width - the original frame width. 776 inline int paddedFrameWidth32(int width) argument [all...] |
/hardware/qcom/media/msm8996/videopp/src/ |
H A D | omx_vdpp.cpp | 1405 int omx_vdpp::update_resolution(uint32_t width, uint32_t height, uint32_t stride, uint32_t scan_lines) argument 1409 (width != drv_ctx.video_resolution_input.frame_width)) { 1411 width, drv_ctx.video_resolution_input.frame_width, 1416 drv_ctx.video_resolution_input.frame_width = width; 1630 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_input.frame_width; 1646 fmt.fmt.pix_mp.plane_fmt[i].sizeimage = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.input_bytesperpixel[i] * fmt.fmt.pix_mp.height); 1647 fmt.fmt.pix_mp.plane_fmt[i].bytesperline = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.input_bytesperpixel[0]); // NV12 UV plane has the same width as Y, but 1/2 YH 1665 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_input.frame_width; 1668 DEBUG_PRINT_HIGH("VP output frame width [all...] |
/hardware/qcom/media/msm8998/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 67 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource); 71 size_t calcStride(ColorConvertFormat format, size_t width); 72 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height); 73 size_t calcSize(ColorConvertFormat format, size_t width, size_t height); 185 mBlit.source_rect.width = srcWidth << 16; 189 mBlit.target_rect.width = dstWidth << 16; 306 void* C2DColorConverter::getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource) argument 311 surfaceDef->width = width; 315 surfaceDef->stride0 = calcStride(format, width); 430 calcStride(ColorConvertFormat format, size_t width) argument 459 calcYSize(ColorConvertFormat format, size_t width, size_t height) argument 487 calcSize(ColorConvertFormat format, size_t width, size_t height) argument [all...] |
H A D | C2DColorConverter.h | 68 typedef void (*LINK_AdrenoComputeAlignedWidthAndHeight) (int width, int height, int bpp, int tile_mode, int raster_mode, 92 int32_t width; member in struct:android::__anon3021
|
/hardware/qcom/media/msm8998/mm-core/src/common/ |
H A D | qc_omx_core.c | 913 aOmxOutputParameters->width = 176; //setting width to QCIF
|
H A D | qc_omx_core.h | 56 OMX_U32 width; member in struct:__anon3038
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/inc/ |
H A D | vidc_color_converter.h | 40 bool open(unsigned int height,unsigned int width,
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/ |
H A D | vidc_color_converter.cpp | 95 bool omx_c2d_conv::open(unsigned int height,unsigned int width, argument 101 c2dcc = mConvertOpen(width, height, width, height,
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/ |
H A D | omx_swvdec.h | 71 unsigned int width; ///< frame width member in struct:__anon3052 126 #define DEFAULT_FRAME_WIDTH 1920 ///< default frame width 315 OMX_ERRORTYPE set_frame_dimensions(unsigned int width,
|
H A D | omx_swvdec_utils.h | 129 unsigned int width,
|
H A D | omx_vdec.h | 483 int update_resolution(int width, int height, int stride, int scan_lines); 1072 OMX_ERRORTYPE enable_adaptive_playback(unsigned long width, unsigned long height);
|
H A D | omx_vdec_hevc.h | 387 void update_resolution(int width, int height);
|
H A D | omx_vdec_hevc_swvdec.h | 444 int update_resolution(int width, int height, int stride, int scan_lines);
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_swvdec.cpp | 1310 p_recttype->nWidth = m_frame_dimensions.width; 2534 * @param[in] width: Frame width. 2539 OMX_ERRORTYPE omx_swvdec::set_frame_dimensions(unsigned int width, argument 2544 m_frame_dimensions.width = width; 2548 m_frame_dimensions.width, 2569 unsigned int width = m_frame_dimensions.width; local 2591 m_frame_attributes.stride = ALIGN(width, 12 [all...] |
H A D | omx_swvdec_utils.cpp | 315 * @param[in] width: Frame width. 321 unsigned int width, 338 fwrite(p_buffer_y, sizeof(unsigned char), width, m_file_op); 345 fwrite(p_buffer_uv, sizeof(unsigned char), width, m_file_op); 320 dump_op(unsigned char *p_buffer, unsigned int width, unsigned int height, unsigned int stride, unsigned int scanlines) argument
|
H A D | omx_vdec_hevc.cpp | 1197 void omx_vdec::update_resolution(int width, int height) argument 1200 drv_ctx.video_resolution.frame_width = width; 1202 drv_ctx.video_resolution.stride = width; 1454 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; 1486 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; 2787 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; 2789 DEBUG_PRINT_LOW("fmt.fmt.pix_mp.height = %d , fmt.fmt.pix_mp.width = %d",fmt.fmt.pix_mp.height,fmt.fmt.pix_mp.width); 2829 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; 6210 omx->update_resolution(fmt.fmt.pix_mp.width, fm [all...] |
H A D | omx_vdec_hevc_swvdec.cpp | 1593 int omx_vdec::update_resolution(int width, int height, int stride, int scan_lines) argument 1597 (width != (int)drv_ctx.video_resolution.frame_width)) { 1599 width, drv_ctx.video_resolution.frame_width, 1604 drv_ctx.video_resolution.frame_width = width; 1682 DEBUG_PRINT_LOW("Logging width/height(%u/%u) stride/scanlines(%u/%u)", 1785 fmt.fmt.pix_mp.width = 320; 1941 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; 1970 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; 3541 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; 3543 DEBUG_PRINT_LOW("fmt.fmt.pix_mp.height = %d , fmt.fmt.pix_mp.width 7437 dump_buffer(FILE* pFile, char* buffer, int stride, int scanlines, int width, int height) argument [all...] |
H A D | omx_vdec_v4l2.cpp | 1238 OMX_U32 width, height; local 1264 isPortraitVideo = fmt.fmt.pix_mp.width < fmt.fmt.pix_mp.height ? OMX_TRUE : OMX_FALSE; 1290 * in width and min of two in height and then rotate it if below point is true. 1291 * 3. Video might also be in portrait mode, so invert the downscalar width and 1306 // Swap width and height 1336 width = fmt.fmt.pix_mp.width; 1339 fmt.fmt.pix_mp.width, fmt.fmt.pix_mp.height, m_downscalar_width, m_downscalar_height, m_is_display_session); 1341 if ((fmt.fmt.pix_mp.width * fmt.fmt.pix_mp.height > m_downscalar_width * m_downscalar_height) && 1349 width 1962 update_resolution(int width, int height, int stride, int scan_lines) argument 2066 OMX_U8 width; member in struct:ivf_file_header 2162 unsigned int width = 0, height = 0; local 12388 unsigned int height, width; local [all...] |
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_swvenc_hevc.h | 92 virtual bool dev_is_video_session_supported(OMX_U32 width, OMX_U32 height); 101 virtual bool dev_color_align(OMX_BUFFERHEADERTYPE *buffer, OMX_U32 width,
|