Add planar YUV 4:4:4 format support

Adds the ability to natively output with planar YUV 4:4:4.
This commit is contained in:
jp9000
2015-04-16 22:52:44 -07:00
parent 822d1ec3fc
commit 908a165d62
7 changed files with 72 additions and 0 deletions

View File

@@ -457,6 +457,12 @@ static void convert_frame(
0, info->height,
output->data, output->linesize);
} else if (info->format == VIDEO_FORMAT_I444) {
convert_uyvx_to_i444(
input->data[0], input->linesize[0],
0, info->height,
output->data, output->linesize);
} else {
blog(LOG_ERROR, "convert_frame: unsupported texture format");
}