Table 6-73 captures valid number of LDC input and
output data mode/format combinations.
Table 6-73 LDC Supported Data Format
Combinations
Input |
Output |
Data Mode |
Data format |
Data Mode |
Data format |
420 420_Y
420_UV |
8-bit |
Same as input |
8bit |
12-bit - packed |
12-bit - packed |
12-bit - packed |
12-bit - unpacked |
12-bit - unpacked |
8-bit (on channel[2/3] using LUT) |
12-bit - packed |
8-bit (on channel[0/1] with shift)
8-bit (on channel[2/3] using LUT) |
422 |
8-bit |
420 |
8-bit |
12-bit – packed |
422 |
8-bit |
Output data mode will be same as input data mode
except when input data is 422, output data can also be converted to 420.
The following list contains the register fields used to configure data modes and formats:
- Input data mode - VPAC_LDC_CTRL[6-3]
IP_DATAMODE
- Input data format - VPAC_LDC_CTRL[8-7] IP_DFMT
- Input data independent control for
Chroma VPAC_LDC_CTR[16].CH_CHANCTRL_EN
- Input Chroma data format -
VPAC_LDC_CTRL[18-17] CH_IP_DFMT
-
var tiPageName = 'Literature reader-SPRUJ28C-ja_JP';
var tiDocType = 'Technical Reference';
var tiLibraryStore = new com.TI.tiLibrary.tiLibraryStore();
var tiLibraryViewerStore = tiLibraryStore.viewer_store;
RiotControl.addStore(tiLibraryStore);
var subRoutes = riot.route.create();
subRoutes("/document-viewer/*/datasheet/*\\?*#*", function(gpn, url, params, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + gpn + "/datasheet/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/datasheet/*#*", function(gpn, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + gpn + "/datasheet/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/datasheet/*", function(gpn, url) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + gpn + "/datasheet/" + url,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/*/datasheet/*\\?*#*", function(locale, gpn, url, params, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/" + gpn + "/datasheet/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/*/datasheet/*#*", function(locale, gpn, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/" + gpn + "/datasheet/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/*/datasheet/*", function(locale, gpn, url) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/" + gpn + "/datasheet/" + url,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/datasheet#*/*", function(gpn, url, fragment) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + gpn + "/datasheet#" + url + "/" + fragment,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/*/datasheet#*/*", function(locale, gpn, url, fragment) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/" + gpn + "/datasheet#" + url + "/" + fragment,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*", function(litnum) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*/*\\?*#*", function(litnum, url, params, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum + "/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*/*#*", function(litnum, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum + "/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*#*/*", function(litnum, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum + "#" + url + "/" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/lit/html/*#*/*", function(locale, litnum, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/lit/html/" + litnum + "#" + url + "/" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/lit/html/*/*", function(litnum, url) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/lit/html/" + litnum + "/" + url,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/lit/html/*/*\\?*#*", function(locale, litnum, url, params, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/lit/html/" + litnum + "/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/lit/html/*/*#*", function(locale, litnum, url, anchor) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/lit/html/" + litnum + "/" + url + "#" + anchor,
toc: true,
set_content: true });
});
subRoutes("/document-viewer/*/lit/html/*/*", function(locale, litnum, url) {
RiotControl.trigger("ti_library_open_viewer", {
document: tiLibraryViewerStore.document,
documentLocale: tiLibraryViewerStore.documentLocale,
url: "/document-viewer/" + locale + "/lit/html/" + litnum + "/" + url,
toc: true,
set_content: true });
});
var compose_url = function(q) {
//URL format: scheme:[//[user[:password]@]host[:port]][/path][?query][#fragment]
var tempUrl = q.url.replace("//www.ti.com/", "");
var url = tempUrl.replace("//www.ti.com/", "");
if (q.search != null) {
var params = "";
var hash = "";
var url_parts = url.split('#');
if (url_parts.length == 2) {
url = url_parts[0];
hash = url_parts[1];
}
var param_parts = url.split('?');
if (param_parts.length == 2) {
url = param_parts[0];
var parsed_params = param_parts[1].split('&');
var keyword_param_found = false;
for (var i = 0; i < parsed_params.length; i++) {
if (parsed_params[i].indexOf('search=') == 0) {
keyword_param_found = true;
parsed_params[i] = 'search=' + q.search;
}
}
if (!keyword_param_found) {
parsed_params.push('search=' + q.search);
}
params = parsed_params.join('&');
} else {
params = 'search=' + q.search;
}
if (params > "") {
url = url + '?' + params;
}
if (hash > "") {
url = url + '#' + hash;
}
}
return url;
};
tiLibraryViewerStore.compose_url_route = function(location, q) {
return compose_url(q);
};
tiLibraryViewerStore.compute_content_href = function(href, url) {
return url;
};
tiLibraryViewerStore.compose_topic_url = function(location, q) {
return compose_url(q);
};
tiLibraryViewerStore.important_notice_url = "//www.ti.com/document-viewer/ja-jp/lit/html/SPRUJ28C/important_notice#ImpNotice001";
var ods_reader = riot.mount('ti-library-viewer', {
store: tiLibraryStore.list_store,
viewerstore: tiLibraryViewerStore
});
riot.route.base('/');
riot.route.start(true);
compute_document_locale = function(docName) {
var locale = 'en_US';
if (docName) {
if (docName.toLowerCase().indexOf('z')===0) {
locale = 'zh_CN';
} else if (docName.toLowerCase().indexOf('j') == 0) {
locale = 'ja_JP';
}
}
return locale;
}
open_reader = function() {
var path = window.location.pathname.split('/');
var path_minus_filename = '';
for (var i = 0; i < path.length - 1; i++) {
if (i == 0 && path[i] == '') {
console.log("double slashes found in beginning of document path; treating document path as local machine path");
continue;
}
path_minus_filename += "/" + path[i];
}
RiotControl.trigger("ti_library_open_viewer", {
documentLocale: compute_document_locale( "SPRUJ28C"),
document: {
href: path_minus_filename,
lit_num: "SPRUJ28C",
doc_type: "Technical Reference",
show_toc: "true",
translated_doc_type: "User guide",
gpn: "",
title: "J721S2 TDA4VE TDA4AL TDA4VL, AM68 Processors Silicon Revision 1.0 Texas Instruments Families of Products",
disclaimer: "",
product: "//www.ti.com/product/ja-jp/",
email: 'mailto:?subject=SPRUJ28C J721S2 TDA4VE TDA4AL TDA4VL, AM68 Processors Silicon Revision 1.0 Texas Instruments Families of Products&body=http://www.ti.com/document-viewer/ja-jp/lit/html/SPRUJ28C',
download: '//www.ti.com/jp/lit/pdf/SPRUJ28C',
tistore: '//store.ti.com/Search.aspx?k=&pt=-1',
productstatusdescription: ''
},
url: "/document-viewer/ja-jp//datasheet/GUID-B80B3B75-AEEB-4D3B-AFB0-82C05BD130E7",
prepopulated: true,
modalOptions: {
dismissible: false
}
});
}
open_reader();