Commit 5308628
committed
postprocessor: disallow GPUJPEG_NONE internal CS
If param_image->color_space == GPUJPEG_NONE (which has been
semi-officially used for native decode keeping CS) set the
color_space to color_space_internal (never GPUJPEG_NONE)
by gpujpeg_reader.
Now run the null CS conversion only when direct memcpy still cannot be
used and color_space_internal == param_image.color_space (still using
GPUJPEG_NONE as template param - if GPUJPEG_NONE is in either src or
dst specialization, null conversion is used).1 parent f358426 commit 5308628
2 files changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | 346 | | |
351 | | - | |
| 347 | + | |
352 | 348 | | |
353 | 349 | | |
354 | 350 | | |
| |||
422 | 418 | | |
423 | 419 | | |
424 | 420 | | |
425 | | - | |
| 421 | + | |
426 | 422 | | |
427 | 423 | | |
428 | 424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1480 | 1480 | | |
1481 | 1481 | | |
1482 | 1482 | | |
1483 | | - | |
| 1483 | + | |
| 1484 | + | |
1484 | 1485 | | |
1485 | 1486 | | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
1486 | 1491 | | |
1487 | 1492 | | |
1488 | 1493 | | |
| |||
1569 | 1574 | | |
1570 | 1575 | | |
1571 | 1576 | | |
1572 | | - | |
| 1577 | + | |
1573 | 1578 | | |
1574 | 1579 | | |
1575 | 1580 | | |
| |||
0 commit comments