Commit 5f91b69
committed
Fix converting 10-bit full to limited range
Without Movit, 10-bit full range was not able to convert to limited
range. This regressed in 7752c68 in order to accomodate 10-bit pass-
through editing (no processing). Now, it returns by going through RGB to
do the conversion but only when the consumer does not request 10-bit.
However, that still leaves a gap: 10-bit full to 10-bit limited or visa
versa. In that case, you must either set the consumer color_range same
as source, or specify mlt_image_rgb(a).
With Movit, 10-bit range conversion works even when the consumer
requests 10-bit Y'CbCr.1 parent 64aa543 commit 5f91b69
File tree
3 files changed
+31
-19
lines changed- src/modules
- avformat
- movit
3 files changed
+31
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | 256 | | |
265 | 257 | | |
266 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1937 | 1937 | | |
1938 | 1938 | | |
1939 | 1939 | | |
1940 | | - | |
| 1940 | + | |
1941 | 1941 | | |
1942 | 1942 | | |
1943 | 1943 | | |
1944 | 1944 | | |
1945 | | - | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
1946 | 1948 | | |
1947 | 1949 | | |
1948 | 1950 | | |
| |||
2227 | 2229 | | |
2228 | 2230 | | |
2229 | 2231 | | |
2230 | | - | |
| 2232 | + | |
2231 | 2233 | | |
2232 | | - | |
2233 | | - | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
2234 | 2243 | | |
2235 | 2244 | | |
2236 | 2245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
378 | 379 | | |
379 | | - | |
380 | | - | |
381 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
382 | 384 | | |
383 | | - | |
384 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
385 | 389 | | |
386 | 390 | | |
387 | 391 | | |
| |||
404 | 408 | | |
405 | 409 | | |
406 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
407 | 418 | | |
408 | 419 | | |
409 | 420 | | |
| |||
0 commit comments