Lines Matching refs:yuv_fp

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