- case AV_PIX_FMT_YUV420P:
- if (pic.img.in_sample_size == pic.img.enc_sample_size) {
- xavs2_copy_frame(&pic, frame);
- } else {
- const int shift_in = atoi(cae->api->opt_get(cae->param, "SampleShift"));
- xavs2_copy_frame_with_shift(&pic, frame, shift_in);
- }
+ case AV_PIX_FMT_YUV420P:
+ if (pic.img.in_sample_size == pic.img.enc_sample_size) {
+ xavs2_copy_frame(&pic, frame);
+ } else {
+ const int shift_in = atoi(cae->api->opt_get(cae->param, "SampleShift"));
+ xavs2_copy_frame_with_shift(&pic, frame, shift_in);
+ }