Home | History | Annotate | Download | only in encode

Lines Matching refs:slice_type

324 static void avcenc_update_picture_parameter(int slice_type, int frame_num, int display_num, int is_idr)
340 pic_param->pic_fields.bits.reference_pic_flag = (slice_type != SLICE_TYPE_B);
424 static void avcenc_update_slice_parameter(int slice_type)
436 slice_param->slice_type = slice_type;
448 if ((slice_type == SLICE_TYPE_P) || (slice_type == SLICE_TYPE_B)) {
457 if ((slice_type == SLICE_TYPE_B)) {
479 slice_param->slice_type = slice_type;
504 static int begin_picture(FILE *yuv_fp, int frame_num, int display_num, int slice_type, int is_idr)
527 assert(slice_type == SLICE_TYPE_I);
610 avcenc_update_slice_parameter(slice_type);
687 static void end_picture(int slice_type, int next_is_bpic)
694 if (slice_type != SLICE_TYPE_B) {
1143 slice_header(bitstream *bs, int frame_num, int display_frame, int slice_type, int nal_ref_idc, int is_idr)
1150 bitstream_put_ue(bs, slice_type); /* slice_type */
1174 if (slice_type == SLICE_TYPE_P) {
1178 } else if (slice_type == SLICE_TYPE_B) {
1198 if (is_cabac && (slice_type != SLICE_TYPE_I))
1241 build_nal_slice(FILE *avc_fp, int frame_num, int display_frame, int slice_type, int is_idr)
1253 store_coded_buffer(FILE *avc_fp, int slice_type)
1274 if (slice_type == SLICE_TYPE_I)
1289 if (slice_type == SLICE_TYPE_I) {
1312 int slice_type, int next_is_bpic,
1318 begin_picture(yuv_fp, frame_num, display_num, slice_type, is_idr);
1347 if (SLICE_TYPE_I == slice_type) {
1362 avcenc_update_picture_parameter(slice_type, frame_num, display_num, is_idr);
1369 ret = store_coded_buffer(avc_fp, slice_type);
1372 end_picture(slice_type, next_is_bpic);