| 253 | } |
| 254 | |
| 255 | const x264_api_t * hb_x264_api_get(int bit_depth) |
| 256 | { |
| 257 | int ii; |
| 258 | |
| 259 | for (ii = 0; ii < HB_X264_API_COUNT; ii++) |
| 260 | { |
| 261 | if (-1 != x264_apis[ii].bit_depth && |
| 262 | bit_depth == x264_apis[ii].bit_depth) |
| 263 | { |
| 264 | return &x264_apis[ii]; |
| 265 | } |
| 266 | } |
| 267 | return NULL; |
| 268 | } |
| 269 | |
| 270 | #if 0 |
| 271 | /* |
no outgoing calls
no test coverage detected