Home | History | Annotate | Download | only in transcode

Lines Matching refs:yuv_fp

1969     FILE *yuv_fp;
1974 upload_yuv_to_surface(FILE *yuv_fp, VASurfaceID surface_id);
2092 upload_yuv_to_surface(param->yuv_fp, param->surface_id);
2097 static void alloc_encode_resource(FILE *yuv_fp)
2111 avcenc_context.upload_thread_param.yuv_fp = yuv_fp;
2119 upload_yuv_to_surface(yuv_fp, surface_ids[SID_INPUT_PICTURE_1]);
2157 static void upload_yuv_to_surface(FILE *yuv_fp, VASurfaceID surface_id)
2171 n_items = fread(newImageBuffer, frame_size, 1, yuv_fp);
2256 static int begin_picture(FILE *yuv_fp, int frame_num, int display_num, int slice_type, int is_idr)
2901 encode_picture(FILE *yuv_fp, FILE *avc_fp,
2910 begin_picture(yuv_fp, frame_num, display_num, slice_type, is_idr);
2923 fseek(yuv_fp, frame_size * next_display_num, SEEK_SET);
2924 avcenc_context.upload_thread_param.yuv_fp = yuv_fp;
2933 upload_yuv_to_surface(yuv_fp, surface_ids[index]);
2966 static void encode_pb_pictures(FILE *yuv_fp, FILE *avc_fp, int f, int nbframes, int next_f)
2969 encode_picture(yuv_fp, avc_fp,
2975 encode_picture(yuv_fp, avc_fp,
2981 encode_picture(yuv_fp, avc_fp,
3207 FILE *yuv_fp;
3215 yuv_fp = fopen("dump.yuv","rb");
3217 fseek(yuv_fp, 0l, SEEK_SET);
3221 fclose(yuv_fp);
3228 alloc_encode_resource(yuv_fp);
3239 encode_picture(yuv_fp, avc_fp,enc_frame_number, f, f==0, SLICE_TYPE_I, 0, f+1);
3244 encode_picture(yuv_fp, avc_fp,enc_frame_number, f, f==0, SLICE_TYPE_I, 0, f+1);
3248 encode_picture(yuv_fp, avc_fp,enc_frame_number, f, f==0, SLICE_TYPE_P, 0, f+1);
3260 encode_picture(yuv_fp, avc_fp,enc_frame_number, f, f==0, SLICE_TYPE_I, 0,
3265 encode_pb_pictures(yuv_fp, avc_fp, f, frame_type_pattern[fcurrent][1]-1,
3285 fclose(yuv_fp);