Home
last modified time | relevance | path

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

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dvp8cx_set_ref.c124 info.frame_width = strtol(argv[1], NULL, 0); in main()
129 if (info.frame_width <= 0 || in main()
131 (info.frame_width % 2) != 0 || in main()
133 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
136 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main()
147 cfg.g_w = info.frame_width; in main()
Dsimple_encoder.c189 info.frame_width = strtol(width_arg, NULL, 0); in main()
194 if (info.frame_width <= 0 || in main()
196 (info.frame_width % 2) != 0 || in main()
198 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
201 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main()
216 cfg.g_w = info.frame_width; in main()
Dtwopass_encoder.c152 info.frame_width = strtol(width_arg, NULL, 0); in main()
155 if (info.frame_width <= 0 || in main()
157 (info.frame_width % 2) != 0 || in main()
159 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
162 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main()
164 die("Failed to allocate image", info.frame_width, info.frame_height); in main()
177 cfg.g_w = info.frame_width; in main()
Dset_maps.c177 info.frame_width = strtol(argv[2], NULL, 0); in main()
182 if (info.frame_width <= 0 || in main()
184 (info.frame_width % 2) != 0 || in main()
186 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); in main()
189 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main()
200 cfg.g_w = info.frame_width; in main()
Dsimple_decoder.c151 info->frame_width, info->frame_height, argv[2]); in main()
Dpostproc.c134 info->frame_width, info->frame_height, argv[2]); in main()
Ddecode_with_drops.c148 info->frame_width, info->frame_height, argv[2]); in main()
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderMPEG2.cpp101 if ((mVideoFormatInfo.width != (uint32_t)data->codec_data->frame_width || in decode()
103 (data->codec_data->frame_width > 0) && (data->codec_data->frame_height)) { in decode()
105 …d\n",mVideoFormatInfo.width,mVideoFormatInfo.height, data->codec_data->frame_width,data->codec_dat… in decode()
109 mVideoFormatInfo.width = data->codec_data->frame_width; in decode()
363 data->codec_data->frame_width, in updateFormatInfo()
368 mVideoFormatInfo.cropRight = (data->codec_data->frame_width > mVideoFormatInfo.width) ? in updateFormatInfo()
369 … (data->codec_data->frame_width - mVideoFormatInfo.width) : 0; in updateFormatInfo()
371 if ((mVideoFormatInfo.width != (uint32_t)data->codec_data->frame_width || in updateFormatInfo()
373 (data->codec_data->frame_width > 0) && (data->codec_data->frame_height)) { in updateFormatInfo()
375 mVideoFormatInfo.width = data->codec_data->frame_width; in updateFormatInfo()
/hardware/intel/common/libva/test/basic/
Dtest_vaSurfaceAttrib.c46 int frame_width=640, frame_height=480; in test() local
51 usrbuf = (unsigned char*)malloc(frame_width * frame_height * 2); in test()
121 vaSurfaceExternBuf.width = frame_width; in test()
123 …ExternBuf.pitches[0] = vaSurfaceExternBuf.pitches[1] = vaSurfaceExternBuf.pitches[2] = frame_width; in test()
136 …va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, frame_width, frame_height, &surface_id, … in test()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_reconintra.c326 int frame_width, frame_height; in build_intra_predictors() local
341 frame_width = xd->cur_buf->y_width; in build_intra_predictors()
344 frame_width = xd->cur_buf->uv_width; in build_intra_predictors()
381 if (x0 + 2 * bs <= frame_width) { in build_intra_predictors()
388 } else if (x0 + bs <= frame_width) { in build_intra_predictors()
389 const int r = frame_width - x0; in build_intra_predictors()
393 x0 + 2 * bs - frame_width); in build_intra_predictors()
398 } else if (x0 <= frame_width) { in build_intra_predictors()
399 const int r = frame_width - x0; in build_intra_predictors()
403 x0 + 2 * bs - frame_width); in build_intra_predictors()
[all …]
Dvp9_reconinter.c281 int xs, ys, x0, y0, x0_16, y0_16, frame_width, frame_height, buf_stride, in dec_build_inter_predictors() local
288 frame_width = ref_buf->y_crop_width; in dec_build_inter_predictors()
292 frame_width = ref_buf->uv_crop_width; in dec_build_inter_predictors()
349 (frame_width & 0x7) || (frame_height & 0x7)) { in dec_build_inter_predictors()
368 if (x0 < 0 || x0 > frame_width - 1 || x1 < 0 || x1 > frame_width || in dec_build_inter_predictors()
373 x0, y0, x1 - x0 + 1, y1 - y0 + 1, frame_width, in dec_build_inter_predictors()
/hardware/intel/common/libva/test/encode/
Dh264encode.c111 static int frame_width = 176; variable
757 frame_width = atoi(optarg); in process_cmdline()
859 frame_bitrate = frame_width * frame_height * 12 * frame_rate / 50; in process_cmdline()
871 srcyuv_frames = tmp.st_size / (frame_width * frame_height * 1.5); in process_cmdline()
904 frame_width_mbaligned = (frame_width + 15) & (~15); in process_cmdline()
906 if (frame_width != frame_width_mbaligned || in process_cmdline()
909 frame_width, frame_height, in process_cmdline()
1308 if (frame_width != frame_width_mbaligned || in render_sequence()
1312 seq_param.frame_crop_right_offset = (frame_width_mbaligned - frame_width)/2; in render_sequence()
1705 frame_size = frame_width * frame_height * 3 / 2; /* for YUV420 */ in load_surface()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dvideo_common.h18 int frame_width; member
Dvideo_reader.c51 reader->info.frame_width = mem_get_le16(header + 12); in vpx_video_reader_open()
Dvideo_writer.c26 cfg.g_w = info->frame_width; in write_header()
/hardware/intel/img/psb_headers/libmediaparser/mixvbp/vbp_manager/include/
Dvbp_loader.h140 uint32 frame_width; member
223 int frame_width; member
417 uint32 frame_width; member
/hardware/intel/common/libva/va/
Dva_dec_vp8.h75 unsigned int frame_width; member
Dva_enc_vp8.h54 unsigned int frame_width; member
Dva_dec_vp9.h67 uint16_t frame_width; member
/hardware/intel/img/psb_video/src/
Dvsp_vp8.c169 vp8_seq->frame_width = 1280; in vsp_VP8_set_default_params()
308 seq->frame_width = va_seq->frame_width; in vsp_vp8_process_seqence_param()
319 ref_frame_width = (seq->frame_width + 2 * 32 + 63) & (~63); in vsp_vp8_process_seqence_param()
408 ref_frame_width = (ctx->vp8_seq_param.frame_width + 2 * 32 + 63) & (~63); in vsp_vp8_process_picture_param()
421 pic->input_frame.width = ctx->vp8_seq_param.frame_width; in vsp_vp8_process_picture_param()
819 drv_debug_msg(VIDEO_ENCODE_DEBUG, "frame_width %d\n", seq->frame_width); in vsp_vp8_dump_commands()
Dtng_VP8.c639 obj_surface->share_info->coded_width = ctx->pic_params->frame_width; in tng__VP8_process_picture_param()
643 ctx->size_mb = ((ctx->pic_params->frame_width) * (ctx->pic_params->frame_height)) >> 8; in tng__VP8_process_picture_param()
892 …CMDS, DISPLAY_PICTURE_SIZE, DISPLAY_PICTURE_WIDTH, (((ctx->pic_params->frame_width + 15) / 16) * 1… in tng__CMDS_registers_write()
901 …VDX_CMDS, CODED_PICTURE_SIZE, CODED_PICTURE_WIDTH, (((ctx->pic_params->frame_width + 15) / 16) * 1… in tng__CMDS_registers_write()
988 …unsigned int pic_last_mb_xy = (last_mb_row << 8) | (((ctx->pic_params->frame_width + 15) / 16) - 1… in tng__VP8_set_slice_param()
1038 … CR_VEC_VP8_FE_PIC1, VP8_FE_PIC_WIDTH_IN_MBS_LESS1, ((ctx->pic_params->frame_width + 15) >> 4) - 1… in tng__VP8_FE_Registers_Write()
1126 … CR_VEC_VP8_BE_PIC1, VP8_BE_PIC_WIDTH_IN_MBS_LESS1, ((ctx->pic_params->frame_width + 15) >> 4) - 1… in tng__VP8_BE_Registers_Write()
1566 (ctx->pic_params->frame_width+15)/16, in tng_VP8_EndPicture()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_msm8974.cpp184 vdec_msg.msgdata.output_frame.picsize.frame_width = plane[0].reserved[6]; in async_message_thread()
1259 pThis->drv_ctx.video_resolution.frame_width) || in process_event_cb()
1266 pThis->drv_ctx.video_resolution.frame_width, in process_event_cb()
1271 pThis->drv_ctx.video_resolution.frame_width; in process_event_cb()
1289 pThis->drv_ctx.video_resolution.frame_width) { in process_event_cb()
1293 … pThis->drv_ctx.video_resolution.frame_width); in process_event_cb()
1297 pThis->drv_ctx.video_resolution.frame_width) { in process_event_cb()
1301 … pThis->drv_ctx.video_resolution.frame_width); in process_event_cb()
1303 pThis->drv_ctx.video_resolution.frame_width; in process_event_cb()
1384 (width != (int)drv_ctx.video_resolution.frame_width)) { in update_resolution()
[all …]
Domx_vdec_hevc_swvdec.cpp1580 (width != (int)drv_ctx.video_resolution.frame_width)) { in update_resolution()
1582 width, drv_ctx.video_resolution.frame_width, in update_resolution()
1587 drv_ctx.video_resolution.frame_width = width; in update_resolution()
1592 rectangle.nWidth = drv_ctx.video_resolution.frame_width; in update_resolution()
1599 if ((drv_ctx.video_resolution.frame_width * drv_ctx.video_resolution.frame_height > in is_video_session_supported()
1601 (drv_ctx.video_resolution.frame_width* drv_ctx.video_resolution.frame_height < in is_video_session_supported()
1606 drv_ctx.video_resolution.frame_width, in is_video_session_supported()
1625 …m_debug.log_loc, drv_ctx.video_resolution.frame_width, drv_ctx.video_resolution.frame_height, this… in log_input_buffers()
1644 …m_debug.log_loc, drv_ctx.video_resolution.frame_width, drv_ctx.video_resolution.frame_height, this… in log_output_buffers()
1657 stride = drv_ctx.video_resolution.frame_width; in log_output_buffers()
[all …]
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/
Domx_proxy_videodec_utils.c242 int width = frameInfo->frame_width; in convertNV12ToYuv420()
282 OMX_U32 framesize = (frameInfo->frame_width * in DumpVideoFrame()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_loader.h94 int frame_width; member

12