Searched refs:init_decode (Results 1 – 4 of 4) sorted by relevance
225 int init_encoder ( struct video_encoder_context *init_decode ) in init_encoder() argument237 init_decode->video_driver_fd = open ("/dev/msm_vidc_enc", \ in init_encoder()242 if (init_decode->video_driver_fd < 0) in init_encoder()248 basecfg.codectype = init_decode->codectype; in init_encoder()251 basecfg.fps_den = init_decode->fps_den; in init_encoder()252 basecfg.fps_num = init_decode->fps_num; in init_encoder()253 basecfg.input_height = init_decode->input_height; in init_encoder()254 basecfg.input_width = init_decode->input_width; in init_encoder()255 basecfg.inputformat = init_decode->inputformat; in init_encoder()256 basecfg.targetbitrate = init_decode->targetbitrate; in init_encoder()[all …]
216 int init_decoder ( struct video_decoder_context *init_decode ) in init_decoder() argument231 init_decode->video_driver_fd = open ("/dev/msm_vidc_dec", \ in init_decoder()236 if (init_decode->video_driver_fd < 0) in init_decoder()244 ioctl_msg.in = &init_decode->decoder_format; in init_decoder()247 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_CODEC, in init_decoder()258 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_OUTPUT_FORMAT, in init_decoder()265 ioctl_msg.in = &init_decode->video_resoultion; in init_decoder()268 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_PICRES, in init_decoder()279 init_decode->input_buffer.buffer_type = VDEC_BUFFER_TYPE_INPUT; in init_decoder()281 ioctl_msg.out = &init_decode->input_buffer; in init_decoder()[all …]
67 int init_encoder ( struct video_encoder_context *init_decode );76 int deinit_encoder (struct video_encoder_context *init_decode);
61 int init_decoder ( struct video_decoder_context *init_decode );70 int deinit_decoder (struct video_decoder_context *init_decode);